The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-export, reference 1.0.0 (e4e893), with Swift 5.9 for Linux on 6 Sep 2024 19:09:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/franklefebvre/swift-export.git
Reference: 1.0.0
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/franklefebvre/swift-export
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at e4e8938 Fix download link
Cloned https://github.com/franklefebvre/swift-export.git
Revision (git rev-parse @):
e4e89380b885ae47b96e09744a2b6dd99de33cf0
SUCCESS checkout https://github.com/franklefebvre/swift-export.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/franklefebvre/swift-export.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/12125] Fetching swift-argument-parser
[12126/21921] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser (1.72s)
Fetched https://github.com/jpsim/Yams.git (1.75s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.89s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.31s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Compiling writer.c
[2/12] Compiling reader.c
[3/12] Compiling parser.c
[4/12] Compiling api.c
[5/12] Compiling emitter.c
[6/12] Compiling scanner.c
[8/29] Compiling Yams Mark.swift
[9/29] Compiling Yams Node.Mapping.swift
[10/30] Emitting module ArgumentParserToolInfo
[11/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/32] Wrapping AST for ArgumentParserToolInfo for debugging
[15/70] Compiling Yams YamlError.swift
[16/70] Compiling ArgumentParser CommandParser.swift
[17/70] Compiling ArgumentParser InputKey.swift
[18/70] Compiling ArgumentParser InputOrigin.swift
[19/70] Compiling ArgumentParser BashCompletionsGenerator.swift
[20/70] Compiling ArgumentParser ArgumentDefinition.swift
[21/70] Compiling ArgumentParser ArgumentSet.swift
[22/70] Compiling ArgumentParser CompletionsGenerator.swift
[23/70] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/70] Emitting module Yams
[25/70] Compiling ArgumentParser Errors.swift
[26/70] Compiling ArgumentParser Flag.swift
[27/70] Compiling ArgumentParser ArgumentVisibility.swift
[28/70] Compiling ArgumentParser CompletionKind.swift
[30/72] Compiling ArgumentParser OptionGroup.swift
[31/72] Compiling ArgumentParser AsyncParsableCommand.swift
[32/72] Compiling ArgumentParser CommandConfiguration.swift
[33/72] Compiling ArgumentParser CommandGroup.swift
[34/72] Compiling ArgumentParser EnumerableFlag.swift
[35/77] Wrapping AST for Yams for debugging
[37/77] Emitting module ArgumentParser
[42/77] Compiling ArgumentParser NameSpecification.swift
[43/77] Compiling ArgumentParser Option.swift
[44/77] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[45/77] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[46/77] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[47/77] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[48/77] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[49/77] Compiling ArgumentParser ExpressibleByArgument.swift
[50/77] Compiling ArgumentParser ParsableArguments.swift
[51/77] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/77] Compiling ArgumentParser ParsableCommand.swift
[53/77] Compiling ArgumentParser ArgumentDecoder.swift
[54/77] Compiling ArgumentParser DumpHelpGenerator.swift
[55/77] Compiling ArgumentParser HelpCommand.swift
[56/77] Compiling ArgumentParser HelpGenerator.swift
[57/77] Compiling ArgumentParser MessageInfo.swift
[58/77] Compiling ArgumentParser UsageGenerator.swift
[59/77] Compiling ArgumentParser Name.swift
[60/77] Compiling ArgumentParser Parsed.swift
[61/77] Compiling ArgumentParser ParsedValues.swift
[62/77] Compiling ArgumentParser ParserError.swift
[63/77] Compiling ArgumentParser SplitArguments.swift
[67/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[68/77] Compiling ArgumentParser Argument.swift
[69/77] Compiling ArgumentParser ArgumentHelp.swift
[76/79] Wrapping AST for ArgumentParser for debugging
[78/87] Compiling swift_export String+terminal.swift
[79/87] Compiling swift_export URL+filePath.swift
/host/spi-builder-workspace/Sources/URL+filePath.swift:5:29: error: cannot call value of non-function type 'String'
        standardizedFileURL.path(percentEncoded: false)
                            ^
[80/87] Compiling swift_export ExportError.swift
[81/87] Compiling swift_export Logger.swift
[82/87] Emitting module swift_export
[83/87] Compiling swift_export CommandRunner.swift
/host/spi-builder-workspace/Sources/CommandRunner.swift:5:21: error: no exact matches in call to initializer
    var url: URL { .init(filePath: path, directoryHint: .notDirectory) }
                    ^
/host/spi-builder-workspace/Sources/CommandRunner.swift:5:21: note: candidate has partially matching parameter list (fileURLWithPath: String)
    var url: URL { .init(filePath: path, directoryHint: .notDirectory) }
                    ^
/host/spi-builder-workspace/Sources/CommandRunner.swift:5:21: note: candidate has partially matching parameter list (from: Decoder)
    var url: URL { .init(filePath: path, directoryHint: .notDirectory) }
                    ^
/host/spi-builder-workspace/Sources/CommandRunner.swift:5:21: note: candidate has partially matching parameter list (fileReferenceLiteralResourceName: String)
    var url: URL { .init(filePath: path, directoryHint: .notDirectory) }
                    ^
/host/spi-builder-workspace/Sources/CommandRunner.swift:5:58: error: cannot infer contextual base in reference to member 'notDirectory'
    var url: URL { .init(filePath: path, directoryHint: .notDirectory) }
                                                        ~^~~~~~~~~~~~
[84/87] Compiling swift_export Config.swift
/host/spi-builder-workspace/Sources/Config.swift:259:36: error: value of optional type 'URL?' must be unwrapped to a value of type 'URL'
            self.outputDirectory = URL(filePath: output, directoryHint: .inferFromPath, relativeTo: currentDirectory)
                                   ^
/host/spi-builder-workspace/Sources/Config.swift:259:36: note: coalesce using '??' to provide a default when the optional value contains 'nil'
            self.outputDirectory = URL(filePath: output, directoryHint: .inferFromPath, relativeTo: currentDirectory)
                                   ^
                                                                                                                      ?? <#default value#>
/host/spi-builder-workspace/Sources/Config.swift:259:36: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            self.outputDirectory = URL(filePath: output, directoryHint: .inferFromPath, relativeTo: currentDirectory)
                                   ^
                                                                                                                     !
/host/spi-builder-workspace/Sources/Config.swift:259:74: error: extra argument 'directoryHint' in call
            self.outputDirectory = URL(filePath: output, directoryHint: .inferFromPath, relativeTo: currentDirectory)
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:259:50: error: cannot convert value of type 'String' to expected argument type 'Data'
            self.outputDirectory = URL(filePath: output, directoryHint: .inferFromPath, relativeTo: currentDirectory)
                                                 ^
/host/spi-builder-workspace/Sources/Config.swift:259:74: error: cannot infer contextual base in reference to member 'inferFromPath'
            self.outputDirectory = URL(filePath: output, directoryHint: .inferFromPath, relativeTo: currentDirectory)
                                                                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:267:98: error: extra argument 'directoryHint' in call
            let defaultEntitlementsFile = URL(filePath: defaultEntitlementsPath, directoryHint: .notDirectory, relativeTo: configDirectory)
                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:267:57: error: cannot convert value of type 'String' to expected argument type 'Data'
            let defaultEntitlementsFile = URL(filePath: defaultEntitlementsPath, directoryHint: .notDirectory, relativeTo: configDirectory)
                                                        ^
/host/spi-builder-workspace/Sources/Config.swift:267:98: error: cannot infer contextual base in reference to member 'notDirectory'
            let defaultEntitlementsFile = URL(filePath: defaultEntitlementsPath, directoryHint: .notDirectory, relativeTo: configDirectory)
                                                                                                ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:274:85: error: extra argument 'directoryHint' in call
            self.entitlementsFile = URL(filePath: entitlementsPath, directoryHint: .notDirectory, relativeTo: configDirectory)
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:274:51: error: cannot convert value of type 'String' to expected argument type 'Data'
            self.entitlementsFile = URL(filePath: entitlementsPath, directoryHint: .notDirectory, relativeTo: configDirectory)
                                                  ^
/host/spi-builder-workspace/Sources/Config.swift:274:85: error: cannot infer contextual base in reference to member 'notDirectory'
            self.entitlementsFile = URL(filePath: entitlementsPath, directoryHint: .notDirectory, relativeTo: configDirectory)
                                                                                   ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:288:31: error: value of optional type 'URL?' must be unwrapped to a value of type 'URL'
            lookupDirectory = URL(filePath: configDir, directoryHint: .isDirectory, relativeTo: currentDirectory)
                              ^
/host/spi-builder-workspace/Sources/Config.swift:288:31: note: coalesce using '??' to provide a default when the optional value contains 'nil'
            lookupDirectory = URL(filePath: configDir, directoryHint: .isDirectory, relativeTo: currentDirectory)
                              ^
                                                                                                                  ?? <#default value#>
/host/spi-builder-workspace/Sources/Config.swift:288:31: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            lookupDirectory = URL(filePath: configDir, directoryHint: .isDirectory, relativeTo: currentDirectory)
                              ^
                                                                                                                 !
/host/spi-builder-workspace/Sources/Config.swift:288:72: error: extra argument 'directoryHint' in call
            lookupDirectory = URL(filePath: configDir, directoryHint: .isDirectory, relativeTo: currentDirectory)
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:288:45: error: cannot convert value of type 'String' to expected argument type 'Data'
            lookupDirectory = URL(filePath: configDir, directoryHint: .isDirectory, relativeTo: currentDirectory)
                                            ^
/host/spi-builder-workspace/Sources/Config.swift:288:72: error: cannot infer contextual base in reference to member 'isDirectory'
            lookupDirectory = URL(filePath: configDir, directoryHint: .isDirectory, relativeTo: currentDirectory)
                                                                      ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:290:75: error: extra argument 'directoryHint' in call
            let exportDirectory = URL(filePath: "export", directoryHint: .isDirectory, relativeTo: currentDirectory)
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:290:49: error: cannot convert value of type 'String' to expected argument type 'Data'
            let exportDirectory = URL(filePath: "export", directoryHint: .isDirectory, relativeTo: currentDirectory)
                                                ^
/host/spi-builder-workspace/Sources/Config.swift:290:75: error: cannot infer contextual base in reference to member 'isDirectory'
            let exportDirectory = URL(filePath: "export", directoryHint: .isDirectory, relativeTo: currentDirectory)
                                                                         ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:299:62: error: extra argument 'directoryHint' in call
            return URL(filePath: configFile, directoryHint: .notDirectory, relativeTo: lookupDirectory)
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:299:34: error: cannot convert value of type 'String' to expected argument type 'Data'
            return URL(filePath: configFile, directoryHint: .notDirectory, relativeTo: lookupDirectory)
                                 ^
/host/spi-builder-workspace/Sources/Config.swift:299:62: error: cannot infer contextual base in reference to member 'notDirectory'
            return URL(filePath: configFile, directoryHint: .notDirectory, relativeTo: lookupDirectory)
                                                            ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:301:46: error: value of type 'URL' has no member 'appending'
        let yamlConfigFile = lookupDirectory.appending(path: "export.yaml", directoryHint: .notDirectory)
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:301:93: error: cannot infer contextual base in reference to member 'notDirectory'
        let yamlConfigFile = lookupDirectory.appending(path: "export.yaml", directoryHint: .notDirectory)
                                                                                           ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:302:45: error: value of type 'URL' has no member 'appending'
        let ymlConfigFile = lookupDirectory.appending(path: "export.yml", directoryHint: .notDirectory)
                            ~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:302:91: error: cannot infer contextual base in reference to member 'notDirectory'
        let ymlConfigFile = lookupDirectory.appending(path: "export.yml", directoryHint: .notDirectory)
                                                                                         ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:303:47: error: value of type 'URL' has no member 'appending'
        let plistConfigFile = lookupDirectory.appending(path: "export.plist", directoryHint: .notDirectory)
                              ~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Config.swift:303:95: error: cannot infer contextual base in reference to member 'notDirectory'
        let plistConfigFile = lookupDirectory.appending(path: "export.plist", directoryHint: .notDirectory)
                                                                                             ~^~~~~~~~~~~~
[85/87] Compiling swift_export SwiftExport.swift
/host/spi-builder-workspace/Sources/SwiftExport.swift:108:36: error: type 'URL' has no member 'currentDirectory'
        let currentDirectory = URL.currentDirectory()
                               ~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:128:34: error: no exact matches in call to initializer
        let builtExecutableURL = URL(filePath: executableDirPath).appending(components: builtExecutableName, directoryHint: .notDirectory)
                                 ^
Foundation.URL:3:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(string:)')
    public init?(string: String)
           ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(from:)')
    public init(from decoder: Decoder) throws
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
/host/spi-builder-workspace/Sources/SwiftExport.swift:128:67: error: reference to member 'appending' cannot be resolved without a contextual type
        let builtExecutableURL = URL(filePath: executableDirPath).appending(components: builtExecutableName, directoryHint: .notDirectory)
                                                                  ^
/host/spi-builder-workspace/Sources/SwiftExport.swift:128:126: error: cannot infer contextual base in reference to member 'notDirectory'
        let builtExecutableURL = URL(filePath: executableDirPath).appending(components: builtExecutableName, directoryHint: .notDirectory)
                                                                                                                            ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:131:26: error: cannot infer contextual base in reference to member 'swift'
        try await shell(.swift, ["build", "--configuration", "release"] + archsOptions)
                        ~^~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:133:27: error: type 'URL' has no member 'temporaryDirectory'
        let pkgRoot = URL.temporaryDirectory.appending(component: UUID().uuidString, directoryHint: .isDirectory)
                      ~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:133:102: error: cannot infer contextual base in reference to member 'isDirectory'
        let pkgRoot = URL.temporaryDirectory.appending(component: UUID().uuidString, directoryHint: .isDirectory)
                                                                                                    ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:135:105: error: cannot infer contextual base in reference to member 'isDirectory'
        let installDirectory = pkgRoot.appending(path: installPath.trimmingPrefix("/"), directoryHint: .isDirectory)
                                                                                                       ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:137:110: error: cannot infer contextual base in reference to member 'notDirectory'
        let pkgRootExecutableURL = installDirectory.appending(path: installedExecutableName, directoryHint: .notDirectory)
                                                                                                            ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:164:36: error: type 'URL' has no member 'temporaryDirectory'
            entitlementsFile = URL.temporaryDirectory.appending(component: "entitlements", directoryHint: .notDirectory)
                               ~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:164:108: error: cannot infer contextual base in reference to member 'notDirectory'
            entitlementsFile = URL.temporaryDirectory.appending(component: "entitlements", directoryHint: .notDirectory)
                                                                                                          ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:175:26: error: cannot infer contextual base in reference to member 'codesign'
        try await shell(.codesign, "--force", "--entitlements", entitlementsFile.filePath, "--options", "runtime", "--sign", config.exportConfig.executable.certificate, "--identifier=\"\(codesignIdentifier)\"", executablePath)
                        ~^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:176:26: error: cannot infer contextual base in reference to member 'codesign'
        try await shell(.codesign, "--verify", "--verbose", executablePath)
                        ~^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:183:87: error: cannot infer contextual base in reference to member 'notDirectory'
        let pkgFile = config.outputDirectory.appending(path: pkgName, directoryHint: .notDirectory)
                                                                                     ~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:187:26: error: cannot infer contextual base in reference to member 'pkgbuild'
        try await shell(.pkgbuild, "--identifier", pkgIdentifier, "--version", config.pkgVersion, "--root", pkgRoot.filePath, "--sign", config.exportConfig.package.certificate, pkgFile.filePath)
                        ~^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:190:26: error: cannot infer contextual base in reference to member 'xcrun'
        try await shell(.xcrun, "notarytool", "submit", pkgFile.filePath, "--keychain-profile", config.exportConfig.notary.keychainProfile, "--wait")
                        ~^~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:192:26: error: cannot infer contextual base in reference to member 'xcrun'
        try await shell(.xcrun, "stapler", "staple", "-v", pkgFile.filePath)
                        ~^~~~~
/host/spi-builder-workspace/Sources/SwiftExport.swift:152:122: error: cannot infer contextual base in reference to member 'isDirectory'
                let installDirectory = pkgRoot.appending(path: resource.destination.trimmingPrefix("/"), directoryHint: .isDirectory)
                                                                                                                        ~^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux