The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build nostr-kit, reference master (e91c85), with Swift 6.1 for Wasm on 28 May 2025 17:22:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.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/tannerdsilva/nostr-kit.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/tannerdsilva/nostr-kit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e91c853 release v0.6.0
Cloned https://github.com/tannerdsilva/nostr-kit.git
Revision (git rev-parse @):
e91c85387712b702c47a610def5c90cb91b25e2a
SUCCESS checkout https://github.com/tannerdsilva/nostr-kit.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tannerdsilva/nostr-kit.git
https://github.com/tannerdsilva/nostr-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.57.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.24.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "quickjson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tannerdsilva/QuickJSON.git"
    },
    {
      "identity" : "rawdog",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tannerdsilva/rawdog.git"
    },
    {
      "identity" : "secp256k1.swift",
      "requirement" : {
        "revision" : [
          "40b4b38b3b1c83f7088c76189a742870e0ca06a9"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jb55/secp256k1.swift"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.18.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client"
    }
  ],
  "manifest_display_name" : "nostr-kit",
  "name" : "nostr-kit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "nostr",
      "targets" : [
        "nostr"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "nostr-cc",
      "targets" : [
        "nostr-cc"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "nostr_kitTests",
      "module_type" : "SwiftTarget",
      "name" : "nostr-kitTests",
      "path" : "Tests/nostr-kitTests",
      "sources" : [
        "AESCBCTests.swift",
        "Base64Tests.swift",
        "Bech32Tests.swift",
        "DateTests.swift",
        "HexTests.swift",
        "nostr_eventTests.swift",
        "nostr_keyTests.swift",
        "nostr_kitTests.swift"
      ],
      "target_dependencies" : [
        "nostr"
      ],
      "type" : "test"
    },
    {
      "c99name" : "nostr_cc",
      "module_type" : "SwiftTarget",
      "name" : "nostr-cc",
      "path" : "Sources/nostr-cc",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "nostr-cc"
      ],
      "sources" : [
        "CLI/CLI + KeyPair.swift",
        "CLI/CLI + Relay.swift",
        "CLI/CLI.swift",
        "Colors.swift",
        "Extensions/KeyPair.swift",
        "Extensions/String.swift",
        "Profile.swift",
        "nostr-cc.swift"
      ],
      "target_dependencies" : [
        "nostr"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "nostr",
      "module_type" : "SwiftTarget",
      "name" : "nostr",
      "path" : "Sources/nostr",
      "product_dependencies" : [
        "NIOSSL",
        "NIO",
        "NIOWebSocket",
        "Logging",
        "QuickJSON",
        "secp256k1",
        "RAW",
        "Crypto",
        "SystemPackage",
        "AsyncHTTPClient"
      ],
      "product_memberships" : [
        "nostr",
        "nostr-cc"
      ],
      "sources" : [
        "Errors.swift",
        "Event/Event + Commitment.swift",
        "Event/Event + Kind.swift",
        "Event/Event + NIP42.swift",
        "Event/Event.swift",
        "Event/Tags/Event + Tag + Name.swift",
        "Event/Tags/Event + Tag.swift",
        "Event/Tags/Event + Tags.swift",
        "Filter/Filter + Consumer.swift",
        "Filter/Filter.swift",
        "Frozen Structs/Date.swift",
        "Frozen Structs/Event + Signature.swift",
        "Frozen Structs/Event + UID.swift",
        "Frozen Structs/Key/KeyPair.swift",
        "Frozen Structs/Key/PublicKey.swift",
        "Frozen Structs/Key/SecretKey.swift",
        "Frozen Structs/Key/SharedSecret.swift",
        "Hex.swift",
        "Message/Message.swift",
        "Network/NIO/WebSockets/HTTP2WSUpgrade/RelayInitialHTTPRequestWriter.swift",
        "Network/NIO/WebSockets/HTTP2WSUpgrade/WebSocket + Upgrader.swift",
        "Network/NIO/WebSockets/WebSocket + FrameSequence.swift",
        "Network/NIO/WebSockets/WebSocket + Handler.swift",
        "Network/NIO/WebSockets/WebSocket.swift",
        "Network/Relay/Body Handlers/AUTHHandler.swift",
        "Network/Relay/Body Handlers/EOSEHandler.swift",
        "Network/Relay/Body Handlers/EVENTHandler.swift",
        "Network/Relay/Body Handlers/NOTICEHandler.swift",
        "Network/Relay/Body Handlers/OKHandler.swift",
        "Network/Relay/Configurations/ClientConfiguration.swift",
        "Network/Relay/Relay + Catcher.swift",
        "Network/Relay/Relay + Consumable.swift",
        "Network/Relay/Relay + Error.swift",
        "Network/Relay/Relay + Frame.swift",
        "Network/Relay/Relay + Handler.swift",
        "Network/Relay/Relay.swift",
        "Network/URL/URL + Parser.swift",
        "Network/URL/URL + Split.swift",
        "Network/URL/URL.swift",
        "Network/URL/URLParameters.swift",
        "Protocols/BECH32.swift",
        "Protocols/FRAME/NOSTR_frame.swift",
        "Protocols/HEX/HEX_convertible.swift",
        "Protocols/HEX/HEX_decodable.swift",
        "Protocols/HEX/HEX_encodable.swift",
        "Protocols/NOSTR_date.swift",
        "Protocols/NOSTR_event.swift",
        "Protocols/NOSTR_filter.swift",
        "Protocols/NOSTR_kind.swift",
        "Protocols/NOSTR_subscription.swift",
        "Protocols/TAG/Instance/Additional/NOSTR_tag_addlfield.swift",
        "Protocols/TAG/Instance/Index/NOSTR_tag_infofield.swift",
        "Protocols/TAG/Instance/NOSTR_tag.swift",
        "Protocols/TAG/Instance/Name/NOSTR_tag_name.swift",
        "Protocols/TAG/Instance/Name/NOSTR_tag_name_generic.swift",
        "Protocols/TAG/NOSTR_tagged.swift",
        "Utils/AES_CBC.swift",
        "Utils/Base64.swift",
        "Utils/Extensions/ByteBuffer.swift",
        "Utils/FlatDictionary.swift",
        "Utils/InitializationVector.swift",
        "Utils/NIP05/NIP05.swift",
        "Utils/RandomBytes.swift",
        "Utils/SHA1.swift",
        "Utils/SHA256.swift",
        "bech32.swift",
        "nostr.swift"
      ],
      "target_dependencies" : [
        "cnostr"
      ],
      "type" : "library"
    },
    {
      "c99name" : "cnostr",
      "module_type" : "ClangTarget",
      "name" : "cnostr",
      "path" : "Sources/cnostr",
      "product_memberships" : [
        "nostr",
        "nostr-cc"
      ],
      "sources" : [
        "aes.c",
        "base64.c",
        "cnostr.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/jb55/secp256k1.swift
[1/876] Fetching secp256k1.swift
Fetched https://github.com/jb55/secp256k1.swift from cache (0.26s)
Fetching https://github.com/tannerdsilva/QuickJSON.git
Fetching https://github.com/tannerdsilva/rawdog.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/swift-server/async-http-client
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
[1/3284] Fetching rawdog
[133/3587] Fetching rawdog, quickjson
[1585/7978] Fetching rawdog, quickjson, swift-system
[3572/11814] Fetching rawdog, quickjson, swift-system, swift-log
[4581/25750] Fetching rawdog, quickjson, swift-system, swift-log, swift-crypto
Fetched https://github.com/tannerdsilva/QuickJSON.git from cache (0.41s)
[11665/25447] Fetching rawdog, swift-system, swift-log, swift-crypto
Fetching https://github.com/apple/swift-nio-ssl.git
[12488/39461] Fetching rawdog, swift-system, swift-log, swift-crypto, async-http-client
[29707/54304] Fetching rawdog, swift-system, swift-log, swift-crypto, async-http-client, swift-nio-ssl
Fetched https://github.com/apple/swift-system.git from cache (1.16s)
Fetching https://github.com/apple/swift-nio.git
[29067/49913] Fetching rawdog, swift-log, swift-crypto, async-http-client, swift-nio-ssl
[42938/126006] Fetching rawdog, swift-log, swift-crypto, async-http-client, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (2.90s)
Fetched https://github.com/swift-server/async-http-client from cache (2.91s)
Fetched https://github.com/tannerdsilva/rawdog.git from cache (2.92s)
[63021/104872] Fetching swift-crypto, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/apple/swift-crypto.git from cache (2.96s)
[53651/90936] Fetching swift-nio-ssl, swift-nio
[63544/106287] Fetching swift-nio-ssl, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.08s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.59s)
Fetched https://github.com/apple/swift-nio.git from cache (6.18s)
Computing version for https://github.com/tannerdsilva/rawdog.git
Computed https://github.com/tannerdsilva/rawdog.git at 0.0.7 (9.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.62s)
Computing version for https://github.com/tannerdsilva/QuickJSON.git
Computed https://github.com/tannerdsilva/QuickJSON.git at 1.1.2 (0.83s)
Fetching https://github.com/ibireme/yyjson.git
[1/3780] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (0.79s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.8.0 (1.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.19s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.85s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[1711/18301] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.42s)
Fetched https://github.com/apple/swift-collections.git from cache (1.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.68s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.26.1 (0.91s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2667] Fetching swift-nio-transport-services
[722/8581] Fetching swift-nio-transport-services, swift-nio-extras
[6276/20108] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[6629/26067] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.53s)
[10485/23400] Fetching swift-nio-extras, swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (1.41s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.41s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.42s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (2.05s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.59s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.67s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1141] Fetching swift-http-structured-headers
[823/2045] Fetching swift-http-structured-headers, swift-http-types
[2046/3635] Fetching swift-http-structured-headers, swift-http-types, swift-asn1
[2158/8620] Fetching swift-http-structured-headers, swift-http-types, swift-asn1, swift-async-algorithms
[5979/11046] Fetching swift-http-structured-headers, swift-http-types, swift-asn1, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.33s)
[7245/10142] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-service-lifecycle
[8290/9001] Fetching swift-asn1, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.35s)
[9063/15156] Fetching swift-asn1, swift-async-algorithms, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.37s)
[7535/13566] Fetching swift-async-algorithms, swift-service-lifecycle, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.47s)
[10771/11140] Fetching swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.50s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.59s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.12s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (3.45s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/tannerdsilva/rawdog.git at 0.0.7 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.00s)
Computed https://github.com/tannerdsilva/QuickJSON.git at 1.1.2 (0.00s)
Computed https://github.com/ibireme/yyjson.git at 0.8.0 (0.00s)
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.00s)
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.00s)
Computed https://github.com/swift-server/async-http-client at 1.26.1 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.73s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.68s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.00s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.72s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/tannerdsilva/QuickJSON.git
Working copy of https://github.com/tannerdsilva/QuickJSON.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/jb55/secp256k1.swift
Working copy of https://github.com/jb55/secp256k1.swift resolved at 40b4b38b3b1c83f7088c76189a742870e0ca06a9
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/tannerdsilva/rawdog.git
Working copy of https://github.com/tannerdsilva/rawdog.git resolved at 0.0.7
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/914] Compiling cnostr cnostr.c
[2/914] Compiling cnostr base64.c
[2/914] Write sources
[4/914] Compiling cnostr aes.c
[5/914] Compiling a_bool.c
[6/914] Compiling a_d2i_fp.c
[7/914] Compiling a_dup.c
[8/914] Write sources
[11/914] Compiling _NumericsShims _NumericsShims.c
[12/914] Write sources
[14/914] Compiling a_bitstr.c
[15/914] Write sources
[39/914] Compiling Utility.c
[40/914] Compiling _AtomicsShims.c
[41/914] Compiling CSystem shims.c
[42/914] Compiling CRAW CRAW.c
[43/914] Compiling CNIOWindows shim.c
[44/914] Compiling CNIOWindows WSAStartup.c
[45/914] Compiling CNIOWASI CNIOWASI.c
[46/914] Compiling CNIOLinux shim.c
[47/914] Compiling CNIOSHA1 c_nio_sha1.c
[48/914] Compiling CNIOLinux liburing_shims.c
[49/914] Compiling CNIOLLHTTP c_nio_http.c
[50/914] Compiling CNIOExtrasZlib empty.c
[51/914] Compiling CNIODarwin shim.c
[52/914] Compiling CNIOLLHTTP c_nio_api.c
[53/914] Write swift-version-24593BA9C3E375BF.txt
[54/914] Compiling precomputed_ecmult_gen.c
[55/914] Compiling fiat_p256_adx_sqr.S
[56/914] Compiling fiat_p256_adx_mul.S
[57/948] Compiling secp256k1.c
[58/958] Compiling CNIOBoringSSLShims shims.c
[59/960] Compiling CNIOLLHTTP c_nio_llhttp.c
[60/965] Compiling precomputed_ecmult.c
[62/979] Compiling Logging LogHandler.swift
[63/979] Emitting module Logging
[64/979] Compiling Logging Locks.swift
[65/979] Compiling InternalCollectionsUtilities Descriptions.swift
[66/979] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[67/979] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[68/980] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[69/980] Compiling InternalCollectionsUtilities UInt+reversed.swift
[70/980] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[71/980] Compiling InternalCollectionsUtilities _SortedCollection.swift
[72/983] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[73/983] Compiling InternalCollectionsUtilities Debugging.swift
[74/983] Compiling _NIODataStructures _TinyArray.swift
[75/983] Compiling _NIODataStructures PriorityQueue.swift
[76/983] Emitting module RAW
[77/983] Compiling RAW RAW.swift
[78/983] Compiling RealModule Float80+Real.swift
[79/983] Compiling RealModule Real.swift
[80/983] Compiling RealModule Float16+Real.swift
[81/983] Compiling SystemPackage MachPort.swift
[82/983] Compiling SystemPackage PlatformString.swift
[83/983] Compiling SystemPackage SystemString.swift
[84/985] Compiling RealModule ElementaryFunctions.swift
[89/985] Compiling RealModule Float+Real.swift
[90/985] Emitting module RealModule
[92/985] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[93/985] Compiling _NIOBase64 Base64.swift
[94/985] Emitting module _NIOBase64
[95/986] Compiling RealModule RealFunctions.swift
[96/987] Emitting module InternalCollectionsUtilities
[97/987] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[98/987] Compiling InternalCollectionsUtilities Integer rank.swift
[101/987] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[102/987] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[108/988] Compiling SystemPackage Util+StringArray.swift
[109/988] Compiling SystemPackage Util.swift
[110/988] Compiling SystemPackage UtilConsumers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[111/988] Compiling SystemPackage Backcompat.swift
[112/988] Compiling SystemPackage CInterop.swift
[113/988] Compiling SystemPackage Constants.swift
[114/988] Compiling SystemPackage Exports.swift
[115/988] Compiling SystemPackage Errno.swift
[116/988] Compiling SystemPackage ErrnoWindows.swift
[117/988] Compiling SystemPackage FileDescriptor.swift
[118/988] Compiling SystemPackage FileHelpers.swift
[119/988] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[128/988] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[129/988] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[130/988] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[131/988] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[132/988] Compiling Logging MetadataProvider.swift
[133/988] Compiling Logging Logging.swift
[133/989] Wrapping AST for _NIOBase64 for debugging
[133/989] Wrapping AST for RealModule for debugging
[133/989] Wrapping AST for RAW for debugging
[134/989] Emitting module _NIODataStructures
[135/989] Compiling _NIODataStructures Heap.swift
[135/989] Compiling yyjson.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/854] Write sources
[5/855] Compiling fiat_curve25519_adx_square.S
[6/855] Compiling fiat_curve25519_adx_mul.S
[7/855] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/855] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/855] Compiling tls_record.cc
[8/855] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/855] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/855] Compiling tls13_enc.cc
[8/855] Compiling yyjson.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/855] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/855] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm