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 XMTPiOS, reference 4.6.9 (13fae4), with Swift 6.1 for Wasm on 13 Dec 2025 07:15:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xmtp/xmtp-ios.git
Reference: 4.6.9
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/xmtp/xmtp-ios
 * tag               4.6.9      -> FETCH_HEAD
HEAD is now at 13fae41 expose leave request codec (#644)
Cloned https://github.com/xmtp/xmtp-ios.git
Revision (git rev-parse @):
13fae410e1fa68b5c2f8e5680e0ecfa8a23eaa10
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/xmtp/xmtp-ios.git at 4.6.9
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/xmtp/xmtp-ios.git
https://github.com/xmtp/xmtp-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "connect-swift",
      "requirement" : {
        "exact" : [
          "1.2.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bufbuild/connect-swift"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "swiftlintplugins",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.62.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SimplyDanny/SwiftLintPlugins"
    }
  ],
  "manifest_display_name" : "XMTPiOS",
  "name" : "XMTPiOS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "XMTPiOS",
      "targets" : [
        "XMTPiOS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XMTPTestHelpers",
      "targets" : [
        "XMTPTestHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XMTPiOS",
      "module_type" : "SwiftTarget",
      "name" : "XMTPiOS",
      "path" : "Sources/XMTPiOS",
      "product_dependencies" : [
        "Connect",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "XMTPiOS",
        "XMTPTestHelpers"
      ],
      "sources" : [
        "Client.swift",
        "CodecRegistry.swift",
        "Codecs/AttachmentCodec.swift",
        "Codecs/ContentCodec.swift",
        "Codecs/ContentTypeID.swift",
        "Codecs/EncryptedEncodedContent.swift",
        "Codecs/GroupUpdatedCodec.swift",
        "Codecs/LeaveRequestCodec.swift",
        "Codecs/MultiRemoteAttachmentCodec.swift",
        "Codecs/ReactionCodec.swift",
        "Codecs/ReactionV2Codec.swift",
        "Codecs/ReadReceiptCodec.swift",
        "Codecs/RemoteAttachmentCodec.swift",
        "Codecs/ReplyCodec.swift",
        "Codecs/TextCodec.swift",
        "Codecs/TransactionReferenceCodec.swift",
        "Conversation.swift",
        "Conversations.swift",
        "Crypto.swift",
        "Dm.swift",
        "EncodedContentCompression.swift",
        "Extensions/Data.swift",
        "Extensions/Date.swift",
        "Extensions/Ffi.swift",
        "Extensions/String.swift",
        "Extensions/URL.swift",
        "Group.swift",
        "KeyUtil.swift",
        "Libxmtp/ArchiveOptions.swift",
        "Libxmtp/ConversationDebugInfo.swift",
        "Libxmtp/DecodedMessage.swift",
        "Libxmtp/DecodedMessageV2.swift",
        "Libxmtp/DisappearingMessageSettings.swift",
        "Libxmtp/GroupMembershipResult.swift",
        "Libxmtp/InboxState.swift",
        "Libxmtp/Installation.swift",
        "Libxmtp/Member.swift",
        "Libxmtp/PermissionPolicySet.swift",
        "Libxmtp/PublicIdentity.swift",
        "Libxmtp/SignatureRequest.swift",
        "Libxmtp/XMTPDebugInformation.swift",
        "Libxmtp/xmtpv3.swift",
        "MessageVisibilityOptions.swift",
        "Messages/PrivateKey.swift",
        "PrivatePreferences.swift",
        "Proto/device_sync_consent_backup.pb.swift",
        "Proto/device_sync_content.pb.swift",
        "Proto/device_sync_device_sync.pb.swift",
        "Proto/device_sync_event_backup.pb.swift",
        "Proto/device_sync_group_backup.pb.swift",
        "Proto/device_sync_message_backup.pb.swift",
        "Proto/identity_api_v1_identity.pb.swift",
        "Proto/identity_associations_association.pb.swift",
        "Proto/identity_associations_signature.pb.swift",
        "Proto/identity_credential.pb.swift",
        "Proto/keystore_api_v1_keystore.pb.swift",
        "Proto/message_api_v1_authn.pb.swift",
        "Proto/message_api_v1_message_api.pb.swift",
        "Proto/message_contents_ciphertext.pb.swift",
        "Proto/message_contents_composite.pb.swift",
        "Proto/message_contents_contact.pb.swift",
        "Proto/message_contents_content.pb.swift",
        "Proto/message_contents_conversation_reference.pb.swift",
        "Proto/message_contents_ecies.pb.swift",
        "Proto/message_contents_frames.pb.swift",
        "Proto/message_contents_invitation.pb.swift",
        "Proto/message_contents_message.pb.swift",
        "Proto/message_contents_private_key.pb.swift",
        "Proto/message_contents_private_preferences.pb.swift",
        "Proto/message_contents_public_key.pb.swift",
        "Proto/message_contents_signature.pb.swift",
        "Proto/message_contents_signed_payload.pb.swift",
        "Proto/mls_api_v1_mls.pb.swift",
        "Proto/mls_database_intents.pb.swift",
        "Proto/mls_database_task.pb.swift",
        "Proto/mls_message_contents_commit_log.pb.swift",
        "Proto/mls_message_contents_content.pb.swift",
        "Proto/mls_message_contents_content_types_delete_message.pb.swift",
        "Proto/mls_message_contents_content_types_leave_request.pb.swift",
        "Proto/mls_message_contents_content_types_multi_remote_attachment.pb.swift",
        "Proto/mls_message_contents_content_types_reaction.pb.swift",
        "Proto/mls_message_contents_content_types_wallet_send_calls.pb.swift",
        "Proto/mls_message_contents_group_membership.pb.swift",
        "Proto/mls_message_contents_group_metadata.pb.swift",
        "Proto/mls_message_contents_group_mutable_metadata.pb.swift",
        "Proto/mls_message_contents_group_permissions.pb.swift",
        "Proto/mls_message_contents_oneshot.pb.swift",
        "Proto/mls_message_contents_transcript_messages.pb.swift",
        "Proto/mls_message_contents_welcome_pointer.pb.swift",
        "Proto/mls_message_contents_wrapper_encryption.pb.swift",
        "Proto/mls_validation_v1_service.pb.swift",
        "Proto/xmtpv4_envelopes_envelopes.pb.swift",
        "Proto/xmtpv4_envelopes_payer_report.pb.swift",
        "Proto/xmtpv4_message_api_message_api.pb.swift",
        "Proto/xmtpv4_message_api_misbehavior_api.pb.swift",
        "Proto/xmtpv4_metadata_api_metadata_api.pb.swift",
        "Proto/xmtpv4_payer_api_payer_api.pb.swift",
        "Push/XMTPPush.swift",
        "Push/service.connect.swift",
        "Push/service.pb.swift",
        "SendOptions.swift",
        "SignedData.swift",
        "SigningKey.swift",
        "Topic.swift",
        "Util.swift",
        "XMTPEnvironment.swift",
        "XMTPLogger.swift"
      ],
      "target_dependencies" : [
        "LibXMTPSwiftFFI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XMTPTests",
      "module_type" : "SwiftTarget",
      "name" : "XMTPTests",
      "path" : "Tests/XMTPTests",
      "sources" : [
        "ArchiveTests.swift",
        "AttachmentTests.swift",
        "ClientTests.swift",
        "CodecTests.swift",
        "ConversationTests.swift",
        "CryptoTests.swift",
        "DmTests.swift",
        "EnrichedMessagesTests.swift",
        "GroupPermissionsTests.swift",
        "GroupTests.swift",
        "HistorySyncTests.swift",
        "LeaveRequestTests.swift",
        "MultiRemoteAttachmentTest.swift",
        "PerformanceTests.swift",
        "ReactionTests.swift",
        "ReadReceiptTests.swift",
        "RemoteAttachmentTest.swift",
        "ReplyTests.swift",
        "TransactionReferencesTests.swift"
      ],
      "target_dependencies" : [
        "XMTPiOS",
        "XMTPTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XMTPTestHelpers",
      "module_type" : "SwiftTarget",
      "name" : "XMTPTestHelpers",
      "path" : "Sources/XMTPTestHelpers",
      "product_memberships" : [
        "XMTPTestHelpers"
      ],
      "sources" : [
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "XMTPiOS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LibXMTPSwiftFFI",
      "module_type" : "BinaryTarget",
      "name" : "LibXMTPSwiftFFI",
      "path" : "remote/archive/LibXMTPSwiftFFI.zip",
      "product_memberships" : [
        "XMTPiOS",
        "XMTPTestHelpers"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
[1/253] Fetching swiftlintplugins
Fetching https://github.com/bufbuild/connect-swift
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.29s)
[1/2158] Fetching swift-docc-plugin
[217/10983] Fetching swift-docc-plugin, connect-swift
[1387/24088] Fetching swift-docc-plugin, connect-swift, cryptoswift
Fetched https://github.com/bufbuild/connect-swift from cache (1.89s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.90s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.96s)
Computing version for https://github.com/bufbuild/connect-swift
Computed https://github.com/bufbuild/connect-swift at 1.2.0 (3.26s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/11718] Fetching swift-nio-http2
[11719/53238] Fetching swift-nio-http2, swift-protobuf
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (10.27s)
Fetched https://github.com/apple/swift-protobuf.git from cache (10.41s)
[1/15296] Fetching swift-nio-ssl
[4743/96012] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.53s)
Fetched https://github.com/apple/swift-nio.git from cache (7.41s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.62.2 (18.27s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (1.09s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.5 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3596] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.98s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.64s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.99s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.66s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.86s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (1.37s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/5221] Fetching swift-system
[3447/23608] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.48s)
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.20s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.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 2.36.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.5
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.62.2
Creating working copy for https://github.com/bufbuild/connect-swift
Working copy of https://github.com/bufbuild/connect-swift resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.6.9.13f093e/LibXMTPSwiftFFI.zip
[1397/142765379] Downloading https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.6.9.13f093e/LibXMTPSwiftFFI.zip
[113481939/142765471] Downloading https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.6.9.13f093e/LibXMTPSwiftFFI.zip, https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip
error: failed downloading 'https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip' which is required by binary target 'SwiftLintBinary': /root/.cache/org.swift.swiftpm/artifacts/https___github_com_realm_SwiftLint_releases_download_0_62_2_SwiftLintBinary_artifactbundle_zip already exists in file system
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Downloading binary artifact https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.6.9.13f093e/LibXMTPSwiftFFI.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip
[92/92] Downloading https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip
[184/184] Downloading https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip, https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.6.9.13f093e/LibXMTPSwiftFFI.zip
error: failed downloading 'https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.6.9.13f093e/LibXMTPSwiftFFI.zip' which is required by binary target 'LibXMTPSwiftFFI': /root/.cache/org.swift.swiftpm/artifacts/https___github_com_xmtp_libxmtp_releases_download_swift_bindings_1_6_9_13f093e_LibXMTPSwiftFFI_zip already exists in file system
error: failed downloading 'https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip' which is required by binary target 'SwiftLintBinary': /root/.cache/org.swift.swiftpm/artifacts/https___github_com_realm_SwiftLint_releases_download_0_62_2_SwiftLintBinary_artifactbundle_zip already exists in file system
BUILD FAILURE 6.1 wasm