The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stubby, reference main (888b26), with Swift 6.1 for Wasm on 12 Nov 2025 08:32:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdbergeron/Stubby.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/bdbergeron/Stubby
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 888b26e Update to Swift 6, iOS 16, macOS 13 and improve concurrency safety (#15)
Cloned https://github.com/bdbergeron/Stubby.git
Revision (git rev-parse @):
888b26e2b4dac4731b6c23102480daf3a7ba2241
SUCCESS checkout https://github.com/bdbergeron/Stubby.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bdbergeron/Stubby.git
https://github.com/bdbergeron/Stubby.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "Stubby",
  "name" : "Stubby",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Stubby",
      "targets" : [
        "Stubby"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StubbyMacros",
      "targets" : [
        "StubbyMacros"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StubbyMacrosPlugin",
      "targets" : [
        "StubbyMacrosPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "StubbyTests",
      "module_type" : "SwiftTarget",
      "name" : "StubbyTests",
      "path" : "Tests/StubbyTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport",
        "MacroTesting"
      ],
      "sources" : [
        "Helpers/CaseIterable+URL.swift",
        "Helpers/URL+ExpressibleByStringLiteral.swift",
        "StubbyTests.swift",
        "TestResponseProviders.swift"
      ],
      "target_dependencies" : [
        "Stubby",
        "StubbyMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StubbyMacrosPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "StubbyMacrosPluginTests",
      "path" : "Tests/StubbyMacrosPluginTests",
      "product_dependencies" : [
        "MacroTesting",
        "SwiftCompilerPlugin"
      ],
      "sources" : [
        "StubMacroTest.swift"
      ],
      "target_dependencies" : [
        "StubbyMacros",
        "StubbyMacrosPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StubbyMacrosPlugin",
      "module_type" : "SwiftTarget",
      "name" : "StubbyMacrosPlugin",
      "path" : "Sources/StubbyMacrosPlugin",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "StubbyMacros",
        "StubbyMacrosPlugin"
      ],
      "sources" : [
        "Plugins.swift",
        "StubMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "StubbyMacros",
      "module_type" : "SwiftTarget",
      "name" : "StubbyMacros",
      "path" : "Sources/StubbyMacros",
      "product_memberships" : [
        "StubbyMacros"
      ],
      "sources" : [
        "Macros.swift"
      ],
      "target_dependencies" : [
        "Stubby",
        "StubbyMacrosPlugin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Stubby",
      "module_type" : "SwiftTarget",
      "name" : "Stubby",
      "path" : "Sources/Stubby",
      "product_memberships" : [
        "Stubby",
        "StubbyMacros"
      ],
      "sources" : [
        "StubbyResponse.swift",
        "StubbyURLProtocol.swift",
        "URLSession+Stubbed.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-macro-testing
[1/917] Fetching swift-macro-testing
[744/3077] Fetching swift-macro-testing, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.62s)
[1/72738] Fetching swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (8.53s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.58s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (11.12s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3577] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (1.15s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15599] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.13s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (4.82s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.71s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4601] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.33s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.03s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5555] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.79s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (0.57s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/44] Write sources
[23/44] Compiling _SwiftSyntaxCShims PlatformMutex.c
[24/44] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/62] Emitting module Stubby
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[27/62] Emitting module SwiftSyntax602
[28/62] Compiling SwiftSyntax602 Empty.swift
[29/63] Compiling SwiftSyntax600 Empty.swift
[30/63] Emitting module SwiftSyntax600
[31/64] Emitting module SwiftSyntax509
[32/64] Compiling SwiftSyntax509 Empty.swift
[33/65] Emitting module SwiftSyntax601
[34/65] Compiling SwiftSyntax601 Empty.swift
[35/66] Emitting module SwiftSyntax510
[36/66] Compiling SwiftSyntax510 Empty.swift
[41/67] Wrapping AST for SwiftSyntax600 for debugging
[42/67] Wrapping AST for SwiftSyntax510 for debugging
[43/67] Wrapping AST for SwiftSyntax602 for debugging
[44/67] Wrapping AST for SwiftSyntax509 for debugging
[45/67] Wrapping AST for SwiftSyntax601 for debugging
[47/130] Compiling Stubby StubbyResponse.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/130] Emitting module Stubby
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[50/130] Compiling Stubby URLSession+Stubbed.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[51/130] Compiling Stubby StubbyURLProtocol.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/22] Write swift-version-24593BA9C3E375BF.txt
[4/40] Emitting module SwiftSyntax601
[5/40] Compiling SwiftSyntax601 Empty.swift
[6/40] Emitting module SwiftSyntax509
[7/41] Compiling SwiftSyntax602 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/41] Emitting module Stubby
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[9/41] Compiling Stubby StubbyURLProtocol.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[10/41] Compiling SwiftSyntax509 Empty.swift
[12/42] Compiling Stubby URLSession+Stubbed.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[13/41] Compiling SwiftSyntax600 Empty.swift
[14/41] Emitting module SwiftSyntax600
[15/42] Emitting module SwiftSyntax602
[16/43] Compiling Stubby StubbyURLProtocol.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[17/43] Emitting module SwiftSyntax510
[18/43] Compiling SwiftSyntax510 Empty.swift
[19/43] Compiling Stubby StubbyResponse.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[22/44] Compiling Stubby URLSession+Stubbed.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/44] Emitting module Stubby
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
BUILD FAILURE 6.1 wasm