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 AST 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/AnarchoSystems/AST.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/AnarchoSystems/AST
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cad7c2c associated type changed
Cloned https://github.com/AnarchoSystems/AST.git
Revision (git rev-parse @):
cad7c2c4127a5e79a48991e33db5a787fb2b0506
SUCCESS checkout https://github.com/AnarchoSystems/AST.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/AnarchoSystems/AST.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-argument-parser.git
[1/11435] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.90s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.55s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/30] Emitting module AST
[8/31] Compiling AST Context.swift
[9/31] Compiling AST Errors.swift
[10/31] Emitting module ArgumentParserToolInfo
[11/31] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/32] Compiling AST Utils.swift
[13/32] Wrapping AST for ArgumentParserToolInfo for debugging
[15/69] Compiling ArgumentParser Name.swift
[16/69] Compiling ArgumentParser Parsed.swift
[17/69] Compiling ArgumentParser SplitArguments.swift
[18/69] Compiling ArgumentParser ArgumentVisibility.swift
[19/69] Compiling ArgumentParser CompletionKind.swift
[20/69] Compiling ArgumentParser Errors.swift
[21/69] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:27: error: missing argument for parameter 'coder' in call
            throw NSError() //todo
                          ^
                          coder: <#NSCoder#>
Foundation.NSError:5:21: note: 'init(coder:)' declared here
    required public init?(coder aDecoder: NSCoder)
                    ^
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:19: error: thrown expression type 'NSError?' does not conform to 'Error'
            throw NSError() //todo
                  ^~~~~~~~~
[22/69] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:27: error: missing argument for parameter 'coder' in call
            throw NSError() //todo
                          ^
                          coder: <#NSCoder#>
Foundation.NSError:5:21: note: 'init(coder:)' declared here
    required public init?(coder aDecoder: NSCoder)
                    ^
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:19: error: thrown expression type 'NSError?' does not conform to 'Error'
            throw NSError() //todo
                  ^~~~~~~~~
[23/69] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/69] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/69] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/69] Compiling ArgumentParser CompletionsGenerator.swift
error: fatalError
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/47] Compiling AST SymbolProtocol.swift
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:27: error: missing argument for parameter 'coder' in call
            throw NSError() //todo
                          ^
                          coder: <#NSCoder#>
Foundation.NSError:5:21: note: 'init(coder:)' declared here
    required public init?(coder aDecoder: NSCoder)
                    ^
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:19: error: thrown expression type 'NSError?' does not conform to 'Error'
            throw NSError() //todo
                  ^~~~~~~~~
[3/47] Compiling AST Stack.swift
[4/49] Emitting module AST
[5/49] Emitting module ArgumentParser
[6/54] Compiling AST Parser.swift
[7/54] Compiling AST Sourcegen.swift
[8/54] Compiling ArgumentParser Option.swift
[9/54] Compiling ArgumentParser OptionGroup.swift
[10/54] Compiling ArgumentParser AsyncParsableCommand.swift
[11/54] Compiling ArgumentParser CommandConfiguration.swift
[12/54] Compiling ArgumentParser EnumerableFlag.swift
[13/54] Compiling ArgumentParser Name.swift
[14/54] Compiling ArgumentParser Parsed.swift
[15/54] Compiling ArgumentParser ParsedValues.swift
[16/54] Compiling ArgumentParser ParserError.swift
[17/54] Compiling ArgumentParser SplitArguments.swift
error: fatalError
BUILD FAILURE 5.10 linux