The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Tarscape with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/kayembi/Tarscape.git
Reference: main
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/kayembi/Tarscape
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ce02616 - Added NaNo word count code and updated hoist header view.
Cloned https://github.com/kayembi/Tarscape.git
Revision (git rev-parse @):
ce026160f8f009275afd1cc8175a199aa3ec0072
SUCCESS checkout https://github.com/kayembi/Tarscape.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/kayembi/Tarscape.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] 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/12] Compiling Tarscape Int+Tar.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] 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:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[6/12] 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:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[7/12] 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:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[8/12] Compiling Tarscape KBTarErrors.swift
[9/12] Compiling Tarscape KBTarEntry.swift
[10/12] 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: any 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: any 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 {
                ^~~~~~~~~~~~~~~
[11/12] Compiling Tarscape KBTar.swift
[12/12] 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] 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: any 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: any 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 {
                ^~~~~~~~~~~~~~~
[3/7] 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/7] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling Tarscape Data+Tar.swift
[6/7] 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/7] 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:)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[8/10] Compiling Tarscape KBTarEntry.swift
[9/10] Compiling Tarscape Int+Tar.swift
[10/10] Compiling Tarscape KBTar.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2