Build Information
Failed to build FlutterSwiftOCA, reference main (5dd2ed
), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 15:05:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-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 5dd2edd fix typo
Cloned https://github.com/PADL/FlutterSwiftOCA.git
Revision (git rev-parse @):
5dd2eddfd8f3edb421cc1915c191c1ee0fd62aea
SUCCESS checkout https://github.com/PADL/FlutterSwiftOCA.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/PADL/FlutterSwiftOCA.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/PADL/SwiftOCA
[1/14481] Fetching swiftoca
Fetched https://github.com/PADL/SwiftOCA from cache (0.79s)
Fetching https://github.com/PADL/FlutterSwift
[1/3101] Fetching flutterswift
Fetched https://github.com/PADL/FlutterSwift from cache (19.94s)
Fetching https://github.com/xtremekforever/swift-systemd
[1/407] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd from cache (0.57s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
[1/4985] Fetching swift-async-algorithms
[201/5667] Fetching swift-async-algorithms, asyncextensions
[682/7464] Fetching swift-async-algorithms, asyncextensions, swift-atomics
[1423/11300] Fetching swift-async-algorithms, asyncextensions, swift-atomics, swift-log
[4676/15736] Fetching swift-async-algorithms, asyncextensions, swift-atomics, swift-log, swift-system
[15737/18162] Fetching swift-async-algorithms, asyncextensions, swift-atomics, swift-log, swift-system, swift-service-lifecycle
Fetched https://github.com/apple/swift-atomics from cache (0.89s)
Fetched https://github.com/apple/swift-log from cache (0.90s)
Fetching https://github.com/PADL/IORingSwift
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.90s)
Fetched https://github.com/apple/swift-system from cache (0.91s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.91s)
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/PADL/SocketAddress
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.91s)
[1/782] Fetching anycodable
[314/2942] Fetching anycodable, ioringswift
[2297/3010] Fetching anycodable, ioringswift, socketaddress
[2895/4567] Fetching anycodable, ioringswift, socketaddress, gzipswift
Fetched https://github.com/1024jp/GzipSwift from cache (0.50s)
Fetched https://github.com/PADL/IORingSwift from cache (0.51s)
Fetched https://github.com/Flight-School/AnyCodable from cache (0.50s)
Fetched https://github.com/PADL/SocketAddress from cache (0.50s)
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
6 | name: "GzipSwift",
7 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/1024jp/GzipSwift at 6.1.0 (1.88s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.19s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.51s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.80s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.51s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.0.3 (1.56s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.39s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.81s)
Computing version for https://github.com/PADL/IORingSwift
Computed https://github.com/PADL/IORingSwift at 0.1.8 (0.86s)
Fetching https://github.com/dfed/swift-async-queue
[1/1320] Fetching swift-async-queue
Fetched https://github.com/dfed/swift-async-queue from cache (0.35s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 0.7.1 (0.77s)
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.57s)
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
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/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/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.2
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/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.1.0
Creating working copy for https://github.com/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at 0.1.8
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/PADL/FlutterSwift
Working copy of https://github.com/PADL/FlutterSwift resolved at main (78c934d)
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/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/PADL/SwiftOCA
Working copy of https://github.com/PADL/SwiftOCA resolved at main (4e2c1e3)
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
6 | name: "GzipSwift",
7 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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/36] Write sources
[19/36] Compiling CSystem shims.c
[20/36] Compiling _AtomicsShims.c
[20/36] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/107] 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)
[24/110] Emitting module KeyPathShims
[25/110] Compiling KeyPathShims KeyPathShims.swift
[27/111] Compiling Atomics AtomicInteger.swift
[28/111] Compiling Atomics AtomicOptionalWrappable.swift
[29/112] Emitting module Atomics
[30/112] Compiling Atomics OptionalRawRepresentable.swift
[31/112] Compiling Atomics RawRepresentable.swift
[32/112] Compiling Atomics AtomicBool.swift
[33/112] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[34/114] Emitting module InternalCollectionsUtilities
[37/114] Compiling AnyCodable AnyDecodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | /**
3 | A type-erased `Codable` value.
[38/114] Compiling Atomics AtomicValue.swift
[39/114] Compiling Atomics AtomicMemoryOrderings.swift
[40/114] Compiling SystemPackage Util+StringArray.swift
[41/114] Compiling SystemPackage Util.swift
[42/114] Compiling SystemPackage UtilConsumers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/114] Emitting module AnyCodable
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | /**
3 | A type-erased `Codable` value.
[44/114] Compiling AnyCodable AnyCodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | /**
3 | A type-erased `Codable` value.
[45/114] Compiling Atomics UnsafeAtomic.swift
[46/114] Compiling Atomics UnsafeAtomicLazyReference.swift
[47/114] Compiling Atomics ManagedAtomic.swift
[48/114] Compiling Atomics ManagedAtomicLazyReference.swift
[49/114] Compiling Atomics IntegerConformances.swift
[50/114] Compiling Atomics PointerConformances.swift
[51/114] Compiling Atomics Primitives.native.swift
[54/114] Compiling Atomics AtomicReference.swift
[58/114] Compiling Atomics AtomicStorage.swift
[61/114] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[65/114] Compiling Atomics DoubleWord.swift
[66/115] Compiling SystemPackage MachPort.swift
[67/115] Compiling SystemPackage PlatformString.swift
[68/115] Compiling SystemPackage SystemString.swift
[69/115] Compiling AnyCodable AnyEncodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | /**
3 | A type-erased `Codable` value.
/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 |
[75/115] Compiling Logging Locks.swift
[76/115] Compiling Logging LogHandler.swift
[77/115] Emitting module Logging
BUILD FAILURE 6.2 wasm