The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of GzipSwift, reference 6.1.0 (56bf51), with Swift 6.0 for Linux on 3 Dec 2024 09:47:14 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1024jp/GzipSwift.git
Reference: 6.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/1024jp/GzipSwift
 * tag               6.1.0      -> FETCH_HEAD
HEAD is now at 56bf51f Update macOS for CI to macOS 14
Cloned https://github.com/1024jp/GzipSwift.git
Revision (git rev-parse @):
56bf51fdd2fe4b2cf254b2cf34aede3d7caccc6c
SUCCESS checkout https://github.com/1024jp/GzipSwift.git at 6.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/1024jp/GzipSwift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GzipSwift",
  "name" : "GzipSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Gzip",
      "targets" : [
        "Gzip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "system_zlib",
      "module_type" : "ClangTarget",
      "name" : "system-zlib",
      "path" : "Sources/system-zlib",
      "product_memberships" : [
        "Gzip"
      ],
      "sources" : [
        "anchor.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GzipTests",
      "module_type" : "SwiftTarget",
      "name" : "GzipTests",
      "path" : "Tests/GzipTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/GzipTests/test.txt.gz",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GzipTests.swift"
      ],
      "target_dependencies" : [
        "Gzip"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Gzip",
      "module_type" : "SwiftTarget",
      "name" : "Gzip",
      "path" : "Sources/Gzip",
      "product_memberships" : [
        "Gzip"
      ],
      "sources" : [
        "Data+Gzip.swift"
      ],
      "target_dependencies" : [
        "system-zlib"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
Building for debugging...
[0/3] Write sources
[1/3] Compiling system-zlib anchor.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module Gzip
[5/5] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:116:43: warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)'
114 |     internal init(code: Int32, msg: UnsafePointer<CChar>?) {
115 |
116 |         self.message = msg.flatMap(String.init(validatingUTF8:)) ?? "Unknown gzip error"
    |                                           |- warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)'
    |                                           `- note: use 'String.init(validatingCString:)' instead
117 |         self.kind = Kind(code: code)
118 |     }
Build complete! (10.10s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GzipSwift",
  "name" : "GzipSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Gzip",
      "targets" : [
        "Gzip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "system_zlib",
      "module_type" : "ClangTarget",
      "name" : "system-zlib",
      "path" : "Sources/system-zlib",
      "product_memberships" : [
        "Gzip"
      ],
      "sources" : [
        "anchor.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GzipTests",
      "module_type" : "SwiftTarget",
      "name" : "GzipTests",
      "path" : "Tests/GzipTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/GzipTests/test.txt.gz",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GzipTests.swift"
      ],
      "target_dependencies" : [
        "Gzip"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Gzip",
      "module_type" : "SwiftTarget",
      "name" : "Gzip",
      "path" : "Sources/Gzip",
      "product_memberships" : [
        "Gzip"
      ],
      "sources" : [
        "Data+Gzip.swift"
      ],
      "target_dependencies" : [
        "system-zlib"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
Done.