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 COpenSSL, reference master (ce3113), with Swift 6.1 for Wasm on 27 May 2025 18:42:50 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/PerfectlySoft/Perfect-COpenSSL.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/PerfectlySoft/Perfect-COpenSSL
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ce3113e added compat funcs
Cloned https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Revision (git rev-parse @):
ce3113e159b8c6d8565e5d8db2672b572c81aea9
SUCCESS checkout https://github.com/PerfectlySoft/Perfect-COpenSSL.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PerfectlySoft/Perfect-COpenSSL.git
https://github.com/PerfectlySoft/Perfect-COpenSSL.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "COpenSSL",
  "name" : "COpenSSL",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "COpenSSL",
      "targets" : [
        "COpenSSL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "COpenSSL",
      "module_type" : "ClangTarget",
      "name" : "COpenSSL",
      "path" : "COpenSSL",
      "product_memberships" : [
        "COpenSSL"
      ],
      "sources" : [
        "a_.c",
        "aes_.c",
        "ameth_lib.c",
        "asn1_.c",
        "asn_.c",
        "b_dump.c",
        "b_print.c",
        "b_sock.c",
        "bf_.c",
        "bio_.c",
        "bn_.c",
        "bss_.c",
        "buf_.c",
        "buffer.c",
        "by_.c",
        "c_.c",
        "camellia.c",
        "cbc128.c",
        "cbc3_enc.c",
        "cbc_.c",
        "ccm128.c",
        "cfb128.c",
        "cfb64ede.c",
        "cfb64enc.c",
        "cfb_enc.c",
        "cm_.c",
        "cmac.c",
        "cmll_.c",
        "cms_.c",
        "comp_.c",
        "conf_.c",
        "cpt_err.c",
        "cryptlib.c",
        "ctr128.c",
        "cversion.c",
        "d1_.c",
        "d1_lib.c",
        "d2i_.c",
        "des_enc.c",
        "des_old.c",
        "des_old2.c",
        "dh_.c",
        "digest.c",
        "dsa_.c",
        "dso_.c",
        "e_4758cca.c",
        "e_4758cca_err.c",
        "e_aep.c",
        "e_aep_err.c",
        "e_aes.c",
        "e_aes_cbc_hmac_sha1.c",
        "e_aes_cbc_hmac_sha256.c",
        "e_atalla.c",
        "e_atalla_err.c",
        "e_bf.c",
        "e_camellia.c",
        "e_capi.c",
        "e_capi_err.c",
        "e_cast.c",
        "e_chil.c",
        "e_chil_err.c",
        "e_cswift.c",
        "e_cswift_err.c",
        "e_des.c",
        "e_des3.c",
        "e_gmp.c",
        "e_gmp_err.c",
        "e_gost_err.c",
        "e_idea.c",
        "e_null.c",
        "e_nuron.c",
        "e_nuron_err.c",
        "e_old.c",
        "e_padlock.c",
        "e_rc2.c",
        "e_rc4.c",
        "e_rc4_hmac_md5.c",
        "e_rc5.c",
        "e_seed.c",
        "e_sureware.c",
        "e_sureware_err.c",
        "e_ubsec.c",
        "e_ubsec_err.c",
        "e_xcbc_d.c",
        "ebcdic.c",
        "ec2_.c",
        "ec_.c",
        "ecb3_enc.c",
        "ecb_enc.c",
        "ech_.c",
        "eck_prn.c",
        "ecp_mont.c",
        "ecp_nist.c",
        "ecp_nistp224.c",
        "ecp_nistp256.c",
        "ecp_nistp521.c",
        "ecp_nistputil.c",
        "ecp_oct.c",
        "ecp_smpl.c",
        "ecs_.c",
        "ede_cbcm_enc.c",
        "enc_.c",
        "encode.c",
        "eng_.c",
        "err.c",
        "err_.c",
        "evp_.c",
        "ex_data.c",
        "f_.c",
        "fcrypt.c",
        "fcrypt_b.c",
        "fips_ers.c",
        "gcm128.c",
        "getenv.c",
        "gost2001.c",
        "gost2001_keyx.c",
        "gost89.c",
        "gost94_keyx.c",
        "gost_.c",
        "gosthash.c",
        "hm_.c",
        "hmac.c",
        "i2d_.c",
        "i_.c",
        "krb5_asn.c",
        "kssl.c",
        "lh_stats.c",
        "lhash.c",
        "m_dss.c",
        "m_dss1.c",
        "m_ecdsa.c",
        "m_md2.c",
        "m_md4.c",
        "m_md5.c",
        "m_mdc2.c",
        "m_null.c",
        "m_ripemd.c",
        "m_sha.c",
        "m_sha1.c",
        "m_sigver.c",
        "m_wp.c",
        "md4_.c",
        "md5_.c",
        "md_rand.c",
        "mdc2_one.c",
        "mdc2dgst.c",
        "mem.c",
        "mem_.c",
        "n_pkey.c",
        "names.c",
        "nsseq.c",
        "o_.c",
        "obj_.c",
        "ocsp_.c",
        "ofb128.c",
        "ofb64ede.c",
        "ofb64enc.c",
        "ofb_enc.c",
        "openbsd_hw.c",
        "p12_.c",
        "p5_.c",
        "p8_pkey.c",
        "p_.c",
        "pcbc_enc.c",
        "pcy_.c",
        "pem_.c",
        "pk12err.c",
        "pk7_.c",
        "pkcs7err.c",
        "pmeth_.c",
        "pqueue.c",
        "pvkfmt.c",
        "qud_cksm.c",
        "rand_.c",
        "randfile.c",
        "rc2_.c",
        "rc2cfb64.c",
        "rc2ofb64.c",
        "rc4_.c",
        "read2pwd.c",
        "rmd_.c",
        "rpc_enc.c",
        "rsa_.c",
        "rsaz_exp.c",
        "s23_.c",
        "s2_.c",
        "s3_.c",
        "seed.c",
        "seed_.c",
        "set_key.c",
        "sha1_one.c",
        "sha1dgst.c",
        "sha256.c",
        "sha512.c",
        "sha_.c",
        "srp_.c",
        "ssl_.c",
        "stack.c",
        "str2key.c",
        "t1_.c",
        "t_.c",
        "tasn_.c",
        "tb_asnmth.c",
        "tb_cipher.c",
        "tb_dh.c",
        "tb_digest.c",
        "tb_dsa.c",
        "tb_ecdh.c",
        "tb_ecdsa.c",
        "tb_pkmeth.c",
        "tb_rand.c",
        "tb_rsa.c",
        "tb_store.c",
        "th-lock.c",
        "tls_srp.c",
        "ts_.c",
        "txt_db.c",
        "ui_.c",
        "uid.c",
        "v3_.c",
        "v3_lib.c",
        "v3err.c",
        "wp_.c",
        "wrap128.c",
        "x509_.c",
        "x509cset.c",
        "x509name.c",
        "x509rset.c",
        "x509spki.c",
        "x509type.c",
        "x_.c",
        "xcbc_enc.c",
        "xts128.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/COpenSSL/scripts': File not found.
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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/COpenSSL/scripts': File not found.
Building for debugging...
[0/233] Compiling COpenSSL ccm128.c
In file included from /host/spi-builder-workspace/COpenSSL/b_sock.c:66:
In file included from /host/spi-builder-workspace/COpenSSL/cryptlib.h:65:
/host/spi-builder-workspace/COpenSSL/e_os.h:593:13: fatal error: 'netdb.h' file not found
  593 | #   include <netdb.h>
      |             ^~~~~~~~~
1 error generated.
[1/233] Compiling COpenSSL b_sock.c
[1/233] Compiling COpenSSL xts128.c
[1/233] Compiling COpenSSL x509rset.c
[1/233] Compiling COpenSSL b_dump.c
[1/233] Compiling COpenSSL aes_.c
[1/233] Compiling COpenSSL tb_digest.c
[1/233] Compiling COpenSSL b_print.c
[1/233] Compiling COpenSSL ameth_lib.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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/COpenSSL/scripts': File not found.
[0/1] Planning build
Building for debugging...
[0/232] Compiling COpenSSL xts128.c
[1/232] Compiling COpenSSL xcbc_enc.c
[2/232] Compiling COpenSSL x509type.c
[3/232] Compiling COpenSSL x509name.c
[4/232] Compiling COpenSSL x509spki.c
[5/232] Compiling COpenSSL x509cset.c
[6/232] Compiling COpenSSL wrap128.c
[7/232] Compiling COpenSSL x509rset.c
[8/232] Compiling COpenSSL x_.c
[9/232] Compiling COpenSSL x509_.c
/host/spi-builder-workspace/COpenSSL/uid.c:82:9: error: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   82 |     if (getuid() != geteuid())
      |         ^
/host/spi-builder-workspace/COpenSSL/uid.c:82:9: note: did you mean 'getpid'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/unistd.h:160:7: note: 'getpid' declared here
  160 | pid_t getpid(void);
      |       ^
/host/spi-builder-workspace/COpenSSL/uid.c:82:21: error: call to undeclared function 'geteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   82 |     if (getuid() != geteuid())
      |                     ^
/host/spi-builder-workspace/COpenSSL/uid.c:84:9: error: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   84 |     if (getgid() != getegid())
      |         ^
/host/spi-builder-workspace/COpenSSL/uid.c:84:21: error: call to undeclared function 'getegid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   84 |     if (getgid() != getegid())
      |                     ^
4 errors generated.
[10/232] Compiling COpenSSL uid.c
[10/232] Compiling COpenSSL v3err.c
[10/232] Compiling COpenSSL txt_db.c
[10/232] Compiling COpenSSL v3_lib.c
[10/232] Compiling COpenSSL wp_.c
[10/232] Compiling COpenSSL ui_.c
[10/232] Compiling COpenSSL v3_.c
[10/232] Compiling COpenSSL ts_.c
BUILD FAILURE 6.1 wasm