The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Flint with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flintprocessor/Flint.git
Reference: 0.2.0
Cloned https://github.com/flintprocessor/Flint.git into spi-builder-workspace
SUCCESS checkout https://github.com/flintprocessor/Flint.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/jasonnam/PathFinder
[1/376] Fetching pathfinder
Fetched https://github.com/jasonnam/PathFinder (0.21s)
Fetching https://github.com/flintbox/Motor
Fetching https://github.com/flintbox/Work
Fetching https://github.com/jpsim/Yams.git
[1/8606] Fetching yams
Fetched https://github.com/flintbox/Work (1.26s)
Fetching https://github.com/flintbox/ANSIEscapeCode
Fetched https://github.com/flintbox/Motor (1.26s)
Fetching https://github.com/flintbox/Bouncer
Fetched https://github.com/jpsim/Yams.git (1.28s)
[1/210] Fetching bouncer
Fetched https://github.com/flintbox/ANSIEscapeCode (0.22s)
Fetched https://github.com/flintbox/Bouncer (0.23s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.0 (0.33s)
Computing version for https://github.com/flintbox/ANSIEscapeCode
Computed https://github.com/flintbox/ANSIEscapeCode at 0.1.1 (0.32s)
Computing version for https://github.com/flintbox/Work
Computed https://github.com/flintbox/Work at 0.1.1 (0.33s)
Computing version for https://github.com/flintbox/Motor
Computed https://github.com/flintbox/Motor at 0.1.2 (0.31s)
Computing version for https://github.com/flintbox/Bouncer
Computed https://github.com/flintbox/Bouncer at 0.1.3 (0.32s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.0
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/Bouncer
Working copy of https://github.com/flintbox/Bouncer resolved at 0.1.3
Creating working copy for https://github.com/jasonnam/PathFinder
Working copy of https://github.com/jasonnam/PathFinder resolved at develop
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
Building for debugging...
[0/14] Compiling writer.c
[1/14] Compiling reader.c
[2/14] Compiling parser.c
[3/28] Compiling api.c
[4/44] Compiling emitter.c
[5/51] Compiling scanner.c
[7/66] Compiling ANSIEscapeCode PrintANSIEscapeCode.swift
[8/66] Compiling Yams Node.swift
[9/66] Compiling Yams Parser.swift
[10/66] Compiling Yams Constructor.swift
[11/66] Compiling Yams Decoder.swift
[12/68] Emitting module Bouncer
[13/68] Emitting module Work
[14/68] Compiling Bouncer CommandParsingError.swift
[15/68] Compiling ANSIEscapeCode EraseInLineType.swift
[16/68] Compiling Yams Emitter.swift
[17/68] Compiling Yams Encoder.swift
[18/68] Compiling Yams Mark.swift
[19/68] Compiling Yams Node.Mapping.swift
[20/68] Compiling ANSIEscapeCode String+ANSIEscapeCode.swift
[21/68] Compiling ANSIEscapeCode Scroll.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/68] Compiling PathFinder Path+Operator.swift
[23/68] 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 {
                                        ^~~~~~
[24/68] Compiling PathFinder Path+Subscript.swift
[25/69] Compiling Yams Representer.swift
[26/69] Compiling Yams Resolver.swift
[29/69] Compiling Yams String+Yams.swift
[30/69] Compiling Yams Tag.swift
[31/71] Compiling Yams Node.Scalar.swift
[32/71] Compiling Yams Node.Sequence.swift
[35/71] Emitting module ANSIEscapeCode
[36/71] Compiling ANSIEscapeCode EraseInDisplayType.swift
[41/71] 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 {
                                        ^~~~~~
[42/71] 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())
                                     ^~~~~~~~~~~~~~~~~~~~~~~
[43/71] Compiling Work WorkResult.swift
[50/71] Compiling PathFinder Path+URL.swift
[51/71] Compiling PathFinder Path.swift
[52/71] Compiling ANSIEscapeCode TextColor.swift
[53/72] Compiling Work String+Trimming.swift
[54/72] Compiling Work Work.swift
[57/73] Emitting module Yams
[60/73] Compiling Bouncer Program.swift
[61/73] Compiling PathFinder ReadAttributesError.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2