Build Information
Failed to build CoreJSON, reference master (d51bf4), with Swift 6.1 for Wasm on 27 May 2025 09:23:34 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tomquist/CoreJSON.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/tomquist/CoreJSON
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d51bf48 Add conformance to Codable
Cloned https://github.com/tomquist/CoreJSON.git
Revision (git rev-parse @):
d51bf4881192a9325a856d81c2e2fc7a5d25bc2d
SUCCESS checkout https://github.com/tomquist/CoreJSON.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tomquist/CoreJSON.git
https://github.com/tomquist/CoreJSON.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "CoreJSON",
"name" : "CoreJSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CoreJSON",
"targets" : [
"CoreJSON",
"CoreJSONConvenience",
"CoreJSONFoundation",
"CoreJSONLiterals",
"CoreJSONSubscript",
"CoreJSONPointer",
"CoreJSONCodable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreJSONTests",
"module_type" : "SwiftTarget",
"name" : "CoreJSONTests",
"path" : "Tests/CoreJSONTests",
"sources" : [
"CoreJSONTests.swift"
],
"target_dependencies" : [
"CoreJSON"
],
"type" : "test"
},
{
"c99name" : "CoreJSONSubscriptTests",
"module_type" : "SwiftTarget",
"name" : "CoreJSONSubscriptTests",
"path" : "Tests/CoreJSONSubscriptTests",
"sources" : [
"CoreJSONSubscriptTests.swift"
],
"target_dependencies" : [
"CoreJSON",
"CoreJSONSubscript",
"CoreJSONConvenience",
"CoreJSONLiterals"
],
"type" : "test"
},
{
"c99name" : "CoreJSONSubscript",
"module_type" : "SwiftTarget",
"name" : "CoreJSONSubscript",
"path" : "Sources/CoreJSONSubscript",
"product_memberships" : [
"CoreJSON"
],
"sources" : [
"JSONSubscript.swift"
],
"target_dependencies" : [
"CoreJSON"
],
"type" : "library"
},
{
"c99name" : "CoreJSONPointerTests",
"module_type" : "SwiftTarget",
"name" : "CoreJSONPointerTests",
"path" : "Tests/CoreJSONPointerTests",
"sources" : [
"CoreJSONPointerTests.swift"
],
"target_dependencies" : [
"CoreJSON",
"CoreJSONPointer"
],
"type" : "test"
},
{
"c99name" : "CoreJSONPointer",
"module_type" : "SwiftTarget",
"name" : "CoreJSONPointer",
"path" : "Sources/CoreJSONPointer",
"product_memberships" : [
"CoreJSON"
],
"sources" : [
"JSONPointer.swift"
],
"target_dependencies" : [
"CoreJSON"
],
"type" : "library"
},
{
"c99name" : "CoreJSONLiteralsTests",
"module_type" : "SwiftTarget",
"name" : "CoreJSONLiteralsTests",
"path" : "Tests/CoreJSONLiteralsTests",
"sources" : [
"CoreJSONLiteralsTests.swift"
],
"target_dependencies" : [
"CoreJSON",
"CoreJSONLiterals"
],
"type" : "test"
},
{
"c99name" : "CoreJSONLiterals",
"module_type" : "SwiftTarget",
"name" : "CoreJSONLiterals",
"path" : "Sources/CoreJSONLiterals",
"product_memberships" : [
"CoreJSON"
],
"sources" : [
"JSONLiterals.swift"
],
"target_dependencies" : [
"CoreJSON"
],
"type" : "library"
},
{
"c99name" : "CoreJSONFoundationTests",
"module_type" : "SwiftTarget",
"name" : "CoreJSONFoundationTests",
"path" : "Tests/CoreJSONFoundationTests",
"sources" : [
"CoreJSONFromFoundationTests.swift",
"CoreJSONToFoundationTests.swift"
],
"target_dependencies" : [
"CoreJSON",
"CoreJSONFoundation"
],
"type" : "test"
},
{
"c99name" : "CoreJSONFoundation",
"module_type" : "SwiftTarget",
"name" : "CoreJSONFoundation",
"path" : "Sources/CoreJSONFoundation",
"product_memberships" : [
"CoreJSON"
],
"sources" : [
"FromFoundation.swift",
"ToFoundation.swift"
],
"target_dependencies" : [
"CoreJSON"
],
"type" : "library"
},
{
"c99name" : "CoreJSONConvenienceTests",
"module_type" : "SwiftTarget",
"name" : "CoreJSONConvenienceTests",
"path" : "Tests/CoreJSONConvenienceTests",
"sources" : [
"CoreJSONConvenienceTests.swift"
],
"target_dependencies" : [
"CoreJSON",
"CoreJSONConvenience"
],
"type" : "test"
},
{
"c99name" : "CoreJSONConvenience",
"module_type" : "SwiftTarget",
"name" : "CoreJSONConvenience",
"path" : "Sources/CoreJSONConvenience",
"product_memberships" : [
"CoreJSON"
],
"sources" : [
"JSONConvenience.swift"
],
"target_dependencies" : [
"CoreJSON"
],
"type" : "library"
},
{
"c99name" : "CoreJSONCodableTests",
"module_type" : "SwiftTarget",
"name" : "CoreJSONCodableTests",
"path" : "Tests/CoreJSONCodableTests",
"sources" : [
"CoreJSONCodableTests.swift"
],
"target_dependencies" : [
"CoreJSON",
"CoreJSONCodable"
],
"type" : "test"
},
{
"c99name" : "CoreJSONCodable",
"module_type" : "SwiftTarget",
"name" : "CoreJSONCodable",
"path" : "Sources/CoreJSONCodable",
"product_memberships" : [
"CoreJSON"
],
"sources" : [
"JSONCodable.swift"
],
"target_dependencies" : [
"CoreJSON"
],
"type" : "library"
},
{
"c99name" : "CoreJSON",
"module_type" : "SwiftTarget",
"name" : "CoreJSON",
"path" : "Sources/CoreJSON",
"product_memberships" : [
"CoreJSON"
],
"sources" : [
"JSON.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/10] Compiling CoreJSON JSON.swift
[10/10] Emitting module CoreJSON
[12/24] Emitting module CoreJSONLiterals
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:28:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
26 | #endif
27 |
28 | extension JSON: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public init(integerLiteral value: Int) {
30 | self = .number(.int(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:34:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
32 | }
33 |
34 | extension JSON: ExpressibleByNilLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
35 | public init(nilLiteral: ()) {
36 | self = .null
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:40:1: warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
38 | }
39 |
40 | extension JSON: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
41 | public init(unicodeScalarLiteral value: String) {
42 | self = .string(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:52:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
50 | }
51 |
52 | extension JSON: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
53 | public init(floatLiteral value: Double) {
54 | self = .number(.double(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:58:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
56 | }
57 |
58 | extension JSON: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
59 | public init(booleanLiteral value: Bool) {
60 | self = .bool(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:64:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
62 | }
63 |
64 | extension JSON: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
65 | public init(arrayLiteral elements: JSON...) {
66 | self = .array(elements)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:70:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
68 | }
69 |
70 | extension JSON: ExpressibleByDictionaryLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
71 | public init(dictionaryLiteral elements: (String, JSON)...) {
72 | self = .object(elements.reduce([:]) { (dict, tuple) -> [String: JSON] in
[13/24] Compiling CoreJSONLiterals JSONLiterals.swift
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:28:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
26 | #endif
27 |
28 | extension JSON: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public init(integerLiteral value: Int) {
30 | self = .number(.int(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:34:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
32 | }
33 |
34 | extension JSON: ExpressibleByNilLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
35 | public init(nilLiteral: ()) {
36 | self = .null
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:40:1: warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
38 | }
39 |
40 | extension JSON: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
41 | public init(unicodeScalarLiteral value: String) {
42 | self = .string(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:52:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
50 | }
51 |
52 | extension JSON: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
53 | public init(floatLiteral value: Double) {
54 | self = .number(.double(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:58:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
56 | }
57 |
58 | extension JSON: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
59 | public init(booleanLiteral value: Bool) {
60 | self = .bool(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:64:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
62 | }
63 |
64 | extension JSON: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
65 | public init(arrayLiteral elements: JSON...) {
66 | self = .array(elements)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:70:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
68 | }
69 |
70 | extension JSON: ExpressibleByDictionaryLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
71 | public init(dictionaryLiteral elements: (String, JSON)...) {
72 | self = .object(elements.reduce([:]) { (dict, tuple) -> [String: JSON] in
[14/25] Emitting module CoreJSONCodable
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:27:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
25 | import CoreJSON
26 |
27 | extension JSON: Encodable {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 |
29 | public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:42:1: warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
40 | }
41 |
42 | extension JSONNumber: Encodable {
| |- warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
43 |
44 | public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:54:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
52 | }
53 |
54 | extension JSON: Decodable {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
55 |
56 | public init(from decoder: Decoder) throws {
[15/25] Compiling CoreJSONCodable JSONCodable.swift
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:27:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
25 | import CoreJSON
26 |
27 | extension JSON: Encodable {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 |
29 | public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:42:1: warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
40 | }
41 |
42 | extension JSONNumber: Encodable {
| |- warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
43 |
44 | public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:54:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
52 | }
53 |
54 | extension JSON: Decodable {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
55 |
56 | public init(from decoder: Decoder) throws {
[16/26] Emitting module CoreJSONSubscript
[17/26] Compiling CoreJSONSubscript JSONSubscript.swift
[19/27] Emitting module CoreJSONConvenience
[20/27] Compiling CoreJSONConvenience JSONConvenience.swift
[24/28] Compiling CoreJSONFoundation ToFoundation.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/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"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/Sources/CoreJSONFoundation/FromFoundation.swift:26:8: error: could not build C module 'CoreFoundation'
24 |
25 | import Foundation
26 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
27 | #if SWIFT_PACKAGE
28 | import CoreJSON
[25/28] Emitting module CoreJSONPointer
[26/28] Compiling CoreJSONPointer JSONPointer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/29] Emitting module CoreJSONFoundation
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/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"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/Sources/CoreJSONFoundation/FromFoundation.swift:26:8: error: could not build C module 'CoreFoundation'
24 |
25 | import Foundation
26 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
27 | #if SWIFT_PACKAGE
28 | import CoreJSON
[29/29] Compiling CoreJSONFoundation FromFoundation.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/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"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/Sources/CoreJSONFoundation/FromFoundation.swift:26:8: error: could not build C module 'CoreFoundation'
24 |
25 | import Foundation
26 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
27 | #if SWIFT_PACKAGE
28 | import CoreJSON
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/3] Emitting module CoreJSON
[3/3] Compiling CoreJSON JSON.swift
[5/17] Emitting module CoreJSONLiterals
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:28:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
26 | #endif
27 |
28 | extension JSON: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public init(integerLiteral value: Int) {
30 | self = .number(.int(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:34:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
32 | }
33 |
34 | extension JSON: ExpressibleByNilLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
35 | public init(nilLiteral: ()) {
36 | self = .null
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:40:1: warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
38 | }
39 |
40 | extension JSON: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
41 | public init(unicodeScalarLiteral value: String) {
42 | self = .string(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:52:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
50 | }
51 |
52 | extension JSON: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
53 | public init(floatLiteral value: Double) {
54 | self = .number(.double(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:58:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
56 | }
57 |
58 | extension JSON: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
59 | public init(booleanLiteral value: Bool) {
60 | self = .bool(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:64:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
62 | }
63 |
64 | extension JSON: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
65 | public init(arrayLiteral elements: JSON...) {
66 | self = .array(elements)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:70:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
68 | }
69 |
70 | extension JSON: ExpressibleByDictionaryLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
71 | public init(dictionaryLiteral elements: (String, JSON)...) {
72 | self = .object(elements.reduce([:]) { (dict, tuple) -> [String: JSON] in
[6/17] Compiling CoreJSONSubscript JSONSubscript.swift
[7/17] Emitting module CoreJSONSubscript
[8/17] Emitting module CoreJSONCodable
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:27:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
25 | import CoreJSON
26 |
27 | extension JSON: Encodable {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 |
29 | public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:42:1: warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
40 | }
41 |
42 | extension JSONNumber: Encodable {
| |- warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
43 |
44 | public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:54:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
52 | }
53 |
54 | extension JSON: Decodable {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
55 |
56 | public init(from decoder: Decoder) throws {
[9/17] Compiling CoreJSONCodable JSONCodable.swift
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:27:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
25 | import CoreJSON
26 |
27 | extension JSON: Encodable {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 |
29 | public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:42:1: warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
40 | }
41 |
42 | extension JSONNumber: Encodable {
| |- warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
43 |
44 | public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:54:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
52 | }
53 |
54 | extension JSON: Decodable {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
55 |
56 | public init(from decoder: Decoder) throws {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/17] Emitting module CoreJSONFoundation
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/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"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/Sources/CoreJSONFoundation/FromFoundation.swift:26:8: error: could not build C module 'CoreFoundation'
24 |
25 | import Foundation
26 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
27 | #if SWIFT_PACKAGE
28 | import CoreJSON
[11/17] Compiling CoreJSONFoundation ToFoundation.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/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"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/Sources/CoreJSONFoundation/FromFoundation.swift:26:8: error: could not build C module 'CoreFoundation'
24 |
25 | import Foundation
26 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
27 | #if SWIFT_PACKAGE
28 | import CoreJSON
[12/19] Compiling CoreJSONLiterals JSONLiterals.swift
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:28:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
26 | #endif
27 |
28 | extension JSON: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public init(integerLiteral value: Int) {
30 | self = .number(.int(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:34:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
32 | }
33 |
34 | extension JSON: ExpressibleByNilLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
35 | public init(nilLiteral: ()) {
36 | self = .null
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:40:1: warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
38 | }
39 |
40 | extension JSON: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
41 | public init(unicodeScalarLiteral value: String) {
42 | self = .string(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:52:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
50 | }
51 |
52 | extension JSON: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
53 | public init(floatLiteral value: Double) {
54 | self = .number(.double(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:58:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
56 | }
57 |
58 | extension JSON: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
59 | public init(booleanLiteral value: Bool) {
60 | self = .bool(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:64:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
62 | }
63 |
64 | extension JSON: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
65 | public init(arrayLiteral elements: JSON...) {
66 | self = .array(elements)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:70:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
68 | }
69 |
70 | extension JSON: ExpressibleByDictionaryLiteral {
| |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
71 | public init(dictionaryLiteral elements: (String, JSON)...) {
72 | self = .object(elements.reduce([:]) { (dict, tuple) -> [String: JSON] in
[13/19] Emitting module CoreJSONConvenience
[14/19] Compiling CoreJSONConvenience JSONConvenience.swift
[17/21] Emitting module CoreJSONPointer
[18/21] Compiling CoreJSONPointer JSONPointer.swift
[22/22] Compiling CoreJSONFoundation FromFoundation.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/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"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/Sources/CoreJSONFoundation/FromFoundation.swift:26:8: error: could not build C module 'CoreFoundation'
24 |
25 | import Foundation
26 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
27 | #if SWIFT_PACKAGE
28 | import CoreJSON
BUILD FAILURE 6.1 wasm