The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CwlPreconditionTesting, reference master (0139c6), with Swift 6.1 for Wasm on 29 May 2025 16:51:29 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/mattgallagher/cwlpreconditiontesting.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/mattgallagher/cwlpreconditiontesting
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0139c66 Merge pull request #39 from LowAmmo/Issue-38-Xcode16-Warnings
Cloned https://github.com/mattgallagher/cwlpreconditiontesting.git
Revision (git rev-parse @):
0139c665ebb45e6a9fbdb68aabfd7c39f3fe0071
SUCCESS checkout https://github.com/mattgallagher/cwlpreconditiontesting.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattgallagher/cwlpreconditiontesting.git
https://github.com/mattgallagher/cwlpreconditiontesting.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cwlcatchexception",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlCatchException.git"
    }
  ],
  "manifest_display_name" : "CwlPreconditionTesting",
  "name" : "CwlPreconditionTesting",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CwlPreconditionTesting",
      "targets" : [
        "CwlPreconditionTesting",
        "CwlMachBadInstructionHandler"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CwlPosixPreconditionTesting",
      "targets" : [
        "CwlPosixPreconditionTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CwlPreconditionTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "CwlPreconditionTestingTests",
      "path" : "Tests/CwlPreconditionTestingTests",
      "sources" : [
        "CwlCatchBadInstructionTests.swift"
      ],
      "target_dependencies" : [
        "CwlPreconditionTesting",
        "CwlPosixPreconditionTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CwlPreconditionTesting",
      "module_type" : "SwiftTarget",
      "name" : "CwlPreconditionTesting",
      "path" : "Sources/CwlPreconditionTesting",
      "product_dependencies" : [
        "CwlCatchException"
      ],
      "product_memberships" : [
        "CwlPreconditionTesting"
      ],
      "sources" : [
        "CwlBadInstructionException.swift",
        "CwlCatchBadInstruction.swift",
        "CwlDarwinDefinitions.swift"
      ],
      "target_dependencies" : [
        "CwlMachBadInstructionHandler"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CwlPosixPreconditionTesting",
      "module_type" : "SwiftTarget",
      "name" : "CwlPosixPreconditionTesting",
      "path" : "Sources/CwlPosixPreconditionTesting",
      "product_memberships" : [
        "CwlPosixPreconditionTesting"
      ],
      "sources" : [
        "CwlCatchBadInstructionPosix.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CwlMachBadInstructionHandler",
      "module_type" : "ClangTarget",
      "name" : "CwlMachBadInstructionHandler",
      "path" : "Sources/CwlMachBadInstructionHandler",
      "product_memberships" : [
        "CwlPreconditionTesting"
      ],
      "sources" : [
        "CwlMachBadInstructionHandler.m",
        "mach_excServer.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/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.21s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.75s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Building for debugging...
[0/7] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m:21:
/host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
   21 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/7] Compiling CwlCatchExceptionSupport CwlCatchException.m
[3/7] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[3/7] Compiling CwlMachBadInstructionHandler mach_excServer.c
[3/7] Write swift-version-24593BA9C3E375BF.txt
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
Building for debugging...
[0/4] Compiling CwlMachBadInstructionHandler mach_excServer.c
[1/4] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
In file included from /host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m:21:
/host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
   21 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/4] Compiling CwlCatchExceptionSupport CwlCatchException.m
[2/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm