The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CompassCardDownloader with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/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.33.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/CompassCardDownloader.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/Nef10/CompassCardDownloader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b77d0fe Bump setup-swift from 1.26.0 to 2.0.0
Cloned https://github.com/Nef10/CompassCardDownloader.git
Revision (git rev-parse @):
b77d0fe4f5e4f5d361d378c21fcb23156e778cf6
SUCCESS checkout https://github.com/Nef10/CompassCardDownloader.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Nef10/CompassCardDownloader.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.10-latest' locally
basic-5.10-latest: Pulling from finestructure/spi-images
23828d760c7b: Already exists
c9d90eba6838: Already exists
b49f593053a1: Pulling fs layer
3de10435c769: Pulling fs layer
e409136365b5: Pulling fs layer
01f92e3cb818: Pulling fs layer
01f92e3cb818: Waiting
3de10435c769: Verifying Checksum
3de10435c769: Download complete
01f92e3cb818: Verifying Checksum
01f92e3cb818: Download complete
e409136365b5: Verifying Checksum
e409136365b5: Download complete
b49f593053a1: Verifying Checksum
b49f593053a1: Download complete
b49f593053a1: Pull complete
3de10435c769: Pull complete
e409136365b5: Pull complete
01f92e3cb818: Pull complete
Digest: sha256:3c28307b349d5b3f784e0446420425f3b2d3fe409ccecc7cfe8761b9cf595544
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/Nef10/SwiftScraper.git
[1/1227] Fetching swiftscraper
Fetched https://github.com/Nef10/SwiftScraper.git from cache (0.24s)
Computing version for https://github.com/Nef10/SwiftScraper.git
Computed https://github.com/Nef10/SwiftScraper.git at 0.6.0 (0.40s)
Creating working copy for https://github.com/Nef10/SwiftScraper.git
Working copy of https://github.com/Nef10/SwiftScraper.git resolved at 0.6.0
Building for debugging...
[0/5] Write sources
[1/5] Copying SwiftScraper.js
[3/5] Copying CompassCardDownload.js
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/22] Emitting module SwiftScraper
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[7/24] Compiling SwiftScraper SwiftScraperError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[8/24] Compiling SwiftScraper resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[9/24] Compiling SwiftScraper ProcessStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[10/24] Compiling SwiftScraper ScriptStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[11/24] Compiling SwiftScraper OpenPageStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[12/24] Compiling SwiftScraper PageChangeStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[13/24] Compiling SwiftScraper Step.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[14/24] Compiling SwiftScraper StepCompletionCallback.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[15/24] Compiling SwiftScraper WaitForConditionStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[16/24] Compiling SwiftScraper WaitStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[17/24] Compiling SwiftScraper AsyncProcessStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[18/24] Compiling SwiftScraper AsyncScriptStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[19/24] Compiling SwiftScraper NavigableStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[20/24] Compiling SwiftScraper StepFlowResult.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[21/24] Compiling SwiftScraper DownloadStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[22/24] Compiling SwiftScraper Browser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[23/24] Compiling SwiftScraper JavaScriptGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[24/24] Compiling SwiftScraper StepRunner.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] Emitting module SwiftScraper
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[3/20] Compiling SwiftScraper OpenPageStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[4/20] Compiling SwiftScraper PageChangeStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[5/20] Compiling SwiftScraper WaitForConditionStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[6/20] Compiling SwiftScraper WaitStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[7/20] Compiling SwiftScraper ProcessStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[8/20] Compiling SwiftScraper ScriptStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[9/20] Compiling SwiftScraper StepFlowResult.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[10/20] Compiling SwiftScraper DownloadStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[11/20] Compiling SwiftScraper Step.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[12/20] Compiling SwiftScraper StepCompletionCallback.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[13/20] Compiling SwiftScraper AsyncProcessStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[14/20] Compiling SwiftScraper AsyncScriptStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[15/20] Compiling SwiftScraper NavigableStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[16/20] Compiling SwiftScraper Browser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[17/20] Compiling SwiftScraper JavaScriptGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[18/20] Compiling SwiftScraper StepRunner.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[19/20] Compiling SwiftScraper SwiftScraperError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[20/20] Compiling SwiftScraper resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1