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 0.1.3 (bd1291), with Swift 6.1 for Android on 27 May 2025 07:03:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mono0926/apns.git
Reference: 0.1.3
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
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at bd12913 Add Environment test
Cloned https://github.com/mono0926/apns.git
Revision (git rev-parse @):
bd12913d4514fabc72a750ce2f7aa2a0774e731e
SUCCESS checkout https://github.com/mono0926/apns.git at 0.1.3
========================================
Build
========================================
Selected platform:         android
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/clibressl.git
[1/2707] Fetching jwt
[1626/6072] Fetching jwt, clibressl
Fetched https://github.com/vapor/jwt.git from cache (0.68s)
Fetched https://github.com/vapor/clibressl.git from cache (0.68s)
Computing version for https://github.com/vapor/clibressl.git
Computed https://github.com/vapor/clibressl.git at 1.0.1 (1.23s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 2.3.0 (0.68s)
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/crypto.git
[1/998] Fetching json
[610/3784] Fetching json, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.56s)
Fetched https://github.com/vapor/json.git from cache (0.57s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (1.23s)
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/random.git
[1/148] Fetching random
[136/219] Fetching random, ctls
Fetched https://github.com/vapor/random.git from cache (0.27s)
Fetched https://github.com/vapor/ctls.git from cache (0.27s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.05s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.95s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (1.56s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.65s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.32s)
Fetched https://github.com/vapor/debugging.git from cache (0.32s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.05s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (2.60s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (1.08s)
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
Fetched https://github.com/vapor/node.git from cache (0.58s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (1.15s)
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/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 2.3.0
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/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.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/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
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 a_int.c
[1/628] Write sources
[10/628] Compiling CLibreSSL bs_ber.c
[11/628] Compiling CLibreSSL a_d2i_fp.c
[12/628] Compiling CLibreSSL a_mbstr.c
[13/628] Compiling CLibreSSL a_object.c
[14/628] Compiling CLibreSSL a_i2d_fp.c
[15/628] Compiling CLibreSSL xts128.c
[16/628] Compiling CLibreSSL x_spki.c
[17/628] Compiling CLibreSSL x_x509.c
[18/628] Compiling CLibreSSL xcbc_enc.c
[19/628] Compiling CLibreSSL x_x509a.c
[20/628] Compiling CLibreSSL x_sig.c
[21/628] Compiling CLibreSSL a_digest.c
[22/628] Write swift-version-24593BA9C3E375BF.txt
[23/628] Compiling CLibreSSL x_val.c
[24/628] Compiling CLibreSSL x_pubkey.c
[25/628] Compiling CLibreSSL x_name.c
[26/628] Compiling CLibreSSL x_req.c
[27/628] Compiling CLibreSSL x_pkey.c
[28/628] Compiling CLibreSSL x_long.c
[29/628] Compiling CLibreSSL x_nx509.c
[30/628] Compiling CLibreSSL x_info.c
[31/628] Compiling CLibreSSL x_bignum.c
[32/631] Compiling CLibreSSL x_exten.c
[33/631] Compiling CLibreSSL x_crl.c
[34/631] Compiling CLibreSSL x_attrib.c
[35/635] Compiling CLibreSSL x509type.c
[36/635] Compiling CLibreSSL x509spki.c
[37/635] Compiling CLibreSSL x_algor.c
[38/635] Compiling CLibreSSL x_all.c
[39/635] Compiling CLibreSSL x509cset.c
[40/635] Compiling CLibreSSL x509rset.c
[41/635] Compiling CLibreSSL x509name.c
[42/635] Compiling CLibreSSL x509_vpm.c
[43/635] Compiling CLibreSSL x509_txt.c
[44/635] Compiling CLibreSSL x509_v3.c
[45/635] Compiling CLibreSSL x509_trs.c
[46/635] Compiling CLibreSSL x509_set.c
[47/635] Compiling CLibreSSL x509_req.c
[48/635] Compiling CLibreSSL x509_obj.c
[49/635] Compiling CLibreSSL x509_r2x.c
[50/635] Compiling CLibreSSL x509_vfy.c
[51/635] Compiling CLibreSSL x509_lu.c
[52/635] Compiling CLibreSSL x509_ext.c
[53/635] Compiling CLibreSSL x509_def.c
[54/635] Compiling CLibreSSL x509_err.c
[55/635] Compiling CLibreSSL x509_d2.c
[56/635] Compiling CLibreSSL wp_dgst.c
[57/635] Compiling CLibreSSL wp_block.c
[58/635] Compiling CLibreSSL x509_cmp.c
[59/635] Compiling CLibreSSL x509_att.c
[60/635] Compiling CLibreSSL v3_skey.c
[61/635] Compiling CLibreSSL v3_sxnet.c
[62/635] Compiling CLibreSSL v3err.c
[63/635] Compiling CLibreSSL v3_utl.c
[64/635] Compiling CLibreSSL v3_pmaps.c
[65/635] Compiling CLibreSSL v3_prn.c
[66/635] Compiling CLibreSSL v3_purp.c
[67/635] Compiling CLibreSSL v3_pku.c
[68/635] Compiling CLibreSSL v3_pcons.c
[69/635] Compiling CLibreSSL v3_pcia.c
[70/635] Compiling CLibreSSL v3_ocsp.c
[71/635] Compiling CLibreSSL v3_ncons.c
[72/635] Compiling CLibreSSL v3_pci.c
[73/635] Compiling CLibreSSL v3_lib.c
[74/635] Compiling CLibreSSL v3_int.c
[75/635] Compiling CLibreSSL v3_info.c
[76/635] Compiling CLibreSSL v3_ia5.c
[77/635] Compiling CLibreSSL v3_genn.c
[78/635] Compiling CLibreSSL v3_extku.c
[79/635] Compiling CLibreSSL v3_enum.c
[80/635] Compiling CLibreSSL v3_crld.c
[81/635] Compiling CLibreSSL v3_cpols.c
[82/635] Compiling CLibreSSL v3_conf.c
[83/635] Compiling CLibreSSL v3_bitst.c
[84/635] Compiling CLibreSSL v3_bcons.c
[85/635] Compiling CLibreSSL ui_openssl_win.c
[86/635] Compiling CLibreSSL ui_util.c
[87/635] Compiling CLibreSSL v3_alt.c
[88/635] Compiling CLibreSSL v3_akeya.c
[89/635] Compiling CLibreSSL v3_akey.c
[90/635] Compiling CLibreSSL ui_err.c
[91/635] Compiling CLibreSSL ui_openssl.c
[92/635] Compiling CLibreSSL txt_db.c
[93/635] Compiling CLibreSSL ui_lib.c
[94/635] Compiling CLibreSSL ts_verify_ctx.c
[95/635] Compiling CLibreSSL ts_rsp_verify.c
[96/635] Compiling CLibreSSL ts_rsp_utils.c
[97/635] Compiling CLibreSSL ts_rsp_print.c
[98/635] Compiling CLibreSSL ts_lib.c
[98/635] Compiling CLibreSSL ts_req_utils.c
[100/635] Compiling CLibreSSL ts_req_print.c
[101/635] Compiling CLibreSSL ts_rsp_sign.c
[102/635] Compiling CLibreSSL ts_err.c
[103/635] Compiling CLibreSSL ts_conf.c
[104/635] Compiling CLibreSSL ts_asn1.c
[105/635] Compiling CLibreSSL tls_verify.c
[106/635] Compiling CLibreSSL tls_util.c
[107/635] Compiling CLibreSSL tls_server.c
[108/635] Compiling CLibreSSL tls_peer.c
[109/635] Compiling CLibreSSL timingsafe_memcmp.c
[110/635] Compiling CLibreSSL tls_conninfo.c
[111/635] Compiling CLibreSSL tls_client.c
[112/635] Compiling CLibreSSL tls_config.c
[113/635] Compiling CLibreSSL timingsafe_bcmp.c
[114/635] Compiling CLibreSSL timegm.c
[115/635] Compiling CLibreSSL tls.c
[116/635] Compiling CLibreSSL tb_rsa.c
[116/635] Compiling CLibreSSL tb_store.c
[116/635] Compiling CLibreSSL tb_rand.c
[119/635] Compiling CLibreSSL tb_pkmeth.c
[120/635] Compiling CLibreSSL tb_ecdsa.c
[121/635] Compiling CLibreSSL tb_digest.c
[122/635] Compiling CLibreSSL tb_ecdh.c
[123/635] Compiling CLibreSSL tb_dsa.c
[124/635] Compiling CLibreSSL tb_cipher.c
[125/635] Compiling CLibreSSL tb_dh.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/635] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[128/635] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[128/635] Compiling CLibreSSL tasn_typ.c
[130/635] Emitting module Debugging
[131/635] Compiling Debugging Debuggable.swift
[131/636] Compiling CLibreSSL tb_asnmth.c
[132/636] Compiling CLibreSSL tasn_new.c
[133/636] Compiling CLibreSSL tasn_utl.c
[134/636] Compiling CLibreSSL tasn_enc.c
[134/636] Compiling CLibreSSL tasn_prn.c
[134/636] Compiling CLibreSSL tasn_dec.c
[134/636] Compiling CLibreSSL tasn_fre.c
[134/636] Compiling CLibreSSL t_x509a.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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/498] Write sources
[2/499] Compiling CLibreSSL tasn_fre.c
[3/499] Compiling CLibreSSL t_x509a.c
[4/499] Compiling CLibreSSL tasn_enc.c
[5/499] Compiling CLibreSSL tasn_dec.c
[5/499] Compiling CLibreSSL t_x509.c
[7/499] Compiling CLibreSSL t_spki.c
[8/499] Compiling CLibreSSL tasn_prn.c
[9/499] Compiling CLibreSSL t_pkey.c
[10/499] Compiling CLibreSSL t_req.c
[11/499] Compiling CLibreSSL t_crl.c
[12/499] Compiling CLibreSSL t_bitst.c
[13/499] Compiling CLibreSSL strsep.c
[14/499] Compiling CLibreSSL strnlen.c
[15/499] Compiling CLibreSSL t1_meth.c
[16/499] Compiling CLibreSSL t1_reneg.c
[17/499] Compiling CLibreSSL t1_srvr.c
[18/499] Write swift-version-24593BA9C3E375BF.txt
[19/499] Compiling CLibreSSL strndup.c
[19/499] Compiling CLibreSSL t1_clnt.c
[21/499] Compiling CLibreSSL strlcpy.c
[22/499] Compiling CLibreSSL t1_lib.c
[23/499] Compiling CLibreSSL strlcat.c
[23/499] Compiling CLibreSSL t1_enc.c
[25/499] Compiling CLibreSSL strcasecmp.c
[26/499] Compiling CLibreSSL streebog.c
[27/499] Compiling CLibreSSL str2key.c
[28/502] Compiling CLibreSSL stack.c
[29/522] Compiling CLibreSSL ssl_txt.c
[30/524] Compiling CLibreSSL ssl_stat.c
[31/524] Compiling CLibreSSL ssl_rsa.c
[32/524] Compiling CLibreSSL ssl_sess.c
[33/524] Compiling CLibreSSL ssl_err2.c
[34/524] Compiling CLibreSSL ssl_err.c
[36/524] Compiling PathIndexable PathIndexable.swift
[36/524] Compiling CLibreSSL ssl_lib.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/524] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[39/524] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[39/524] Compiling CLibreSSL ssl_ciph.c
[41/524] Emitting module PathIndexable
[42/524] Compiling PathIndexable PathIndexable+Subscripting.swift
[42/525] Compiling CLibreSSL ssl_asn1.c
[42/525] Compiling CLibreSSL ssl_algs.c
[42/525] Compiling CLibreSSL sha512.c
[42/525] Compiling CLibreSSL ssl_cert.c
[43/525] Emitting module Debugging
BUILD FAILURE 6.1 android