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 main (e0f411), with Swift 6.1 for Linux on 28 Apr 2025 22:56:20 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1024jp/GzipSwift.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e0f4117 Update codeql.yml
Cloned https://github.com/1024jp/GzipSwift.git
Revision (git rev-parse @):
e0f41175a8b3fa051fccebc89629e6e1dee42026
SUCCESS checkout https://github.com/1024jp/GzipSwift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/1024jp/GzipSwift.git
https://github.com/1024jp/GzipSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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] 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 |     }
[5/5] Emitting module Gzip
Build complete! (5.49s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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.