The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Papyrus with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reddavis/Papyrus.git
Reference: v0.13.2
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/reddavis/Papyrus
 * tag               v0.13.2    -> FETCH_HEAD
HEAD is now at 7be0a60 fix: return if collection is empty (#11)
Cloned https://github.com/reddavis/Papyrus.git
Revision (git rev-parse @):
7be0a607093dd24879cf56a23c87d60f8e770f0f
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/reddavis/Papyrus.git at v0.13.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Unit/Performance/Supporting Files/Unit.xctestplan': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Performance/Performance/Supporting Files/Performance.xctestplan': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Unit/Supporting Files/Unit.xctestplan
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Performance/Supporting Files/Performance.xctestplan
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/11] Emitting module Papyrus
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[2/12] Compiling Papyrus ObjectChange.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[3/12] Compiling Papyrus AsyncSequence.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[4/12] Compiling Papyrus AsyncStream.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[5/12] Compiling Papyrus AsyncThrowingStream.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[6/12] Compiling Papyrus Fail.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[7/12] Compiling Papyrus Logger.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[8/12] Compiling Papyrus DirectoryObserver.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[9/12] Compiling Papyrus ObjectQuery.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[10/12] Compiling Papyrus CollectionQuery.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[11/12] Compiling Papyrus Papyrus.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[12/12] Compiling Papyrus PapyrusStore.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Unit/Performance/Supporting Files/Unit.xctestplan': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Performance/Performance/Supporting Files/Performance.xctestplan': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Unit/Supporting Files/Unit.xctestplan
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Performance/Supporting Files/Performance.xctestplan
[0/1] Planning build
Building for debugging...
[1/11] Compiling Papyrus AsyncSequence.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[2/11] Compiling Papyrus AsyncStream.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[3/12] Compiling Papyrus Papyrus.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[4/12] Emitting module Papyrus
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[5/12] Compiling Papyrus Logger.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[6/12] Compiling Papyrus DirectoryObserver.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[7/12] Compiling Papyrus AsyncThrowingStream.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[8/12] Compiling Papyrus Fail.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[9/12] Compiling Papyrus PapyrusStore.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[10/12] Compiling Papyrus ObjectChange.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[11/12] Compiling Papyrus ObjectQuery.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
[12/12] Compiling Papyrus CollectionQuery.swift
/host/spi-builder-workspace/Sources/Papyrus/Logger.swift:2:8: error: no such module 'os'
import os
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2