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.0 for Linux on 26 Nov 2024 12:57:15 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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.58.0
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/shamatar/SwiftRLP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/attaswift/BigInt.git
[1/4771] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.38s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (1.78s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.19s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.42s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.0
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.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
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling SipHash SipHashable.swift
[6/12] Compiling SipHash SipHasher.swift
[7/12] Emitting module SipHash
[8/12] Compiling SipHash RandomUInt64.swift
[9/12] Compiling SipHash Primitive Types.swift
[10/13] Wrapping AST for SipHash for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking libSipHash.so
[14/34] Compiling BigInt Strideable.swift
[15/34] Compiling BigInt String Conversion.swift
[16/36] Compiling BigInt Integer Conversion.swift
[17/36] Compiling BigInt Multiplication.swift
[18/36] Compiling BigInt Prime Test.swift
[19/36] Emitting module BigInt
[20/36] Compiling BigInt Addition.swift
[21/36] Compiling BigInt BigInt.swift
[22/36] Compiling BigInt BigUInt.swift
[23/36] Compiling BigInt Subtraction.swift
[24/36] Compiling BigInt Words and Bits.swift
[25/36] Compiling BigInt Bitwise Ops.swift
[26/36] Compiling BigInt Codable.swift
[27/36] Compiling BigInt Comparable.swift
[28/36] Compiling BigInt Floating Point Conversion.swift
[29/36] Compiling BigInt GCD.swift
[30/36] Compiling BigInt Hashable.swift
[31/36] Compiling BigInt Data Conversion.swift
[32/36] Compiling BigInt Division.swift
[33/36] Compiling BigInt Exponentiation.swift
[34/36] Compiling BigInt Random.swift
[35/36] Compiling BigInt Shifts.swift
[36/36] Compiling BigInt Square Root.swift
[38/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: annotate 'length56' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'lengthMax' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     internal static func encode(_ element: AnyObject) -> Data? {
[39/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: annotate 'length56' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'lengthMax' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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 |             }
Build complete! (16.67s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.