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 SwiftyProfiler, reference main (4c6c7c), with Swift 6.1 for Wasm on 28 May 2025 04:18:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/KS1019/SwiftyProfiler.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/KS1019/SwiftyProfiler
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4c6c7c2 Update README.md
Cloned https://github.com/KS1019/SwiftyProfiler.git
Revision (git rev-parse @):
4c6c7c2f92e9545a69db919e434777572a8db37f
SUCCESS checkout https://github.com/KS1019/SwiftyProfiler.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/KS1019/SwiftyProfiler.git
https://github.com/KS1019/SwiftyProfiler.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftyxcactivitylog",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/KS1019/SwiftyXcActivityLog"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swiftytexttable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scottrhoyt/SwiftyTextTable"
    }
  ],
  "manifest_display_name" : "SwiftyProfiler",
  "name" : "SwiftyProfiler",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "swprofiler",
      "targets" : [
        "SwiftyProfiler"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyProfilerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyProfilerTests",
      "path" : "Tests/SwiftyProfilerTests",
      "sources" : [
        "SwiftyProfilerTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyProfiler"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyProfiler",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyProfiler",
      "path" : "Sources/SwiftyProfiler",
      "product_dependencies" : [
        "SwiftyXcActivityLog",
        "SwiftyTextTable",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "swprofiler"
      ],
      "sources" : [
        "main.swift",
        "reporters/Reporter.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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
Fetching https://github.com/KS1019/SwiftyXcActivityLog
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/scottrhoyt/SwiftyTextTable
[1/929] Fetching swiftytexttable
[930/1049] Fetching swiftytexttable, swiftyxcactivitylog
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (0.26s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.96s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.98s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (3.03s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.64s)
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/JohnSundell/Files
[1/1236] Fetching files
[224/2785] Fetching files, gzipswift
Fetched https://github.com/1024jp/GzipSwift from cache (0.43s)
Fetched https://github.com/JohnSundell/Files from cache (0.44s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (1.24s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.53s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/KS1019/SwiftyXcActivityLog
Working copy of https://github.com/KS1019/SwiftyXcActivityLog resolved at 0.0.5
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/19] Write sources
[8/19] Compiling system-zlib anchor.c
[9/19] Write swift-version-24593BA9C3E375BF.txt
[11/27] Emitting module ArgumentParserToolInfo
[12/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/28] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/66] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/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 |
[16/66] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/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 |
[17/66] Compiling Files Files.swift
[18/66] Emitting module Files
[19/67] Emitting module SwiftyTextTable
[20/67] Compiling SwiftyTextTable TextTable.swift
[21/68] Compiling ArgumentParser ArgumentVisibility.swift
[22/68] Compiling ArgumentParser CompletionKind.swift
[23/68] Compiling ArgumentParser Errors.swift
[24/68] Compiling ArgumentParser Flag.swift
[25/68] Compiling ArgumentParser NameSpecification.swift
[26/68] Compiling ArgumentParser Option.swift
[27/68] Emitting module ArgumentParser
[28/68] Compiling ArgumentParser OptionGroup.swift
[29/68] Compiling ArgumentParser AsyncParsableCommand.swift
[30/68] Compiling ArgumentParser CommandConfiguration.swift
[31/68] Compiling ArgumentParser CommandGroup.swift
[32/68] Compiling ArgumentParser EnumerableFlag.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/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 |
[4/19] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/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/19] Emitting module ArgumentParserToolInfo
[6/19] Emitting module Files
BUILD FAILURE 6.1 wasm