The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MapboxMobileEvents with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/mapbox/mapbox-events-ios.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/mapbox/mapbox-events-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ec58500 Rename variable to use secret shared with other projects. (#356)
Cloned https://github.com/mapbox/mapbox-events-ios.git
Revision (git rev-parse @):
ec58500f50b3386fe53f8882a23eb0e08b1636c1
SUCCESS checkout https://github.com/mapbox/mapbox-events-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mapbox/mapbox-events-ios.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
warning: 'spi-builder-workspace': "Mapbox token wasn\'t founded in ~/.netrc. Fix this issue to integrate Mapbox SDK. Otherwise, you will see \'invalid status code 401\' or \'no XCFramework found. To clean issue in Xcode, remove ~/Library/Developer/Xcode/DerivedData folder"
[189/189] Downloading https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/1.0.10/MapboxMobileEvents.zip
Downloading binary artifact https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/1.0.10/MapboxMobileEvents.zip
error: failed downloading 'https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/1.0.10/MapboxMobileEvents.zip' which is required by binary target 'MapboxMobileEvents': badResponseStatusCode(401)
warning: 'spi-builder-workspace': "Mapbox token wasn\'t founded in ~/.netrc. Fix this issue to integrate Mapbox SDK. Otherwise, you will see \'invalid status code 401\' or \'no XCFramework found. To clean issue in Xcode, remove ~/Library/Developer/Xcode/DerivedData folder"
[189/189] Downloading https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/1.0.10/MapboxMobileEvents.zip
Downloading binary artifact https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/1.0.10/MapboxMobileEvents.zip
error: failed downloading 'https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/1.0.10/MapboxMobileEvents.zip' which is required by binary target 'MapboxMobileEvents': badResponseStatusCode(401)
BUILD FAILURE 5.10 linux

Build Machine: Linux 2