The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftInspector, reference main (450c62), with Swift 6.0 for Linux on 2 Nov 2024 16:51:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fdiaz/SwiftInspector.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/fdiaz/SwiftInspector
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 450c62a Update README.md (#137)
Cloned https://github.com/fdiaz/SwiftInspector.git
Revision (git rev-parse @):
450c62a742b318f9b45643de37e8ef29a6c840f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fdiaz/SwiftInspector.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fdiaz/SwiftInspector.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 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/Quick/Nimble.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/apple/swift-argument-parser
[1/14723] Fetching quick
[11338/27076] Fetching quick, swift-argument-parser
[27077/93475] Fetching quick, swift-argument-parser, swift-syntax
[32389/112693] Fetching quick, swift-argument-parser, swift-syntax, nimble
Fetched https://github.com/apple/swift-argument-parser from cache (1.86s)
[96357/100340] Fetching quick, swift-syntax, nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.88s)
[78467/81122] Fetching quick, swift-syntax
Fetched https://github.com/Quick/Quick.git from cache (4.12s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.16s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.50s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (0.76s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.50s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.20s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.47s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.19s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.46s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
[1369/26182122] Downloading https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip
Downloading binary artifact https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip (2.70s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[10/26] Compiling atomic-counter.c
[11/26] Write swift-version-24593BA9C3E375BF.txt
[13/61] Emitting module ArgumentParserToolInfo
[14/61] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/62] Compiling SwiftSyntax AbsolutePosition.swift
[17/62] Compiling SwiftSyntax AtomicCounter.swift
[18/62] Compiling SwiftSyntax CNodes.swift
[19/62] Compiling SwiftSyntax IncrementalParseTransition.swift
[20/62] Compiling SwiftSyntax RawSyntax.swift
[21/62] Compiling SwiftSyntax SyntaxClassifier.swift
[22/62] Compiling SwiftSyntax SyntaxData.swift
[23/62] Compiling SwiftSyntax SyntaxOtherNodes.swift
[24/62] Compiling SwiftSyntax SyntaxVerifier.swift
[25/62] Compiling SwiftSyntax Utils.swift
[25/66] Wrapping AST for ArgumentParserToolInfo for debugging
[27/104] Emitting module ArgumentParser
[28/109] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/109] Compiling ArgumentParser CompletionsGenerator.swift
[30/109] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/109] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/109] Compiling ArgumentParser Argument.swift
[33/109] Compiling ArgumentParser ArgumentHelp.swift
[34/109] Compiling ArgumentParser ExpressibleByArgument.swift
[35/109] Compiling ArgumentParser ParsableArguments.swift
[36/109] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/109] Compiling ArgumentParser ParsableCommand.swift
[38/109] Compiling ArgumentParser ArgumentDecoder.swift
[39/109] Compiling ArgumentParser OptionGroup.swift
[40/109] Compiling ArgumentParser AsyncParsableCommand.swift
[41/109] Compiling ArgumentParser CommandConfiguration.swift
[42/109] Compiling ArgumentParser CommandGroup.swift
[43/109] Compiling ArgumentParser EnumerableFlag.swift
[44/109] Compiling ArgumentParser ArgumentVisibility.swift
[45/109] Compiling ArgumentParser CompletionKind.swift
[46/109] Compiling ArgumentParser Errors.swift
[47/109] Compiling ArgumentParser Flag.swift
[48/109] Compiling ArgumentParser NameSpecification.swift
[49/109] Compiling ArgumentParser Option.swift
[50/109] Compiling ArgumentParser ArgumentDefinition.swift
[51/109] Compiling ArgumentParser ArgumentSet.swift
[52/109] Compiling ArgumentParser CommandParser.swift
[53/109] Compiling ArgumentParser InputKey.swift
[54/109] Compiling ArgumentParser InputOrigin.swift
[55/109] Compiling ArgumentParser CollectionExtensions.swift
[56/109] Compiling ArgumentParser Platform.swift
[57/109] Compiling ArgumentParser SequenceExtensions.swift
[58/109] Compiling ArgumentParser StringExtensions.swift
[59/109] Compiling ArgumentParser Tree.swift
[60/109] Compiling ArgumentParser Name.swift
[61/109] Compiling ArgumentParser Parsed.swift
[62/109] Compiling ArgumentParser ParsedValues.swift
[63/109] Compiling ArgumentParser ParserError.swift
[64/109] Compiling ArgumentParser SplitArguments.swift
[65/109] Compiling ArgumentParser DumpHelpGenerator.swift
[66/109] Compiling ArgumentParser HelpCommand.swift
[67/109] Compiling ArgumentParser HelpGenerator.swift
[68/109] Compiling ArgumentParser MessageInfo.swift
[69/109] Compiling ArgumentParser UsageGenerator.swift
[70/110] Wrapping AST for ArgumentParser for debugging
[72/110] Emitting module SwiftSyntax
[99/111] Wrapping AST for SwiftSyntax for debugging
[100/111] Write Objects.LinkFileList
[101/123] Archiving libSwiftSyntax.a
[103/135] Compiling SwiftSyntaxParser NodeDeclarationHash.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
   |                             `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/135] Emitting module SwiftSyntaxParser
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
   |                             `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
[105/135] Compiling SwiftSyntaxParser Diagnostic.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
   |                             `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
[106/135] Compiling SwiftSyntaxParser CNodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
   |                             `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
[107/135] Compiling SwiftSyntaxParser SyntaxParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
   |                             `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/AssertionFailure.swift:40:21: warning: static property 'notification' is not concurrency-safe because non-'Sendable' type 'Notification' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public enum AssertionFailure {
39 |   /// The notification that is posted when `assertionFailureOrPostNotification` is called and `postNotification` is `true`.
40 |   public static let notification = Notification(name: Notification.Name(rawValue: "SwiftInspector.AssertionFailure"))
   |                     |- warning: static property 'notification' is not concurrency-safe because non-'Sendable' type 'Notification' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'notification' 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
41 |   /// Set to `true` to post notifications in `assertionFailureOrPostNotification` rather than calling through to `Swift.assertionFailure`.
42 |   public static var postNotification = false
Foundation.Notification:1:15: note: struct 'Notification' does not conform to the 'Sendable' protocol
 1 | public struct Notification : ReferenceConvertible, Equatable, Hashable {
   |               `- note: struct 'Notification' does not conform to the 'Sendable' protocol
 2 |     public typealias ReferenceType = NSNotification
 3 |     public var name: Notification.Name
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/AssertionFailure.swift:42:21: warning: static property 'postNotification' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |   public static let notification = Notification(name: Notification.Name(rawValue: "SwiftInspector.AssertionFailure"))
41 |   /// Set to `true` to post notifications in `assertionFailureOrPostNotification` rather than calling through to `Swift.assertionFailure`.
42 |   public static var postNotification = false
   |                     |- warning: static property 'postNotification' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'postNotification' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'postNotification' 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
43 | }
44 |
BUILD FAILURE 6.0 linux