Build Information
Failed to build localized-strings-symbols with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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/iKenndac/localized-strings-symbols.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/iKenndac/localized-strings-symbols
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6a77068 Update README
Cloned https://github.com/iKenndac/localized-strings-symbols.git
Revision (git rev-parse @):
6a770687c37490ae4e59d0f808946afa999716ef
SUCCESS checkout https://github.com/iKenndac/localized-strings-symbols.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/iKenndac/localized-strings-symbols.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/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
[1/1] Compiling plugin Generate Strings File Symbols
Building for debugging...
[1/6] Write sources
[2/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Emitting module generate_symbols_tool
/host/spi-builder-workspace/Sources/generate-symbols-tool/main.swift:3:17: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
1 | import Foundation
2 |
3 | let arguments = ProcessInfo().arguments
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
4 | if arguments.count < 3 {
5 | print("missing arguments")
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
1 | open class ProcessInfo : NSObject {
2 | public static let processInfo: ProcessInfo
3 | override internal init()
| `- note: 'init()' declared here
4 | open var environment: [String : String] { get }
5 | open var arguments: [String] { get }
[5/9] Compiling generate_symbols_tool SymbolBuilders.swift
/host/spi-builder-workspace/Sources/generate-symbols-tool/main.swift:3:17: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
1 | import Foundation
2 |
3 | let arguments = ProcessInfo().arguments
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
4 | if arguments.count < 3 {
5 | print("missing arguments")
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
1 | open class ProcessInfo : NSObject {
2 | public static let processInfo: ProcessInfo
3 | override internal init()
| `- note: 'init()' declared here
4 | open var environment: [String : String] { get }
5 | open var arguments: [String] { get }
[6/9] Compiling generate_symbols_tool main.swift
/host/spi-builder-workspace/Sources/generate-symbols-tool/main.swift:3:17: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
1 | import Foundation
2 |
3 | let arguments = ProcessInfo().arguments
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
4 | if arguments.count < 3 {
5 | print("missing arguments")
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
1 | open class ProcessInfo : NSObject {
2 | public static let processInfo: ProcessInfo
3 | override internal init()
| `- note: 'init()' declared here
4 | open var environment: [String : String] { get }
5 | open var arguments: [String] { get }
BUILD FAILURE 6.0 linux