The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitcodeFormat, reference master (1166c8), with Swift 6.1 for Wasm on 27 May 2025 14:58:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/omochi/bitcodeformat.git
Reference: master
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/omochi/bitcodeformat
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1166c80 a
Cloned https://github.com/omochi/bitcodeformat.git
Revision (git rev-parse @):
1166c80ce5df5800a7f3c0ad73910cf157103abc
SUCCESS checkout https://github.com/omochi/bitcodeformat.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/omochi/bitcodeformat.git
https://github.com/omochi/bitcodeformat.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    }
  ],
  "manifest_display_name" : "BitcodeFormat",
  "name" : "BitcodeFormat",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "BitcodeFormat",
      "targets" : [
        "BitcodeFormat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BitcodeFormatTests",
      "module_type" : "SwiftTarget",
      "name" : "BitcodeFormatTests",
      "path" : "Tests/BitcodeFormatTests",
      "sources" : [
        "BitBufferTests.swift",
        "BitcodeFormatTests.swift"
      ],
      "target_dependencies" : [
        "BitcodeFormat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BitcodeFormat",
      "module_type" : "SwiftTarget",
      "name" : "BitcodeFormat",
      "path" : "Sources/BitcodeFormat",
      "product_dependencies" : [
        "BigInt"
      ],
      "product_memberships" : [
        "BitcodeFormat"
      ],
      "sources" : [
        "Abbreviation.swift",
        "BitBuffer.swift",
        "Block.swift",
        "CopyInitializable.swift",
        "DefineAbbrev.swift",
        "Document.swift",
        "ErrorBase.swift",
        "FileSystems.swift",
        "Modifiable.swift",
        "PosixError.swift",
        "Reader.swift",
        "Record.swift",
        "Resources.swift",
        "RuntimeEnvironment.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/attaswift/BigInt.git
[1/4776] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (1.93s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 4.0.0 (3.96s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 4.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/24] Emitting module BigInt
[5/26] Compiling BigInt Addition.swift
[6/26] Compiling BigInt BigInt.swift
[7/26] Compiling BigInt BigUInt.swift
[8/26] Compiling BigInt Subtraction.swift
[9/26] Compiling BigInt Words and Bits.swift
[10/26] Compiling BigInt Floating Point Conversion.swift
[11/26] Compiling BigInt GCD.swift
[12/26] Compiling BigInt Hashable.swift
[13/26] Compiling BigInt Data Conversion.swift
[14/26] Compiling BigInt Division.swift
[15/26] Compiling BigInt Exponentiation.swift
[16/26] Compiling BigInt Random.swift
[17/26] Compiling BigInt Shifts.swift
[18/26] Compiling BigInt Square Root.swift
[19/26] Compiling BigInt Integer Conversion.swift
[20/26] Compiling BigInt Multiplication.swift
[21/26] Compiling BigInt Prime Test.swift
[22/26] Compiling BigInt Strideable.swift
[23/26] Compiling BigInt String Conversion.swift
[24/26] Compiling BigInt Bitwise Ops.swift
[25/26] Compiling BigInt Codable.swift
[26/26] Compiling BigInt Comparable.swift
[28/41] Compiling BitcodeFormat Modifiable.swift
/host/spi-builder-workspace/Sources/BitcodeFormat/PosixError.swift:13:33: error: cannot find 'Darwin' in scope
11 |     }
12 |     public static var current: PosixError {
13 |         return PosixError(code: Darwin.errno)
   |                                 `- error: cannot find 'Darwin' in scope
14 |     }
15 |     public static func string(fromCode code: Int32) -> String {
[29/41] Compiling BitcodeFormat PosixError.swift
/host/spi-builder-workspace/Sources/BitcodeFormat/PosixError.swift:13:33: error: cannot find 'Darwin' in scope
11 |     }
12 |     public static var current: PosixError {
13 |         return PosixError(code: Darwin.errno)
   |                                 `- error: cannot find 'Darwin' in scope
14 |     }
15 |     public static func string(fromCode code: Int32) -> String {
[30/42] Compiling BitcodeFormat Resources.swift
[31/42] Compiling BitcodeFormat RuntimeEnvironment.swift
[32/42] Emitting module BitcodeFormat
/host/spi-builder-workspace/Sources/BitcodeFormat/Reader.swift:7:20: warning: stored property 'position' of 'Sendable'-conforming struct 'Error' has non-sendable type 'Reader.Position?'; this is an error in the Swift 6 language mode
  5 |     public struct Error : ErrorBase {
  6 |         public var message: String
  7 |         public var position: Position?
    |                    `- warning: stored property 'position' of 'Sendable'-conforming struct 'Error' has non-sendable type 'Reader.Position?'; this is an error in the Swift 6 language mode
  8 |         public var blockName: String?
  9 |
    :
 29 |     }
 30 |
 31 |     public struct Position : CustomStringConvertible {
    |                   `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 32 |         public var offset: UInt64
 33 |         public var bitOffset: UInt8
[33/42] Compiling BitcodeFormat Abbreviation.swift
[34/42] Compiling BitcodeFormat BitBuffer.swift
[35/42] Compiling BitcodeFormat Block.swift
[36/42] Compiling BitcodeFormat CopyInitializable.swift
[37/42] Compiling BitcodeFormat DefineAbbrev.swift
[38/42] Compiling BitcodeFormat Document.swift
[39/42] Compiling BitcodeFormat ErrorBase.swift
[40/42] Compiling BitcodeFormat FileSystems.swift
[41/42] Compiling BitcodeFormat Reader.swift
/host/spi-builder-workspace/Sources/BitcodeFormat/Reader.swift:7:20: warning: stored property 'position' of 'Sendable'-conforming struct 'Error' has non-sendable type 'Reader.Position?'; this is an error in the Swift 6 language mode
  5 |     public struct Error : ErrorBase {
  6 |         public var message: String
  7 |         public var position: Position?
    |                    `- warning: stored property 'position' of 'Sendable'-conforming struct 'Error' has non-sendable type 'Reader.Position?'; this is an error in the Swift 6 language mode
  8 |         public var blockName: String?
  9 |
    :
 29 |     }
 30 |
 31 |     public struct Position : CustomStringConvertible {
    |                   `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 32 |         public var offset: UInt64
 33 |         public var bitOffset: UInt8
[42/42] Compiling BitcodeFormat Record.swift
/host/spi-builder-workspace/Sources/BitcodeFormat/Reader.swift:7:20: warning: stored property 'position' of 'Sendable'-conforming struct 'Error' has non-sendable type 'Reader.Position?'; this is an error in the Swift 6 language mode
  5 |     public struct Error : ErrorBase {
  6 |         public var message: String
  7 |         public var position: Position?
    |                    `- warning: stored property 'position' of 'Sendable'-conforming struct 'Error' has non-sendable type 'Reader.Position?'; this is an error in the Swift 6 language mode
  8 |         public var blockName: String?
  9 |
    :
 29 |     }
 30 |
 31 |     public struct Position : CustomStringConvertible {
    |                   `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 32 |         public var offset: UInt64
 33 |         public var bitOffset: UInt8
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Emitting module BigInt
[3/24] Compiling BigInt Strideable.swift
[4/24] Compiling BigInt String Conversion.swift
[5/24] Compiling BigInt Addition.swift
[6/24] Compiling BigInt BigInt.swift
[7/24] Compiling BigInt BigUInt.swift
[8/24] Compiling BigInt Random.swift
[9/24] Compiling BigInt Shifts.swift
[10/24] Compiling BigInt Square Root.swift
[11/24] Compiling BigInt Floating Point Conversion.swift
[12/24] Compiling BigInt GCD.swift
[13/24] Compiling BigInt Hashable.swift
[14/24] Compiling BigInt Data Conversion.swift
[15/24] Compiling BigInt Division.swift
[16/24] Compiling BigInt Exponentiation.swift
[17/24] Compiling BigInt Bitwise Ops.swift
[18/24] Compiling BigInt Codable.swift
[19/24] Compiling BigInt Comparable.swift
[20/24] Compiling BigInt Integer Conversion.swift
[21/24] Compiling BigInt Multiplication.swift
[22/24] Compiling BigInt Prime Test.swift
[23/24] Compiling BigInt Subtraction.swift
[24/24] Compiling BigInt Words and Bits.swift
[26/39] Compiling BitcodeFormat Resources.swift
[27/40] Compiling BitcodeFormat ErrorBase.swift
[28/40] Compiling BitcodeFormat FileSystems.swift
[29/40] Compiling BitcodeFormat RuntimeEnvironment.swift
[30/40] Compiling BitcodeFormat DefineAbbrev.swift
[31/40] Compiling BitcodeFormat Document.swift
[32/40] Compiling BitcodeFormat Block.swift
[33/40] Compiling BitcodeFormat CopyInitializable.swift
[34/40] Emitting module BitcodeFormat
[35/40] Compiling BitcodeFormat Abbreviation.swift
[36/40] Compiling BitcodeFormat BitBuffer.swift
[37/40] Compiling BitcodeFormat Reader.swift
[38/40] Compiling BitcodeFormat Record.swift
[39/40] Compiling BitcodeFormat Modifiable.swift
/host/spi-builder-workspace/Sources/BitcodeFormat/PosixError.swift:13:33: error: cannot find 'Darwin' in scope
11 |     }
12 |     public static var current: PosixError {
13 |         return PosixError(code: Darwin.errno)
   |                                 `- error: cannot find 'Darwin' in scope
14 |     }
15 |     public static func string(fromCode code: Int32) -> String {
[40/40] Compiling BitcodeFormat PosixError.swift
/host/spi-builder-workspace/Sources/BitcodeFormat/PosixError.swift:13:33: error: cannot find 'Darwin' in scope
11 |     }
12 |     public static var current: PosixError {
13 |         return PosixError(code: Darwin.errno)
   |                                 `- error: cannot find 'Darwin' in scope
14 |     }
15 |     public static func string(fromCode code: Int32) -> String {
BUILD FAILURE 6.1 wasm