Build Information
Failed to build swift-quiz, reference 0.1.0 (0dd29d
), with Swift 6.1 for Wasm on 27 May 2025 20:11:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/rwbutler/swift-quiz.git
Reference: 0.1.0
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/rwbutler/swift-quiz
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 0dd29d1 Allow scoring rules for all question types
Cloned https://github.com/rwbutler/swift-quiz.git
Revision (git rev-parse @):
0dd29d1ffa56d7c63470a9bd1d8dd01328ec7655
SUCCESS checkout https://github.com/rwbutler/swift-quiz.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/rwbutler/swift-quiz.git
https://github.com/rwbutler/swift-quiz.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "hash",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rwbutler/Hash"
},
{
"identity" : "lettercase",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rwbutler/LetterCase"
},
{
"identity" : "fuse-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krisk/fuse-swift"
}
],
"manifest_display_name" : "swift-quiz",
"name" : "swift-quiz",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SwiftQuiz",
"targets" : [
"SwiftQuiz"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftQuiz",
"module_type" : "SwiftTarget",
"name" : "SwiftQuiz",
"path" : "code",
"product_dependencies" : [
"Hash",
"LetterCase",
"Fuse"
],
"product_memberships" : [
"SwiftQuiz"
],
"sources" : [
"SwiftQuiz.swift",
"combine/Publishers.swift",
"combine/QuizPublisher.swift",
"combine/QuizSubscription.swift",
"extensions/ArrayAdditions.swift",
"extensions/StringAdditions.swift",
"model/CodableError.swift",
"model/MultipleAnswer.swift",
"model/MultipleChoice.swift",
"model/PackageQuizResult.swift",
"model/PackagingError.swift",
"model/Question.swift",
"model/Quiz.swift",
"model/QuizConfiguration.swift",
"model/QuizError.swift",
"model/QuizEvent.swift",
"model/QuizType.swift",
"model/Round.swift",
"model/ShortAnswer.swift",
"services/QuizServices.swift",
"services/access-control/definition/AccessControlService.swift",
"services/access-control/implementation/DefaultAccessControlService.swift",
"services/access-control/model/Flagpole.swift",
"services/images/definition/ImagesService.swift",
"services/marking/definition/MarkingService.swift",
"services/marking/implementation/DefaultMarkingService.swift",
"services/marking/model/MarkingFrequency.swift",
"services/marking/model/MarkingSubmission.swift",
"services/messaging/definition/MessagingService.swift",
"services/messaging/implementation/SlackMessagingService.swift",
"services/parsing/definition/ParsingService.swift",
"services/parsing/implementation/CodableParsingService.swift",
"services/parsing/model/QuestionModel.swift",
"services/parsing/model/QuizModel.swift",
"services/parsing/model/RoundModel.swift",
"shell/Command.swift",
"shell/QuizFactory.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/rwbutler/Hash
Fetching https://github.com/rwbutler/LetterCase
Fetching https://github.com/krisk/fuse-swift
[1/691] Fetching fuse-swift
[692/976] Fetching fuse-swift, hash
[977/1293] Fetching fuse-swift, hash, lettercase
Fetched https://github.com/krisk/fuse-swift from cache (0.26s)
Fetched https://github.com/rwbutler/Hash from cache (0.33s)
Fetched https://github.com/rwbutler/LetterCase from cache (0.58s)
Computing version for https://github.com/krisk/fuse-swift
Computed https://github.com/krisk/fuse-swift at 1.4.0 (1.61s)
Computing version for https://github.com/rwbutler/Hash
Computed https://github.com/rwbutler/Hash at 1.5.0 (2.02s)
Computing version for https://github.com/rwbutler/LetterCase
Computed https://github.com/rwbutler/LetterCase at 1.6.1 (0.88s)
Creating working copy for https://github.com/krisk/fuse-swift
Working copy of https://github.com/krisk/fuse-swift resolved at 1.4.0
Creating working copy for https://github.com/rwbutler/Hash
Working copy of https://github.com/rwbutler/Hash resolved at 1.5.0
Creating working copy for https://github.com/rwbutler/LetterCase
Working copy of https://github.com/rwbutler/LetterCase resolved at 1.6.1
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/24] Compiling LetterCase LetterCase.swift
[7/24] Compiling Hash HashAlgorithm.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[8/25] Compiling Hash StringAdditions.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[9/25] Compiling Fuse Fuse.swift
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:51:39: error: cannot find type 'DispatchQueue' in scope
49 | )
50 |
51 | fileprivate lazy var searchQueue: DispatchQueue = { [unowned self] in
| `- error: cannot find type 'DispatchQueue' in scope
52 | let label = "fuse.search.queue"
53 | return DispatchQueue(label: label, attributes: .concurrent)
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:357:26: error: cannot find 'DispatchQueue' in scope
355 | // This label is non-unique but that should be fine as we don't expect
356 | // to need to debug work items running on this queue.
357 | let itemsQueue = DispatchQueue(label: "fuse.items.queue")
| `- error: cannot find 'DispatchQueue' in scope
358 |
359 | let group = DispatchGroup()
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:359:21: error: cannot find 'DispatchGroup' in scope
357 | let itemsQueue = DispatchQueue(label: "fuse.items.queue")
358 |
359 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
360 | let count = aList.count
361 |
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:385:13: error: cannot find 'DispatchQueue' in scope
383 | // there's no longer concurrent access at this point.
384 | let sorted = items.sorted { $0.score < $1.score }
385 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
386 | completion(sorted)
387 | }
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:505:21: error: cannot find 'DispatchGroup' in scope
503 | let pattern = self.createPattern(from: text)
504 |
505 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
506 | let count = aList.count
507 |
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:513:37: error: cannot find 'DispatchQueue' in scope
511 | // This label is non-unique but that should be fine as we don't expect
512 | // to need to debug work items running on this queue.
513 | let collectionResultQueue = DispatchQueue(label: "fuse.result.queue")
| `- error: cannot find 'DispatchQueue' in scope
514 |
515 | stride(from: 0, to: count, by: chunkSize).forEach { offset in
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:564:13: error: cannot find 'DispatchQueue' in scope
562 | // there's no longer concurrent access at this point.
563 | let sorted = collectionResult.sorted { $0.score < $1.score }
564 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
565 | completion(sorted)
566 | }
[10/25] Compiling LetterCase StringAdditions.swift
[11/25] Compiling LetterCase LetterCaseOptions.swift
[12/25] Emitting module LetterCase
[13/25] Compiling LetterCase KeyDecodingStrategyAdditions.swift
[14/25] Compiling Hash Hash.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[15/26] Compiling Hash DataAdditions.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[16/26] Compiling Hash StringRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/26] Emitting module Hash
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[18/26] Compiling Hash Cryptable.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[19/26] Compiling Hash DecryptedData.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/26] Compiling Fuse String+Fuse.swift
[21/26] Compiling Fuse FuseUtilities.swift
[22/26] Emitting module Fuse
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:51:39: error: cannot find type 'DispatchQueue' in scope
49 | )
50 |
51 | fileprivate lazy var searchQueue: DispatchQueue = { [unowned self] in
| `- error: cannot find type 'DispatchQueue' in scope
52 | let label = "fuse.search.queue"
53 | return DispatchQueue(label: label, attributes: .concurrent)
[24/26] Compiling Hash HMAC.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[25/26] Compiling Hash EncryptedData.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[26/26] Compiling Hash EncryptionAlgorithm.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling Hash Hash.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[3/20] Compiling Hash HashAlgorithm.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/21] Emitting module Fuse
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:51:39: error: cannot find type 'DispatchQueue' in scope
49 | )
50 |
51 | fileprivate lazy var searchQueue: DispatchQueue = { [unowned self] in
| `- error: cannot find type 'DispatchQueue' in scope
52 | let label = "fuse.search.queue"
53 | return DispatchQueue(label: label, attributes: .concurrent)
[5/21] Compiling Hash StringAdditions.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[6/21] Compiling Hash EncryptedData.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[7/21] Compiling Hash EncryptionAlgorithm.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[8/21] Compiling Hash HMAC.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[9/21] Compiling Hash DataAdditions.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[10/21] Compiling Hash Cryptable.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[11/21] Compiling Hash DecryptedData.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/21] Emitting module Hash
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[13/21] Compiling Fuse Fuse.swift
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:51:39: error: cannot find type 'DispatchQueue' in scope
49 | )
50 |
51 | fileprivate lazy var searchQueue: DispatchQueue = { [unowned self] in
| `- error: cannot find type 'DispatchQueue' in scope
52 | let label = "fuse.search.queue"
53 | return DispatchQueue(label: label, attributes: .concurrent)
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:357:26: error: cannot find 'DispatchQueue' in scope
355 | // This label is non-unique but that should be fine as we don't expect
356 | // to need to debug work items running on this queue.
357 | let itemsQueue = DispatchQueue(label: "fuse.items.queue")
| `- error: cannot find 'DispatchQueue' in scope
358 |
359 | let group = DispatchGroup()
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:359:21: error: cannot find 'DispatchGroup' in scope
357 | let itemsQueue = DispatchQueue(label: "fuse.items.queue")
358 |
359 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
360 | let count = aList.count
361 |
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:385:13: error: cannot find 'DispatchQueue' in scope
383 | // there's no longer concurrent access at this point.
384 | let sorted = items.sorted { $0.score < $1.score }
385 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
386 | completion(sorted)
387 | }
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:505:21: error: cannot find 'DispatchGroup' in scope
503 | let pattern = self.createPattern(from: text)
504 |
505 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
506 | let count = aList.count
507 |
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:513:37: error: cannot find 'DispatchQueue' in scope
511 | // This label is non-unique but that should be fine as we don't expect
512 | // to need to debug work items running on this queue.
513 | let collectionResultQueue = DispatchQueue(label: "fuse.result.queue")
| `- error: cannot find 'DispatchQueue' in scope
514 |
515 | stride(from: 0, to: count, by: chunkSize).forEach { offset in
/host/spi-builder-workspace/.build/checkouts/fuse-swift/Fuse/Classes/Fuse.swift:564:13: error: cannot find 'DispatchQueue' in scope
562 | // there's no longer concurrent access at this point.
563 | let sorted = collectionResult.sorted { $0.score < $1.score }
564 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
565 | completion(sorted)
566 | }
[14/21] Compiling Fuse FuseUtilities.swift
[15/21] Compiling Fuse String+Fuse.swift
[16/21] Compiling LetterCase LetterCase.swift
[17/21] Compiling LetterCase KeyDecodingStrategyAdditions.swift
[18/21] Compiling Hash StringRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
7 |
8 | import Foundation
9 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[19/21] Emitting module LetterCase
BUILD FAILURE 6.1 wasm