The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RomanNumeralFormatter 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/SlaunchaMan/RomanNumeralFormatter.git
Reference: main
Cloned https://github.com/SlaunchaMan/RomanNumeralFormatter.git into spi-builder-workspace
SUCCESS checkout https://github.com/SlaunchaMan/RomanNumeralFormatter.git at main
========================================
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/SlaunchaMan/IsNotEmpty.git
Fetched https://github.com/SlaunchaMan/IsNotEmpty.git (0.22s)
Computing version for https://github.com/SlaunchaMan/IsNotEmpty.git
Computed https://github.com/SlaunchaMan/IsNotEmpty.git at 0.0.1 (0.31s)
Creating working copy for https://github.com/SlaunchaMan/IsNotEmpty.git
Working copy of https://github.com/SlaunchaMan/IsNotEmpty.git resolved at 0.0.1
warning: 'spi-builder-workspace': ignoring target 'RomanNumeralFormatterObjCTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[1/2] Emitting module IsNotEmpty
[2/2] Compiling IsNotEmpty IsNotEmpty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module RomanNumeralFormatter
/host/spi-builder-workspace/Sources/RomanNumeralFormatter/RomanNumeralFormatter.swift:93:16: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
        _ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RomanNumeralFormatter/RomanNumeralFormatter.swift:95:33: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
        errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RomanNumeralFormatter/RomanNumeralFormatter.swift:92:26: error: method does not override any method from its superclass
    public override func getObjectValue(
           ~~~~~~~~      ^
[6/6] Compiling RomanNumeralFormatter RomanNumeralFormatter.swift
/host/spi-builder-workspace/Sources/RomanNumeralFormatter/RomanNumeralFormatter.swift:93:16: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
        _ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RomanNumeralFormatter/RomanNumeralFormatter.swift:95:33: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
        errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RomanNumeralFormatter/RomanNumeralFormatter.swift:92:26: error: method does not override any method from its superclass
    public override func getObjectValue(
           ~~~~~~~~      ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2