The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GPXKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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: 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 248a384 Improves TrackGraphTests.swift
Cloned https://github.com/mmllr/GPXKit.git
Revision (git rev-parse @):
248a384ed908780904df75098388ef24f081ed9b
SUCCESS checkout https://github.com/mmllr/GPXKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mmllr/GPXKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4225] Fetching swift-custom-dump
[4226/9633] Fetching swift-custom-dump, swift-numerics
[5254/14834] Fetching swift-custom-dump, swift-numerics, swift-algorithms
[14835/17161] Fetching swift-custom-dump, swift-numerics, swift-algorithms, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.47s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.47s)
Fetched https://github.com/apple/swift-algorithms from cache (0.47s)
Computing version for https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.37s)
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.41s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.1.0 (0.39s)
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
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
Building for debugging...
[0/5] Write sources
[3/5] Compiling _NumericsShims _NumericsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Compiling RealModule ElementaryFunctions.swift
[7/15] Compiling RealModule Float16+Real.swift
[8/16] Compiling RealModule RealFunctions.swift
[9/16] Compiling RealModule AlgebraicField.swift
[10/16] Compiling RealModule ApproximateEquality.swift
[11/16] Emitting module RealModule
[12/16] Compiling RealModule Real.swift
[13/16] Compiling RealModule AugmentedArithmetic.swift
[14/16] Compiling RealModule Double+Real.swift
[15/16] Compiling RealModule Float80+Real.swift
[16/16] Compiling RealModule Float+Real.swift
[18/42] Compiling Algorithms RandomSample.swift
[19/42] Compiling Algorithms Reductions.swift
[20/42] Compiling Algorithms Rotate.swift
[21/45] Compiling Algorithms Partition.swift
[22/45] Compiling Algorithms Permutations.swift
[23/45] Compiling Algorithms Product.swift
[24/45] Compiling Algorithms Compacted.swift
[25/45] Compiling Algorithms Cycle.swift
[26/45] Compiling Algorithms EitherSequence.swift
[27/45] Compiling Algorithms FirstNonNil.swift
[28/45] Compiling Algorithms Split.swift
[29/45] Compiling Algorithms Stride.swift
[30/45] Compiling Algorithms Suffix.swift
[31/45] Compiling Algorithms Joined.swift
[32/45] Compiling Algorithms Keyed.swift
[33/45] Compiling Algorithms MinMax.swift
[34/45] Compiling Algorithms FlattenCollection.swift
[35/45] Compiling Algorithms Grouped.swift
[36/45] Compiling Algorithms Indexed.swift
[37/45] Compiling Algorithms Intersperse.swift
[38/45] Compiling Algorithms Trim.swift
[39/45] Compiling Algorithms Unique.swift
[40/45] Compiling Algorithms Windows.swift
[41/45] Compiling Algorithms AdjacentPairs.swift
[42/45] Compiling Algorithms Chain.swift
[43/45] Compiling Algorithms Chunked.swift
[44/45] Compiling Algorithms Combinations.swift
[45/45] Emitting module Algorithms
[47/65] 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 {
              ^
[48/67] Compiling GPXKit BasicXMLParser.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:37:27: error: cannot find 'autoreleasepool' in scope
        let parseResult = autoreleasepool {
                          ^~~~~~~~~~~~~~~
[49/67] Compiling GPXKit Climb.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:37:27: error: cannot find 'autoreleasepool' in scope
        let parseResult = autoreleasepool {
                          ^~~~~~~~~~~~~~~
[50/67] Compiling GPXKit CollectionExtensions.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:37:27: error: cannot find 'autoreleasepool' in scope
        let parseResult = autoreleasepool {
                          ^~~~~~~~~~~~~~~
[51/67] Compiling GPXKit TrackSegment.swift
[52/67] Compiling GPXKit Waypoint.swift
[53/67] Compiling GPXKit GeoCoordinate.swift
[54/67] Compiling GPXKit GradeSegment.swift
[55/67] 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 {
              ^
[56/67] 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 {
              ^
[57/67] Compiling GPXKit ISO8601DateFormatter.swift
[58/67] Compiling GPXKit TrackGraph+Private.swift
[59/67] Compiling GPXKit GPXFileParser.swift
[60/67] Compiling GPXKit GPXTrack.swift
[61/67] Compiling GPXKit GeoBounds.swift
[62/67] Compiling GPXKit DistanceCalculation.swift
[63/67] Compiling GPXKit DistanceHeight.swift
[64/67] Compiling GPXKit GPXExporter.swift
[65/67] Compiling GPXKit CombineSupport.swift
[66/67] Compiling GPXKit Coordinate.swift
[67/67] Compiling GPXKit CoreLocationSupport.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling GPXKit CollectionExtensions.swift
[3/5] Compiling GPXKit Climb.swift
[4/5] 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 {
              ^
[5/5] Compiling GPXKit BasicXMLParser.swift
/host/spi-builder-workspace/Sources/GPXKit/BasicXMLParser.swift:37:27: error: cannot find 'autoreleasepool' in scope
        let parseResult = autoreleasepool {
                          ^~~~~~~~~~~~~~~
[6/20] Compiling GPXKit GradeSegment.swift
[7/20] Compiling GPXKit ISO8601DateFormatter.swift
[8/20] Compiling GPXKit Coordinate.swift
[9/20] Compiling GPXKit DistanceCalculation.swift
[10/20] Compiling GPXKit Waypoint.swift
[11/20] Compiling GPXKit TrackGraph+Private.swift
[12/20] Compiling GPXKit TrackGraph.swift
[13/20] 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 {
              ^
[14/20] Compiling GPXKit TrackSegment.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 {
              ^
[15/20] Compiling GPXKit DistanceHeight.swift
[16/20] Compiling GPXKit GPXExporter.swift
[17/20] Compiling GPXKit GeoBounds.swift
[18/20] Compiling GPXKit GeoCoordinate.swift
[19/20] Compiling GPXKit GPXFileParser.swift
[20/20] Compiling GPXKit GPXTrack.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1