The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftJWKtoPEM, reference 0.4.0 (b18e2a), with Swift 6.1 for Wasm on 27 May 2025 08:36:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/ibm-cloud-security/swift-jwk-to-pem.git
Reference: 0.4.0
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/ibm-cloud-security/swift-jwk-to-pem
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at b18e2af Remove redundant extension access modifier (#8)
Cloned https://github.com/ibm-cloud-security/swift-jwk-to-pem.git
Revision (git rev-parse @):
b18e2af1392bb84f1cde83b1e00847051c9fdda6
SUCCESS checkout https://github.com/ibm-cloud-security/swift-jwk-to-pem.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ibm-cloud-security/swift-jwk-to-pem.git
https://github.com/ibm-cloud-security/swift-jwk-to-pem.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "openssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/OpenSSL.git"
    }
  ],
  "manifest_display_name" : "SwiftJWKtoPEM",
  "name" : "SwiftJWKtoPEM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftJWKtoPEM",
      "targets" : [
        "SwiftJWKtoPEM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftJWKtoPEMTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftJWKtoPEMTests",
      "path" : "Tests/SwiftJWKtoPEMTests",
      "sources" : [
        "SwiftJWKtoPEMTests.swift"
      ],
      "target_dependencies" : [
        "SwiftJWKtoPEM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftJWKtoPEM",
      "module_type" : "SwiftTarget",
      "name" : "SwiftJWKtoPEM",
      "path" : "Sources/SwiftJWKtoPEM",
      "product_dependencies" : [
        "OpenSSL"
      ],
      "product_memberships" : [
        "SwiftJWKtoPEM"
      ],
      "sources" : [
        "Cert.swift",
        "JWK.swift",
        "JWKError.swift",
        "RSAKey+JWK.swift",
        "SSLPointerTricks.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.21s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (1.04s)
Creating working copy for https://github.com/IBM-Swift/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling SwiftJWKtoPEM Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[4/9] Compiling SwiftJWKtoPEM SSLPointerTricks.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[5/9] Compiling SwiftJWKtoPEM RSAKey+JWK.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[6/9] Compiling SwiftJWKtoPEM JWK.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[7/9] Compiling SwiftJWKtoPEM JWKError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module SwiftJWKtoPEM
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[9/9] Compiling SwiftJWKtoPEM Cert.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling SwiftJWKtoPEM SSLPointerTricks.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[3/8] Compiling SwiftJWKtoPEM Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[4/8] Compiling SwiftJWKtoPEM RSAKey+JWK.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module SwiftJWKtoPEM
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[6/8] Compiling SwiftJWKtoPEM JWKError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[7/8] Compiling SwiftJWKtoPEM Cert.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
[8/8] Compiling SwiftJWKtoPEM JWK.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
 18 | #define OpenSSLHelper_h
 19 |
 20 | #include <openssl/conf.h>
    |          `- error: 'openssl/conf.h' file not found
 21 | #include <openssl/evp.h>
 22 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
 13 |
 14 | import Foundation
 15 | import OpenSSL
    |        `- error: could not build C module 'OpenSSL'
 16 |
 17 | public class RSAKey {
BUILD FAILURE 6.1 wasm