Build Information
Successful build of swift-sh, reference master (e19c34
), with Swift 6.0 for Linux on 1 Dec 2024 18:45:21 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/swift-sh.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/mxcl/swift-sh
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e19c345 swifts 5.1...5.9 & 6.0
Cloned https://github.com/mxcl/swift-sh.git
Revision (git rev-parse @):
e19c3451b142e5257e411e6e81cfa9762eb5a94a
SUCCESS checkout https://github.com/mxcl/swift-sh.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mxcl/swift-sh.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/mxcl/Version
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/mxcl/LegibleError
Fetching https://github.com/mxcl/StreamReader
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/178] Fetching legibleerror
[67/1237] Fetching legibleerror, path.swift
[381/1525] Fetching legibleerror, path.swift, version
[422/1575] Fetching legibleerror, path.swift, version, streamreader
[1396/14282] Fetching legibleerror, path.swift, version, streamreader, cryptoswift
Fetched https://github.com/mxcl/Path.swift from cache (0.45s)
[2550/13223] Fetching legibleerror, version, streamreader, cryptoswift
Fetched https://github.com/mxcl/Version from cache (1.60s)
Fetched https://github.com/mxcl/LegibleError from cache (1.60s)
Fetched https://github.com/mxcl/StreamReader from cache (1.60s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.63s)
Computing version for https://github.com/mxcl/StreamReader
Computed https://github.com/mxcl/StreamReader at 1.0.1 (3.36s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.92s)
Computing version for https://github.com/mxcl/LegibleError
Computed https://github.com/mxcl/LegibleError at 1.0.6 (0.91s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (0.93s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.3 (0.94s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.3
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.0
Creating working copy for https://github.com/mxcl/LegibleError
Working copy of https://github.com/mxcl/LegibleError resolved at 1.0.6
Creating working copy for https://github.com/mxcl/StreamReader
Working copy of https://github.com/mxcl/StreamReader resolved at 1.0.1
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.4.1
Building for debugging...
[0/22] Write sources
[0/22] Copying PrivacyInfo.xcprivacy
[0/22] Write sources
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/141] Compiling Version Version+Range.swift
[13/141] Compiling Version Version.swift
[14/141] Emitting module Version
[15/141] Compiling CryptoSwift IntegerConversion.swift
[16/141] Compiling CryptoSwift Multiplication.swift
[17/141] Compiling CryptoSwift PrimeTest.swift
[18/141] Compiling CryptoSwift Random.swift
[19/141] Compiling CryptoSwift Shifts.swift
[20/141] Compiling CryptoSwift SquareRoot.swift
[21/141] Compiling CryptoSwift Strideable.swift
[22/141] Compiling CryptoSwift StringConversion.swift
[23/141] Compiling CryptoSwift Subtraction.swift
[24/141] Compiling CryptoSwift WordsAndBits.swift
[25/141] Compiling CryptoSwift ChaCha20.swift
[26/141] Compiling CryptoSwift Checksum.swift
[27/141] Compiling CryptoSwift Cipher.swift
[28/141] Compiling CryptoSwift Collection+Extension.swift
[29/155] Compiling Path PathToBool.swift
[30/156] Compiling Path Pathish.swift
[31/156] Emitting module LegibleError
[32/156] Compiling LegibleError LegibleError.swift
[33/157] Compiling Version Version+Codable.swift
[34/157] Compiling Version Version+Comparable.swift
[35/157] Compiling Version Version+Foundation.swift
[36/158] Compiling CryptoSwift CompactMap.swift
[37/158] Compiling CryptoSwift Cryptor.swift
[38/158] Compiling CryptoSwift Cryptors.swift
[39/158] Compiling CryptoSwift Digest.swift
[40/158] Compiling CryptoSwift DigestType.swift
[41/158] Compiling CryptoSwift AES+Foundation.swift
[42/158] Compiling CryptoSwift Array+Foundation.swift
[43/158] Compiling CryptoSwift Blowfish+Foundation.swift
[44/158] Compiling CryptoSwift ChaCha20+Foundation.swift
[45/158] Compiling CryptoSwift Data+Extension.swift
[46/158] Compiling CryptoSwift HMAC+Foundation.swift
[47/158] Compiling CryptoSwift Rabbit+Foundation.swift
[48/158] Compiling CryptoSwift String+FoundationExtension.swift
[49/158] Compiling CryptoSwift Utils+Foundation.swift
[50/158] Compiling CryptoSwift XChaCha20+Foundation.swift
[51/158] Compiling CryptoSwift Generics.swift
[52/158] Compiling CryptoSwift HKDF.swift
[53/158] Compiling CryptoSwift HMAC.swift
[54/158] Compiling CryptoSwift ISO10126Padding.swift
[55/158] Compiling CryptoSwift ISO78164Padding.swift
[56/158] Compiling CryptoSwift Int+Extension.swift
[57/158] Compiling CryptoSwift MD5.swift
[58/158] Compiling CryptoSwift NoPadding.swift
[59/158] Compiling CryptoSwift Operators.swift
[60/158] Compiling CryptoSwift DER.swift
[61/158] Compiling CryptoSwift PBKDF1.swift
[62/158] Compiling CryptoSwift PBKDF2.swift
[63/158] Compiling CryptoSwift PKCS1v15.swift
[64/158] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[65/158] Compiling CryptoSwift AES.Cryptors.swift
[66/158] Emitting module Path
[67/158] Compiling CryptoSwift AEAD.swift
[68/158] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[69/158] Compiling Path Path+ls.swift
[70/158] Compiling Path Path+StringConvertibles.swift
[71/158] Compiling Path Path+FileManager.swift
[72/158] Compiling Path Path.swift
[75/159] Compiling CryptoSwift BlockEncryptor.swift
[76/159] Compiling CryptoSwift BlockMode.swift
[77/159] Compiling CryptoSwift BlockModeOptions.swift
[78/159] Compiling CryptoSwift CBC.swift
[79/159] Compiling CryptoSwift CCM.swift
[80/159] Compiling CryptoSwift CFB.swift
[81/159] Compiling CryptoSwift CTR.swift
[82/159] Compiling CryptoSwift CipherModeWorker.swift
[83/159] Compiling CryptoSwift ECB.swift
[84/159] Compiling CryptoSwift GCM.swift
[85/159] Compiling CryptoSwift OCB.swift
[86/159] Compiling CryptoSwift OFB.swift
[87/159] Compiling CryptoSwift PCBC.swift
[88/159] Compiling CryptoSwift Blowfish.swift
[89/159] Compiling CryptoSwift CBCMAC.swift
[90/159] Compiling CryptoSwift CMAC.swift
[91/159] Compiling CryptoSwift Addition.swift
[92/159] Compiling CryptoSwift BigInt.swift
[93/159] Compiling CryptoSwift BigUInt.swift
[94/159] Compiling CryptoSwift BitwiseOps.swift
[95/159] Compiling CryptoSwift CS.swift
[96/159] Compiling CryptoSwift Codable.swift
[97/159] Compiling CryptoSwift Comparable.swift
[98/159] Compiling CryptoSwift DataConversion.swift
[99/159] Compiling CryptoSwift Division.swift
[100/159] Compiling CryptoSwift Exponentiation.swift
[101/159] Compiling CryptoSwift FloatingPointConversion.swift
[102/159] Compiling CryptoSwift GCD.swift
[103/159] Compiling CryptoSwift Hashable.swift
[104/159] Emitting module CryptoSwift
[109/159] Compiling CryptoSwift AES.swift
[110/159] Compiling CryptoSwift ASN1.swift
[111/159] Compiling CryptoSwift ASN1Decoder.swift
[112/159] Compiling CryptoSwift ASN1Encoder.swift
[113/159] Compiling CryptoSwift ASN1Scanner.swift
[114/159] Compiling CryptoSwift Array+Extension.swift
[115/159] Compiling CryptoSwift Authenticator.swift
[116/159] Compiling CryptoSwift BatchedCollection.swift
[117/159] Compiling CryptoSwift Bit.swift
[118/159] Compiling CryptoSwift BlockCipher.swift
[119/159] Compiling CryptoSwift BlockDecryptor.swift
[120/159] Wrapping AST for LegibleError for debugging
[121/159] Wrapping AST for Version for debugging
[122/159] Wrapping AST for Path for debugging
[124/161] Compiling CryptoSwift Signature.swift
[125/161] Compiling CryptoSwift StreamDecryptor.swift
[126/161] Compiling CryptoSwift StreamEncryptor.swift
[127/161] Compiling CryptoSwift String+Extension.swift
[128/161] Compiling CryptoSwift UInt128.swift
[129/161] Compiling CryptoSwift UInt16+Extension.swift
[130/161] Compiling CryptoSwift UInt32+Extension.swift
[131/161] Compiling CryptoSwift UInt64+Extension.swift
[132/161] Compiling CryptoSwift UInt8+Extension.swift
[133/161] Compiling CryptoSwift Updatable.swift
[134/161] Compiling CryptoSwift Utils.swift
[135/161] Compiling CryptoSwift XChaCha20.swift
[136/161] Compiling CryptoSwift ZeroPadding.swift
[137/161] Compiling CryptoSwift resource_bundle_accessor.swift
[138/161] Compiling CryptoSwift PKCS5.swift
[139/161] Compiling CryptoSwift PKCS7.swift
[140/161] Compiling CryptoSwift PKCS7Padding.swift
[141/161] Compiling CryptoSwift Padding.swift
[142/161] Compiling CryptoSwift Poly1305.swift
[143/161] Compiling CryptoSwift RSA+Cipher.swift
[144/161] Compiling CryptoSwift RSA+Signature.swift
[145/161] Compiling CryptoSwift RSA.swift
[146/161] Compiling CryptoSwift Rabbit.swift
[147/161] Compiling CryptoSwift SHA1.swift
[148/161] Compiling CryptoSwift SHA2.swift
[149/161] Compiling CryptoSwift SHA3.swift
[150/161] Compiling CryptoSwift Scrypt.swift
[151/161] Compiling CryptoSwift SecureBytes.swift
[152/162] Wrapping AST for CryptoSwift for debugging
[154/168] Compiling Utility Path+ResolvedHash.swift
[155/168] Emitting module Utility
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:49:20: warning: stored property 'stdout' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
29 | #endif
30 |
31 | class Output: CustomStringConvertible {
| `- note: class 'Output' does not conform to the 'Sendable' protocol
32 | public let data: Data
33 | public lazy var string = { [unowned self] () -> String? in
:
47 |
48 | struct ExecutionError: LocalizedError {
49 | public let stdout: Output?
| `- warning: stored property 'stdout' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
50 | public let stderr: Output?
51 | public let status: Int32
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:50:20: warning: stored property 'stderr' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
29 | #endif
30 |
31 | class Output: CustomStringConvertible {
| `- note: class 'Output' does not conform to the 'Sendable' protocol
32 | public let data: Data
33 | public lazy var string = { [unowned self] () -> String? in
:
48 | struct ExecutionError: LocalizedError {
49 | public let stdout: Output?
50 | public let stderr: Output?
| `- warning: stored property 'stderr' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
51 | public let status: Int32
52 | public let arg0: String?
[156/168] Compiling Utility exec().swift
[157/168] Compiling Utility TemporaryDirectory.swift
[158/168] Compiling Utility etc.swift
[159/168] Compiling Utility Process+1up.swift
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:49:20: warning: stored property 'stdout' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
29 | #endif
30 |
31 | class Output: CustomStringConvertible {
| `- note: class 'Output' does not conform to the 'Sendable' protocol
32 | public let data: Data
33 | public lazy var string = { [unowned self] () -> String? in
:
47 |
48 | struct ExecutionError: LocalizedError {
49 | public let stdout: Output?
| `- warning: stored property 'stdout' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
50 | public let stderr: Output?
51 | public let status: Int32
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:50:20: warning: stored property 'stderr' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
29 | #endif
30 |
31 | class Output: CustomStringConvertible {
| `- note: class 'Output' does not conform to the 'Sendable' protocol
32 | public let data: Data
33 | public lazy var string = { [unowned self] () -> String? in
:
48 | struct ExecutionError: LocalizedError {
49 | public let stdout: Output?
50 | public let stderr: Output?
| `- warning: stored property 'stderr' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
51 | public let status: Int32
52 | public let arg0: String?
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:108:104: warning: 'launchPath' is deprecated: renamed to 'executableURL'
106 | func finish() throws -> Output {
107 | guard terminationStatus == 0, terminationReason == .exit else {
108 | throw ExecutionError(stdout: .init(out), stderr: nil, status: terminationStatus, arg0: launchPath, args: arguments ?? [])
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
109 | }
110 | return Output(out)
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:167:111: warning: 'launchPath' is deprecated: renamed to 'executableURL'
165 | func finish() throws -> (stdout: Output, stderr: Output) {
166 | guard terminationStatus == 0, terminationReason == .exit else {
167 | throw ExecutionError(stdout: .init(out), stderr: .init(err), status: terminationStatus, arg0: launchPath, args: arguments ?? [])
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
168 | }
169 | return (stdout: Output(out), stderr: Output(err))
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:161:24: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 | if tee, let str = String(data: err, encoding: .utf8) {
160 | //TODO should avoid doing the above twice and get this into the err-`Output` somehow
161 | fputs(str, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
162 | }
163 | #endif
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:187:93: warning: 'launchPath' is deprecated: renamed to 'executableURL'
185 |
186 | guard terminationReason == .exit, terminationStatus == 0 else {
187 | throw ExecutionError(stdout: nil, stderr: nil, status: terminationStatus, arg0: launchPath, args: arguments ?? [])
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
188 | }
189 | }
[160/169] Wrapping AST for Utility for debugging
[162/169] Emitting module StreamReader
[163/169] Compiling StreamReader StreamReader.swift
[164/170] Wrapping AST for StreamReader for debugging
[166/177] Compiling Script parse().swift
[167/177] Compiling Script DependencyName.swift
[168/177] Compiling Script Constraint.swift
[169/177] Emitting module Script
/host/spi-builder-workspace/Sources/Script/Script.swift:271:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
269 | do {
270 | let task = Process()
271 | task.launchPath = Path.swift.string
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
272 | task.arguments = ["--version"]
273 | let (stdout, _) = try task.runSync(tee: false) // ignore stderr
[170/177] Compiling Script ExecutableTargetMainStyle.swift
[171/177] Compiling Script ImportSpecification.swift
[172/177] Compiling Script Script.swift
/host/spi-builder-workspace/Sources/Script/Script.swift:271:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
269 | do {
270 | let task = Process()
271 | task.launchPath = Path.swift.string
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
272 | task.arguments = ["--version"]
273 | let (stdout, _) = try task.runSync(tee: false) // ignore stderr
/host/spi-builder-workspace/Sources/Script/Script.swift:205:18: warning: 'launchPath' is deprecated: renamed to 'executableURL'
203 | // first arg has to be same as executable path
204 | let task = Process()
205 | task.launchPath = Path.swift.string
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
206 | task.arguments = ["build", "-Xswiftc", "-suppress-warnings"]
207 | task.currentDirectoryPath = buildDirectory.string
/host/spi-builder-workspace/Sources/Script/Script.swift:207:18: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
205 | task.launchPath = Path.swift.string
206 | task.arguments = ["build", "-Xswiftc", "-suppress-warnings"]
207 | task.currentDirectoryPath = buildDirectory.string
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
208 |
209 | #if !os(Linux)
/host/spi-builder-workspace/Sources/Script/Script.swift:227:18: warning: 'launchPath' is deprecated: renamed to 'executableURL'
225 | } else {
226 | let task = Process()
227 | task.launchPath = "/usr/bin/which"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
228 | task.arguments = ["swift"]
229 |
[173/178] Wrapping AST for Script for debugging
[175/186] Compiling Command clean().swift
[176/186] Compiling Command edit().swift
[177/186] Compiling Command editor().swift
[178/186] Compiling Command run().swift
[179/186] Compiling Command run().Input.swift
[180/186] Compiling Command eject().swift
[181/186] Emitting module Command
[182/186] Compiling Command CommandLine.usage.swift
[183/187] Wrapping AST for Command for debugging
[185/189] Emitting module swift_sh
/host/spi-builder-workspace/Sources/main.swift:8:31: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | do {
8 | let isTTY = isatty(fileno(stdin)) == 1
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
9 | let mode = try Mode(for: CommandLine.arguments, isTTY: isTTY)
10 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/main.swift:29:14: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | error: invalid usage
28 | \(CommandLine.usage)\n
29 | """, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | exit(3)
31 | } catch {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/main.swift:32:60: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | exit(3)
31 | } catch {
32 | fputs("error: \(error.legibleLocalizedDescription)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | exit(2)
34 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[186/189] Compiling swift_sh main.swift
/host/spi-builder-workspace/Sources/main.swift:8:31: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | do {
8 | let isTTY = isatty(fileno(stdin)) == 1
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
9 | let mode = try Mode(for: CommandLine.arguments, isTTY: isTTY)
10 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/main.swift:29:14: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | error: invalid usage
28 | \(CommandLine.usage)\n
29 | """, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | exit(3)
31 | } catch {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/main.swift:32:60: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | exit(3)
31 | } catch {
32 | fputs("error: \(error.legibleLocalizedDescription)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | exit(2)
34 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[187/190] Wrapping AST for swift-sh for debugging
[188/190] Write Objects.LinkFileList
[189/190] Linking swift-sh
Build complete! (50.80s)
Build complete.
{
"dependencies" : [
{
"identity" : "path.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Path.swift"
},
{
"identity" : "streamreader",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/StreamReader"
},
{
"identity" : "legibleerror",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/LegibleError"
},
{
"identity" : "version",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Version"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift"
}
],
"manifest_display_name" : "swift-sh",
"name" : "swift-sh",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
}
],
"products" : [
{
"name" : "swift-sh",
"targets" : [
"swift-sh"
],
"type" : {
"executable" : null
}
},
{
"name" : "Script",
"targets" : [
"Script"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Utility",
"targets" : [
"Utility"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Command",
"targets" : [
"Command"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_sh",
"module_type" : "SwiftTarget",
"name" : "swift-sh",
"path" : "Sources",
"product_dependencies" : [
"LegibleError"
],
"product_memberships" : [
"swift-sh"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Command"
],
"type" : "executable"
},
{
"c99name" : "Utility",
"module_type" : "SwiftTarget",
"name" : "Utility",
"path" : "Sources/Utility",
"product_dependencies" : [
"Path",
"Version",
"CryptoSwift"
],
"product_memberships" : [
"swift-sh",
"Script",
"Utility",
"Command"
],
"sources" : [
"Path+ResolvedHash.swift",
"Process+1up.swift",
"TemporaryDirectory.swift",
"etc.swift",
"exec().swift"
],
"type" : "library"
},
{
"c99name" : "Script",
"module_type" : "SwiftTarget",
"name" : "Script",
"path" : "Sources/Script",
"product_dependencies" : [
"StreamReader"
],
"product_memberships" : [
"swift-sh",
"Script",
"Command"
],
"sources" : [
"Constraint.swift",
"DependencyName.swift",
"ExecutableTargetMainStyle.swift",
"ImportSpecification.swift",
"Script.swift",
"parse().swift"
],
"target_dependencies" : [
"Utility"
],
"type" : "library"
},
{
"c99name" : "Command",
"module_type" : "SwiftTarget",
"name" : "Command",
"path" : "Sources/Command",
"product_memberships" : [
"swift-sh",
"Command"
],
"sources" : [
"CommandLine.usage.swift",
"clean().swift",
"edit().swift",
"editor().swift",
"eject().swift",
"run().Input.swift",
"run().swift"
],
"target_dependencies" : [
"Script"
],
"type" : "library"
},
{
"c99name" : "All",
"module_type" : "SwiftTarget",
"name" : "All",
"path" : "Tests/All",
"sources" : [
"ImportSpecificationUnitTests.swift",
"IntegrationTests.swift",
"ModeUnitTests.swift",
"UtilityTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"swift-sh"
],
"type" : "test"
}
],
"tools_version" : "5.3"
}
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.