The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kubrick, reference main (de9b0d), with Swift 6.1 for Wasm on 28 May 2025 22:36:34 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/outfoxx/Kubrick.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/outfoxx/Kubrick
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at de9b0d8 Add spi.yml
Cloned https://github.com/outfoxx/Kubrick.git
Revision (git rev-parse @):
de9b0d88d3ac6c31d64071fdf58a82f331ce6ef9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/outfoxx/Kubrick.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/outfoxx/Kubrick.git
https://github.com/outfoxx/Kubrick.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "asyncobjects",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "2.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyLab/AsyncObjects.git"
    },
    {
      "identity" : "potentcodables",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.0",
            "upper_bound" : "3.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/outfoxx/potentcodables.git"
    },
    {
      "identity" : "swiftfriendlyid",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "1.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kdubb/SwiftFriendlyId.git"
    },
    {
      "identity" : "iostreams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "1.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/outfoxx/IOStreams.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "1.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Kubrick",
  "name" : "Kubrick",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Kubrick",
      "targets" : [
        "Kubrick"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Kubrick",
      "module_type" : "SwiftTarget",
      "name" : "Kubrick",
      "path" : "Sources/Kubrick",
      "product_dependencies" : [
        "AsyncObjects",
        "IOStreams",
        "PotentCodables",
        "FriendlyId"
      ],
      "product_memberships" : [
        "Kubrick"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Kubrick/Kubrick.docc",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AssistantsWatcher.swift",
        "Base64URL.swift",
        "BatchJob.swift",
        "CatchJob.swift",
        "DirectoryWatcher.swift",
        "DynamicJobDirector.swift",
        "ExecutableJob.swift",
        "ExternalJobKey.swift",
        "FileHandles.swift",
        "Job.swift",
        "JobBinding.swift",
        "JobBuilder.swift",
        "JobCodable.swift",
        "JobDirector.swift",
        "JobDirectorID.swift",
        "JobDirectorMode.swift",
        "JobDirectorStore.swift",
        "JobEnvironment.swift",
        "JobEnvironmentValue.swift",
        "JobError.swift",
        "JobErrorBox.swift",
        "JobExecutionError.swift",
        "JobHashable.swift",
        "JobHasher.swift",
        "JobID.swift",
        "JobInject.swift",
        "JobInjectManagable.swift",
        "JobInput.swift",
        "JobInputDescriptor.swift",
        "JobInputResults.swift",
        "JobKey.swift",
        "JobResult.swift",
        "JobTransferError.swift",
        "JobValue.swift",
        "Logging.swift",
        "MapJob.swift",
        "NoValue.swift",
        "RegEx.swift",
        "RegisterCache.swift",
        "ResultJob.swift",
        "RetryJob.swift",
        "SubmittableJob.swift",
        "SubmittableJobStore.swift",
        "Tasks.swift",
        "TimeDuration.swift",
        "TypeResolvers.swift",
        "URLSessionJobManager.swift",
        "UUIDs.swift",
        "UniqueID.swift",
        "UserNotificationJobManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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/kdubb/SwiftFriendlyId.git
Fetching https://github.com/outfoxx/IOStreams.git
Fetching https://github.com/outfoxx/potentcodables.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/SwiftyLab/AsyncObjects.git
[1/62] Fetching swiftfriendlyid
[63/2111] Fetching swiftfriendlyid, swift-docc-plugin
[309/6530] Fetching swiftfriendlyid, swift-docc-plugin, iostreams
[6531/97732] Fetching swiftfriendlyid, swift-docc-plugin, iostreams, potentcodables
[14740/101921] Fetching swiftfriendlyid, swift-docc-plugin, iostreams, potentcodables, asyncobjects
Fetched https://github.com/kdubb/SwiftFriendlyId.git from cache (0.83s)
Fetched https://github.com/SwiftyLab/AsyncObjects.git from cache (0.83s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.84s)
[32692/95621] Fetching iostreams, potentcodables
Fetched https://github.com/outfoxx/IOStreams.git from cache (3.41s)
Fetched https://github.com/outfoxx/potentcodables.git from cache (3.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (5.05s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/outfoxx/IOStreams.git
Computed https://github.com/outfoxx/IOStreams.git at 1.4.2 (1.34s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.00s)
Computing version for https://github.com/outfoxx/potentcodables.git
Computed https://github.com/outfoxx/potentcodables.git at 3.2.0 (1.67s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
[1/4776] Fetching bigint
[2/5086] Fetching bigint, float16
[5087/21677] Fetching bigint, float16, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (0.99s)
[4624/16901] Fetching float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.89s)
Fetched https://github.com/apple/swift-collections.git from cache (1.91s)
Computing version for https://github.com/SwiftyLab/AsyncObjects.git
Computed https://github.com/SwiftyLab/AsyncObjects.git at 2.1.0 (2.67s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.50s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.53s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.41s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.89s)
Computing version for https://github.com/kdubb/SwiftFriendlyId.git
Computed https://github.com/kdubb/SwiftFriendlyId.git at 1.3.2 (0.48s)
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (1.31s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.48s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/SwiftyLab/AsyncObjects.git
Working copy of https://github.com/SwiftyLab/AsyncObjects.git resolved at 2.1.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.0.6
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.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.1.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/kdubb/SwiftFriendlyId.git
Working copy of https://github.com/kdubb/SwiftFriendlyId.git resolved at 1.3.2
Creating working copy for https://github.com/outfoxx/potentcodables.git
Working copy of https://github.com/outfoxx/potentcodables.git resolved at 3.2.0
Creating working copy for https://github.com/outfoxx/IOStreams.git
Working copy of https://github.com/outfoxx/IOStreams.git resolved at 1.4.2
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/43] Write sources
[14/43] Copying PotentCodables.docc
[15/43] Copying Kubrick.docc
[16/43] Compiling _AtomicsShims.c
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-utils.c:18:10: fatal error: 'termios.h' file not found
   18 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[17/43] Compiling fy-utils.c
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-docbuilder.c:22:
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[17/43] Compiling fy-docbuilder.c
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-doc.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-parse.h:26:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-diag.h:23:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-token.h:22:
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[17/43] Compiling fy-doc.c
[17/43] Compiling xxhash.c
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-walk.c:24:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-parse.h:26:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-diag.h:23:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-token.h:22:
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[17/43] Compiling fy-walk.c
[17/43] Compiling fy-utf8.c
[17/43] Compiling fy-diag.c
[17/43] Write swift-version-24593BA9C3E375BF.txt
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
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/29] Write sources
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-utils.c:18:10: fatal error: 'termios.h' file not found
   18 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/29] Compiling fy-utils.c
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-token.c:24:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-parse.h:26:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-diag.h:23:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-token.h:22:
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[4/29] Compiling fy-token.c
[4/29] Compiling fy-utf8.c
[4/29] Compiling fy-path.c
[4/29] Compiling xxhash.c
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-types.c:14:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
[4/29] Compiling fy-types.c
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-walk.c:24:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-parse.h:26:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-diag.h:23:
In file included from /host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-token.h:22:
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[4/29] Compiling fy-walk.c
[4/29] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm