The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build APNS, reference master (0ac6bf), with Swift 6.0 for Linux on 2 Nov 2024 17:30:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mono0926/apns.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/clibressl.git
[1/3365] Fetching clibressl
[2/6003] Fetching clibressl, jwt
Fetched https://github.com/vapor/jwt.git from cache (0.56s)
Fetched https://github.com/vapor/clibressl.git from cache (0.57s)
Computing version for https://github.com/vapor/clibressl.git
Computed https://github.com/vapor/clibressl.git at 1.0.1 (0.53s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 2.3.0 (0.52s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/json.git
[1/2786] Fetching crypto
[2787/3784] Fetching crypto, json
Fetched https://github.com/vapor/crypto.git from cache (0.46s)
Fetched https://github.com/vapor/json.git from cache (0.46s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.58s)
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/ctls.git
[1/148] Fetching random
[4/219] Fetching random, ctls
Fetched https://github.com/vapor/ctls.git from cache (0.16s)
Fetched https://github.com/vapor/random.git from cache (0.16s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.50s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.76s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.50s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.52s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/debugging.git from cache (0.20s)
Fetched https://github.com/vapor/bits.git from cache (0.22s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.60s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.57s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.55s)
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
Fetched https://github.com/vapor/node.git from cache (0.28s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.55s)
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/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/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
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/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
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/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
Building for debugging...
[0/628] Compiling CLibreSSL a_dup.c
[0/628] Compiling CLibreSSL a_d2i_fp.c
[0/628] Write sources
[0/628] Compiling CLibreSSL a_bool.c
[0/628] Write sources
[12/628] Compiling CLibreSSL a_bitstr.c
[13/628] Compiling CLibreSSL a_bytes.c
[14/628] Compiling CLibreSSL a_enum.c
[15/628] Compiling CLibreSSL xts128.c
[16/628] Compiling CLibreSSL xcbc_enc.c
[17/628] Compiling CLibreSSL x_val.c
[18/628] Compiling CLibreSSL x_x509.c
[19/628] Compiling CLibreSSL x_x509a.c
[20/628] Compiling CLibreSSL x_spki.c
[21/628] Compiling CLibreSSL x_sig.c
[22/628] Compiling CLibreSSL a_digest.c
[23/628] Write swift-version-24593BA9C3E375BF.txt
[24/628] Compiling CLibreSSL x_req.c
[25/628] Compiling CLibreSSL x_pubkey.c
[26/628] Compiling CLibreSSL x_long.c
[27/628] Compiling CLibreSSL x_nx509.c
[28/628] Compiling CLibreSSL x_pkey.c
[29/628] Compiling CLibreSSL x_name.c
[30/628] Compiling CLibreSSL x_exten.c
[30/628] Compiling CLibreSSL x_info.c
[32/628] Compiling CLibreSSL x_bignum.c
[33/628] Compiling CLibreSSL x_crl.c
[34/630] Compiling CLibreSSL x_attrib.c
[35/631] Compiling CLibreSSL x_algor.c
[36/635] Compiling CLibreSSL x_all.c
[37/635] Compiling CLibreSSL x509type.c
[38/635] Compiling CLibreSSL x509name.c
[39/635] Compiling CLibreSSL x509rset.c
[40/635] Compiling CLibreSSL x509cset.c
[41/635] Compiling CLibreSSL x509spki.c
[43/635] Emitting module Debugging
[43/635] Compiling CLibreSSL x509_vpm.c
[44/635] Compiling CLibreSSL x509_txt.c
[45/635] Compiling CLibreSSL x509_v3.c
[46/635] Compiling CLibreSSL x509_trs.c
[47/635] Compiling CLibreSSL x509_vfy.c
[48/635] Compiling CLibreSSL x509_set.c
[49/635] Compiling CLibreSSL x509_req.c
[50/635] Compiling CLibreSSL x509_obj.c
[51/635] Compiling CLibreSSL x509_r2x.c
[52/635] Compiling CLibreSSL x509_ext.c
[52/635] Compiling CLibreSSL x509_lu.c
[54/635] Compiling CLibreSSL x509_err.c
[55/635] Compiling CLibreSSL x509_def.c
[56/635] Compiling CLibreSSL wp_dgst.c
[57/635] Compiling CLibreSSL x509_d2.c
[58/635] Compiling CLibreSSL wp_block.c
[58/635] Compiling CLibreSSL x509_att.c
[60/635] Compiling CLibreSSL x509_cmp.c
[61/635] Compiling CLibreSSL v3err.c
[62/635] Compiling CLibreSSL v3_skey.c
[63/635] Compiling CLibreSSL v3_sxnet.c
[64/635] Compiling CLibreSSL v3_prn.c
[65/635] Compiling CLibreSSL v3_purp.c
[66/635] Compiling CLibreSSL v3_utl.c
[67/635] Compiling CLibreSSL v3_pku.c
[68/635] Compiling CLibreSSL v3_pmaps.c
[69/635] Compiling CLibreSSL v3_pcons.c
[70/635] Compiling CLibreSSL v3_pcia.c
[71/635] Compiling CLibreSSL v3_pci.c
[72/635] Compiling CLibreSSL v3_ocsp.c
[73/635] Compiling CLibreSSL v3_ncons.c
[74/635] Compiling CLibreSSL v3_int.c
[75/635] Compiling CLibreSSL v3_lib.c
[76/635] Compiling CLibreSSL v3_info.c
[77/635] Compiling CLibreSSL v3_genn.c
[77/635] Compiling CLibreSSL v3_ia5.c
[79/635] Compiling CLibreSSL v3_extku.c
[80/635] Compiling CLibreSSL v3_enum.c
[81/635] Compiling CLibreSSL v3_crld.c
[82/635] Compiling CLibreSSL v3_conf.c
[83/635] Compiling CLibreSSL v3_cpols.c
[84/635] Compiling CLibreSSL v3_bitst.c
[85/635] Compiling CLibreSSL v3_bcons.c
[86/635] Compiling CLibreSSL v3_alt.c
[87/635] Compiling CLibreSSL ui_util.c
[88/635] Compiling CLibreSSL ui_openssl_win.c
[89/635] Compiling CLibreSSL v3_akey.c
[90/635] Compiling CLibreSSL v3_akeya.c
[91/635] Compiling CLibreSSL ui_openssl.c
[92/635] Compiling CLibreSSL ui_err.c
[93/635] Compiling CLibreSSL txt_db.c
[94/635] Compiling CLibreSSL ui_lib.c
[95/635] Compiling CLibreSSL ts_verify_ctx.c
[96/635] Compiling CLibreSSL ts_rsp_verify.c
[97/635] Compiling CLibreSSL ts_rsp_sign.c
[98/635] Compiling CLibreSSL ts_rsp_print.c
[99/635] Compiling CLibreSSL ts_rsp_utils.c
[100/635] Compiling CLibreSSL ts_req_print.c
[101/635] Compiling CLibreSSL ts_req_utils.c
[102/635] Compiling CLibreSSL ts_lib.c
[103/635] Compiling CLibreSSL ts_conf.c
[104/635] Compiling CLibreSSL ts_err.c
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/tls_verify.c:161:36: error: call to undeclared function 'getprogname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  161 |                                     "dNSName encoding (%d)\n", getprogname(),
      |                                                                ^
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/tls_verify.c:161:36: note: did you mean 'getpeername'?
/usr/include/x86_64-linux-gnu/sys/socket.h:130:12: note: 'getpeername' declared here
  130 | extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
      |            ^
1 error generated.
[105/635] Compiling CLibreSSL tls_verify.c
[105/635] Compiling CLibreSSL ts_asn1.c
[105/635] Compiling CLibreSSL tls_server.c
[105/635] Compiling CLibreSSL tls_peer.c
[105/635] Compiling CLibreSSL tls_util.c
[106/635] Emitting module PathIndexable
[107/635] Emitting module libc
BUILD FAILURE 6.0 linux