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 swift-tools-support-async, reference main (8fcd85), with Swift 6.1 for Wasm on 30 May 2025 06:31:38 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/apple/swift-tools-support-async.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/apple/swift-tools-support-async
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8fcd85d Merge pull request #57 from weissi/jw-musl-compat
Submodule path 'ThirdParty/BLAKE3': checked out '2f6f56f3477321c9e4742f1c863e45f2cfcbfb5e'
Submodule 'ThirdParty/BLAKE3' (https://github.com/BLAKE3-team/BLAKE3.git) registered for path 'ThirdParty/BLAKE3'
Cloning into '/host/spi-builder-workspace/ThirdParty/BLAKE3'...
Cloned https://github.com/apple/swift-tools-support-async.git
Revision (git rev-parse @):
8fcd85de84e3d4748053c5d563de3c5ea584d190
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-tools-support-async.git
https://github.com/apple/swift-tools-support-async.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.68.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.28.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.8",
            "upper_bound" : "0.8.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    }
  ],
  "manifest_display_name" : "swift-tools-support-async",
  "name" : "swift-tools-support-async",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftToolsSupportAsync",
      "targets" : [
        "TSFFutures",
        "TSFUtility"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftToolsSupportCAS",
      "targets" : [
        "TSFCAS",
        "TSFCASFileTree",
        "TSFCASUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TSFUtility",
      "module_type" : "SwiftTarget",
      "name" : "TSFUtility",
      "path" : "Sources/TSFUtility",
      "product_dependencies" : [
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOFoundationCompat"
      ],
      "product_memberships" : [
        "SwiftToolsSupportAsync",
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "ByteBuffer.swift",
        "FastData.swift",
        "FutureFileSystem.swift",
        "Serializable.swift"
      ],
      "target_dependencies" : [
        "TSFFutures"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSFFuturesTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFFuturesTests",
      "path" : "Tests/TSFFuturesTests",
      "sources" : [
        "BatchingFutureOperationQueue.swift",
        "CancellableFutureTests.swift",
        "CancellablePromiseTests.swift",
        "CancellerTests.swift",
        "EventualResultsCacheTests.swift",
        "FutureDeduplicatorTests.swift",
        "FutureOperationQueueTests.swift",
        "OrderManagerTests.swift"
      ],
      "target_dependencies" : [
        "TSFFutures"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFFutures",
      "module_type" : "SwiftTarget",
      "name" : "TSFFutures",
      "path" : "Sources/TSFFutures",
      "product_dependencies" : [
        "NIO",
        "NIOFoundationCompat",
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "SwiftToolsSupportAsync",
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "BatchingFutureOperationQueue.swift",
        "CancellableFuture.swift",
        "CancellablePromise.swift",
        "Canceller.swift",
        "EventualResultsCache.swift",
        "FutureDeduplicator.swift",
        "FutureOperationQueue.swift",
        "Futures.swift",
        "OperationQueue+Extensions.swift",
        "OrderManager.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSFCASUtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASUtilitiesTests",
      "path" : "Tests/TSFCASUtilitiesTests",
      "sources" : [
        "BufferedStreamWriterTests.swift",
        "LinkedListStreamTests.swift"
      ],
      "target_dependencies" : [
        "TSFCASUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFCASUtilities",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASUtilities",
      "path" : "Sources/TSFCASUtilities",
      "product_memberships" : [
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "BufferedStreamWriter.swift",
        "LinkedListStream.swift",
        "StreamReader.swift"
      ],
      "target_dependencies" : [
        "TSFCAS",
        "TSFCASFileTree"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSFCASTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASTests",
      "path" : "Tests/TSFCASTests",
      "sources" : [
        "DataIDTests.swift",
        "FileBackedCASDatabaseTests.swift",
        "InMemoryCASDatabaseTests.swift"
      ],
      "target_dependencies" : [
        "TSFCAS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFCASFileTreeTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASFileTreeTests",
      "path" : "Tests/TSFCASFileTreeTests",
      "sources" : [
        "CASBlobTests.swift",
        "FileTreeImportExportTests.swift",
        "FileTreeTests.swift"
      ],
      "target_dependencies" : [
        "TSFCASFileTree"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFCASFileTree",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASFileTree",
      "path" : "Sources/TSFCASFileTree",
      "product_memberships" : [
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "BinarySearch.swift",
        "CASBlob.swift",
        "CASFSClient.swift",
        "CASFSNode.swift",
        "ConcurrentFileTreeWalker.swift",
        "Context.swift",
        "DeclFileTree.swift",
        "DirectoryEntry.swift",
        "Errors.swift",
        "FileInfo.swift",
        "FileTree.swift",
        "FileTreeExport.swift",
        "FileTreeImport.swift",
        "FilesystemObject.swift",
        "Generated/CASFileTreeProtocol/file_tree.pb.swift",
        "Internal/ConcurrentFilesystemScanner.swift",
        "Internal/FileSegmenter.swift",
        "Internal/FileTreeParser.swift",
        "TSCCASFileSystem.swift"
      ],
      "target_dependencies" : [
        "TSFCAS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSFCAS",
      "module_type" : "SwiftTarget",
      "name" : "TSFCAS",
      "path" : "Sources/TSFCAS",
      "product_dependencies" : [
        "SwiftProtobuf"
      ],
      "product_memberships" : [
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "DataID.swift",
        "Database.swift",
        "DatabaseSpec.swift",
        "Generated/CASProtocol/cas_object.pb.swift",
        "Generated/CASProtocol/data_id.pb.swift",
        "Implementations/Blake3DataID.swift",
        "Implementations/FileBackedCASDatabase.swift",
        "Implementations/InMemoryCASDatabase.swift",
        "Object.swift"
      ],
      "target_dependencies" : [
        "TSFFutures",
        "TSFUtility",
        "CBLAKE3"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CBLAKE3",
      "module_type" : "ClangTarget",
      "name" : "CBLAKE3",
      "path" : "Sources/CBLAKE3",
      "product_memberships" : [
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "blake3.c",
        "blake3_avx2.c",
        "blake3_avx512.c",
        "blake3_sse41.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
[1/6764] Fetching swift-tools-support-core
[4669/82872] Fetching swift-tools-support-core, swift-nio
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.74s)
[16744/76108] Fetching swift-nio
[31967/115419] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (7.64s)
Fetched https://github.com/apple/swift-nio.git from cache (7.67s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (8.15s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (1.98s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.86s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[634/18301] Fetching swift-atomics, swift-collections
[1091/22692] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.77s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/39] Write sources
[9/39] Copying PrivacyInfo.xcprivacy
[9/39] Write sources
[21/39] Compiling TSCclibc process.c
[22/39] Compiling CNIOWindows shim.c
[23/39] Compiling TSCclibc libc.c
[24/39] Compiling TSCclibc strerror.c
[25/39] Compiling _AtomicsShims.c
[26/39] Compiling CNIOLinux liburing_shims.c
[27/39] Compiling CNIOWindows WSAStartup.c
[28/39] Compiling CNIOLinux shim.c
[29/39] Compiling CNIOWASI CNIOWASI.c
[30/39] Compiling CNIODarwin shim.c
[31/39] Write sources
[32/39] Compiling CBLAKE3 blake3_sse41.c
[33/39] Compiling CBLAKE3 blake3_avx512.c
[34/39] Compiling CBLAKE3 blake3_avx2.c
[35/39] Write swift-version-24593BA9C3E375BF.txt
[37/80] Emitting module _NIOBase64
[38/80] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/81] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[40/81] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[41/81] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[42/81] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[43/81] Compiling _NIOBase64 Base64.swift
[44/81] Compiling Atomics Primitives.native.swift
[45/81] Compiling Atomics OptionalRawRepresentable.swift
[45/81] Compiling c-nioatomics.c
[45/81] Compiling CBLAKE3 blake3.c
[46/81] Compiling _NIODataStructures PriorityQueue.swift
[46/81] Compiling c-atomics.c
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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/5] Compiling c-nioatomics.c
[2/5] Compiling c-atomics.c
[3/5] Compiling CBLAKE3 blake3.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/135] Compiling SwiftProtobuf BinaryDelimited.swift
[7/135] Compiling SwiftProtobuf BinaryEncoder.swift
[8/135] Compiling SwiftProtobuf BinaryEncodingError.swift
[9/137] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/137] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[11/137] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[12/137] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[13/137] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/137] Compiling SwiftProtobuf BinaryEncodingOptions.swift
BUILD FAILURE 6.1 wasm