The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SecureSockets, reference master (539e4b), with Swift 6.1 for Wasm on 27 May 2025 16:53:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Balancingrock/SecureSockets.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/Balancingrock/SecureSockets
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 539e4b0 Update Installing OpenSSL.md
Cloned https://github.com/Balancingrock/SecureSockets.git
Revision (git rev-parse @):
539e4b0d49ac885df274ec861797752f20c04b96
SUCCESS checkout https://github.com/Balancingrock/SecureSockets.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Balancingrock/SecureSockets.git
https://github.com/Balancingrock/SecureSockets.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftersockets",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Balancingrock/SwifterSockets"
    }
  ],
  "manifest_display_name" : "SecureSockets",
  "name" : "SecureSockets",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SecureSockets",
      "targets" : [
        "SecureSockets"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Copenssl",
      "targets" : [
        "Copenssl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CopensslGlue",
      "targets" : [
        "CopensslGlue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SecureSockets",
      "module_type" : "SwiftTarget",
      "name" : "SecureSockets",
      "path" : "Sources/SecureSockets",
      "product_dependencies" : [
        "SwifterSockets"
      ],
      "product_memberships" : [
        "SecureSockets"
      ],
      "sources" : [
        "CertificateAndPrivateKeyFiles.swift",
        "ConnectToSslServer.swift",
        "Ctx.swift",
        "FileEncoding.swift",
        "Pkey.swift",
        "SecureSocketsResult.swift",
        "Ssl.swift",
        "SslAccept.swift",
        "SslError.swift",
        "SslInterface.swift",
        "SslReceiverLoop.swift",
        "SslServer.swift",
        "SslTransfer.swift",
        "X509.swift"
      ],
      "target_dependencies" : [
        "Copenssl",
        "CopensslGlue"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CopensslGlue",
      "module_type" : "ClangTarget",
      "name" : "CopensslGlue",
      "path" : "Sources/CopensslGlue",
      "product_memberships" : [
        "SecureSockets",
        "CopensslGlue"
      ],
      "sources" : [
        "glue.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Copenssl",
      "module_type" : "SystemLibraryTarget",
      "name" : "Copenssl",
      "path" : "Sources/Copenssl",
      "product_memberships" : [
        "SecureSockets",
        "Copenssl"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Fetching https://github.com/Balancingrock/SwifterSockets
[1/1271] Fetching swiftersockets
Fetched https://github.com/Balancingrock/SwifterSockets from cache (0.31s)
Computing version for https://github.com/Balancingrock/SwifterSockets
Computed https://github.com/Balancingrock/SwifterSockets at 1.1.3 (0.77s)
Creating working copy for https://github.com/Balancingrock/SwifterSockets
Working copy of https://github.com/Balancingrock/SwifterSockets resolved at 1.1.3
Building for debugging...
[0/4] Write sources
In file included from /host/spi-builder-workspace/Sources/CopensslGlue/glue.c:1:
/host/spi-builder-workspace/Sources/CopensslGlue/include/glue.h:4:10: fatal error: 'openssl/ssl.h' file not found
    4 | #include "openssl/ssl.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
[2/4] Compiling CopensslGlue glue.c
[2/4] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CopensslGlue/glue.c:1:
/host/spi-builder-workspace/Sources/CopensslGlue/include/glue.h:4:10: fatal error: 'openssl/ssl.h' file not found
    4 | #include "openssl/ssl.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling CopensslGlue glue.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm