Build Information
Failed to build Crocodil, reference main (ea1633), with Swift 6.2 for Linux on 30 Jun 2026 21:40:19 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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KazaiMazai/Crocodil.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/KazaiMazai/Crocodil
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:146297aca0eb7f3e338453cbf4c0aa72424647d7d0d3f35fda2f7ef7698dd3aa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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.46s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.39s)
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.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.29s)
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling CrocodilMacros PropertyAttributes.swift
[6/13] Compiling CrocodilMacros Plugin.swift
[7/13] Compiling CrocodilMacros VariableDeclSyntax+Properties.swift
[8/13] Compiling CrocodilMacros AccessAttribute.swift
[9/13] Emitting module CrocodilMacros
[10/13] Compiling CrocodilMacros DependencyEntryMacro.swift
[11/14] Wrapping AST for CrocodilMacros for debugging
[12/14] Write Objects.LinkFileList
[13/14] Linking CrocodilMacros-tool
[15/30] Compiling Crocodil InjectableKeyPath.swift
[16/30] Compiling Crocodil DependencyKey.swift
[18/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>
[19/30] Compiling Crocodil DependencyEntry.swift
[20/30] Compiling Crocodil Dependency.swift
[21/30] Compiling Crocodil Container.swift
[22/30] Compiling Crocodil Dependencies.swift
[23/30] Compiling Crocodil DependencyEntry.swift
[24/30] Emitting module Crocodil
Internal Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Corrupted JSON", underlyingError: Optional(unexpected end of file)))
[25/30] Compiling Crocodil Dependencies.swift
[26/30] Compiling Crocodil Dependency.swift
[27/30] Emitting module Crocodil
Internal Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Corrupted JSON", underlyingError: Optional(unexpected end of file)))
[28/30] Compiling Crocodil Container.swift
[29/30] Compiling Crocodil InjectableKeyPath.swift
[30/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 linux