Build Information
Failed to build DeviceAuthority with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getsidetrack/swift-device-authority.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/getsidetrack/swift-device-authority
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6e9f5ac Merge pull request #7 from 0xWDG/patch-1
Cloned https://github.com/getsidetrack/swift-device-authority.git
Revision (git rev-parse @):
6e9f5ac67e8ed9a252cbe1abd6aa5985fe772b0b
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/getsidetrack/swift-device-authority.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/getsidetrack/swift-device-authority.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/JohnSundell/ShellOut
[1/956] Fetching shellout
[957/6357] Fetching shellout, console-kit
[3334/9718] Fetching shellout, console-kit, swift-log
Fetched https://github.com/JohnSundell/ShellOut from cache (0.42s)
Fetched https://github.com/vapor/console-kit.git from cache (0.42s)
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.42s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.5.0 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.53s)
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.5.0
Creating working copy for https://github.com/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
Building for debugging...
[0/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/20] Compiling Logging LogHandler.swift
[8/20] Compiling Logging Locks.swift
[9/20] Emitting module Logging
[10/20] Compiling Logging Logging.swift
[11/21] Wrapping AST for Logging for debugging
[13/64] Emitting module ShellOut
[14/64] Compiling ShellOut ShellOut.swift
[15/64] Compiling ConsoleKit ActivityBar.swift
[16/64] Compiling ConsoleKit ActivityIndicator.swift
[17/64] Compiling ConsoleKit ActivityIndicatorRenderer.swift
[18/64] Compiling ConsoleKit ActivityIndicatorState.swift
[19/64] Compiling ConsoleKit CustomActivity.swift
[20/64] Compiling ConsoleKit LoadingBar.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/71] Emitting module DeviceAuthority
/host/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:8:8: error: no such module 'Security'
6 |
7 | import Foundation
8 | import Security
| `- error: no such module 'Security'
9 |
10 | public struct DeviceAuthority {
[22/71] Compiling DeviceAuthority DeviceAuthority.swift
/host/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:8:8: error: no such module 'Security'
6 |
7 | import Foundation
8 | import Security
| `- error: no such module 'Security'
9 |
10 | public struct DeviceAuthority {
BUILD FAILURE 6.0 linux