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 SerialSwift, reference main (a66344), with Swift 6.1 for Wasm on 28 May 2025 09:17:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Flowduino/SerialSwift.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/Flowduino/SerialSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a663441 Create FUNDING.yml
Cloned https://github.com/Flowduino/SerialSwift.git
Revision (git rev-parse @):
a663441be77f80ead749d88fc92ae62554da5a9d
SUCCESS checkout https://github.com/Flowduino/SerialSwift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Flowduino/SerialSwift.git
https://github.com/Flowduino/SerialSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "threadsafeswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/ThreadSafeSwift.git"
    },
    {
      "identity" : "observable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/Observable.git"
    },
    {
      "identity" : "eventdrivenswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/EventDrivenSwift.git"
    },
    {
      "identity" : "orsserialport",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/armadsen/ORSSerialPort.git"
    }
  ],
  "manifest_display_name" : "SerialSwift",
  "name" : "SerialSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SerialSwift",
      "targets" : [
        "SerialSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SerialSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "SerialSwiftTests",
      "path" : "Tests/SerialSwiftTests",
      "product_dependencies" : [
        "ThreadSafeSwift",
        "Observable",
        "EventDrivenSwift",
        "ORSSerial"
      ],
      "sources" : [
        "SerialTests.swift"
      ],
      "target_dependencies" : [
        "SerialSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SerialSwift",
      "module_type" : "SwiftTarget",
      "name" : "SerialSwift",
      "path" : "Sources/SerialSwift",
      "product_dependencies" : [
        "ThreadSafeSwift",
        "Observable",
        "EventDrivenSwift",
        "ORSSerial"
      ],
      "product_memberships" : [
        "SerialSwift"
      ],
      "sources" : [
        "BaudRate.swift",
        "Events/SerialPortClosedEvent.swift",
        "Events/SerialPortDataReceivedEvent.swift",
        "Events/SerialPortErrorEvent.swift",
        "Events/SerialPortOpenedEvent.swift",
        "Events/SerialPortRemovedEvent.swift",
        "Observables/SerialObserver.swift",
        "Serial.swift",
        "Serialable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Flowduino/EventDrivenSwift.git
Fetching https://github.com/Flowduino/ThreadSafeSwift.git
Fetching https://github.com/armadsen/ORSSerialPort.git
Fetching https://github.com/Flowduino/Observable.git
[1/53] Fetching threadsafeswift
[54/2922] Fetching threadsafeswift, orsserialport
[1202/3038] Fetching threadsafeswift, orsserialport, observable
[3039/3658] Fetching threadsafeswift, orsserialport, observable, eventdrivenswift
Fetched https://github.com/Flowduino/Observable.git from cache (0.64s)
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (0.64s)
Fetched https://github.com/armadsen/ORSSerialPort.git from cache (0.64s)
Fetched https://github.com/Flowduino/EventDrivenSwift.git from cache (0.68s)
Computing version for https://github.com/armadsen/ORSSerialPort.git
Computed https://github.com/armadsen/ORSSerialPort.git at 2.1.0 (1.82s)
Computing version for https://github.com/Flowduino/Observable.git
Computed https://github.com/Flowduino/Observable.git at 2.0.0 (1.09s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (0.94s)
Computing version for https://github.com/Flowduino/EventDrivenSwift.git
Computed https://github.com/Flowduino/EventDrivenSwift.git at 5.2.0 (0.98s)
Creating working copy for https://github.com/Flowduino/Observable.git
Working copy of https://github.com/Flowduino/Observable.git resolved at 2.0.0
Creating working copy for https://github.com/Flowduino/ThreadSafeSwift.git
Working copy of https://github.com/Flowduino/ThreadSafeSwift.git resolved at 1.1.0
Creating working copy for https://github.com/armadsen/ORSSerialPort.git
Working copy of https://github.com/armadsen/ORSSerialPort.git resolved at 2.1.0
Creating working copy for https://github.com/Flowduino/EventDrivenSwift.git
Working copy of https://github.com/Flowduino/EventDrivenSwift.git resolved at 5.2.0
Building for debugging...
[0/10] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPacketDescriptor.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPacketDescriptor.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/10] Compiling ORSSerial ORSSerialPacketDescriptor.m
[4/10] Compiling ORSSerial ORSSerialBuffer.m
In file included from [4/10] Compiling ORSSerial ORSSerialRequest.m
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.m:28:2: error: ORSSerialPortManager.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for ORSSerialPortManager.m in the Build Phases for this target
   28 | #error ORSSerialPortManager.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for ORSSerialPortManager.m in the Build Phases for this target
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.m:31:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[4/10] Compiling ORSSerial ORSSerialPortManager.m
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPort.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPort.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/10] Compiling ORSSerial ORSSerialPort.m
[4/10] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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...
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPacketDescriptor.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPacketDescriptor.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling ORSSerial ORSSerialPacketDescriptor.m
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialBuffer.m:9:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialBuffer.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling ORSSerial ORSSerialBuffer.m
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.m:28:2: error: ORSSerialPortManager.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for ORSSerialPortManager.m in the Build Phases for this target
   28 | #error ORSSerialPortManager.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for ORSSerialPortManager.m in the Build Phases for this target
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.m:31:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling ORSSerial ORSSerialPortManager.m
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPort.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPort.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling ORSSerial ORSSerialPort.m
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialRequest.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialRequest.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling ORSSerial ORSSerialRequest.m
[0/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm