The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Tarscape with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/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/kayembi/Tarscape.git
Reference: main
Cloned https://github.com/kayembi/Tarscape.git into spi-builder-workspace
SUCCESS checkout https://github.com/kayembi/Tarscape.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-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/9] Compiling Tarscape KBTarErrors.swift
[2/10] Compiling Tarscape KBTar.swift
[3/10] Compiling Tarscape KBFileAttributes.swift
/host/spi-builder-workspace/Sources/Tarscape/KBFileAttributes.swift:51:36: error: value of type 'stat' has no member 'st_mtimespec'
        let modTimeSpec = fileStat.st_mtimespec
                          ~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Tarscape/KBFileAttributes.swift:55:39: error: value of type 'stat' has no member 'st_birthtimespec'
        let createTimeSpec = fileStat.st_birthtimespec
                             ~~~~~~~~ ^~~~~~~~~~~~~~~~
[4/10] Compiling Tarscape KBTarEntry.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Compiling Tarscape Int+Tar.swift
[6/10] Emitting module Tarscape
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:10:2: error: Objective-C interoperability is disabled
@objc // Expose this extension to Objective-C.
~^~~~~
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:58:6: error: Objective-C interoperability is disabled
    @objc(extractTarAtURL:toDirectoryAtURL:restoreAttributes:progressBlock:error:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:69:6: error: Objective-C interoperability is disabled
    @objc(createTarAtURL:fromDirectoryAtURL:convertAliasFiles:progressBlock:error:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
[7/10] Compiling Tarscape Data+Tar.swift
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:10:2: error: Objective-C interoperability is disabled
@objc // Expose this extension to Objective-C.
~^~~~~
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:58:6: error: Objective-C interoperability is disabled
    @objc(extractTarAtURL:toDirectoryAtURL:restoreAttributes:progressBlock:error:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:69:6: error: Objective-C interoperability is disabled
    @objc(createTarAtURL:fromDirectoryAtURL:convertAliasFiles:progressBlock:error:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
[8/10] Compiling Tarscape FileManager+Tar.swift
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:10:2: error: Objective-C interoperability is disabled
@objc // Expose this extension to Objective-C.
~^~~~~
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:58:6: error: Objective-C interoperability is disabled
    @objc(extractTarAtURL:toDirectoryAtURL:restoreAttributes:progressBlock:error:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
/host/spi-builder-workspace/Sources/Tarscape/FileManager+Tar.swift:69:6: error: Objective-C interoperability is disabled
    @objc(createTarAtURL:fromDirectoryAtURL:convertAliasFiles:progressBlock:error:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
[9/10] Compiling Tarscape KBTarArchiver.swift
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:107:17: error: cannot find 'autoreleasepool' in scope
            try autoreleasepool {
                ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:216:37: error: no exact matches in call to initializer 
                    linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                    ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:216:37: note: candidate has partially matching parameter list (fileURLWithPath: String)
                    linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                    ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:216:37: note: candidate has partially matching parameter list (from: Decoder)
                    linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                    ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:216:37: note: candidate has partially matching parameter list (fileReferenceLiteralResourceName: String)
                    linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                    ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:216:83: error: reference to member 'withoutUI' cannot be resolved without a contextual type
                    linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                                                                  ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:216:95: error: reference to member 'withoutMounting' cannot be resolved without a contextual type
                    linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                                                                              ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:221:41: error: no exact matches in call to initializer 
                        linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                        ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:221:41: note: candidate has partially matching parameter list (fileURLWithPath: String)
                        linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                        ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:221:41: note: candidate has partially matching parameter list (from: Decoder)
                        linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                        ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:221:41: note: candidate has partially matching parameter list (fileReferenceLiteralResourceName: String)
                        linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                        ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:221:87: error: reference to member 'withoutUI' cannot be resolved without a contextual type
                        linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                                                                      ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:221:99: error: reference to member 'withoutMounting' cannot be resolved without a contextual type
                        linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                                                                                  ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:216:32: warning: no calls to throwing functions occur within 'try' expression
                    linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                               ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:221:36: warning: no calls to throwing functions occur within 'try' expression
                        linkName = try? URL(resolvingAliasFileAt: fileURL, options: [.withoutUI, .withoutMounting]).path
                                   ^
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:483:17: error: cannot find 'autoreleasepool' in scope
            try autoreleasepool {
                ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Tarscape/KBTarArchiver.swift:492:17: error: cannot find 'autoreleasepool' in scope
            try autoreleasepool {
                ^~~~~~~~~~~~~~~
[10/10] Compiling Tarscape KBTarUnarchiver.swift
/host/spi-builder-workspace/Sources/Tarscape/KBTarUnarchiver.swift:411:17: error: cannot find 'autoreleasepool' in scope
            try autoreleasepool { // Keep memory tidy.
                ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Tarscape/KBTarUnarchiver.swift:686:17: error: cannot find 'autoreleasepool' in scope
            try autoreleasepool {
                ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Tarscape/KBTarUnarchiver.swift:695:17: error: cannot find 'autoreleasepool' in scope
            try autoreleasepool {
                ^~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1