The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GPXKit with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mmllr/GPXKit.git
Reference: 2.2.4
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
 * tag               2.2.4      -> FETCH_HEAD
HEAD is now at 3b1e913 Cleans up code in TrackGraphTests.swift
Cloned https://github.com/mmllr/GPXKit.git
Revision (git rev-parse @):
3b1e913050c1809a3b4a21f92af2110d988dd1af
SUCCESS checkout https://github.com/mmllr/GPXKit.git at 2.2.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/mmllr/GPXKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/apple/swift-algorithms
[1/4225] Fetching swift-custom-dump
[4226/9426] Fetching swift-custom-dump, swift-algorithms
Fetching https://github.com/apple/swift-numerics.git
[1/2327] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-custom-dump (0.41s)
Fetched https://github.com/apple/swift-algorithms (0.41s)
Computing version for https://github.com/apple/swift-algorithms
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.55s)
[1/5408] Fetching swift-numerics
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.40s)
Fetched https://github.com/apple/swift-numerics.git (0.41s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.2.0 (0.38s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.37s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.1.0 (0.38s)
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/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.2.0
Building for debugging...
[0/1] Compiling _NumericsShims _NumericsShims.c
[2/11] Compiling RealModule AlgebraicField.swift
[3/11] Compiling RealModule ApproximateEquality.swift
[4/11] Emitting module RealModule
[5/11] Compiling RealModule AugmentedArithmetic.swift
[6/11] Compiling RealModule Double+Real.swift
[7/12] Compiling RealModule Real.swift
[8/12] Compiling RealModule Float+Real.swift
[9/12] Compiling RealModule ElementaryFunctions.swift
[10/12] Compiling RealModule Float80+Real.swift
[11/12] Compiling RealModule Float16+Real.swift
[12/12] Compiling RealModule RealFunctions.swift
[15/39] Compiling Algorithms Joined.swift
[16/39] Compiling Algorithms Keyed.swift
[17/39] Compiling Algorithms MinMax.swift
[18/42] Compiling Algorithms Partition.swift
[19/42] Compiling Algorithms Permutations.swift
[20/42] Compiling Algorithms Product.swift
[21/42] Compiling Algorithms Compacted.swift
[22/42] Compiling Algorithms Cycle.swift
[23/42] Compiling Algorithms EitherSequence.swift
[24/42] Compiling Algorithms FirstNonNil.swift
[25/42] Compiling Algorithms RandomSample.swift
[26/42] Compiling Algorithms Reductions.swift
[27/42] Compiling Algorithms Rotate.swift
[28/42] Compiling Algorithms Split.swift
[29/42] Compiling Algorithms Stride.swift
[30/42] Compiling Algorithms Suffix.swift
[31/42] Compiling Algorithms FlattenCollection.swift
[32/42] Compiling Algorithms Grouped.swift
[33/42] Compiling Algorithms Indexed.swift
[34/42] Compiling Algorithms Intersperse.swift
[35/42] Compiling Algorithms Trim.swift
[36/42] Compiling Algorithms Unique.swift
[37/42] Compiling Algorithms Windows.swift
[38/42] Compiling Algorithms AdjacentPairs.swift
[39/42] Compiling Algorithms Chain.swift
[40/42] Compiling Algorithms Chunked.swift
[41/42] Compiling Algorithms Combinations.swift
[42/42] Emitting module Algorithms
[45/63] Emitting module GPXKit
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:13:16: warning: stored property 'power' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitPower>?'
    public var power: Measurement<UnitPower>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:22:16: warning: stored property 'temperature' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitTemperature>?'
    public var temperature: Measurement<UnitTemperature>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:25:16: warning: stored property 'speed' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitSpeed>?'
    public var speed: Measurement<UnitSpeed>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
[46/65] Compiling GPXKit BasicXMLParser.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:37:27: error: cannot find 'autoreleasepool' in scope
        let parseResult = autoreleasepool {
                          ^~~~~~~~~~~~~~~
[47/65] Compiling GPXKit Climb.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:37:27: error: cannot find 'autoreleasepool' in scope
        let parseResult = autoreleasepool {
                          ^~~~~~~~~~~~~~~
[48/65] Compiling GPXKit CollectionExtensions.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:37:27: error: cannot find 'autoreleasepool' in scope
        let parseResult = autoreleasepool {
                          ^~~~~~~~~~~~~~~
[49/65] Compiling GPXKit TrackSegment.swift
[50/65] Compiling GPXKit Waypoint.swift
[51/65] Compiling GPXKit GPXFileParser.swift
[52/65] Compiling GPXKit GPXTrack.swift
[53/65] Compiling GPXKit GeoBounds.swift
[54/65] Compiling GPXKit DistanceCalculation.swift
[55/65] Compiling GPXKit DistanceHeight.swift
[56/65] Compiling GPXKit GPXExporter.swift
[57/65] Compiling GPXKit CombineSupport.swift
[58/65] Compiling GPXKit Coordinate.swift
[59/65] Compiling GPXKit CoreLocationSupport.swift
[60/65] Compiling GPXKit TrackGraph.swift
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:13:16: warning: stored property 'power' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitPower>?'
    public var power: Measurement<UnitPower>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:22:16: warning: stored property 'temperature' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitTemperature>?'
    public var temperature: Measurement<UnitTemperature>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:25:16: warning: stored property 'speed' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitSpeed>?'
    public var speed: Measurement<UnitSpeed>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
[61/65] Compiling GPXKit TrackPoint.swift
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:13:16: warning: stored property 'power' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitPower>?'
    public var power: Measurement<UnitPower>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:22:16: warning: stored property 'temperature' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitTemperature>?'
    public var temperature: Measurement<UnitTemperature>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:25:16: warning: stored property 'speed' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitSpeed>?'
    public var speed: Measurement<UnitSpeed>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
[62/65] Compiling GPXKit ISO8601DateFormatter.swift
[63/65] Compiling GPXKit TrackGraph+Private.swift
[64/65] Compiling GPXKit GeoCoordinate.swift
[65/65] Compiling GPXKit GradeSegment.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/1] Emitting module RealModule
[4/4] Emitting module Algorithms
[7/10] Compiling GPXKit Climb.swift
[8/10] Compiling GPXKit CollectionExtensions.swift
[9/20] Emitting module GPXKit
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:13:16: warning: stored property 'power' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitPower>?'
    public var power: Measurement<UnitPower>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:22:16: warning: stored property 'temperature' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitTemperature>?'
    public var temperature: Measurement<UnitTemperature>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:25:16: warning: stored property 'speed' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitSpeed>?'
    public var speed: Measurement<UnitSpeed>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
[10/20] Compiling GPXKit BasicXMLParser.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:37:27: error: cannot find 'autoreleasepool' in scope
        let parseResult = autoreleasepool {
                          ^~~~~~~~~~~~~~~
[11/23] Compiling GPXKit TrackPoint.swift
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:13:16: warning: stored property 'power' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitPower>?'
    public var power: Measurement<UnitPower>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:22:16: warning: stored property 'temperature' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitTemperature>?'
    public var temperature: Measurement<UnitTemperature>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
/host/spi-builder-workspace/Sources/GPXKit/TrackPoint.swift:25:16: warning: stored property 'speed' of 'Sendable'-conforming struct 'TrackPoint' has non-sendable type 'Measurement<UnitSpeed>?'
    public var speed: Measurement<UnitSpeed>?
               ^
Foundation.Measurement:2:15: note: generic struct 'Measurement' does not conform to the 'Sendable' protocol
public struct Measurement<UnitType> : ReferenceConvertible, Comparable, Equatable where UnitType : Unit {
              ^
[12/23] Compiling GPXKit GradeSegment.swift
[13/23] Compiling GPXKit ISO8601DateFormatter.swift
[14/25] Compiling GPXKit GeoBounds.swift
[15/25] Compiling GPXKit GeoCoordinate.swift
[16/25] Compiling GPXKit DistanceHeight.swift
[17/25] Compiling GPXKit GPXExporter.swift
[18/25] Compiling GPXKit GPXFileParser.swift
[19/25] Compiling GPXKit GPXTrack.swift
[20/25] Compiling GPXKit TrackSegment.swift
[21/25] Compiling GPXKit Waypoint.swift
[22/25] Compiling GPXKit TrackGraph+Private.swift
[23/25] Compiling GPXKit Coordinate.swift
[24/25] Compiling GPXKit DistanceCalculation.swift
[25/25] Compiling GPXKit TrackGraph.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1