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 APNS, reference master (0ac6bf), with Swift 6.1 for Wasm on 27 May 2025 07:03:31 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/mono0926/apns.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/mono0926/apns
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0ac6bf9 Update README.md
Cloned https://github.com/mono0926/apns.git
Revision (git rev-parse @):
0ac6bf9e6a4cdd3e289795da1d9697f451b1c33f
SUCCESS checkout https://github.com/mono0926/apns.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mono0926/apns.git
https://github.com/mono0926/apns.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "jwt",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/jwt.git"
    },
    {
      "identity" : "clibressl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/clibressl.git"
    }
  ],
  "manifest_display_name" : "APNS",
  "name" : "APNS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "APNS",
      "targets" : [
        "APNS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "APNSTests",
      "module_type" : "SwiftTarget",
      "name" : "APNSTests",
      "path" : "Tests/APNSTests",
      "sources" : [
        "APNSTests.swift",
        "EnvironmentTests.swift"
      ],
      "target_dependencies" : [
        "APNS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APNS",
      "module_type" : "SwiftTarget",
      "name" : "APNS",
      "path" : "Sources/APNS",
      "product_dependencies" : [
        "JWT",
        "CLibreSSL"
      ],
      "product_memberships" : [
        "APNS"
      ],
      "sources" : [
        "APNS.swift",
        "APNSError.swift",
        "APNSHeader.swift",
        "APNSRequest.swift",
        "APNSResult.swift",
        "APNSSession.swift",
        "Alert.swift",
        "Aps.swift",
        "AuthenticationKey.swift",
        "Data+APNS.swift",
        "DeviceToken.swift",
        "Environment.swift",
        "JsonInitializable.swift",
        "Payload.swift",
        "Priority.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/clibressl.git
Fetching https://github.com/vapor/jwt.git
[1/3365] Fetching clibressl
[2/6072] Fetching clibressl, jwt
Fetched https://github.com/vapor/jwt.git from cache (1.43s)
Fetched https://github.com/vapor/clibressl.git from cache (1.57s)
Computing version for https://github.com/vapor/clibressl.git
Computed https://github.com/vapor/clibressl.git at 1.0.1 (2.42s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 2.3.0 (0.70s)
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
[29/3784] Fetching crypto, json
Fetched https://github.com/vapor/crypto.git from cache (0.74s)
[619/998] Fetching json
Fetched https://github.com/vapor/json.git from cache (1.28s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (1.93s)
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/random.git
[1/71] Fetching ctls
[72/219] Fetching ctls, random
Fetched https://github.com/vapor/ctls.git from cache (0.29s)
Fetched https://github.com/vapor/random.git from cache (0.29s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.86s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.84s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (1.38s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.17s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[274/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.31s)
Fetched https://github.com/vapor/debugging.git from cache (0.31s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.04s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.60s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.67s)
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
Fetched https://github.com/vapor/node.git from cache (0.31s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.89s)
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
Creating working copy for https://github.com/vapor/clibressl.git
Working copy of https://github.com/vapor/clibressl.git resolved at 1.0.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 2.3.0
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/628] Compiling CLibreSSL bio_ndef.c
[1/628] Write sources
[10/628] Compiling CLibreSSL bio_pk7.c
[11/628] Compiling CLibreSSL bio_md.c
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/xts128.c:51:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/endian.h:7:11: fatal error: 'machine/endian.h' file not found
    7 |         #include <machine/endian.h>
      |                  ^~~~~~~~~~~~~~~~~~
1 error generated.
[12/628] Compiling CLibreSSL xts128.c
[12/628] Compiling CLibreSSL d1_clnt.c
[12/628] Compiling CLibreSSL d1_enc.c
[12/628] Compiling CLibreSSL xcbc_enc.c
[12/628] Compiling CLibreSSL dsa_ameth.c
[12/628] Compiling CLibreSSL x_x509a.c
[12/628] Compiling CLibreSSL a_bitstr.c
[12/628] Write swift-version-24593BA9C3E375BF.txt
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/616] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/xts128.c:51:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/endian.h:7:11: fatal error: 'machine/endian.h' file not found
    7 |         #include <machine/endian.h>
      |                  ^~~~~~~~~~~~~~~~~~
1 error generated.
[2/616] Compiling CLibreSSL xts128.c
[2/616] Compiling CLibreSSL x_sig.c
[2/616] Compiling CLibreSSL x_spki.c
[2/616] Compiling CLibreSSL xcbc_enc.c
[2/616] Compiling CLibreSSL x_val.c
[2/616] Compiling CLibreSSL x_x509.c
[2/616] Compiling CLibreSSL x_x509a.c
[2/616] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm