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 XMPP, reference v0.0.3 (4022bf), with Swift 6.1 for Wasm on 27 May 2025 10:34:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/FluuxIO/XMPP.git
Reference: v0.0.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/FluuxIO/XMPP
 * tag               v0.0.3     -> FETCH_HEAD
HEAD is now at 4022bf6 Fix typo
Cloned https://github.com/FluuxIO/XMPP.git
Revision (git rev-parse @):
4022bf6b94d5ff9eaa73aa832a7f5b21504f45b3
SUCCESS checkout https://github.com/FluuxIO/XMPP.git at v0.0.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FluuxIO/XMPP.git
https://github.com/FluuxIO/XMPP.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.11.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    }
  ],
  "manifest_display_name" : "XMPP",
  "name" : "XMPP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XMPP",
      "targets" : [
        "XMPP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PlistCoder",
      "targets" : [
        "XFoundationCompat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libxml2",
      "module_type" : "SystemLibraryTarget",
      "name" : "libxml2",
      "path" : "Sources/libxml2",
      "product_memberships" : [
        "XMPP"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "XMPPTests",
      "module_type" : "SwiftTarget",
      "name" : "XMPPTests",
      "path" : "Tests/XMPPTests",
      "sources" : [
        "IQEncoderTests.swift",
        "MobileProvisionTests.swift",
        "SerializerTests.swift",
        "TestsHelpers.swift",
        "XCTestManifests.swift",
        "XMPPTests.swift"
      ],
      "target_dependencies" : [
        "XMPP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XMPP",
      "module_type" : "SwiftTarget",
      "name" : "XMPP",
      "path" : "Sources/XMPP",
      "product_dependencies" : [
        "NIO",
        "NIOOpenSSL"
      ],
      "product_memberships" : [
        "XMPP"
      ],
      "sources" : [
        "Auth.swift",
        "Config/Config.swift",
        "Config/MobileProvision.swift",
        "Encoding/Encoder.swift",
        "Encoding/IQEncoder.swift",
        "Encoding/Message.swift",
        "Encoding/PresenceEncoder.swift",
        "Features.swift",
        "JID.swift",
        "Networking/BSDSocket/ConnectionNIO.swift",
        "Networking/Connection.swift",
        "Networking/ConnectionError.swift",
        "Networking/StreamObserver.swift",
        "Networking/TAPS/ConnectionTAPS.swift",
        "Parsing/IQParser.swift",
        "Parsing/Parser.swift",
        "Parsing/SAX.swift",
        "Parsing/Stanza.swift",
        "Parsing/XMLStream.swift",
        "XMPP+CustomStringConvertible.swift",
        "XMPP.swift"
      ],
      "target_dependencies" : [
        "libxml2",
        "XFoundationCompat"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XFoundationCompat",
      "module_type" : "SwiftTarget",
      "name" : "XFoundationCompat",
      "path" : "Sources/XFoundationCompat",
      "product_memberships" : [
        "XMPP",
        "PlistCoder"
      ],
      "sources" : [
        "PropertyListCoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/14843] Fetching swift-nio-ssl
[1634/90885] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.06s)
Fetched https://github.com/apple/swift-nio.git from cache (6.15s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (10.56s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.27s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.90s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.67s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (1.15s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.99s)
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
Building for debugging...
[0/15] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[7/15] Compiling CNIOOpenSSL shims.c
[7/15] Compiling CNIOLinux shim.c
[7/15] Compiling c-atomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
[7/15] Compiling CNIOOpenSSL helpers.c
[7/15] Compiling CNIODarwin shim.c
[7/15] Compiling CNIOLinux ifaddrs-android.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
   47 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
1 error generated.
[7/15] Compiling CNIOSHA1 c_nio_sha1.c
[7/15] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[0/8] Compiling CNIOOpenSSL shims.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
   47 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
[0/8] Compiling CNIOSHA1 c_nio_sha1.c
[0/8] Compiling c-atomics.c
[0/8] Compiling CNIOLinux ifaddrs-android.c
[0/8] Compiling CNIODarwin shim.c
[0/8] Compiling CNIOLinux shim.c
[0/8] Compiling CNIOOpenSSL helpers.c
[0/8] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm