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

Successful build of SwiftRLP, reference master (f10295), with Swift 6.1 for Android on 27 May 2025 08:29:12 UTC.

Swift 6 data race errors: 2

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 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shamatar/SwiftRLP.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/shamatar/SwiftRLP
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f102950 Update swift version and SPM
Cloned https://github.com/shamatar/SwiftRLP.git
Revision (git rev-parse @):
f102950aec7499e8d87c96710ddbf91be6949899
SUCCESS checkout https://github.com/shamatar/SwiftRLP.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shamatar/SwiftRLP.git
https://github.com/shamatar/SwiftRLP.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    }
  ],
  "manifest_display_name" : "SwiftRLP",
  "name" : "SwiftRLP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftRLP",
      "targets" : [
        "SwiftRLP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "SwiftRLP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRLP",
      "path" : ".",
      "product_dependencies" : [
        "BigInt"
      ],
      "product_memberships" : [
        "SwiftRLP"
      ],
      "sources" : [
        "Classes/RLP.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt.modulemap
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash.modulemap
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/attaswift/BigInt.git
[1/4776] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.41s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (2.41s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.20s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.70s)
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.0
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt.modulemap
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash.modulemap
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling SipHash SipHashable.swift
[6/12] Compiling SipHash RandomUInt64.swift
[7/12] Emitting module SipHash
[8/12] Compiling SipHash Primitive Types.swift
[9/12] Compiling SipHash SipHasher.swift
[10/13] Wrapping AST for SipHash for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking libSipHash.so
[14/34] Emitting module BigInt
[15/34] Compiling BigInt Addition.swift
[16/34] Compiling BigInt BigInt.swift
[17/34] Compiling BigInt BigUInt.swift
[18/36] Compiling BigInt Subtraction.swift
[19/36] Compiling BigInt Words and Bits.swift
[20/36] Compiling BigInt Floating Point Conversion.swift
[21/36] Compiling BigInt GCD.swift
[22/36] Compiling BigInt Hashable.swift
[23/36] Compiling BigInt Integer Conversion.swift
[24/36] Compiling BigInt Multiplication.swift
[25/36] Compiling BigInt Prime Test.swift
[26/36] Compiling BigInt Random.swift
[27/36] Compiling BigInt Shifts.swift
[28/36] Compiling BigInt Square Root.swift
[29/36] Compiling BigInt Strideable.swift
[30/36] Compiling BigInt String Conversion.swift
[31/36] Compiling BigInt Bitwise Ops.swift
[32/36] Compiling BigInt Codable.swift
[33/36] Compiling BigInt Comparable.swift
[34/36] Compiling BigInt Data Conversion.swift
[35/36] Compiling BigInt Division.swift
[36/36] Compiling BigInt Exponentiation.swift
[38/39] Compiling SwiftRLP RLP.swift
/host/spi-builder-workspace/Classes/RLP.swift:21:16: warning: static property 'length56' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     }
 20 |
 21 |     static var length56 = BigUInt(UInt(56))
    |                |- warning: static property 'length56' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'length56' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'length56' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static var lengthMax = (BigUInt(UInt(1)) << 256)
 23 |
/host/spi-builder-workspace/Classes/RLP.swift:22:16: warning: static property 'lengthMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |     static var length56 = BigUInt(UInt(56))
 22 |     static var lengthMax = (BigUInt(UInt(1)) << 256)
    |                |- warning: static property 'lengthMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lengthMax' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lengthMax' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     internal static func encode(_ element: AnyObject) -> Data? {
/host/spi-builder-workspace/Classes/RLP.swift:197:24: warning: enum case 'list' has 3 associated values; matching them as a tuple is deprecated
184 |             case noItem
185 |             case data(Data)
186 |             indirect case list([RLPItem], Int, Data)
    |                           `- note: 'list' declared here
187 |         }
188 |
    :
195 |             case .data(_):
196 |                 return true
197 |             case .list(_):
    |                        `- warning: enum case 'list' has 3 associated values; matching them as a tuple is deprecated
198 |                 return false
199 |             }
/host/spi-builder-workspace/Classes/RLP.swift:208:24: warning: enum case 'list' has 3 associated values; matching them as a tuple is deprecated
184 |             case noItem
185 |             case data(Data)
186 |             indirect case list([RLPItem], Int, Data)
    |                           `- note: 'list' declared here
187 |         }
188 |
    :
206 |             case .data(_):
207 |                 return false
208 |             case .list(_):
    |                        `- warning: enum case 'list' has 3 associated values; matching them as a tuple is deprecated
209 |                 return true
210 |             }
[39/39] Emitting module SwiftRLP
/host/spi-builder-workspace/Classes/RLP.swift:21:16: warning: static property 'length56' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     }
 20 |
 21 |     static var length56 = BigUInt(UInt(56))
    |                |- warning: static property 'length56' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'length56' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'length56' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static var lengthMax = (BigUInt(UInt(1)) << 256)
 23 |
/host/spi-builder-workspace/Classes/RLP.swift:22:16: warning: static property 'lengthMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |     static var length56 = BigUInt(UInt(56))
 22 |     static var lengthMax = (BigUInt(UInt(1)) << 256)
    |                |- warning: static property 'lengthMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lengthMax' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lengthMax' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     internal static func encode(_ element: AnyObject) -> Data? {
Build complete! (20.80s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    }
  ],
  "manifest_display_name" : "SwiftRLP",
  "name" : "SwiftRLP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftRLP",
      "targets" : [
        "SwiftRLP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "SwiftRLP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRLP",
      "path" : ".",
      "product_dependencies" : [
        "BigInt"
      ],
      "product_memberships" : [
        "SwiftRLP"
      ],
      "sources" : [
        "Classes/RLP.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
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
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt.modulemap
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/BigInt/BigInt-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash-umbrella.h
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Pods/Headers/Public/SipHash/SipHash.modulemap
Done.