The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GzipSwift, reference 6.1.0 (56bf51), with Swift 6.1 for Wasm on 29 May 2025 11:37:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Gzip
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
 32 |     import zlibLinux
 33 | #else
 34 |     import zlib
    |            `- error: no such module 'zlib'
 35 | #endif
 36 |
[5/5] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
 32 |     import zlibLinux
 33 | #else
 34 |     import zlib
    |            `- error: no such module 'zlib'
 35 | #endif
 36 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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: [
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Gzip
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
 32 |     import zlibLinux
 33 | #else
 34 |     import zlib
    |            `- error: no such module 'zlib'
 35 | #endif
 36 |
[3/3] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
 32 |     import zlibLinux
 33 | #else
 34 |     import zlib
    |            `- error: no such module 'zlib'
 35 | #endif
 36 |
BUILD FAILURE 6.1 wasm