The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MapboxMobileEvents, reference v2.0.0 (990bab), with Swift 5.10 for Linux on 18 Sep 2024 18:59:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.54.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mapbox/mapbox-events-ios.git
Reference: v2.0.0
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
 * tag               v2.0.0     -> FETCH_HEAD
HEAD is now at 990bab7 Update Package.swift (#362)
Cloned https://github.com/mapbox/mapbox-events-ios.git
Revision (git rev-parse @):
990bab73cf50242a05f29b6a9cfeb30592150c13
SUCCESS checkout https://github.com/mapbox/mapbox-events-ios.git at v2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/mapbox/mapbox-events-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
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"
[188/188] Downloading https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/2.0.0/MapboxMobileEvents.zip
Downloading binary artifact https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/2.0.0/MapboxMobileEvents.zip
error: failed downloading 'https://api.mapbox.com/downloads/v2/mapbox-events-ios/releases/ios/packages/2.0.0/MapboxMobileEvents.zip' which is required by binary target 'MapboxMobileEvents': badResponseStatusCode(401)
BUILD FAILURE 5.10 linux