The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Crocodil, reference 0.5.0 (ea1633), with Swift 6.2 for Wasm on 30 Jun 2026 21:42:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KazaiMazai/Crocodil.git
Reference: 0.5.0
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/KazaiMazai/Crocodil
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at ea1633c Update async with discardable result (#18)
Cloned https://github.com/KazaiMazai/Crocodil.git
Revision (git rev-parse @):
ea1633ccbe89585d79787f806856cd04a208e326
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KazaiMazai/Crocodil.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/KazaiMazai/Crocodil.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/75758] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.54s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.48s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.19s)
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling CrocodilMacros VariableDeclSyntax+Properties.swift
[6/13] Compiling CrocodilMacros PropertyAttributes.swift
[7/13] Compiling CrocodilMacros Plugin.swift
[8/13] Emitting module CrocodilMacros
[9/13] Compiling CrocodilMacros DependencyEntryMacro.swift
[10/13] Compiling CrocodilMacros AccessAttribute.swift
[11/14] Wrapping AST for CrocodilMacros for debugging
[12/14] Write Objects.LinkFileList
[13/14] Linking CrocodilMacros-tool
[15/30] Compiling Crocodil Dependency.swift
[16/30] Emitting module Crocodil
[17/30] Compiling Crocodil DependencyKey.swift
[18/30] Compiling Crocodil DependencyEntry.swift
[19/30] Compiling Crocodil Dependencies.swift
[20/30] Compiling Crocodil Container.swift
[21/30] Compiling Crocodil InjectableKeyPath.swift
[22/30] Compiling Crocodil Injectable.swift
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:30:24: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
28 |         }
29 |         set {
30 |             Self.queue.asyncUnsafe(flags: .barrier) { key.instance = newValue }
   |                        `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
31 |         }
32 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:30:44: error: cannot infer contextual base in reference to member 'barrier'
28 |         }
29 |         set {
30 |             Self.queue.asyncUnsafe(flags: .barrier) { key.instance = newValue }
   |                                            `- error: cannot infer contextual base in reference to member 'barrier'
31 |         }
32 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:40:49: warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
38 |         }
39 |         set {
40 |             Self.queue.async(flags: .barrier) { key.instance = newValue }
   |                                                 `- warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:50:57: warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
48 |     where
49 |     Key: DependencyKey {
50 |         Self.queue.async(flags: .barrier) { atomically(&key.instance) }
   |                                                         `- warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
51 |     }
52 |
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:67:68: warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
65 |             Self.queue.async(flags: .barrier) {
66 |                 do {
67 |                     continuation.resume(returning: try atomically(&key.instance))
   |                                                                    `- warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
68 |                 } catch {
69 |                     continuation.resume(throwing: error)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
BUILD FAILURE 6.2 wasm