Build Information
Successful build of swift-sh, reference 2.5.0 (e19c34
), with Swift 6.0 for Linux on 1 Dec 2024 18:45:13 UTC.
Swift 6 data race errors: 2
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 -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: 2.5.0
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
* tag 2.5.0 -> FETCH_HEAD
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 2.5.0
========================================
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-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 -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/krzyzanowskim/CryptoSwift
Fetching https://github.com/mxcl/StreamReader
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/mxcl/LegibleError
[1/178] Fetching legibleerror
[179/228] Fetching legibleerror, streamreader
[229/1287] Fetching legibleerror, streamreader, path.swift
[1288/1575] Fetching legibleerror, streamreader, path.swift, version
Fetched https://github.com/mxcl/Version from cache (0.28s)
Fetched https://github.com/mxcl/Path.swift from cache (0.28s)
Fetched https://github.com/mxcl/StreamReader from cache (0.28s)
Fetched https://github.com/mxcl/LegibleError from cache (0.28s)
[1/12707] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.47s)
Computing version for https://github.com/mxcl/StreamReader
Computed https://github.com/mxcl/StreamReader at 1.0.1 (3.82s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.51s)
Computing version for https://github.com/mxcl/LegibleError
Computed https://github.com/mxcl/LegibleError at 1.0.6 (0.49s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (0.47s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.3 (0.52s)
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
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/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.3
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] Emitting module Path
[13/142] Compiling Version Version+Range.swift
[14/142] Compiling Path Path+StringConvertibles.swift
[15/142] Compiling Path Pathish.swift
[16/142] Compiling Version Version.swift
[17/142] Emitting module CryptoSwift
[18/156] Compiling CryptoSwift AEAD.swift
[19/156] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[20/156] Compiling Path PathToBool.swift
[21/156] Compiling LegibleError LegibleError.swift
[22/156] Emitting module LegibleError
[24/157] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[25/157] Compiling CryptoSwift AES.Cryptors.swift
[26/157] Compiling Path Path+ls.swift
[27/157] Compiling Path Path.swift
[28/157] Compiling Version Version+Codable.swift
[29/157] Compiling Version Version+Comparable.swift
[30/157] Compiling Version Version+Foundation.swift
[31/157] Emitting module Version
[32/157] Compiling Path Path+FileManager.swift
[34/159] Compiling CryptoSwift IntegerConversion.swift
[35/159] Compiling CryptoSwift Multiplication.swift
[36/159] Compiling CryptoSwift PrimeTest.swift
[37/159] Compiling CryptoSwift Random.swift
[38/159] Compiling CryptoSwift Shifts.swift
[39/159] Compiling CryptoSwift SquareRoot.swift
[40/159] Compiling CryptoSwift Strideable.swift
[41/159] Compiling CryptoSwift StringConversion.swift
[42/159] Compiling CryptoSwift Subtraction.swift
[43/159] Compiling CryptoSwift WordsAndBits.swift
[44/159] Compiling CryptoSwift ChaCha20.swift
[45/159] Compiling CryptoSwift Checksum.swift
[46/159] Compiling CryptoSwift Cipher.swift
[47/159] Compiling CryptoSwift Collection+Extension.swift
[48/159] Compiling CryptoSwift CMAC.swift
[49/159] Compiling CryptoSwift Addition.swift
[50/159] Compiling CryptoSwift BigInt.swift
[51/159] Compiling CryptoSwift BigUInt.swift
[52/159] Compiling CryptoSwift BitwiseOps.swift
[53/159] Compiling CryptoSwift CS.swift
[54/159] Compiling CryptoSwift Codable.swift
[55/159] Compiling CryptoSwift Comparable.swift
[56/159] Compiling CryptoSwift DataConversion.swift
[57/159] Compiling CryptoSwift Division.swift
[58/159] Compiling CryptoSwift Exponentiation.swift
[59/159] Compiling CryptoSwift FloatingPointConversion.swift
[60/159] Compiling CryptoSwift GCD.swift
[61/159] Compiling CryptoSwift Hashable.swift
[62/159] Wrapping AST for LegibleError for debugging
[63/159] Wrapping AST for Version for debugging
[64/159] Wrapping AST for Path for debugging
[70/159] Compiling CryptoSwift AES.swift
[71/159] Compiling CryptoSwift ASN1.swift
[72/159] Compiling CryptoSwift ASN1Decoder.swift
[73/159] Compiling CryptoSwift ASN1Encoder.swift
[74/159] Compiling CryptoSwift ASN1Scanner.swift
[75/159] Compiling CryptoSwift Array+Extension.swift
[76/159] Compiling CryptoSwift Authenticator.swift
[77/159] Compiling CryptoSwift BatchedCollection.swift
[78/159] Compiling CryptoSwift Bit.swift
[79/159] Compiling CryptoSwift BlockCipher.swift
[80/159] Compiling CryptoSwift BlockDecryptor.swift
[81/161] Compiling CryptoSwift CompactMap.swift
[82/161] Compiling CryptoSwift Cryptor.swift
[83/161] Compiling CryptoSwift Cryptors.swift
[84/161] Compiling CryptoSwift Digest.swift
[85/161] Compiling CryptoSwift DigestType.swift
[86/161] Compiling CryptoSwift AES+Foundation.swift
[87/161] Compiling CryptoSwift Array+Foundation.swift
[88/161] Compiling CryptoSwift Blowfish+Foundation.swift
[89/161] Compiling CryptoSwift ChaCha20+Foundation.swift
[90/161] Compiling CryptoSwift Data+Extension.swift
[91/161] Compiling CryptoSwift HMAC+Foundation.swift
[92/161] Compiling CryptoSwift Rabbit+Foundation.swift
[93/161] Compiling CryptoSwift String+FoundationExtension.swift
[94/161] Compiling CryptoSwift Utils+Foundation.swift
[95/161] Compiling CryptoSwift BlockEncryptor.swift
[96/161] Compiling CryptoSwift BlockMode.swift
[97/161] Compiling CryptoSwift BlockModeOptions.swift
[98/161] Compiling CryptoSwift CBC.swift
[99/161] Compiling CryptoSwift CCM.swift
[100/161] Compiling CryptoSwift CFB.swift
[101/161] Compiling CryptoSwift CTR.swift
[102/161] Compiling CryptoSwift CipherModeWorker.swift
[103/161] Compiling CryptoSwift ECB.swift
[104/161] Compiling CryptoSwift GCM.swift
[105/161] Compiling CryptoSwift OCB.swift
[106/161] Compiling CryptoSwift OFB.swift
[107/161] Compiling CryptoSwift PCBC.swift
[108/161] Compiling CryptoSwift Blowfish.swift
[109/161] Compiling CryptoSwift CBCMAC.swift
[110/161] Compiling CryptoSwift PKCS5.swift
[111/161] Compiling CryptoSwift PKCS7.swift
[112/161] Compiling CryptoSwift PKCS7Padding.swift
[113/161] Compiling CryptoSwift Padding.swift
[114/161] Compiling CryptoSwift Poly1305.swift
[115/161] Compiling CryptoSwift RSA+Cipher.swift
[116/161] Compiling CryptoSwift RSA+Signature.swift
[117/161] Compiling CryptoSwift RSA.swift
[118/161] Compiling CryptoSwift Rabbit.swift
[119/161] Compiling CryptoSwift SHA1.swift
[120/161] Compiling CryptoSwift SHA2.swift
[121/161] Compiling CryptoSwift SHA3.swift
[122/161] Compiling CryptoSwift Scrypt.swift
[123/161] Compiling CryptoSwift SecureBytes.swift
[124/161] Compiling CryptoSwift XChaCha20+Foundation.swift
[125/161] Compiling CryptoSwift Generics.swift
[126/161] Compiling CryptoSwift HKDF.swift
[127/161] Compiling CryptoSwift HMAC.swift
[128/161] Compiling CryptoSwift ISO10126Padding.swift
[129/161] Compiling CryptoSwift ISO78164Padding.swift
[130/161] Compiling CryptoSwift Int+Extension.swift
[131/161] Compiling CryptoSwift MD5.swift
[132/161] Compiling CryptoSwift NoPadding.swift
[133/161] Compiling CryptoSwift Operators.swift
[134/161] Compiling CryptoSwift DER.swift
[135/161] Compiling CryptoSwift PBKDF1.swift
[136/161] Compiling CryptoSwift PBKDF2.swift
[137/161] Compiling CryptoSwift PKCS1v15.swift
[138/161] Compiling CryptoSwift Signature.swift
[139/161] Compiling CryptoSwift StreamDecryptor.swift
[140/161] Compiling CryptoSwift StreamEncryptor.swift
[141/161] Compiling CryptoSwift String+Extension.swift
[142/161] Compiling CryptoSwift UInt128.swift
[143/161] Compiling CryptoSwift UInt16+Extension.swift
[144/161] Compiling CryptoSwift UInt32+Extension.swift
[145/161] Compiling CryptoSwift UInt64+Extension.swift
[146/161] Compiling CryptoSwift UInt8+Extension.swift
[147/161] Compiling CryptoSwift Updatable.swift
[148/161] Compiling CryptoSwift Utils.swift
[149/161] Compiling CryptoSwift XChaCha20.swift
[150/161] Compiling CryptoSwift ZeroPadding.swift
[151/161] Compiling CryptoSwift resource_bundle_accessor.swift
[152/162] Wrapping AST for CryptoSwift for debugging
[154/168] Compiling Utility exec().swift
[155/168] Emitting module StreamReader
[156/168] Compiling StreamReader StreamReader.swift
[157/169] Compiling Utility TemporaryDirectory.swift
[158/169] Compiling Utility etc.swift
[160/169] Compiling Utility Path+ResolvedHash.swift
[161/169] 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?
[162/169] 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 | }
[162/170] Wrapping AST for StreamReader for debugging
[164/170] Wrapping AST for Utility for debugging
[166/177] Compiling Script parse().swift
[167/177] Compiling Script Constraint.swift
[168/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
[169/177] Compiling Script DependencyName.swift
[170/177] Compiling Script ImportSpecification.swift
[171/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 |
[172/177] Compiling Script ExecutableTargetMainStyle.swift
[173/178] Wrapping AST for Script for debugging
[175/186] Compiling Command editor().swift
[176/186] Compiling Command clean().swift
[177/186] Compiling Command run().swift
[178/186] Compiling Command run().Input.swift
[179/186] Compiling Command edit().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! (49.50s)
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.