The Swift Package Index logo.Swift Package Index

Build Information

Failed to build strings-check 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/mnem/strings-check.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/mnem/strings-check
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 24baade Remove SPI manifest and plugin as it was breaking things
Cloned https://github.com/mnem/strings-check.git
Revision (git rev-parse @):
24baade4d2bcade384bae8277e225b0a846d77d3
SUCCESS checkout https://github.com/mnem/strings-check.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mnem/strings-check.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
Fetching https://github.com/mxcl/Path.swift.git
[11/1050] Fetching path.swift
Fetched https://github.com/mxcl/Path.swift.git from cache (0.25s)
[1/11435] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.03s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.4.0 (1.49s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (0.52s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.0
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 1.4.0
[1/1] Compiling plugin Generate Manual
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/24] Emitting module ArgumentParserToolInfo
[8/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/25] Wrapping AST for ArgumentParserToolInfo for debugging
[11/62] Compiling ArgumentParser Option.swift
[12/62] Compiling ArgumentParser OptionGroup.swift
[13/62] Compiling ArgumentParser AsyncParsableCommand.swift
[14/62] Compiling ArgumentParser CommandConfiguration.swift
[15/62] Compiling ArgumentParser EnumerableFlag.swift
[16/67] Compiling ArgumentParser ArgumentVisibility.swift
[17/67] Compiling ArgumentParser CompletionKind.swift
[18/67] Compiling ArgumentParser Errors.swift
[19/67] Compiling ArgumentParser Flag.swift
[20/67] Compiling ArgumentParser NameSpecification.swift
[21/67] Emitting module ArgumentParser
[22/67] Compiling Path Path+ls.swift
[23/68] Emitting module Path
[26/68] Compiling Path Path+FileManager.swift
[27/68] Compiling Path Pathish.swift
[30/68] Compiling Path Path.swift
[31/68] Compiling Path Path->Bool.swift
[32/68] Compiling Path Path+StringConvertibles.swift
[33/69] Wrapping AST for Path for debugging
[35/69] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/69] Compiling ArgumentParser CompletionsGenerator.swift
[37/69] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/69] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/69] Compiling ArgumentParser Argument.swift
[40/69] Compiling ArgumentParser ArgumentHelp.swift
[41/69] Compiling ArgumentParser CollectionExtensions.swift
[42/69] Compiling ArgumentParser Platform.swift
[43/69] Compiling ArgumentParser SequenceExtensions.swift
[44/69] Compiling ArgumentParser StringExtensions.swift
[45/69] Compiling ArgumentParser Tree.swift
[46/69] Compiling ArgumentParser Name.swift
[47/69] Compiling ArgumentParser Parsed.swift
[48/69] Compiling ArgumentParser ParsedValues.swift
[49/69] Compiling ArgumentParser ParserError.swift
[50/69] Compiling ArgumentParser SplitArguments.swift
[51/69] Compiling ArgumentParser DumpHelpGenerator.swift
[52/69] Compiling ArgumentParser HelpCommand.swift
[53/69] Compiling ArgumentParser HelpGenerator.swift
[54/69] Compiling ArgumentParser MessageInfo.swift
[55/69] Compiling ArgumentParser UsageGenerator.swift
[56/69] Compiling ArgumentParser ExpressibleByArgument.swift
[57/69] Compiling ArgumentParser ParsableArguments.swift
[58/69] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/69] Compiling ArgumentParser ParsableCommand.swift
[60/69] Compiling ArgumentParser ArgumentDecoder.swift
[61/69] Compiling ArgumentParser ArgumentDefinition.swift
[62/69] Compiling ArgumentParser ArgumentSet.swift
[63/69] Compiling ArgumentParser CommandParser.swift
[64/69] Compiling ArgumentParser InputKey.swift
[65/69] Compiling ArgumentParser InputOrigin.swift
[66/70] Wrapping AST for ArgumentParser for debugging
[68/78] Compiling strings_check StringsFileSource.swift
[69/78] Compiling strings_check Parser.swift
[70/78] Compiling strings_check Comparatron.swift
[71/78] Compiling strings_check Array+extension.swift
[72/78] Emitting module strings_check
[73/78] Compiling strings_check OutputFormatter.swift
[74/78] Compiling strings_check cli.swift
[75/78] Compiling strings_check PathStringsFileSource.swift
/host/spi-builder-workspace/Sources/strings-check/PathStringsFileSource.swift:11:36: error: value of type 'FileHandle' has no member 'bytes'
        for try await line in file.bytes.lines {
                              ~~~~ ^~~~~
error: fatalError
[0/1] Planning build
[1/1] Compiling plugin Generate Manual
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/7] Emitting module strings_check
[4/7] Compiling strings_check PathStringsFileSource.swift
/host/spi-builder-workspace/Sources/strings-check/PathStringsFileSource.swift:11:36: error: value of type 'FileHandle' has no member 'bytes'
        for try await line in file.bytes.lines {
                              ~~~~ ^~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2