The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Flint with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/flintprocessor/Flint.git
Reference: 0.2.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/flintprocessor/Flint
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 66d039a Merge branch 'develop'
Cloned https://github.com/flintprocessor/Flint.git
Revision (git rev-parse @):
66d039a200a7ccd4f347f8bf1aecef1576ff2311
SUCCESS checkout https://github.com/flintprocessor/Flint.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/flintprocessor/Flint.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/jasonnam/PathFinder
[1/376] Fetching pathfinder
Fetched https://github.com/jasonnam/PathFinder from cache (0.22s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/flintbox/Work
Fetching https://github.com/flintbox/ANSIEscapeCode
Fetching https://github.com/flintbox/Bouncer
Fetching https://github.com/flintbox/Motor
[1/49] Fetching ansiescapecode
[50/89] Fetching ansiescapecode, motor
[89/8918] Fetching ansiescapecode, motor, yams
[90/9128] Fetching ansiescapecode, motor, yams, bouncer
[227/9152] Fetching ansiescapecode, motor, yams, bouncer, work
Fetched https://github.com/flintbox/Motor from cache (0.26s)
Fetched https://github.com/flintbox/ANSIEscapeCode from cache (0.26s)
[587/9063] Fetching yams, bouncer, work
Fetched https://github.com/flintbox/Bouncer from cache (0.27s)
Fetched https://github.com/flintbox/Work from cache (0.27s)
[442/8829] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (0.97s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.0 (0.44s)
Computing version for https://github.com/flintbox/ANSIEscapeCode
Computed https://github.com/flintbox/ANSIEscapeCode at 0.1.1 (0.44s)
Computing version for https://github.com/flintbox/Work
Computed https://github.com/flintbox/Work at 0.1.1 (0.45s)
Computing version for https://github.com/flintbox/Motor
Computed https://github.com/flintbox/Motor at 0.1.2 (0.44s)
Computing version for https://github.com/flintbox/Bouncer
Computed https://github.com/flintbox/Bouncer at 0.1.3 (0.45s)
Creating working copy for https://github.com/flintbox/Motor
Working copy of https://github.com/flintbox/Motor resolved at 0.1.2
Creating working copy for https://github.com/flintbox/ANSIEscapeCode
Working copy of https://github.com/flintbox/ANSIEscapeCode resolved at 0.1.1
Creating working copy for https://github.com/flintbox/Work
Working copy of https://github.com/flintbox/Work resolved at 0.1.1
Creating working copy for https://github.com/jasonnam/PathFinder
Working copy of https://github.com/jasonnam/PathFinder resolved at develop (beb4667)
Creating working copy for https://github.com/flintbox/Bouncer
Working copy of https://github.com/flintbox/Bouncer resolved at 0.1.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.0
Building for debugging...
[0/23] Write sources
[7/23] Compiling reader.c
[8/23] Compiling writer.c
[9/23] Compiling api.c
[10/23] Compiling parser.c
[11/23] Write swift-version-24593BA9C3E375BF.txt
[12/23] Compiling emitter.c
[13/23] Compiling scanner.c
[15/75] Emitting module Yams
[16/77] Compiling Yams YamlError.swift
[17/77] Compiling Yams shim.swift
[18/77] Compiling PathFinder Path+Operator.swift
[19/77] Compiling PathFinder Path+Directory.swift
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Directory.swift:44:54: error: value of type 'FileManager' has no member 'containerURL'
        guard let containerURL = FileManager.default.containerURL(
                                 ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Directory.swift:72:38: error: cannot find 'NSOpenStepRootDirectory' in scope
        return Path(fileURLWithPath: NSOpenStepRootDirectory())
                                     ^~~~~~~~~~~~~~~~~~~~~~~
[20/78] Compiling Yams Representer.swift
[21/78] Compiling Yams Resolver.swift
[22/78] Compiling Yams String+Yams.swift
[23/78] Compiling Yams Tag.swift
[24/78] Compiling Yams Mark.swift
[25/78] Compiling Yams Node.Mapping.swift
[26/78] Compiling Work WorkResult.swift
[27/78] Compiling Bouncer CommandParsingError.swift
[32/78] Compiling ANSIEscapeCode EraseInDisplayType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/80] Compiling Yams Constructor.swift
[34/80] Compiling Yams Decoder.swift
[35/80] Emitting module PathFinder
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:111:44: error: cannot find type 'OSType' in scope
    public func hfsCreatorCode() throws -> OSType {
                                           ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:117:41: error: cannot find type 'OSType' in scope
    public func hfsTypeCode() throws -> OSType {
                                        ^~~~~~
[36/80] Compiling ANSIEscapeCode EraseInLineType.swift
[39/80] Emitting module Bouncer
[40/80] Compiling PathFinder Path+Attributes.swift
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:111:44: error: cannot find type 'OSType' in scope
    public func hfsCreatorCode() throws -> OSType {
                                           ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:117:41: error: cannot find type 'OSType' in scope
    public func hfsTypeCode() throws -> OSType {
                                        ^~~~~~
[41/80] Compiling Yams Emitter.swift
[42/80] Compiling Yams Encoder.swift
[43/80] Compiling Yams Node.swift
[44/80] Compiling Yams Parser.swift
[45/80] Compiling Yams Node.Scalar.swift
[46/80] Compiling Yams Node.Sequence.swift
[51/80] Emitting module ANSIEscapeCode
[60/80] Emitting module Work
[61/80] Compiling Work Work.swift
[62/80] Compiling Work String+Trimming.swift
[63/81] Compiling ANSIEscapeCode String+ANSIEscapeCode.swift
[64/81] Compiling PathFinder Path+URL.swift
[65/81] Compiling PathFinder Path+Subscript.swift
[66/81] Compiling PathFinder Path.swift
[67/82] Compiling PathFinder ReadAttributesError.swift
[69/82] Compiling ANSIEscapeCode PrintANSIEscapeCode.swift
[70/82] Compiling ANSIEscapeCode Scroll.swift
[72/82] Compiling ANSIEscapeCode TextColor.swift
[73/83] Compiling Bouncer Program.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
[2/16] Emitting module Work
[4/18] Compiling PathFinder Path+Directory.swift
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Directory.swift:44:54: error: value of type 'FileManager' has no member 'containerURL'
        guard let containerURL = FileManager.default.containerURL(
                                 ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Directory.swift:72:38: error: cannot find 'NSOpenStepRootDirectory' in scope
        return Path(fileURLWithPath: NSOpenStepRootDirectory())
                                     ^~~~~~~~~~~~~~~~~~~~~~~
[5/18] Emitting module Bouncer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/19] Emitting module PathFinder
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:111:44: error: cannot find type 'OSType' in scope
    public func hfsCreatorCode() throws -> OSType {
                                           ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:117:41: error: cannot find type 'OSType' in scope
    public func hfsTypeCode() throws -> OSType {
                                        ^~~~~~
[7/19] Compiling PathFinder Path+Attributes.swift
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:111:44: error: cannot find type 'OSType' in scope
    public func hfsCreatorCode() throws -> OSType {
                                           ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:117:41: error: cannot find type 'OSType' in scope
    public func hfsTypeCode() throws -> OSType {
                                        ^~~~~~
[8/19] Emitting module ANSIEscapeCode
[9/20] Wrapping AST for Work for debugging
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2