The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RomanNumeralFormatter with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/SlaunchaMan/RomanNumeralFormatter.git
Reference: 0.0.1
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/SlaunchaMan/RomanNumeralFormatter
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at f2ae5af Initial commit.
Cloned https://github.com/SlaunchaMan/RomanNumeralFormatter.git
Revision (git rev-parse @):
f2ae5af412b1ea226ad57908a8906a1a60bfb3eb
SUCCESS checkout https://github.com/SlaunchaMan/RomanNumeralFormatter.git at 0.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SlaunchaMan/RomanNumeralFormatter.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SlaunchaMan/IsNotEmpty.git
[1/47] Fetching isnotempty
Fetched https://github.com/SlaunchaMan/IsNotEmpty.git from cache (0.19s)
Computing version for https://github.com/SlaunchaMan/IsNotEmpty.git
Computed https://github.com/SlaunchaMan/IsNotEmpty.git at 0.0.1 (0.39s)
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...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module IsNotEmpty
[5/5] Compiling IsNotEmpty IsNotEmpty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] 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(
           ~~~~~~~~      ^
[8/8] 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
warning: 'spi-builder-workspace': ignoring target 'RomanNumeralFormatterObjCTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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(
           ~~~~~~~~      ^
[3/3] 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.10 linux

Build Machine: Linux 1