Build Information
Failed to build FlutterSwiftOCA, reference main (599e20
), with Swift 6.1 for Wasm on 19 Jul 2025 13:49:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/FlutterSwiftOCA.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/PADL/FlutterSwiftOCA
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 599e20e update for upstream SwiftOCA changes
Cloned https://github.com/PADL/FlutterSwiftOCA.git
Revision (git rev-parse @):
599e20e434d40b44fcd30a4924b82d1d45442c4b
SUCCESS checkout https://github.com/PADL/FlutterSwiftOCA.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/PADL/FlutterSwiftOCA.git
https://github.com/PADL/FlutterSwiftOCA.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
},
{
"identity" : "asyncextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/lhoward/AsyncExtensions"
},
{
"identity" : "swiftoca",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PADL/SwiftOCA"
},
{
"identity" : "flutterswift",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PADL/FlutterSwift"
}
],
"manifest_display_name" : "FlutterSwiftOCA",
"name" : "FlutterSwiftOCA",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "FlutterSwiftOCA",
"targets" : [
"FlutterSwiftOCA"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FlutterSwiftOCATests",
"module_type" : "SwiftTarget",
"name" : "FlutterSwiftOCATests",
"path" : "Tests/FlutterSwiftOCATests",
"sources" : [
"FlutterSwiftOCATests.swift"
],
"target_dependencies" : [
"FlutterSwiftOCA"
],
"type" : "test"
},
{
"c99name" : "FlutterSwiftOCA",
"module_type" : "SwiftTarget",
"name" : "FlutterSwiftOCA",
"path" : "Sources/FlutterSwiftOCA",
"product_dependencies" : [
"AsyncAlgorithms",
"Logging",
"AsyncExtensions",
"SwiftOCA",
"FlutterSwift"
],
"product_memberships" : [
"FlutterSwiftOCA"
],
"sources" : [
"OcaChannelManager.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/PADL/SwiftOCA
[1/14690] Fetching swiftoca
Fetched https://github.com/PADL/SwiftOCA from cache (0.50s)
Fetching https://github.com/PADL/FlutterSwift
[1/3129] Fetching flutterswift
Fetched https://github.com/PADL/FlutterSwift from cache (15.67s)
Fetching https://github.com/xtremekforever/swift-systemd
[1/407] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd from cache (0.51s)
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/apple/swift-atomics
[1/682] Fetching asyncextensions
[29/3108] Fetching asyncextensions, swift-service-lifecycle
[1533/6975] Fetching asyncextensions, swift-service-lifecycle, swift-log
[2769/8783] Fetching asyncextensions, swift-service-lifecycle, swift-log, swift-atomics
[3535/13773] Fetching asyncextensions, swift-service-lifecycle, swift-log, swift-atomics, swift-async-algorithms
[6127/18430] Fetching asyncextensions, swift-service-lifecycle, swift-log, swift-atomics, swift-async-algorithms, swift-system
Fetched https://github.com/apple/swift-atomics from cache (0.61s)
Fetched https://github.com/apple/swift-system from cache (0.61s)
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.62s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.62s)
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/PADL/SocketAddress
Fetching https://github.com/PADL/IORingSwift
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.88s)
Fetched https://github.com/apple/swift-log from cache (0.88s)
[1/1557] Fetching gzipswift
[905/2339] Fetching gzipswift, anycodable
[1661/2407] Fetching gzipswift, anycodable, socketaddress
[1955/4585] Fetching gzipswift, anycodable, socketaddress, ioringswift
Fetched https://github.com/Flight-School/AnyCodable from cache (1.06s)
Fetched https://github.com/PADL/SocketAddress from cache (1.07s)
Fetched https://github.com/PADL/IORingSwift from cache (1.07s)
Fetched https://github.com/1024jp/GzipSwift from cache (1.07s)
Computing version for https://github.com/1024jp/GzipSwift
warning: 'gzipswift': /Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
3 | import PackageDescription
4 |
5 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
6 | name: "GzipSwift",
7 | products: [
Computed https://github.com/1024jp/GzipSwift at 6.1.0 (2.17s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.60s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.50s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.51s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.47s)
Fetching https://github.com/apple/swift-collections.git
[1/16816] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.17s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.0.3 (1.64s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.51s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.63s)
Computing version for https://github.com/PADL/IORingSwift
Computed https://github.com/PADL/IORingSwift at 0.1.9 (0.77s)
Fetching https://github.com/dfed/swift-async-queue
[1/1323] Fetching swift-async-queue
Fetched https://github.com/dfed/swift-async-queue from cache (0.24s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 0.7.1 (0.94s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (0.66s)
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.1.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
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/PADL/FlutterSwift
Working copy of https://github.com/PADL/FlutterSwift resolved at main (fc4ca4e)
Creating working copy for https://github.com/PADL/SocketAddress
Working copy of https://github.com/PADL/SocketAddress resolved at 0.0.3
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.2
Creating working copy for https://github.com/PADL/SwiftOCA
Working copy of https://github.com/PADL/SwiftOCA resolved at main (feb6f2f)
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (71482cd)
Creating working copy for https://github.com/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at 0.1.9
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/dfed/swift-async-queue
Working copy of https://github.com/dfed/swift-async-queue resolved at 0.7.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
warning: 'gzipswift': /host/spi-builder-workspace/.build/checkouts/GzipSwift/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
3 | import PackageDescription
4 |
5 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
6 | name: "GzipSwift",
7 | products: [
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
Building for debugging...
[0/35] Write sources
[18/35] Compiling CSystem shims.c
[19/35] Compiling _AtomicsShims.c
[20/35] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/104] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[23/107] Emitting module InternalCollectionsUtilities
[24/108] Emitting module AnyCodable
[25/108] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/108] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/108] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/108] Compiling InternalCollectionsUtilities Integer rank.swift
[29/108] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[30/108] Compiling Atomics OptionalRawRepresentable.swift
[31/108] Compiling Atomics UnsafeAtomic.swift
[32/108] Compiling Atomics UnsafeAtomicLazyReference.swift
[33/110] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[34/110] Compiling InternalCollectionsUtilities Debugging.swift
[35/110] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[36/110] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[37/110] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[38/110] Compiling InternalCollectionsUtilities _SortedCollection.swift
[39/110] Compiling InternalCollectionsUtilities Descriptions.swift
[40/110] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[41/111] Compiling SystemPackage Util+StringArray.swift
[42/111] Compiling SystemPackage Util.swift
[43/111] Compiling SystemPackage UtilConsumers.swift
[44/111] Compiling Atomics AtomicStorage.swift
[45/111] Compiling Atomics AtomicValue.swift
[49/111] Compiling Atomics ManagedAtomicLazyReference.swift
[50/111] Compiling Logging Locks.swift
[61/111] Emitting module Atomics
[65/111] Wrapping AST for InternalCollectionsUtilities for debugging
[67/204] Compiling _RopeModule BigString+Builder.swift
[68/204] Compiling _RopeModule BigString+Contents.swift
[69/204] Compiling _RopeModule BigString+Debugging.swift
[70/204] Compiling _RopeModule BigString+Index.swift
[71/214] Compiling _RopeModule BigString+Comparable.swift
[72/214] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[73/214] Compiling _RopeModule BigString+CustomStringConvertible.swift
[74/229] Compiling _RopeModule BigString+Summary.swift
[75/229] Compiling _RopeModule BigString.swift
[76/229] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[77/229] Compiling _RopeModule BigString+Chunk+Breaks.swift
[78/233] Compiling _RopeModule BigString+Chunk+Counts.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[79/233] Compiling _RopeModule BigString+Chunk+Description.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[80/233] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[81/233] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[82/317] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[83/317] Compiling HashTreeCollections _HashNode+Storage.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[84/317] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[85/317] Compiling HashTreeCollections _HashNode+Structural filter.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[86/317] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[87/317] Compiling HeapModule Heap.swift
[88/317] Compiling HeapModule _HeapNode.swift
[89/317] Compiling HeapModule Heap+Descriptions.swift
[90/317] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[91/317] Compiling HashTreeCollections _HashNode.swift
[92/317] Emitting module HeapModule
[93/318] Compiling HeapModule Heap+Invariants.swift
[94/318] Compiling HeapModule Heap+UnsafeHandle.swift
[95/319] Compiling Logging LogHandler.swift
[96/319] Compiling Logging Logging.swift
[97/319] Emitting module Logging
[100/319] Compiling Logging MetadataProvider.swift
[102/320] Compiling AnyCodable AnyDecodable.swift
[103/335] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[106/335] Compiling HashTreeCollections _HashNodeHeader.swift
[107/335] Compiling DequeModule Deque+Codable.swift
[108/335] Compiling DequeModule Deque+Collection.swift
[109/335] Compiling DequeModule Deque+CustomReflectable.swift
[110/335] Compiling DequeModule Deque+Descriptions.swift
[111/335] Compiling DequeModule Deque+Equatable.swift
[112/335] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[113/335] Compiling DequeModule Deque+Extras.swift
[114/335] Compiling DequeModule Deque+Hashable.swift
[115/335] Compiling HashTreeCollections TreeSet+Hashable.swift
[116/335] Compiling HashTreeCollections TreeSet+Sendable.swift
[117/335] Compiling HashTreeCollections TreeSet+Sequence.swift
[118/335] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[119/335] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[120/335] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[121/335] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[122/335] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[123/335] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[124/335] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[125/352] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[126/352] Compiling HashTreeCollections _RawHashNode.swift
[127/352] Compiling HashTreeCollections _UnmanagedHashNode.swift
[128/352] Compiling HashTreeCollections _UnsafePath.swift
[129/352] Compiling HashTreeCollections TreeDictionary+Codable.swift
[130/352] Compiling HashTreeCollections TreeDictionary+Collection.swift
[131/352] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[132/352] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[137/352] Compiling HashTreeCollections _HashSlot.swift
[138/352] Compiling HashTreeCollections _HashStack.swift
[139/352] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[140/352] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[141/352] Compiling HashTreeCollections TreeDictionary+Merge.swift
[142/352] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[143/352] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[144/352] Compiling HashTreeCollections TreeDictionary+Values.swift
[145/352] Compiling HashTreeCollections _HashTreeIterator.swift
[146/352] Compiling HashTreeCollections _HashTreeStatistics.swift
[151/352] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[152/352] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[153/352] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[154/352] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[155/352] Compiling AnyCodable AnyEncodable.swift
[156/352] Compiling OrderedCollections OrderedSet+SubSequence.swift
[157/352] Compiling OrderedCollections OrderedSet+Testing.swift
[158/352] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[159/352] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[160/352] Compiling OrderedCollections OrderedSet.swift
[161/352] Compiling OrderedCollections _UnsafeBitset.swift
[162/352] Compiling HashTreeCollections TreeSet+Equatable.swift
[163/352] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[164/352] Compiling HashTreeCollections TreeSet+Extras.swift
[165/352] Compiling HashTreeCollections TreeSet+Filter.swift
[166/352] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[167/352] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[168/352] Compiling HashTreeCollections TreeDictionary+Filter.swift
[169/352] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[170/352] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[171/352] Compiling HashTreeCollections TreeDictionary+Keys.swift
[177/352] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[178/352] Compiling HashTreeCollections _HashNode+Structural merge.swift
[184/353] Wrapping AST for HeapModule for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'gzipswift': /host/spi-builder-workspace/.build/checkouts/GzipSwift/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
3 | import PackageDescription
4 |
5 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
6 | name: "GzipSwift",
7 | products: [
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
[0/1] Planning build
Building for debugging...
[0/15] Write swift-version-24593BA9C3E375BF.txt
[2/84] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/85] Compiling Logging MetadataProvider.swift
[4/85] Compiling Logging Locks.swift
[5/85] Compiling SystemPackage FilePathComponentView.swift
[6/85] Compiling SystemPackage FilePathComponents.swift
[7/85] Compiling SystemPackage FileDescriptor.swift
[8/85] Compiling SystemPackage FileHelpers.swift
[9/85] Compiling SystemPackage FilePermissions.swift
[10/85] Compiling SystemPackage Backcompat.swift
[11/87] Compiling SystemPackage FilePathTempWindows.swift
[12/87] Compiling SystemPackage FilePathWindows.swift
[13/87] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[14/87] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[15/87] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[16/87] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[18/90] Compiling SystemPackage FilePathTempPosix.swift
[19/90] Compiling SystemPackage FilePathTemp.swift
[20/90] Compiling SystemPackage FileOperations.swift
[21/90] Emitting module Logging
[22/90] Compiling SystemPackage FilePathParsing.swift
[23/90] Compiling SystemPackage FilePathString.swift
[24/90] Compiling SystemPackage FilePathSyntax.swift
[26/90] Compiling Atomics IntegerOperations.swift
[27/90] Compiling Atomics Unmanaged extensions.swift
[28/90] Compiling SystemPackage Exports.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[33/90] Emitting module AnyCodable
[34/90] Compiling AnyCodable AnyCodable.swift
[35/90] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/90] Compiling AnyCodable AnyDecodable.swift
[37/90] Compiling AnyCodable AnyEncodable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/91] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[40/91] Compiling Logging LogHandler.swift
[41/91] Compiling SystemPackage Errno.swift
[42/91] Compiling SystemPackage ErrnoWindows.swift
[44/91] Compiling Logging Logging.swift
[46/92] Compiling SystemPackage FilePath.swift
[52/92] Emitting module InternalCollectionsUtilities
[58/93] Compiling SystemPackage MachPort.swift
[59/93] Compiling SystemPackage PlatformString.swift
[60/93] Compiling SystemPackage SystemString.swift
[61/93] Compiling SystemPackage Util+StringArray.swift
[62/93] Compiling SystemPackage Util.swift
[63/93] Compiling SystemPackage UtilConsumers.swift
[64/93] Emitting module Atomics
BUILD FAILURE 6.1 wasm