The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swim 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/mitsuse/swim.git
Reference: master
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/mitsuse/swim
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a29d999 Merge branch 'update-readme'
Cloned https://github.com/mitsuse/swim.git
Revision (git rev-parse @):
a29d999c27475bfb3859c7d48b51f8353c0410b1
SUCCESS checkout https://github.com/mitsuse/swim.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mitsuse/swim.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
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Carthage/Commandant.git
[1/2323] Fetching commandant
[2324/16532] Fetching commandant, quick
Fetched https://github.com/Carthage/Commandant.git from cache (0.28s)
Computing version for https://github.com/Carthage/Commandant.git
[285/14209] Fetching quick
Fetched https://github.com/Quick/Quick.git from cache (0.66s)
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.49s)
[1/17291] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.70s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (0.45s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.50s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.2
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling Commandant Result+Additions.swift
[5/18] Compiling Commandant Switch.swift
[6/18] Compiling Commandant OrderedSet.swift
[7/18] Compiling Commandant Argument.swift
[8/18] Compiling Commandant ArgumentParser.swift
[9/18] Emitting module Commandant
[10/18] Compiling Commandant ArgumentProtocol.swift
[11/18] Compiling Commandant Command.swift
[12/18] Compiling Commandant Option.swift
[13/18] Compiling Commandant Errors.swift
[14/18] Compiling Commandant HelpCommand.swift
[15/19] Wrapping AST for Commandant for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/25] Emitting module swim
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[18/25] Compiling swim main.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[19/25] Compiling swim InputSource.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[20/25] Compiling swim RawInputSource.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[21/25] Compiling swim Command.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[22/25] Compiling swim Object.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling swim RawInputSource.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[3/10] Compiling swim Object.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[4/10] Compiling swim main.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module swim
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[6/10] Compiling swim Command.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
[7/10] Compiling swim InputSource.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
import Darwin
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2