The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WireGuard, reference 0.0.5 (974e6b), with Swift 6.1 for Android on 27 May 2025 08:33:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/operatorfoundation/wireguard.git
Reference: 0.0.5
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/operatorfoundation/wireguard
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 974e6b1 Fixed encrypted_timestamp bug
Cloned https://github.com/operatorfoundation/wireguard.git
Revision (git rev-parse @):
974e6b1a041978f1b997d10cd876992e9f632ce2
SUCCESS checkout https://github.com/operatorfoundation/wireguard.git at 0.0.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/operatorfoundation/wireguard.git
https://github.com/operatorfoundation/wireguard.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-sodium",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.11",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/swift-sodium.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "hkdfkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/HKDFKit.git"
    },
    {
      "identity" : "blake2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Blake2.git"
    },
    {
      "identity" : "transport",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.22",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Transport.git"
    },
    {
      "identity" : "datable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Datable"
    },
    {
      "identity" : "ini",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Bouke/INI"
    }
  ],
  "manifest_display_name" : "WireGuard",
  "name" : "WireGuard",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WireGuard",
      "targets" : [
        "WireGuard"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WireGuardTests",
      "module_type" : "SwiftTarget",
      "name" : "WireGuardTests",
      "path" : "Tests/WireGuardTests",
      "product_dependencies" : [
        "Transport",
        "INI",
        "Datable"
      ],
      "sources" : [
        "WireGuardTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WireGuard"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WireGuard",
      "module_type" : "SwiftTarget",
      "name" : "WireGuard",
      "path" : "Sources/WireGuard",
      "product_dependencies" : [
        "Sodium",
        "CryptoSwift",
        "HKDFKit",
        "Blake2",
        "Transport",
        "Datable"
      ],
      "product_memberships" : [
        "WireGuard"
      ],
      "sources" : [
        "Configuration.swift",
        "Crypto.swift",
        "CryptoShim.swift",
        "NonceTracker.swift",
        "Protocol.swift",
        "State.swift",
        "Timers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/OperatorFoundation/Datable
Fetching https://github.com/OperatorFoundation/HKDFKit.git
Fetching https://github.com/OperatorFoundation/Blake2.git
Fetching https://github.com/OperatorFoundation/Transport.git
Fetching https://github.com/Bouke/INI
[1/151] Fetching ini
[48/203] Fetching ini, blake2
[204/655] Fetching ini, blake2, transport
[656/1054] Fetching ini, blake2, transport, datable
[1044/13988] Fetching ini, blake2, transport, datable, cryptoswift
Fetched https://github.com/Bouke/INI from cache (0.39s)
Fetched https://github.com/OperatorFoundation/Datable from cache (0.40s)
Fetching https://github.com/OperatorFoundation/swift-sodium.git
[2445/13438] Fetching blake2, transport, cryptoswift
[3998/17248] Fetching blake2, transport, cryptoswift, swift-sodium
warning: 'hkdfkit': skipping cache due to an error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Fetched https://github.com/OperatorFoundation/Transport.git from cache (1.65s)
Fetched https://github.com/OperatorFoundation/Blake2.git from cache (1.67s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.70s)
[1524/3810] Fetching swift-sodium
Fetching https://github.com/OperatorFoundation/HKDFKit.git
warning: 'hkdfkit': skipping cache due to an error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Fetched https://github.com/OperatorFoundation/swift-sodium.git from cache (3.43s)
error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/host/spi-builder-workspace/.build/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/OperatorFoundation/HKDFKit.git
Updating https://github.com/OperatorFoundation/Datable
Updating https://github.com/OperatorFoundation/Blake2.git
Updating https://github.com/Bouke/INI
Updating https://github.com/krzyzanowskim/CryptoSwift.git
Updated https://github.com/OperatorFoundation/Datable (0.19s)
Updating https://github.com/OperatorFoundation/Transport.git
Updated https://github.com/Bouke/INI (0.19s)
Updated https://github.com/krzyzanowskim/CryptoSwift.git (0.19s)
Updated https://github.com/OperatorFoundation/Blake2.git (0.21s)
warning: 'hkdfkit': skipping cache due to an error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Updated https://github.com/OperatorFoundation/Transport.git (0.20s)
Updating https://github.com/OperatorFoundation/swift-sodium.git
Updated https://github.com/OperatorFoundation/swift-sodium.git (0.16s)
Fetching https://github.com/OperatorFoundation/HKDFKit.git
warning: 'hkdfkit': skipping cache due to an error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/host/spi-builder-workspace/.build/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
BUILD FAILURE 6.1 android