Build Information
Failed to build ISO8601DurationFormatter with Swift 5.8 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kkla320/ISO8601DurationFormatter.git
Reference: main
Cloned https://github.com/kkla320/ISO8601DurationFormatter.git into spi-builder-workspace
SUCCESS checkout https://github.com/kkla320/ISO8601DurationFormatter.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/7] Compiling ISO8601DurationFormatter ISO8601DurationFormatter.swift
/host/spi-builder-workspace/Sources/ISO8601DurationFormatter/ISO8601DurationFormatter.swift:70:48: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ISO8601DurationFormatter/ISO8601DurationFormatter.swift:70:140: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ISO8601DurationFormatter/ISO8601DurationFormatter.swift:70:26: error: method does not override any method from its superclass
public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
~~~~~~~~ ^
[2/7] Compiling ISO8601DurationFormatter Operators.swift
[3/7] Compiling ISO8601DurationFormatter String+append.swift
[4/7] Compiling ISO8601DurationFormatter DateComponents+init.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling ISO8601DurationFormatter DateComponents+ISO8601Duration.swift
[6/7] Compiling ISO8601DurationFormatter Dictionary+mappings.swift
[7/7] Emitting module ISO8601DurationFormatter
/host/spi-builder-workspace/Sources/ISO8601DurationFormatter/ISO8601DurationFormatter.swift:70:48: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ISO8601DurationFormatter/ISO8601DurationFormatter.swift:70:140: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ISO8601DurationFormatter/ISO8601DurationFormatter.swift:70:26: error: method does not override any method from its superclass
public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
~~~~~~~~ ^
BUILD FAILURE 5.8 linux
Build Machine: Linux 2