Build Information
Failed to build VIPER, reference master (2c44cc
), with Swift 6.1 for Linux on 26 Apr 2025 13:58:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thomverbeek/VIPER.git
Reference: master
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/thomverbeek/VIPER
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2c44cce Merge pull request #1 from thomverbeek/develop
Cloned https://github.com/thomverbeek/VIPER.git
Revision (git rev-parse @):
2c44cce00daf5bf99b0fbdf58fbc9fac3397f1fa
SUCCESS checkout https://github.com/thomverbeek/VIPER.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/thomverbeek/VIPER.git
https://github.com/thomverbeek/VIPER.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "VIPER",
"name" : "VIPER",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "viper-tools",
"targets" : [
"VIPERCommandLine"
],
"type" : {
"executable" : null
}
},
{
"name" : "VIPER",
"targets" : [
"VIPER"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VIPERTests",
"module_type" : "SwiftTarget",
"name" : "VIPERTests",
"path" : "Tests/VIPERTests",
"sources" : [
"Example/Interactor.swift",
"Example/Module.swift",
"Example/Presenter.swift",
"Example/Router.swift",
"Example/View.swift",
"VIPERTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"VIPER"
],
"type" : "test"
},
{
"c99name" : "VIPERCommandLine",
"module_type" : "SwiftTarget",
"name" : "VIPERCommandLine",
"path" : "Sources/VIPERCommandLine",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"viper-tools"
],
"sources" : [
"Templates/Interactor.swift",
"Templates/Module.swift",
"Templates/Presenter.swift",
"Templates/Router.swift",
"Templates/Template.swift",
"Templates/View.swift",
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "VIPER",
"module_type" : "SwiftTarget",
"name" : "VIPER",
"path" : "Sources/VIPER",
"product_memberships" : [
"VIPER"
],
"sources" : [
"VIPER.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/14950] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (2.20s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[0/10] Write sources
[4/10] Write swift-version-24593BA9C3E375BF.txt
[6/14] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/14] Emitting module ArgumentParserToolInfo
[8/15] Wrapping AST for ArgumentParserToolInfo for debugging
[10/49] Compiling ArgumentParser Option.swift
[11/49] Compiling ArgumentParser OptionGroup.swift
[12/49] Compiling ArgumentParser CommandConfiguration.swift
[13/49] Compiling ArgumentParser EnumerableFlag.swift
[14/49] Compiling ArgumentParser ExpressibleByArgument.swift
[15/49] Emitting module ArgumentParser
[16/53] Compiling ArgumentParser CollectionExtensions.swift
[17/53] Compiling ArgumentParser SequenceExtensions.swift
[18/53] Compiling ArgumentParser StringExtensions.swift
[19/53] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/53] Emitting module VIPER
/host/spi-builder-workspace/Sources/VIPER/VIPER.swift:2:8: error: no such module 'ObjectiveC'
1 | import Foundation
2 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
3 |
4 | public typealias VIPERModule = Module
[21/53] Compiling VIPER VIPER.swift
/host/spi-builder-workspace/Sources/VIPER/VIPER.swift:2:8: error: no such module 'ObjectiveC'
1 | import Foundation
2 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
3 |
4 | public typealias VIPERModule = Module
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/10] Emitting module VIPER
/host/spi-builder-workspace/Sources/VIPER/VIPER.swift:2:8: error: no such module 'ObjectiveC'
1 | import Foundation
2 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
3 |
4 | public typealias VIPERModule = Module
[3/10] Compiling VIPER VIPER.swift
/host/spi-builder-workspace/Sources/VIPER/VIPER.swift:2:8: error: no such module 'ObjectiveC'
1 | import Foundation
2 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
3 |
4 | public typealias VIPERModule = Module
BUILD FAILURE 6.1 linux