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 SemiSingleton, reference main (dc4e36), with Swift 6.1 for Wasm on 30 May 2025 00:17:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/Frizlab/SemiSingleton.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/Frizlab/SemiSingleton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dc4e36b Dummy code formatting change
Cloned https://github.com/Frizlab/SemiSingleton.git
Revision (git rev-parse @):
dc4e36b23ad96043f05d893cb72245cdf2f74076
SUCCESS checkout https://github.com/Frizlab/SemiSingleton.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Frizlab/SemiSingleton.git
https://github.com/Frizlab/SemiSingleton.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "globalconfmodule",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/GlobalConfModule.git"
    },
    {
      "identity" : "recursivesyncdispatch",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/RecursiveSyncDispatch.git"
    },
    {
      "identity" : "safeglobal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/SafeGlobal.git"
    }
  ],
  "manifest_display_name" : "SemiSingleton",
  "name" : "SemiSingleton",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SemiSingleton",
      "targets" : [
        "SemiSingleton"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SemiSingletonTests",
      "module_type" : "SwiftTarget",
      "name" : "SemiSingletonTests",
      "path" : "Tests/SemiSingletonTests",
      "product_dependencies" : [
        "SafeGlobal"
      ],
      "sources" : [
        "Helpers/ActorSemiSingleton.swift",
        "Helpers/CheckDone.swift",
        "Helpers/ReentrantSemiSingletonInit.swift",
        "Helpers/SimpleSemiSingleton.swift",
        "SemiSingletonTests.swift"
      ],
      "target_dependencies" : [
        "SemiSingleton"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SemiSingleton",
      "module_type" : "SwiftTarget",
      "name" : "SemiSingleton",
      "path" : "Sources/SemiSingleton",
      "product_dependencies" : [
        "Logging",
        "RecursiveSyncDispatch",
        "GlobalConfModule"
      ],
      "product_memberships" : [
        "SemiSingleton"
      ],
      "sources" : [
        "LinuxStrongToWeakMapTable.swift",
        "SemiSingletonConfig.swift",
        "SemiSingletonStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/Frizlab/GlobalConfModule.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/SafeGlobal.git
[1/182] Fetching safeglobal
Fetched https://github.com/Frizlab/SafeGlobal.git from cache (0.28s)
[1/617] Fetching globalconfmodule
[618/4453] Fetching globalconfmodule, swift-log
Fetched https://github.com/Frizlab/GlobalConfModule.git from cache (0.34s)
[691/3836] Fetching swift-log
Fetching https://github.com/Frizlab/RecursiveSyncDispatch.git
Fetched https://github.com/apple/swift-log.git from cache (1.09s)
[1/174] Fetching recursivesyncdispatch
Fetched https://github.com/Frizlab/RecursiveSyncDispatch.git from cache (0.38s)
Computing version for https://github.com/Frizlab/RecursiveSyncDispatch.git
Computed https://github.com/Frizlab/RecursiveSyncDispatch.git at 1.0.1 (4.55s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.2 (0.79s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1063] Fetching swift-service-context
[1064/71515] Fetching swift-service-context, swift-syntax
Fetched https://github.com/apple/swift-service-context.git from cache (7.23s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.30s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (8.33s)
Computing version for https://github.com/Frizlab/SafeGlobal.git
Computed https://github.com/Frizlab/SafeGlobal.git at 0.3.3 (0.59s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.58s)
Creating working copy for https://github.com/Frizlab/RecursiveSyncDispatch.git
Working copy of https://github.com/Frizlab/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/Frizlab/SafeGlobal.git
Working copy of https://github.com/Frizlab/SafeGlobal.git resolved at 0.3.3
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.2
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.0
Building for debugging...
[0/39] Write sources
[20/39] Compiling _SwiftSyntaxCShims dummy.c
[21/39] Write swift-version-24593BA9C3E375BF.txt
[23/55] Emitting module ServiceContextModule
[24/55] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/55] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/56] Compiling ServiceContextModule ServiceContextKey.swift
[27/56] Compiling ServiceContextModule ServiceContext.swift
[30/57] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/57] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/58] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/58] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/59] Wrapping AST for SwiftSyntax600 for debugging
[36/59] Compiling Logging Locks.swift
[37/59] Emitting module Logging
[38/59] Wrapping AST for SwiftSyntax510 for debugging
[39/59] Wrapping AST for SwiftSyntax509 for debugging
[41/123] Compiling Logging LogHandler.swift
[42/123] Compiling Logging Logging.swift
[43/123] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/124] Emitting module RecursiveSyncDispatch
/host/spi-builder-workspace/.build/checkouts/RecursiveSyncDispatch/Sources/RecursiveSyncDispatch/RecursiveSyncDispatch.swift:16:8: error: no such module 'Dispatch'
14 | limitations under the License. */
15 |
16 | import Dispatch
   |        `- error: no such module 'Dispatch'
17 | import Foundation
18 |
[46/124] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
/host/spi-builder-workspace/.build/checkouts/RecursiveSyncDispatch/Sources/RecursiveSyncDispatch/RecursiveSyncDispatch.swift:16:8: error: no such module 'Dispatch'
14 | limitations under the License. */
15 |
16 | import Dispatch
   |        `- error: no such module 'Dispatch'
17 | import Foundation
18 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling SwiftSyntax510 Empty.swift
[3/22] Emitting module SwiftSyntax510
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/35] Emitting module RecursiveSyncDispatch
/host/spi-builder-workspace/.build/checkouts/RecursiveSyncDispatch/Sources/RecursiveSyncDispatch/RecursiveSyncDispatch.swift:16:8: error: no such module 'Dispatch'
14 | limitations under the License. */
15 |
16 | import Dispatch
   |        `- error: no such module 'Dispatch'
17 | import Foundation
18 |
[6/35] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
/host/spi-builder-workspace/.build/checkouts/RecursiveSyncDispatch/Sources/RecursiveSyncDispatch/RecursiveSyncDispatch.swift:16:8: error: no such module 'Dispatch'
14 | limitations under the License. */
15 |
16 | import Dispatch
   |        `- error: no such module 'Dispatch'
17 | import Foundation
18 |
BUILD FAILURE 6.1 wasm