Build Information
Failed to build swift-interception, reference main (75cd4e
), with Swift 6.1 for Linux on 28 Apr 2025 10:16:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/capturecontext/swift-interception.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/capturecontext/swift-interception
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 75cd4ea feat: Update README.md
Cloned https://github.com/capturecontext/swift-interception.git
Revision (git rev-parse @):
75cd4ead12921276e78a2071ec0273e008b4e6ff
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/capturecontext/swift-interception.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/capturecontext/swift-interception.git
https://github.com/capturecontext/swift-interception.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-macro-toolkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/swift-macro-toolkit.git"
},
{
"identity" : "swift-macro-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.2",
"upper_bound" : "0.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-macro-testing.git"
}
],
"manifest_display_name" : "swift-interception",
"name" : "swift-interception",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "_InterceptionCustomSelectors",
"targets" : [
"_InterceptionCustomSelectors"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "_InterceptionMacros",
"targets" : [
"_InterceptionMacros"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "_InterceptionUtils",
"targets" : [
"_InterceptionUtils"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "Interception",
"targets" : [
"Interception"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "InterceptionMacros",
"targets" : [
"InterceptionMacros"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "InterceptionMacrosPlugin",
"targets" : [
"InterceptionMacrosPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "_InterceptionUtilsObjc",
"module_type" : "ClangTarget",
"name" : "_InterceptionUtilsObjc",
"path" : "Sources/_InterceptionUtilsObjc",
"product_memberships" : [
"_InterceptionUtils",
"Interception",
"InterceptionMacros"
],
"sources" : [
"ObjcRuntimeAliases.m"
],
"type" : "library"
},
{
"c99name" : "_InterceptionUtils",
"module_type" : "SwiftTarget",
"name" : "_InterceptionUtils",
"path" : "Sources/_InterceptionUtils",
"product_memberships" : [
"_InterceptionUtils",
"Interception",
"InterceptionMacros"
],
"sources" : [
"Exports.swift",
"NSObject+Association.swift",
"NSObject+ObjCRuntime.swift",
"ObjC+Constants.swift",
"ObjC+Messages.swift",
"ObjC+Runtime.swift",
"ObjC+RuntimeSubclassing.swift",
"ObjC+Selector.swift",
"Synchronizing.swift"
],
"target_dependencies" : [
"_InterceptionUtilsObjc"
],
"type" : "library"
},
{
"c99name" : "_InterceptionMacros",
"module_type" : "SwiftTarget",
"name" : "_InterceptionMacros",
"path" : "Sources/_InterceptionMacros",
"product_memberships" : [
"_InterceptionMacros",
"InterceptionMacros"
],
"sources" : [
"Macros.swift"
],
"target_dependencies" : [
"InterceptionMacrosPlugin",
"_InterceptionCustomSelectors"
],
"type" : "library"
},
{
"c99name" : "_InterceptionCustomSelectors",
"module_type" : "SwiftTarget",
"name" : "_InterceptionCustomSelectors",
"path" : "Sources/_InterceptionCustomSelectors",
"product_memberships" : [
"_InterceptionCustomSelectors",
"_InterceptionMacros",
"Interception",
"InterceptionMacros"
],
"sources" : [
"KeyPath+.swift",
"_MethodSelector.swift",
"_MutablePropertySelector.swift",
"_PropertySelector.swift"
],
"type" : "library"
},
{
"c99name" : "InterceptionTests",
"module_type" : "SwiftTarget",
"name" : "InterceptionTests",
"path" : "Tests/InterceptionTests",
"sources" : [
"InterceptionTests.swift"
],
"target_dependencies" : [
"Interception"
],
"type" : "test"
},
{
"c99name" : "InterceptionMacrosTests",
"module_type" : "SwiftTarget",
"name" : "InterceptionMacrosTests",
"path" : "Tests/InterceptionMacrosTests",
"sources" : [
"InterceptionMacrosTests.swift"
],
"target_dependencies" : [
"InterceptionMacros"
],
"type" : "test"
},
{
"c99name" : "InterceptionMacrosPluginTests",
"module_type" : "SwiftTarget",
"name" : "InterceptionMacrosPluginTests",
"path" : "Tests/InterceptionMacrosPluginTests",
"product_dependencies" : [
"MacroTesting"
],
"sources" : [
"MethodSelectorTests.swift",
"PropertySelectorTests.swift"
],
"target_dependencies" : [
"InterceptionMacrosPlugin"
],
"type" : "test"
},
{
"c99name" : "InterceptionMacrosPlugin",
"module_type" : "SwiftTarget",
"name" : "InterceptionMacrosPlugin",
"path" : "Sources/InterceptionMacrosPlugin",
"product_dependencies" : [
"MacroToolkit"
],
"product_memberships" : [
"_InterceptionMacros",
"InterceptionMacros",
"InterceptionMacrosPlugin"
],
"sources" : [
"Macros/MethodSelectorMacro.swift",
"Macros/PropertySelectorMacro.swift",
"Plugin.swift"
],
"type" : "macro"
},
{
"c99name" : "InterceptionMacros",
"module_type" : "SwiftTarget",
"name" : "InterceptionMacros",
"path" : "Sources/InterceptionMacros",
"product_memberships" : [
"InterceptionMacros"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"_InterceptionMacros",
"Interception"
],
"type" : "library"
},
{
"c99name" : "Interception",
"module_type" : "SwiftTarget",
"name" : "Interception",
"path" : "Sources/Interception",
"product_memberships" : [
"Interception",
"InterceptionMacros"
],
"sources" : [
"Exports.swift",
"InterceptionResult.swift",
"NSObject+Interception.swift"
],
"target_dependencies" : [
"_InterceptionCustomSelectors",
"_InterceptionUtils"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/pointfreeco/swift-macro-testing.git
Fetching https://github.com/stackotter/swift-macro-toolkit.git
[1/868] Fetching swift-macro-testing
[618/1737] Fetching swift-macro-testing, swift-macro-toolkit
Fetched https://github.com/stackotter/swift-macro-toolkit.git from cache (0.37s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.38s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.2.2 (1.34s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/13159] Fetching swift-snapshot-testing
[923/83404] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.65s)
Fetched https://github.com/apple/swift-syntax.git from cache (9.05s)
Computing version for https://github.com/stackotter/swift-macro-toolkit.git
Computed https://github.com/stackotter/swift-macro-toolkit.git at 0.3.1 (10.03s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (4.20s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.95s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.53s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.26s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.90s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.59s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.2.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/stackotter/swift-macro-toolkit.git
Working copy of https://github.com/stackotter/swift-macro-toolkit.git resolved at 0.3.1
warning: 'swift-snapshot-testing': 'swift-snapshot-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/58] Write sources
/host/spi-builder-workspace/Sources/_InterceptionUtilsObjc/ObjcRuntimeAliases.m:1:9: fatal error: 'objc/runtime.h' file not found
1 | #import <objc/runtime.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[24/58] Compiling _InterceptionUtilsObjc ObjcRuntimeAliases.m
[24/58] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
warning: 'swift-snapshot-testing': 'swift-snapshot-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/Sources/_InterceptionUtilsObjc/ObjcRuntimeAliases.m:1:9: fatal error: 'objc/runtime.h' file not found
1 | #import <objc/runtime.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling _InterceptionUtilsObjc ObjcRuntimeAliases.m
[0/34] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux