Build Information
Failed to build GPXKit, reference main (fc5a7c
), with Swift 6.0 for Linux on 5 Nov 2024 04:29:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/mmllr/GPXKit.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/mmllr/GPXKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fc5a7c1 Updates README.md
Cloned https://github.com/mmllr/GPXKit.git
Revision (git rev-parse @):
fc5a7c15f5d28dde80baaf8765daea6321f142f4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mmllr/GPXKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mmllr/GPXKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/pointfreeco/swift-custom-dump
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-algorithms
[1/2038] Fetching swift-docc-plugin
[226/7614] Fetching swift-docc-plugin, swift-numerics
[282/12125] Fetching swift-docc-plugin, swift-numerics, swift-custom-dump
[9868/17688] Fetching swift-docc-plugin, swift-numerics, swift-custom-dump, swift-algorithms
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.43s)
Fetched https://github.com/apple/swift-algorithms from cache (0.45s)
Fetched https://github.com/apple/swift-numerics from cache (0.45s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.46s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (1.88s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.82s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.46s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.41s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.12s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.2 (0.75s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.4.2
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/17] Emitting module RealModule
[9/18] Compiling RealModule Float80+Real.swift
[10/18] Compiling RealModule Real.swift
[11/18] Compiling RealModule Float16+Real.swift
[12/18] Compiling RealModule RealFunctions.swift
[13/18] Compiling RealModule ElementaryFunctions.swift
[14/18] Compiling RealModule AugmentedArithmetic.swift
[15/18] Compiling RealModule Double+Real.swift
[16/18] Compiling RealModule AlgebraicField.swift
[17/18] Compiling RealModule ApproximateEquality.swift
[18/18] Compiling RealModule Float+Real.swift
[20/44] Compiling Algorithms Split.swift
[21/44] Compiling Algorithms Stride.swift
[22/44] Compiling Algorithms Suffix.swift
[23/47] Compiling Algorithms Joined.swift
[24/47] Compiling Algorithms Keyed.swift
[25/47] Compiling Algorithms MinMax.swift
[26/47] Compiling Algorithms Compacted.swift
[27/47] Compiling Algorithms Cycle.swift
[28/47] Compiling Algorithms EitherSequence.swift
[29/47] Compiling Algorithms FirstNonNil.swift
[30/47] Compiling Algorithms RandomSample.swift
[31/47] Compiling Algorithms Reductions.swift
[32/47] Compiling Algorithms Rotate.swift
[33/47] Compiling Algorithms Partition.swift
[34/47] Compiling Algorithms Permutations.swift
[35/47] Compiling Algorithms Product.swift
[36/47] Compiling Algorithms FlattenCollection.swift
[37/47] Compiling Algorithms Grouped.swift
[38/47] Compiling Algorithms Indexed.swift
[39/47] Compiling Algorithms Intersperse.swift
[40/47] Compiling Algorithms Trim.swift
[41/47] Compiling Algorithms Unique.swift
[42/47] Compiling Algorithms Windows.swift
[43/47] Compiling Algorithms AdjacentPairs.swift
[44/47] Compiling Algorithms Chain.swift
[45/47] Compiling Algorithms Chunked.swift
[46/47] Compiling Algorithms Combinations.swift
[47/47] Emitting module Algorithms
[49/67] Emitting module GPXKit
[50/69] Compiling GPXKit TrackSegment.swift
[51/69] Compiling GPXKit Waypoint.swift
[52/69] Compiling GPXKit CombineSupport.swift
[53/69] Compiling GPXKit Coordinate.swift
[54/69] Compiling GPXKit CoreLocationSupport.swift
[55/69] Compiling GPXKit GeoCoordinate.swift
[56/69] Compiling GPXKit GradeSegment.swift
[57/69] Compiling GPXKit ISO8601DateFormatter.swift
[58/69] Compiling GPXKit TrackGraph+Private.swift
[59/69] Compiling GPXKit TrackGraph.swift
[60/69] Compiling GPXKit TrackPoint.swift
[61/69] Compiling GPXKit GPXFileParser.swift
/host/spi-builder-workspace/Sources/GPXKit/GPXFileParser.swift:375:36: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
373 | /// - Returns: An `GPXFileParser` instance or nil if the track cannot be parsed.
374 | init?(url: URL) {
375 | guard let xmlString = try? String(contentsOf: url) else { return nil }
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
376 | self.init(xmlString: xmlString)
377 | }
[62/69] Compiling GPXKit GPXTrack.swift
/host/spi-builder-workspace/Sources/GPXKit/GPXFileParser.swift:375:36: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
373 | /// - Returns: An `GPXFileParser` instance or nil if the track cannot be parsed.
374 | init?(url: URL) {
375 | guard let xmlString = try? String(contentsOf: url) else { return nil }
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
376 | self.init(xmlString: xmlString)
377 | }
[63/69] Compiling GPXKit GeoBounds.swift
/host/spi-builder-workspace/Sources/GPXKit/GPXFileParser.swift:375:36: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
373 | /// - Returns: An `GPXFileParser` instance or nil if the track cannot be parsed.
374 | init?(url: URL) {
375 | guard let xmlString = try? String(contentsOf: url) else { return nil }
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
376 | self.init(xmlString: xmlString)
377 | }
[64/69] Compiling GPXKit DistanceCalculation.swift
[65/69] Compiling GPXKit DistanceHeight.swift
[66/69] Compiling GPXKit GPXExporter.swift
[67/69] Compiling GPXKit BasicXMLParser.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:42:27: error: cannot find 'autoreleasepool' in scope
40 | func parse() -> Result<XMLNode, BasicXMLParserError> {
41 | parser.delegate = self
42 | let parseResult = autoreleasepool {
| `- error: cannot find 'autoreleasepool' in scope
43 | self.parser.parse()
44 | }
[68/69] Compiling GPXKit Climb.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:42:27: error: cannot find 'autoreleasepool' in scope
40 | func parse() -> Result<XMLNode, BasicXMLParserError> {
41 | parser.delegate = self
42 | let parseResult = autoreleasepool {
| `- error: cannot find 'autoreleasepool' in scope
43 | self.parser.parse()
44 | }
[69/69] Compiling GPXKit CollectionExtensions.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:42:27: error: cannot find 'autoreleasepool' in scope
40 | func parse() -> Result<XMLNode, BasicXMLParserError> {
41 | parser.delegate = self
42 | let parseResult = autoreleasepool {
| `- error: cannot find 'autoreleasepool' in scope
43 | self.parser.parse()
44 | }
BUILD FAILURE 6.0 linux