The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleLogging, reference 0.5.2 (efdee0), with Swift 6.1 for Wasm on 28 May 2025 02:05:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 0.5.2
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
 * tag               0.5.2      -> FETCH_HEAD
HEAD is now at efdee02 Merge pull request #18 from RougeWare/feature/update/LazyContainers-repo-rename-from-LazyPatterns
Cloned https://github.com/RougeWare/Swift-Simple-Logging.git
Revision (git rev-parse @):
efdee028f383b0f3c39646a76e16bdd30693f53b
SUCCESS checkout https://github.com/RougeWare/Swift-Simple-Logging.git at 0.5.2
========================================
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" : [
        "LogToFileTests.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" : [
        "CodeLogMessage.swift",
        "CombinedLogMessage.swift",
        "CombinedLoggable.swift",
        "Extensions/Foundation/FileHandle + TextOutputStream.swift",
        "LogChannel.swift",
        "LogManager.swift",
        "LogMessage.swift",
        "LogMessageProtocol.swift",
        "LogSeverity.swift",
        "Loggable.swift",
        "LoggableError.swift",
        "Simple Logging.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[183/516] Fetching swift-lazy-containers, swift-function-tools
Fetched https://github.com/RougeWare/Swift-Function-Tools.git from cache (0.25s)
Fetched https://github.com/RougeWare/Swift-Lazy-Containers.git from cache (0.26s)
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.89s)
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.62s)
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
[5/24] Compiling FunctionTools Curry.swift
[6/25] Compiling FunctionTools Echo.swift
[7/25] Compiling FunctionTools Call.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 FunctionTools Blackholes.swift
[11/25] Compiling FunctionTools !.swift
[12/25] Emitting module FunctionTools
[13/25] Compiling FunctionTools Constant.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/25] Compiling LazyContainers LazyContainer + Codable.swift
[15/25] 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 |
[16/25] Compiling LazyContainers LazyContainer + Equatable.swift
[17/25] Compiling FunctionTools Function types.swift
[18/25] Compiling FunctionTools Null functions.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 Call.swift
[3/22] Compiling FunctionTools !.swift
[4/22] Compiling FunctionTools Blackholes.swift
[5/22] Emitting module FunctionTools
[6/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 |
[7/22] Compiling LazyContainers LazyContainer + Hashable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/22] Compiling LazyContainers LazyContainer + Codable.swift
[9/22] Compiling LazyContainers LazyContainer + Equatable.swift
[10/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 |
[11/22] Compiling FunctionTools Constant.swift
[12/22] Compiling FunctionTools Curry.swift
[13/22] Compiling FunctionTools Echo.swift
[14/22] Compiling FunctionTools Function types.swift
[15/22] Compiling FunctionTools Null functions.swift
BUILD FAILURE 6.1 wasm