Build Information
Failed to build Periphery, reference master (6cc503
), with Swift 6.2 (beta) for Wasm on 27 Jun 2025 20:15:04 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/peripheryapp/periphery.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/peripheryapp/periphery
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6cc5030 Release 3.2.0
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
6cc503055b9569d5565a026e1a19fb4e41c85572
SUCCESS checkout https://github.com/peripheryapp/periphery.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/peripheryapp/periphery.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/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/tadija/AEXML
[1/63] Fetching swift-filename-matcher
[64/386] Fetching swift-filename-matcher, swift-indexstore
[220/2513] Fetching swift-filename-matcher, swift-indexstore, aexml
[2514/13455] Fetching swift-filename-matcher, swift-indexstore, aexml, yams
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.44s)
[3216/13392] Fetching swift-indexstore, aexml, yams
Fetching https://github.com/apple/swift-system
Fetched https://github.com/tadija/AEXML from cache (0.46s)
[1308/11265] Fetching swift-indexstore, yams
[1528/26673] Fetching swift-indexstore, yams, swift-argument-parser
[18690/31116] Fetching swift-indexstore, yams, swift-argument-parser, swift-system
[26631/102083] Fetching swift-indexstore, yams, swift-argument-parser, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (0.57s)
[29013/97640] Fetching swift-indexstore, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (1.73s)
[47641/97317] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (1.79s)
[38828/86375] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (5.43s)
Fetched https://github.com/apple/swift-syntax from cache (5.48s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 601.0.1 (10.05s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.48s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.4.0 (0.42s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.43s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.84s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.95s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
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.1
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 2.0.1
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/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.4.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/60] Write sources
[22/60] Compiling _CIndexStore dummy.c
[23/60] Compiling _SwiftSyntaxCShims dummy.c
[24/60] Compiling writer.c
[25/60] Write sources
[28/60] Compiling reader.c
[29/60] Compiling CSystem shims.c
[30/60] Write swift-version-24593BA9C3E375BF.txt
[31/64] Compiling api.c
[32/66] Compiling parser.c
[34/94] Emitting module SwiftSyntax510
[34/106] Compiling emitter.c
[35/108] Compiling scanner.c
[37/128] Compiling SystemPackage MachPort.swift
[38/128] Compiling SystemPackage PlatformString.swift
[39/128] Compiling SystemPackage SystemString.swift
[40/128] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[41/128] Compiling Yams YamlAnchorProviding.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[42/133] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | enum IndexStoreError: LocalizedError {
[43/134] Compiling SwiftSyntax509 Empty.swift
[44/134] Emitting module SwiftSyntax509
[45/135] Compiling SwiftIndexStore OptionSetDisplayable.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | enum IndexStoreError: LocalizedError {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/135] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Logger.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if canImport(os)
[47/135] Compiling Logger Logger.swift
/host/spi-builder-workspace/Sources/Logger/Logger.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if canImport(os)
[49/135] Compiling SwiftIndexStore UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | enum IndexStoreError: LocalizedError {
[50/135] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[51/135] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[52/135] Compiling SwiftSyntax510 Empty.swift
[53/136] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | enum IndexStoreError: LocalizedError {
[54/136] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | enum IndexStoreError: LocalizedError {
[55/136] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[56/136] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[57/136] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[58/136] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[59/136] Compiling Yams Node.Alias.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[60/136] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
6 | // Copyright (c) 2024 Yams. All rights reserved.
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
/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 |
[61/136] Emitting module SwiftSyntax600
[62/136] Compiling SwiftSyntax600 Empty.swift
[63/136] Emitting module SwiftSyntax601
[64/136] Compiling SwiftSyntax601 Empty.swift
[65/136] Compiling SwiftIndexStore IndexStoreUnit.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | enum IndexStoreError: LocalizedError {
BUILD FAILURE 6.2 wasm