Build Information
Successful build of Argo, reference main (681dcf
), with Swift 6.0 for Linux on 1 Nov 2024 21:42:02 UTC.
Swift 6 data race errors: 6
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thoughtbot/Argo.git
Reference: main
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/thoughtbot/Argo
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 681dcf9 Create swift.yml
Cloned https://github.com/thoughtbot/Argo.git
Revision (git rev-parse @):
681dcf9ca0fa4ba5ebd1b90701791e9986c92778
SUCCESS checkout https://github.com/thoughtbot/Argo.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/thoughtbot/Argo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 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/thoughtbot/Runes.git
[1/1249] Fetching runes
Fetched https://github.com/thoughtbot/Runes.git from cache (0.22s)
Computing version for https://github.com/thoughtbot/Runes.git
Computed https://github.com/thoughtbot/Runes.git at 5.1.0 (0.88s)
Creating working copy for https://github.com/thoughtbot/Runes.git
Working copy of https://github.com/thoughtbot/Runes.git resolved at 5.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling Runes Result+Monad.swift
[5/17] Compiling Runes Array+Functor.swift
[6/17] Compiling Runes Array+Monad.swift
[7/17] Compiling Runes Array+Alternative.swift
[8/17] Compiling Runes Array+Applicative.swift
[9/17] Compiling Runes Runes.swift
[10/17] Compiling Runes Optional+Alternative.swift
[11/17] Compiling Runes Optional+Applicative.swift
[12/17] Compiling Runes Result+Alternative.swift
[13/17] Compiling Runes Result+Applicative.swift
[14/17] Compiling Runes Optional+Functor.swift
[15/17] Compiling Runes Optional+Monad.swift
[16/17] Emitting module Runes
[17/17] Compiling Runes Result+Functor.swift
[19/34] Emitting module Argo
/host/spi-builder-workspace/Sources/Argo/Types/DecodeError.swift:28:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
26 |
27 | extension DecodeError: Hashable {
28 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
29 | switch self {
30 | case let .typeMismatch(expected: expected, actual: actual):
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:44:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
42 | - returns: The `Decoded` type with any failure converted to `.success(.none)`
43 | */
44 | static func optional<T>(_ x: Decoded<T>) -> Decoded<T?> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | return .success(x.value)
46 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:56:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
54 | - returns: The provided `Optional` value transformed into a `Decoded` value
55 | */
56 | static func fromOptional<T>(_ x: T?) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 | switch x {
58 | case let .some(value): return .success(value)
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:74:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
72 | from the provided `expected` and `actual` values
73 | */
74 | static func typeMismatch<T, U>(expected: String, actual: U) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | return .failure(.typeMismatch(expected: expected, actual: String(describing: actual)))
76 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:86:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
84 | the provided `name` value
85 | */
86 | static func missingKey<T>(_ name: String) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
87 | return .failure(.missingKey(name))
88 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:98:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
96 | provided `message` value
97 | */
98 | static func customError<T>(_ message: String) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
99 | return .failure(.custom(message))
100 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:110:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
108 | provided `errors` value
109 | */
110 | static func multipleErrors<T>(errors: [DecodeError]) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
111 | return .failure(.multiple(errors))
112 | }
[20/36] Compiling Argo Functor.swift
[21/36] Compiling Argo Monad.swift
[22/36] Compiling Argo Alternative.swift
[23/36] Compiling Argo Applicative.swift
[24/36] Compiling Argo Decoded.swift
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:44:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
42 | - returns: The `Decoded` type with any failure converted to `.success(.none)`
43 | */
44 | static func optional<T>(_ x: Decoded<T>) -> Decoded<T?> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | return .success(x.value)
46 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:56:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
54 | - returns: The provided `Optional` value transformed into a `Decoded` value
55 | */
56 | static func fromOptional<T>(_ x: T?) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 | switch x {
58 | case let .some(value): return .success(value)
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:74:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
72 | from the provided `expected` and `actual` values
73 | */
74 | static func typeMismatch<T, U>(expected: String, actual: U) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | return .failure(.typeMismatch(expected: expected, actual: String(describing: actual)))
76 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:86:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
84 | the provided `name` value
85 | */
86 | static func missingKey<T>(_ name: String) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
87 | return .failure(.missingKey(name))
88 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:98:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
96 | provided `message` value
97 | */
98 | static func customError<T>(_ message: String) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
99 | return .failure(.custom(message))
100 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:110:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
108 | provided `errors` value
109 | */
110 | static func multipleErrors<T>(errors: [DecodeError]) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
111 | return .failure(.multiple(errors))
112 | }
[25/36] Compiling Argo FailureCoalescing.swift
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:44:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
42 | - returns: The `Decoded` type with any failure converted to `.success(.none)`
43 | */
44 | static func optional<T>(_ x: Decoded<T>) -> Decoded<T?> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | return .success(x.value)
46 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:56:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
54 | - returns: The provided `Optional` value transformed into a `Decoded` value
55 | */
56 | static func fromOptional<T>(_ x: T?) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 | switch x {
58 | case let .some(value): return .success(value)
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:74:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
72 | from the provided `expected` and `actual` values
73 | */
74 | static func typeMismatch<T, U>(expected: String, actual: U) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | return .failure(.typeMismatch(expected: expected, actual: String(describing: actual)))
76 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:86:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
84 | the provided `name` value
85 | */
86 | static func missingKey<T>(_ name: String) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
87 | return .failure(.missingKey(name))
88 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:98:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
96 | provided `message` value
97 | */
98 | static func customError<T>(_ message: String) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
99 | return .failure(.custom(message))
100 | }
/host/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:110:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | /// The result of a failable decoding operation.
2 | public enum Decoded<T> {
| `- note: 'T' previously declared here
3 | case success(T)
4 | case failure(DecodeError)
:
108 | provided `errors` value
109 | */
110 | static func multipleErrors<T>(errors: [DecodeError]) -> Decoded<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
111 | return .failure(.multiple(errors))
112 | }
[26/36] Compiling Argo Decodable.swift
/host/spi-builder-workspace/Sources/Argo/Types/DecodeError.swift:28:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
26 |
27 | extension DecodeError: Hashable {
28 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
29 | switch self {
30 | case let .typeMismatch(expected: expected, actual: actual):
[27/36] Compiling Argo DecodeError.swift
/host/spi-builder-workspace/Sources/Argo/Types/DecodeError.swift:28:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
26 |
27 | extension DecodeError: Hashable {
28 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
29 | switch self {
30 | case let .typeMismatch(expected: expected, actual: actual):
[28/36] Compiling Argo flatReduce.swift
[29/36] Compiling Argo sequence.swift
[30/36] Compiling Argo Dictionary.swift
[31/36] Compiling Argo NSNumber.swift
[32/36] Compiling Argo RawRepresentable.swift
[33/36] Compiling Argo catDecoded.swift
[34/36] Compiling Argo decode.swift
[35/36] Compiling Argo JSON.swift
[36/36] Compiling Argo StandardTypes.swift
Build complete! (12.45s)
Build complete.
{
"dependencies" : [
{
"identity" : "runes",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/thoughtbot/Runes.git"
}
],
"manifest_display_name" : "Argo",
"name" : "Argo",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Argo",
"targets" : [
"Argo"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Argo",
"module_type" : "SwiftTarget",
"name" : "Argo",
"path" : "Sources",
"product_dependencies" : [
"Runes"
],
"product_memberships" : [
"Argo"
],
"sources" : [
"Argo/Extensions/Dictionary.swift",
"Argo/Extensions/NSNumber.swift",
"Argo/Extensions/RawRepresentable.swift",
"Argo/Functions/catDecoded.swift",
"Argo/Functions/decode.swift",
"Argo/Functions/flatReduce.swift",
"Argo/Functions/sequence.swift",
"Argo/Types/Decodable.swift",
"Argo/Types/DecodeError.swift",
"Argo/Types/Decoded/Alternative.swift",
"Argo/Types/Decoded/Applicative.swift",
"Argo/Types/Decoded/Decoded.swift",
"Argo/Types/Decoded/FailureCoalescing.swift",
"Argo/Types/Decoded/Functor.swift",
"Argo/Types/Decoded/Monad.swift",
"Argo/Types/JSON.swift",
"Argo/Types/StandardTypes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.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
Done.