Build Information
Failed to build PotentCodables, reference 3.6.0 (1b3880), with Swift 6.1 for Wasm on 30 May 2025 18:46:43 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KINGH242/PotentCodables.git
Reference: 3.6.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/KINGH242/PotentCodables
* tag 3.6.0 -> FETCH_HEAD
HEAD is now at 1b38802 docs: update Readme
Cloned https://github.com/KINGH242/PotentCodables.git
Revision (git rev-parse @):
1b3880253008d76dc16e48d6140a81d061214324
SUCCESS checkout https://github.com/KINGH242/PotentCodables.git at 3.6.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/KINGH242/PotentCodables.git
https://github.com/KINGH242/PotentCodables.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.3.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
},
{
"identity" : "float16",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SusanDoggie/Float16.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "regex",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sharplet/Regex.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
}
],
"manifest_display_name" : "PotentCodables",
"name" : "PotentCodables",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "PotentCodables",
"targets" : [
"PotentCodables",
"PotentJSON",
"PotentCBOR",
"PotentASN1",
"PotentYAML",
"Cfyaml"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PotentYAML",
"module_type" : "SwiftTarget",
"name" : "PotentYAML",
"path" : "Sources/PotentYAML",
"product_dependencies" : [
"BigInt",
"Collections",
"Regex"
],
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"Errors.swift",
"Libfyaml.swift",
"YAML.swift",
"YAMLDecoder.swift",
"YAMLEncoder.swift",
"YAMLReader.swift",
"YAMLSchema.swift",
"YAMLSchemaCore.swift",
"YAMLSerialization.swift",
"YAMLWriter.swift"
],
"target_dependencies" : [
"PotentCodables",
"Cfyaml"
],
"type" : "library"
},
{
"c99name" : "PotentJSON",
"module_type" : "SwiftTarget",
"name" : "PotentJSON",
"path" : "Sources/PotentJSON",
"product_dependencies" : [
"BigInt",
"Collections"
],
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"Errors.swift",
"JSON.swift",
"JSONDecoder.swift",
"JSONEncoder.swift",
"JSONReader.swift",
"JSONSerialization.swift",
"JSONWriter.swift"
],
"target_dependencies" : [
"PotentCodables"
],
"type" : "library"
},
{
"c99name" : "PotentCodablesTests",
"module_type" : "SwiftTarget",
"name" : "PotentCodablesTests",
"path" : "Tests",
"sources" : [
"ASN1AnyStringTests.swift",
"ASN1AnyValueTests.swift",
"ASN1DERBigIntTests.swift",
"ASN1DERTests.swift",
"ASN1DecoderTests.swift",
"ASN1EncoderTests.swift",
"ASN1SchemaDecodeTests.swift",
"ASN1SchemaEncodeTests.swift",
"ASN1SchemaTests.swift",
"ASN1Tests.swift",
"ASN1ValueTests.swift",
"AnyCodingKeyTests.swift",
"AnyValueCoderTests.swift",
"AnyValueTests.swift",
"Assertions.swift",
"CBORAnyValueTests.swift",
"CBORCodableRoundtripTests.swift",
"CBORDecoderTests.swift",
"CBOREncoderTests.swift",
"CBORReaderTests.swift",
"CBORTests.swift",
"CBORValueTests.swift",
"CBORWriterTests.swift",
"ConfigurationTests.swift",
"Datas.swift",
"Dates.swift",
"JSONAnyValueTests.swift",
"JSONDecoderTests.swift",
"JSONEncoderTests.swift",
"JSONOrderTests.swift",
"JSONReaderTests.swift",
"JSONValueTests.swift",
"JSONWriterTests.swift",
"RefTests.swift",
"TimeZoneTests.swift",
"UnkeyedCodingContainerTests.swift",
"ValueCoderTests.swift",
"ValueTransformerProvidingTests.swift",
"ValueTransformerTests.swift",
"YAMLAnyValueTests.swift",
"YAMLDecoderTests.swift",
"YAMLEncoderTests.swift",
"YAMLErrorTests.swift",
"YAMLOrderTests.swift",
"YAMLReaderTests.swift",
"YAMLSchemaTests.swift",
"YAMLTests.swift",
"YAMLValueTests.swift",
"YAMLWriterTests.swift"
],
"target_dependencies" : [
"PotentCodables",
"PotentJSON",
"PotentCBOR",
"PotentASN1",
"PotentYAML"
],
"type" : "test"
},
{
"c99name" : "PotentCodables",
"module_type" : "SwiftTarget",
"name" : "PotentCodables",
"path" : "Sources/PotentCodables",
"product_dependencies" : [
"BigInt",
"Collections",
"Float16",
"Regex"
],
"product_memberships" : [
"PotentCodables"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/PotentCodables/PotentCodables.docc",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AnyCodingKey.swift",
"AnyValue/AnyValue.swift",
"AnyValue/AnyValueDecoder.swift",
"AnyValue/AnyValueEncoder.swift",
"DecoderSupport.swift",
"EncoderSupport.swift",
"Errors.swift",
"Float16.swift",
"KeyStrategy.swift",
"KeyedNestedDecoder.swift",
"KeyedNestedEncoder.swift",
"Refs.swift",
"Regexes.swift",
"TimeZone.swift",
"TopLevel.swift",
"TreeValueDecodingContainer.swift",
"Value.swift",
"ValueDecoder.swift",
"ValueEncoder.swift",
"ValueTransformer.swift",
"ValueTransformerProviding.swift",
"ZonedDate.swift"
],
"type" : "library"
},
{
"c99name" : "PotentCBOR",
"module_type" : "SwiftTarget",
"name" : "PotentCBOR",
"path" : "Sources/PotentCBOR",
"product_dependencies" : [
"BigInt",
"Collections"
],
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"CBOR.swift",
"CBORDecoder.swift",
"CBOREncoder.swift",
"CBORReader.swift",
"CBORSerialization.swift",
"CBORStream.swift",
"CBORWriter.swift"
],
"target_dependencies" : [
"PotentCodables"
],
"type" : "library"
},
{
"c99name" : "PotentASN1",
"module_type" : "SwiftTarget",
"name" : "PotentASN1",
"path" : "Sources/PotentASN1",
"product_dependencies" : [
"BigInt",
"Collections"
],
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"ASN1.swift",
"ASN1DERReader.swift",
"ASN1DERWriter.swift",
"ASN1Decoder.swift",
"ASN1Encoder.swift",
"ASN1Serialization.swift",
"AnyString.swift",
"AnyTime.swift",
"BigInts.swift",
"BitString.swift",
"Dates.swift",
"ObjectIdentifier.swift",
"Schema.swift",
"SchemaSpecified.swift",
"SchemaState.swift",
"Tagged.swift",
"TaggedValue.swift"
],
"target_dependencies" : [
"PotentCodables"
],
"type" : "library"
},
{
"c99name" : "Cfyaml",
"module_type" : "ClangTarget",
"name" : "Cfyaml",
"path" : "Sources/Cfyaml",
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"src/lib/fy-accel.c",
"src/lib/fy-atom.c",
"src/lib/fy-composer.c",
"src/lib/fy-diag.c",
"src/lib/fy-doc.c",
"src/lib/fy-docbuilder.c",
"src/lib/fy-docstate.c",
"src/lib/fy-dump.c",
"src/lib/fy-emit.c",
"src/lib/fy-event.c",
"src/lib/fy-input.c",
"src/lib/fy-parse.c",
"src/lib/fy-path.c",
"src/lib/fy-token.c",
"src/lib/fy-types.c",
"src/lib/fy-walk.c",
"src/util/fy-blob.c",
"src/util/fy-ctype.c",
"src/util/fy-utf8.c",
"src/util/fy-utils.c",
"src/xxhash/xxhash.c"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
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 -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/attaswift/BigInt.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
[1/4776] Fetching bigint
[145/5086] Fetching bigint, float16
[1028/21677] Fetching bigint, float16, swift-collections
[1787/22931] Fetching bigint, float16, swift-collections, regex
[2985/24980] Fetching bigint, float16, swift-collections, regex, swift-docc-plugin
Fetched https://github.com/attaswift/BigInt.git from cache (1.34s)
[8726/20204] Fetching float16, swift-collections, regex, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.35s)
[7506/18155] Fetching float16, swift-collections, regex
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.95s)
[17016/17845] Fetching swift-collections, regex
Fetched https://github.com/sharplet/Regex.git from cache (1.97s)
[16426/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.46s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (5.98s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.96s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.77s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.93s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.2 (3.14s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.96s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.93s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.12s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.2
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-composer.c:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[2/40] Compiling fy-composer.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-docstate.c:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[2/40] Compiling fy-docstate.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-doc.c:23:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[2/40] Compiling fy-doc.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-docbuilder.c:22:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[2/40] Compiling fy-docbuilder.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-emit.c:23:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[2/40] Compiling fy-emit.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-diag.c:25:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[2/40] Compiling fy-diag.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-atom.c:24:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[2/40] Compiling fy-atom.c
[2/40] Write swift-version-24593BA9C3E375BF.txt
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/40] Write sources
[15/40] Copying PotentCodables.docc
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-blob.c:18:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-blob.h:47:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-endian.h:24:3: error: unsupported platform
24 | # error unsupported platform
| ^
1 error generated.
[17/40] Compiling fy-blob.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[17/40] Compiling fy-utf8.c
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
18 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[17/40] Compiling fy-utils.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.c:16:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[17/40] Compiling fy-ctype.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-types.c:14:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-types.c:27:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[17/40] Compiling fy-types.c
[17/40] Compiling xxhash.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-walk.c:24:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[17/40] Compiling fy-walk.c
[17/40] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm