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 SwiftBox, reference master (e69b51), with Swift 6.1 for Wasm on 28 May 2025 14:36:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/allegro/swiftbox.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/allegro/swiftbox
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e69b51b Bumps dependencies (#13)
Cloned https://github.com/allegro/swiftbox.git
Revision (git rev-parse @):
e69b51b85c1710f4d1eaa4ddb121afa63369482f
SUCCESS checkout https://github.com/allegro/swiftbox.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/allegro/swiftbox.git
https://github.com/allegro/swiftbox.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.23.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.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" : "swift-junit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/allegro/swift-junit.git"
    }
  ],
  "manifest_display_name" : "SwiftBox",
  "name" : "SwiftBox",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftBoxLogging",
      "targets" : [
        "SwiftBoxLogging"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "SwiftBoxMetrics",
      "targets" : [
        "SwiftBoxMetrics"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "SwiftBoxConfig",
      "targets" : [
        "SwiftBoxConfig"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBoxMetricsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBoxMetricsTests",
      "path" : "Tests/SwiftBoxMetricsTests",
      "product_dependencies" : [
        "SwiftTestReporter"
      ],
      "sources" : [
        "MetricTypesTests.swift",
        "StatsDHandlersTests.swift",
        "TCPStatsDClientTests.swift",
        "UDPStatsDClientTests+Helpers.swift",
        "UDPStatsDClientTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBoxMetrics"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBoxMetrics",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBoxMetrics",
      "path" : "Sources/SwiftBoxMetrics",
      "product_dependencies" : [
        "Metrics"
      ],
      "product_memberships" : [
        "SwiftBoxMetrics"
      ],
      "sources" : [
        "BaseMetricsSender.swift",
        "LoggerHandler/LoggerHandler.swift",
        "MetricTypes.swift",
        "StatsDFactory.swift",
        "StatsDHandler/StatsDClient.swift",
        "StatsDHandler/StatsDHandler.swift",
        "StatsDHandler/TCPStatsDClient.swift",
        "StatsDHandler/UDPStatsDClient.swift"
      ],
      "target_dependencies" : [
        "SwiftBoxLogging"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftBoxLoggingTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBoxLoggingTests",
      "path" : "Tests/SwiftBoxLoggingTests",
      "product_dependencies" : [
        "SwiftTestReporter"
      ],
      "sources" : [
        "LoggingTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBoxLogging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBoxLogging",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBoxLogging",
      "path" : "Sources/SwiftBoxLogging",
      "product_dependencies" : [
        "NIOSSL",
        "Logging"
      ],
      "product_memberships" : [
        "SwiftBoxLogging",
        "SwiftBoxMetrics",
        "SwiftBoxConfig"
      ],
      "sources" : [
        "ElasticsearchLogHandler.swift",
        "ElasticsearchPayload.swift",
        "LoggerProtocol.swift",
        "LoggingManager.swift",
        "PrintLogger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftBoxConfigTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBoxConfigTests",
      "path" : "Tests/SwiftBoxConfigTests",
      "product_dependencies" : [
        "SwiftTestReporter"
      ],
      "sources" : [
        "ConfigManagerTests.swift",
        "ConfigurationTests.swift",
        "FlatDictParserTests.swift",
        "SourcesTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBoxConfig"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBoxConfig",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBoxConfig",
      "path" : "Sources/SwiftBoxConfig",
      "product_memberships" : [
        "SwiftBoxConfig"
      ],
      "sources" : [
        "BasicKey.swift",
        "ConfigManager.swift",
        "DictionaryDecoder.swift",
        "EnvParser.swift",
        "KeyPathReferenceable/Array+KeyPathReferencable.swift",
        "KeyPathReferenceable/Dictionary+KeyPathReferencable.swift",
        "KeyPathReferenceable/KeyPathReferenceable.swift",
        "Sources.swift"
      ],
      "target_dependencies" : [
        "SwiftBoxLogging"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/allegro/swift-junit.git
Fetching https://github.com/apple/swift-metrics.git
[1/235] Fetching swift-junit
[236/4071] Fetching swift-junit, swift-log
[467/6277] Fetching swift-junit, swift-log, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.35s)
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
[1/14843] Fetching swift-nio-ssl
Fetched https://github.com/allegro/swift-junit.git from cache (2.30s)
Fetched https://github.com/apple/swift-nio-ssl from cache (2.33s)
Computing version for https://github.com/allegro/swift-junit.git
Computed https://github.com/allegro/swift-junit.git at 2.1.0 (2.81s)
Fetching https://github.com/alexaubry/HTMLString.git
[1/1631] Fetching htmlstring
Fetched https://github.com/alexaubry/HTMLString.git from cache (0.33s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (2.27s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.31.0 (0.55s)
Fetching https://github.com/apple/swift-nio.git
[1/76084] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.01s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (5.43s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[1934/20982] Fetching swift-system, swift-collections
[2705/22692] Fetching swift-system, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
[8871/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.17s)
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.58s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.08s)
Creating working copy for https://github.com/alexaubry/HTMLString.git
Working copy of https://github.com/alexaubry/HTMLString.git resolved at 5.0.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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-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-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.31.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/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/allegro/swift-junit.git
Working copy of https://github.com/allegro/swift-junit.git resolved at 2.1.0
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/452] Compiling a_bitstr.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/obj/obj_xref.cc:12:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/obj/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/452] Compiling obj_xref.cc
[0/452] Compiling pem_info.cc
[0/452] Compiling a_bool.cc
[0/452] Compiling pem_all.cc
[0/452] Compiling a_d2i_fp.cc
[0/452] Compiling c-atomics.c
[0/452] Compiling c-nioatomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/452] Write sources
[18/452] Compiling CNIOWASI CNIOWASI.c
[19/452] Compiling CNIOWindows WSAStartup.c
[20/452] Compiling CNIOLinux shim.c
[20/452] Compiling _AtomicsShims.c
[22/452] Compiling CNIOLinux liburing_shims.c
[23/452] Compiling CNIODarwin shim.c
[24/452] Compiling fiat_curve25519_adx_square.S
[25/452] Compiling fiat_p256_adx_sqr.S
[26/452] Compiling fiat_p256_adx_mul.S
[27/452] Compiling fiat_curve25519_adx_mul.S
[28/452] Compiling CNIOWindows shim.c
[29/452] Write swift-version-24593BA9C3E375BF.txt
[30/452] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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.
[31/456] Compiling t1_enc.cc
[31/456] Compiling tls_method.cc
[31/456] Compiling tls13_server.cc
[31/456] Compiling tls13_client.cc
[31/456] Compiling tls13_both.cc
[31/456] Compiling tls13_enc.cc
[31/456] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm