Build Information
Failed to build Flow 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/toastersocks/Flow.git
Reference: develop
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/toastersocks/Flow
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at ae13e06 Add codecov.yml
Cloned https://github.com/toastersocks/Flow.git
Revision (git rev-parse @):
ae13e06a8781fa2b8a46c7312abd4319dbd96aed
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/toastersocks/Flow.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/toastersocks/Flow.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
Fetching https://github.com/typelift/SwiftCheck
Fetching https://github.com/llvm-swift/FileCheck.git
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
[60/4951] Fetching chalk, swiftcheck
[986/5430] Fetching chalk, swiftcheck, filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.27s)
[4934/16630] Fetching chalk, swiftcheck, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (0.81s)
Fetched https://github.com/typelift/SwiftCheck from cache (0.81s)
Computing version for https://github.com/typelift/SwiftCheck
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computed https://github.com/typelift/SwiftCheck at 0.12.0 (1.47s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (0.54s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.59s)
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/typelift/SwiftCheck
Working copy of https://github.com/typelift/SwiftCheck resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Flow SupportingTypes.swift
/host/spi-builder-workspace/Sources/Flow/Flow.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module Flow
/host/spi-builder-workspace/Sources/Flow/Flow.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 |
[6/7] Compiling Flow PreviewCode.swift
/host/spi-builder-workspace/Sources/Flow/Flow.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 |
[7/7] Compiling Flow Flow.swift
/host/spi-builder-workspace/Sources/Flow/Flow.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 |
BUILD FAILURE 6.0 linux