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 SimpleLogging, reference production (abbf40), with Swift 6.1 for Wasm on 28 May 2025 02:05:32 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/RougeWare/Swift-Simple-Logging.git
Reference: production
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/RougeWare/Swift-Simple-Logging
 * branch            production -> FETCH_HEAD
 * [new branch]      production -> origin/production
HEAD is now at abbf40d Merge pull request #22 from RougeWare/feature/Raw-Location
Cloned https://github.com/RougeWare/Swift-Simple-Logging.git
Revision (git rev-parse @):
abbf40d670bc1964ead4f5018f412382a1093703
SUCCESS checkout https://github.com/RougeWare/Swift-Simple-Logging.git at production
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Simple-Logging.git
https://github.com/RougeWare/Swift-Simple-Logging.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-lazy-containers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Lazy-Containers.git"
    },
    {
      "identity" : "swift-function-tools",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Function-Tools.git"
    }
  ],
  "manifest_display_name" : "SimpleLogging",
  "name" : "SimpleLogging",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SimpleLogging",
      "targets" : [
        "SimpleLogging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SimpleLogging_dynamic",
      "targets" : [
        "SimpleLogging"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SimpleLoggingDynamic",
      "targets" : [
        "SimpleLogging"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleLoggingTests",
      "module_type" : "SwiftTarget",
      "name" : "SimpleLoggingTests",
      "path" : "Tests/SimpleLoggingTests",
      "sources" : [
        "LogLocation.customRaw tests.swift",
        "LogToFileTests.swift",
        "Testing Utilities.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SimpleLogging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimpleLogging",
      "module_type" : "SwiftTarget",
      "name" : "SimpleLogging",
      "path" : "Sources/SimpleLogging",
      "product_dependencies" : [
        "LazyContainers",
        "FunctionTools"
      ],
      "product_memberships" : [
        "SimpleLogging",
        "SimpleLogging_dynamic",
        "SimpleLoggingDynamic"
      ],
      "sources" : [
        "CombinedLogMessage.swift",
        "CombinedLoggable.swift",
        "Extensions/Foundation/FileHandle + TextOutputStream.swift",
        "LogChannel.swift",
        "LogManager.swift",
        "LogMessage.swift",
        "LogMessageProtocol.swift",
        "LogSeverity.swift",
        "Loggable.swift",
        "LoggableError.swift",
        "RawLogMessage.swift",
        "Simple Logging.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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/RougeWare/Swift-Lazy-Containers.git
Fetching https://github.com/RougeWare/Swift-Function-Tools.git
[1/395] Fetching swift-lazy-containers
[88/516] Fetching swift-lazy-containers, swift-function-tools
Fetched https://github.com/RougeWare/Swift-Function-Tools.git from cache (0.24s)
Fetched https://github.com/RougeWare/Swift-Lazy-Containers.git from cache (0.24s)
Computing version for https://github.com/RougeWare/Swift-Function-Tools.git
Computed https://github.com/RougeWare/Swift-Function-Tools.git at 1.2.4 (0.75s)
Computing version for https://github.com/RougeWare/Swift-Lazy-Containers.git
Computed https://github.com/RougeWare/Swift-Lazy-Containers.git at 4.1.0 (0.53s)
Creating working copy for https://github.com/RougeWare/Swift-Lazy-Containers.git
Working copy of https://github.com/RougeWare/Swift-Lazy-Containers.git resolved at 4.1.0
Creating working copy for https://github.com/RougeWare/Swift-Function-Tools.git
Working copy of https://github.com/RougeWare/Swift-Function-Tools.git resolved at 1.2.4
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/24] Emitting module LazyContainers
/host/spi-builder-workspace/.build/checkouts/Swift-Lazy-Containers/Sources/LazyContainers/LazyContainers.swift:415:24: error: cannot find type 'DispatchSemaphore' in scope
413 |         /// Guarantees that, on first-init, only one thread initializes the value. After that, this is set to `nil`
414 |         /// because subsequent threads can safely access the value without the risk of setting it again.
415 |         var semaphore: DispatchSemaphore? = .init(value: 1)
    |                        `- error: cannot find type 'DispatchSemaphore' in scope
416 |
417 |
[6/24] Compiling FunctionTools Blackholes.swift
[7/25] Compiling FunctionTools Null functions.swift
[8/25] Compiling LazyContainers LazyContainers.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Lazy-Containers/Sources/LazyContainers/LazyContainers.swift:415:24: error: cannot find type 'DispatchSemaphore' in scope
413 |         /// Guarantees that, on first-init, only one thread initializes the value. After that, this is set to `nil`
414 |         /// because subsequent threads can safely access the value without the risk of setting it again.
415 |         var semaphore: DispatchSemaphore? = .init(value: 1)
    |                        `- error: cannot find type 'DispatchSemaphore' in scope
416 |
417 |
[9/25] Compiling LazyContainers LazyContainer + Hashable.swift
[10/25] Compiling LazyContainers LazyContainer + Equatable.swift
[11/25] Compiling FunctionTools Curry.swift
[12/25] Compiling FunctionTools Constant.swift
[13/25] Compiling FunctionTools Echo.swift
[14/25] Compiling FunctionTools Call.swift
[15/25] Compiling LazyContainers LazyContainer + Codable.swift
[16/25] Compiling FunctionTools Function types.swift
[17/25] Emitting module FunctionTools
[18/25] Compiling FunctionTools !.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
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling FunctionTools Echo.swift
[3/21] Compiling FunctionTools Call.swift
[4/21] Compiling LazyContainers LazyContainer + Hashable.swift
[5/21] Compiling FunctionTools Function types.swift
[6/21] Emitting module FunctionTools
[7/21] Compiling FunctionTools Blackholes.swift
[8/21] Compiling FunctionTools !.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/22] Compiling LazyContainers LazyContainer + Codable.swift
[10/22] Compiling LazyContainers LazyContainer + Equatable.swift
[11/22] Emitting module LazyContainers
/host/spi-builder-workspace/.build/checkouts/Swift-Lazy-Containers/Sources/LazyContainers/LazyContainers.swift:415:24: error: cannot find type 'DispatchSemaphore' in scope
413 |         /// Guarantees that, on first-init, only one thread initializes the value. After that, this is set to `nil`
414 |         /// because subsequent threads can safely access the value without the risk of setting it again.
415 |         var semaphore: DispatchSemaphore? = .init(value: 1)
    |                        `- error: cannot find type 'DispatchSemaphore' in scope
416 |
417 |
[12/22] Compiling FunctionTools Constant.swift
[13/22] Compiling FunctionTools Curry.swift
[14/22] Compiling LazyContainers LazyContainers.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Lazy-Containers/Sources/LazyContainers/LazyContainers.swift:415:24: error: cannot find type 'DispatchSemaphore' in scope
413 |         /// Guarantees that, on first-init, only one thread initializes the value. After that, this is set to `nil`
414 |         /// because subsequent threads can safely access the value without the risk of setting it again.
415 |         var semaphore: DispatchSemaphore? = .init(value: 1)
    |                        `- error: cannot find type 'DispatchSemaphore' in scope
416 |
417 |
[15/22] Compiling FunctionTools Null functions.swift
BUILD FAILURE 6.1 wasm