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 swift-package-factory, reference v0.1.0 (2b27eb), with Swift 6.0 for Linux on 3 Nov 2024 02:31:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-package-factory.git
Reference: v0.1.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/tayloraswift/swift-package-factory
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 2b27eb0 add license and readme
Cloned https://github.com/tayloraswift/swift-package-factory.git
Revision (git rev-parse @):
2b27eb00e8011423edfb02fa70dd4c2c5f03cf16
SUCCESS checkout https://github.com/tayloraswift/swift-package-factory.git at v0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tayloraswift/swift-package-factory.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.84s)
Fetching https://github.com/kelvin13/swift-system-extras.git
[1/40] Fetching swift-system-extras
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (0.15s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.2.0 (0.45s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.27s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.39s)
Creating working copy for https://github.com/kelvin13/swift-system-extras.git
Working copy of https://github.com/kelvin13/swift-system-extras.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at swift-DEVELOPMENT-SNAPSHOT-2022-08-15-a (59c93fc)
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
    /host/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Nested.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Basic.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Zip.spf
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
    /host/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
    /host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
    /host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
    /host/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
[1/1] Compiling plugin FactoryPlugin
Building for debugging...
[1/33] Write sources
[11/33] Compiling atomic-counter.c
[13/33] Compiling CSystem shims.c
[14/33] Write swift-version-24593BA9C3E375BF.txt
[16/150] Emitting module SystemPackage
[17/153] Compiling FactoryPluginValidExampleTarget Basic.spf.swift
[18/153] Compiling FactoryPluginValidExampleTarget Scopes.spf.swift
[19/153] Emitting module FactoryPluginValidExampleTarget
[20/153] Compiling FactoryPluginValidExampleTarget DocComments.spf.swift
[21/153] Emitting module FactoryPluginInvalidExampleTarget
[22/153] Compiling FactoryPluginInvalidExampleTarget InvalidMatrix.spf.swift
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:5:9: warning: variable 'x' was never used; consider replacing with '_' or removing it
 3 |
 4 |     // this works because this is a declaration
 5 |     var x:Int = 0
   |         `- warning: variable 'x' was never used; consider replacing with '_' or removing it
 6 |
 7 |     // this works because this is a declaration
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:8:9: warning: variable 'y' was never used; consider replacing with '_' or removing it
 6 |
 7 |     // this works because this is a declaration
 8 |     var y:Int = 0
   |         `- warning: variable 'y' was never used; consider replacing with '_' or removing it
 9 |
10 |     // this works because this is a declaration
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:11:9: warning: variable 'z' was never used; consider replacing with '_' or removing it
 9 |
10 |     // this works because this is a declaration
11 |     var z:Int = 0
   |         `- warning: variable 'z' was never used; consider replacing with '_' or removing it
12 |
13 |     #if NEVER
[23/154] Compiling SwiftSyntax RawSyntaxValidation.swift
[24/154] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[25/154] Compiling SwiftSyntax SyntaxBaseNodes.swift
[26/154] Compiling SystemPackage Util+StringArray.swift
[27/154] Compiling SystemPackage Util.swift
[28/154] Compiling SystemPackage UtilConsumers.swift
[29/154] Compiling FactoryPluginValidExampleTarget Zip.spf.swift
[30/154] Compiling FactoryPluginValidExampleTarget Nested.spf.swift
[31/154] Compiling FactoryPluginValidExampleTarget OtherAttributes.spf.swift
[32/155] Compiling SwiftSyntax RawSyntax.swift
[33/155] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[34/155] Compiling SwiftSyntax SourceLength.swift
[35/155] Compiling SwiftSyntax SourceLocation.swift
[36/155] Compiling SwiftSyntax SyntaxArena.swift
[37/155] Compiling SwiftSyntax SyntaxChildren.swift
[38/155] Compiling SwiftSyntax SyntaxClassifier.swift
[39/155] Compiling SwiftSyntax SyntaxData.swift
[41/155] Compiling SwiftSyntax SyntaxOtherNodes.swift
[42/155] Compiling SwiftSyntax SyntaxText.swift
[43/155] Compiling SwiftSyntax AbsolutePosition.swift
[44/155] Compiling SwiftSyntax AtomicCounter.swift
[45/155] Compiling SwiftSyntax BumpPtrAllocator.swift
[46/155] Compiling SwiftSyntax CNodes.swift
[47/155] Compiling SwiftSyntax IncrementalParseTransition.swift
[48/155] Compiling SwiftSyntax RawSyntax+CSwiftSyntax.swift
[50/155] Compiling SwiftSyntax Utils.swift
[51/155] Compiling SwiftSyntax _SyntaxParserInterop.swift
[52/155] Compiling SwiftSyntax Misc.swift
[53/155] Compiling SwiftSyntax RawSyntaxNodes.swift
[54/155] Compiling SwiftSyntax SourcePresence.swift
[55/155] Compiling SwiftSyntax Syntax.swift
[56/155] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[57/155] Compiling SwiftSyntax SyntaxVerifier.swift
[76/161] Wrapping AST for SystemPackage for debugging
[78/164] Compiling SystemExtras FilePath.DirectoryView.swift
[79/164] Compiling SystemExtras FilePath.swift
[80/164] Emitting module SystemExtras
[81/165] Wrapping AST for SystemExtras for debugging
[83/165] Emitting module SwiftSyntax
[86/170] Compiling SwiftSyntax SyntaxFactory.swift
[87/170] Compiling SwiftSyntax SyntaxKind.swift
[88/170] Compiling SwiftSyntax SyntaxRewriter.swift
[89/170] Compiling SwiftSyntax SyntaxTraits.swift
[130/170] Compiling SwiftSyntax SyntaxVisitor.swift
[131/170] Compiling SwiftSyntax TokenKind.swift
[132/170] Compiling SwiftSyntax Tokens.swift
[133/170] Compiling SwiftSyntax Trivia.swift
[134/170] Compiling SwiftSyntax SyntaxDeclNodes.swift
[145/170] Compiling SwiftSyntax SyntaxExprNodes.swift
[146/170] Compiling SwiftSyntax SyntaxNodes.swift
[147/170] Compiling SwiftSyntax SyntaxPatternNodes.swift
[148/170] Compiling SwiftSyntax SyntaxStmtNodes.swift
[149/170] Compiling SwiftSyntax SyntaxTypeNodes.swift
[150/171] Wrapping AST for SwiftSyntax for debugging
[151/171] Write Objects.LinkFileList
[152/176] Archiving libSwiftSyntax-tool.a
[154/176] 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)
[155/176] 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
[156/176] 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
[157/176] 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
[163/176] 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
BUILD FAILURE 6.0 linux