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 SwiftQ, reference master (1a6f85), with Swift 6.1 for Wasm on 27 May 2025 10:23:50 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/john-connolly/swiftq.git
Reference: master
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/john-connolly/swiftq
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1a6f856 Merge pull request #8 from John-Connolly/Development
Cloned https://github.com/john-connolly/swiftq.git
Revision (git rev-parse @):
1a6f856bbbc0b6256c371edfe208bbca7df17857
SUCCESS checkout https://github.com/john-connolly/swiftq.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/john-connolly/swiftq.git
https://github.com/john-connolly/swiftq.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "redis",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/redis.git"
    }
  ],
  "manifest_display_name" : "SwiftQ",
  "name" : "SwiftQ",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftQ",
      "targets" : [
        "SwiftQ"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftQTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftQTests",
      "path" : "Tests/SwiftQTests",
      "sources" : [
        "SwiftQTests.swift"
      ],
      "target_dependencies" : [
        "SwiftQ"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftQ",
      "module_type" : "SwiftTarget",
      "name" : "SwiftQ",
      "path" : "Sources/SwiftQ",
      "product_dependencies" : [
        "Redis"
      ],
      "product_memberships" : [
        "SwiftQ"
      ],
      "sources" : [
        "Configuration.swift",
        "Core/Decoder.swift",
        "Core/Host.swift",
        "Core/JSONKey.swift",
        "Core/Logger.swift",
        "Core/Middleware.swift",
        "Core/SwiftQ + Array.swift",
        "Core/SwiftQ + Data.swift",
        "Core/SwiftQ + Date.swift",
        "Core/SwiftQ + Dictionary.swift",
        "Core/SwiftQ + Optional.swift",
        "Queues/QueueMonitor.swift",
        "Queues/ReliableQueue.swift",
        "Queues/ScheduledQueue.swift",
        "Redis/Command.swift",
        "Redis/ConnectionPool.swift",
        "Redis/RedisAdaptor.swift",
        "Redis/RedisConfiguration.swift",
        "Redis/RedisKey.swift",
        "Redis/RedisResponse.swift",
        "SwiftQConsumer.swift",
        "SwiftQError.swift",
        "SwiftQProducer.swift",
        "Task/EnqueueingBox.swift",
        "Task/InitResource.swift",
        "Task/PeriodicBox.swift",
        "Task/PeriodicTask.swift",
        "Task/PeriodicTime.swift",
        "Task/RecoveryStrategy.swift",
        "Task/ScheduledBox.swift",
        "Task/Storage.swift",
        "Task/Task.swift",
        "Task/Time.swift",
        "Worker/AsyncWorker.swift",
        "Worker/Worker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/redis.git
[1/3751] Fetching redis
Fetched https://github.com/vapor/redis.git from cache (0.41s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 2.2.0 (3.01s)
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/tls.git
[1/1144] Fetching tls
[459/21287] Fetching tls, core
[529/21435] Fetching tls, core, random
[3509/25646] Fetching tls, core, random, node
Fetched https://github.com/vapor/tls.git from cache (0.41s)
[20675/24502] Fetching core, random, node
Fetching https://github.com/vapor/sockets.git
Fetched https://github.com/vapor/random.git from cache (1.06s)
Fetched https://github.com/vapor/node.git from cache (1.07s)
Fetched https://github.com/vapor/core.git from cache (1.08s)
[1/3312] Fetching sockets
Fetched https://github.com/vapor/sockets.git from cache (0.50s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (3.46s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.52s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.23s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.71s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
[173/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.23s)
Fetched https://github.com/vapor/debugging.git from cache (0.23s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.69s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.48s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.44s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (1.29s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.68s)
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 2.2.0
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/38] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[15/38] Emitting module PathIndexable
[16/38] Compiling PathIndexable PathIndexable+Subscripting.swift
[17/38] Compiling PathIndexable PathIndexable.swift
[19/39] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[20/39] Compiling Debugging Debuggable.swift
[21/39] Emitting module Debugging
[23/40] Compiling Bits Operators.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[24/40] Compiling Bits String+BytesConvertible.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
[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/26] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[3/26] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[4/26] Emitting module PathIndexable
BUILD FAILURE 6.1 wasm