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 with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/tayloraswift/swift-package-factory.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-syntax.git
[1/57388] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.11s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/kelvin13/swift-system-extras.git
[1/40] Fetching swift-system-extras
[41/3023] Fetching swift-system-extras, swift-system
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (0.38s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Fetched https://github.com/apple/swift-system.git from cache (0.38s)
Computed https://github.com/kelvin13/swift-system-extras.git at 0.1.0 (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.45s)
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)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
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.1.0
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/Zip.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Basic.spf
    /host/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Nested.spf
    /host/spi-builder-workspace/Examples/ValidExamples/DocComments.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/InvalidBasis.spf
    /host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
    /host/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
    /host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
    /host/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
[1/1] Compiling plugin FactoryPlugin
Building for debugging...
[1/24] Write sources
[9/24] Compiling atomic-counter.c
[10/24] Compiling CSystem shims.c
[11/24] Write swift-version-24593BA9C3E375BF.txt
[13/94] Emitting module SystemPackage
[14/96] Compiling FactoryPluginValidExampleTarget OtherAttributes.spf.swift
[15/96] 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
    var x:Int = 0
        ^
        _
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:8:9: warning: variable 'y' was never used; consider replacing with '_' or removing it
    var y:Int = 0
        ^
        _
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:11:9: warning: variable 'z' was never used; consider replacing with '_' or removing it
    var z:Int = 0
        ^
        _
[16/96] Emitting module FactoryPluginInvalidExampleTarget
[17/97] Compiling SystemPackage Util.swift
[18/97] Compiling SystemPackage UtilConsumers.swift
[19/97] Compiling FactoryPluginValidExampleTarget Scopes.spf.swift
[20/97] Compiling FactoryPluginValidExampleTarget Zip.spf.swift
[21/97] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[22/97] Compiling SwiftSyntax SyntaxVerifier.swift
[23/97] Emitting module FactoryPluginValidExampleTarget
[25/97] Compiling SwiftSyntax AbsolutePosition.swift
[26/97] Compiling SwiftSyntax AtomicCounter.swift
[27/97] Compiling SwiftSyntax BumpPtrAllocator.swift
[28/97] Compiling SwiftSyntax RawSyntax.swift
[29/97] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[30/97] Compiling SwiftSyntax SourceLength.swift
[31/97] Compiling SwiftSyntax SourceLocation.swift
[32/97] Compiling SwiftSyntax SourcePresence.swift
[33/97] Compiling SwiftSyntax Syntax.swift
[34/97] Compiling SwiftSyntax CNodes.swift
[35/97] Compiling SwiftSyntax IncrementalParseTransition.swift
[36/97] Compiling SwiftSyntax RawSyntax+CSwiftSyntax.swift
[37/97] Compiling FactoryPluginValidExampleTarget Nested.spf.swift
[38/97] Compiling FactoryPluginValidExampleTarget Basic.spf.swift
[39/97] Compiling FactoryPluginValidExampleTarget DocComments.spf.swift
[47/103] Compiling SwiftSyntax SyntaxArena.swift
[48/103] Compiling SwiftSyntax SyntaxChildren.swift
[49/103] Compiling SwiftSyntax SyntaxClassifier.swift
[50/103] Compiling SwiftSyntax SyntaxData.swift
[51/103] Compiling SwiftSyntax SyntaxOtherNodes.swift
[52/103] Compiling SwiftSyntax SyntaxText.swift
[59/104] Wrapping AST for SystemPackage for debugging
[61/107] Emitting module SystemExtras
[62/107] Compiling SystemExtras FilePath.swift
[63/107] Compiling SystemExtras FilePath.DirectoryView.swift
[64/108] Wrapping AST for SystemExtras for debugging
[66/108] Emitting module SwiftSyntax
[77/108] Compiling SwiftSyntax Misc.swift
[78/108] Compiling SwiftSyntax RawSyntaxNodes.swift
[79/108] Compiling SwiftSyntax SyntaxEnum.swift
[80/108] Compiling SwiftSyntax SyntaxFactory.swift
[81/108] Compiling SwiftSyntax SyntaxKind.swift
[82/108] Compiling SwiftSyntax SyntaxRewriter.swift
[83/108] Compiling SwiftSyntax SyntaxTraits.swift
[84/108] Compiling SwiftSyntax RawSyntaxValidation.swift
[85/108] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[86/108] Compiling SwiftSyntax SyntaxBaseNodes.swift
[87/108] Compiling SwiftSyntax SyntaxClassification.swift
[88/108] Compiling SwiftSyntax SyntaxCollections.swift
[89/108] Compiling SwiftSyntax SyntaxVisitor.swift
[90/108] Compiling SwiftSyntax TokenKind.swift
[91/108] Compiling SwiftSyntax Tokens.swift
[92/108] Compiling SwiftSyntax Trivia.swift
[93/108] Compiling SwiftSyntax SyntaxDeclNodes.swift
[94/108] Compiling SwiftSyntax SyntaxExprNodes.swift
[95/108] Compiling SwiftSyntax SyntaxNodes.swift
[96/108] Compiling SwiftSyntax SyntaxPatternNodes.swift
[97/108] Compiling SwiftSyntax SyntaxStmtNodes.swift
[98/108] Compiling SwiftSyntax SyntaxTypeNodes.swift
[99/109] Wrapping AST for SwiftSyntax for debugging
[100/109] Write Objects.LinkFileList
[101/114] Archiving libSwiftSyntax.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[103/114] Compiling SwiftSyntaxParser SyntaxParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
[104/114] Compiling SwiftSyntaxParser NodeDeclarationHash.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
[105/114] Compiling SwiftSyntaxParser CNodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
[106/114] Compiling SwiftSyntaxParser Diagnostic.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
[107/114] Emitting module SwiftSyntaxParser
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
error: fatalError
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/Zip.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Nested.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
    /host/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
    /host/spi-builder-workspace/Examples/ValidExamples/Basic.spf
    /host/spi-builder-workspace/Examples/ValidExamples/DocComments.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/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
    /host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
[0/1] Planning build
[1/1] Compiling plugin FactoryPlugin
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling SwiftSyntaxParser NodeDeclarationHash.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/14] Emitting module SwiftSyntaxParser
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
[5/14] Compiling SwiftSyntaxParser CNodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
[6/14] Compiling SwiftSyntaxParser Diagnostic.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
[7/14] Compiling SwiftSyntaxParser SyntaxParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
@_implementationOnly import _InternalSwiftSyntaxParser
                            ^
error: fatalError
BUILD FAILURE 5.10 linux