Build Information
Failed to build Symbolic, reference master (076fbd
), with Swift 6.1 for Android on 27 May 2025 10:31:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/symbolic.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/llvm-swift/symbolic
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 076fbd3 Merge pull request #1 from segiddins/patch-1
Cloned https://github.com/llvm-swift/symbolic.git
Revision (git rev-parse @):
076fbd317c880af5ee622633c0b1a9386e2e16bc
SUCCESS checkout https://github.com/llvm-swift/symbolic.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/llvm-swift/symbolic.git
https://github.com/llvm-swift/symbolic.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Symbolic",
"name" : "Symbolic",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Symbolic",
"targets" : [
"Symbolic"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SymbolicTests",
"module_type" : "SwiftTarget",
"name" : "SymbolicTests",
"path" : "Tests/SymbolicTests",
"sources" : [
"SymbolicTests.swift"
],
"target_dependencies" : [
"Symbolic"
],
"type" : "test"
},
{
"c99name" : "Symbolic",
"module_type" : "SwiftTarget",
"name" : "Symbolic",
"path" : "Sources/Symbolic",
"product_memberships" : [
"Symbolic"
],
"sources" : [
"Symbolic.swift"
],
"target_dependencies" : [
"GlibcDlfcnShim"
],
"type" : "library"
},
{
"c99name" : "GlibcDlfcnShim",
"module_type" : "ClangTarget",
"name" : "GlibcDlfcnShim",
"path" : "Sources/GlibcDlfcnShim",
"product_memberships" : [
"Symbolic"
],
"sources" : [
"src/GlibcDlfcnShim.c"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling GlibcDlfcnShim.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Symbolic
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:36:51: error: cannot find 'RTLD_LOCAL' in scope
34 | /// specified. Symbols defined in this library are not made available to
35 | /// resolve references in subsequently loaded libraries.
36 | public static let local = LoadFlags(rawValue: RTLD_LOCAL)
| `- error: cannot find 'RTLD_LOCAL' in scope
37 |
38 | /// The symbols defined by this library will be made available for symbol
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:40:52: error: cannot find 'RTLD_GLOBAL' in scope
38 | /// The symbols defined by this library will be made available for symbol
39 | /// resolution of subsequently loaded libraries.
40 | public static let global = LoadFlags(rawValue: RTLD_GLOBAL)
| `- error: cannot find 'RTLD_GLOBAL' in scope
41 |
42 | /// Don't load the library. This can be used to test if the library is
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:48:52: error: cannot find 'RTLD_NOLOAD' in scope
46 | /// was previously loaded with RTLD_LOCAL can be reopened with
47 | /// `[.noLoad, .global]`. This flag is not specified in POSIX.1-2001.
48 | public static let noLoad = LoadFlags(rawValue: RTLD_NOLOAD)
| `- error: cannot find 'RTLD_NOLOAD' in scope
49 |
50 | /// Do not unload the library during dlclose(). Consequently, the library's
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:53:54: error: cannot find 'RTLD_NODELETE' in scope
51 | /// static variables are not reinitialized if the library is reloaded with
52 | /// dlopen() at a later time. This flag is not specified in POSIX.1-2001.
53 | public static let noDelete = LoadFlags(rawValue: RTLD_NODELETE)
| `- error: cannot find 'RTLD_NODELETE' in scope
54 |
55 | /// Initalizes a set of flags with a given raw integer value.
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:185:26: error: cannot find type 'Dl_info' in scope
183 |
184 | /// Creates a SymbolInfo from the corresponding dl_info.
185 | private init(_ dlinfo: Dl_info) {
| `- error: cannot find type 'Dl_info' in scope
186 | self.fileBaseAddress = UnsafeRawPointer(dlinfo.dli_fbase)
187 | self.symbolAddress = UnsafeRawPointer(dlinfo.dli_saddr)
[5/5] Compiling Symbolic Symbolic.swift
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:36:51: error: cannot find 'RTLD_LOCAL' in scope
34 | /// specified. Symbols defined in this library are not made available to
35 | /// resolve references in subsequently loaded libraries.
36 | public static let local = LoadFlags(rawValue: RTLD_LOCAL)
| `- error: cannot find 'RTLD_LOCAL' in scope
37 |
38 | /// The symbols defined by this library will be made available for symbol
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:40:52: error: cannot find 'RTLD_GLOBAL' in scope
38 | /// The symbols defined by this library will be made available for symbol
39 | /// resolution of subsequently loaded libraries.
40 | public static let global = LoadFlags(rawValue: RTLD_GLOBAL)
| `- error: cannot find 'RTLD_GLOBAL' in scope
41 |
42 | /// Don't load the library. This can be used to test if the library is
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:48:52: error: cannot find 'RTLD_NOLOAD' in scope
46 | /// was previously loaded with RTLD_LOCAL can be reopened with
47 | /// `[.noLoad, .global]`. This flag is not specified in POSIX.1-2001.
48 | public static let noLoad = LoadFlags(rawValue: RTLD_NOLOAD)
| `- error: cannot find 'RTLD_NOLOAD' in scope
49 |
50 | /// Do not unload the library during dlclose(). Consequently, the library's
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:53:54: error: cannot find 'RTLD_NODELETE' in scope
51 | /// static variables are not reinitialized if the library is reloaded with
52 | /// dlopen() at a later time. This flag is not specified in POSIX.1-2001.
53 | public static let noDelete = LoadFlags(rawValue: RTLD_NODELETE)
| `- error: cannot find 'RTLD_NODELETE' in scope
54 |
55 | /// Initalizes a set of flags with a given raw integer value.
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:185:26: error: cannot find type 'Dl_info' in scope
183 |
184 | /// Creates a SymbolInfo from the corresponding dl_info.
185 | private init(_ dlinfo: Dl_info) {
| `- error: cannot find type 'Dl_info' in scope
186 | self.fileBaseAddress = UnsafeRawPointer(dlinfo.dli_fbase)
187 | self.symbolAddress = UnsafeRawPointer(dlinfo.dli_saddr)
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:76:19: error: cannot find 'RTLD_LAZY' in scope
74 | switch behavior {
75 | case .lazy:
76 | rawFlags |= RTLD_LAZY
| `- error: cannot find 'RTLD_LAZY' in scope
77 | case .now:
78 | rawFlags |= RTLD_NOW
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:78:19: error: cannot find 'RTLD_NOW' in scope
76 | rawFlags |= RTLD_LAZY
77 | case .now:
78 | rawFlags |= RTLD_NOW
| `- error: cannot find 'RTLD_NOW' in scope
79 | }
80 |
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:82:24: error: cannot find 'dlopen' in scope
80 |
81 | self.path = path
82 | guard let handle = dlopen(path.path, rawFlags) else {
| `- error: cannot find 'dlopen' in scope
83 | throw LoadError.dlerror(String(cString: dlerror()))
84 | }
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:83:47: error: cannot find 'dlerror' in scope
81 | self.path = path
82 | guard let handle = dlopen(path.path, rawFlags) else {
83 | throw LoadError.dlerror(String(cString: dlerror()))
| `- error: cannot find 'dlerror' in scope
84 | }
85 | self.handle = UnsafeRawPointer(handle)
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:138:22: error: cannot find 'dlsym' in scope
136 | public func address(ofSymbol symbol: String) -> UnsafeRawPointer? {
137 | let mut = UnsafeMutableRawPointer(mutating: handle)
138 | guard let addr = dlsym(mut, symbol) else { return nil }
| `- error: cannot find 'dlsym' in scope
139 | return UnsafeRawPointer(addr)
140 | }
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:143:12: error: cannot find 'dlopen' in scope
141 |
142 | public static func isLoaded(_ library: URL) -> Bool {
143 | return dlopen(library.path, RTLD_LAZY | RTLD_NOLOAD) != nil
| `- error: cannot find 'dlopen' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:143:33: error: cannot find 'RTLD_LAZY' in scope
141 |
142 | public static func isLoaded(_ library: URL) -> Bool {
143 | return dlopen(library.path, RTLD_LAZY | RTLD_NOLOAD) != nil
| `- error: cannot find 'RTLD_LAZY' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:143:45: error: cannot find 'RTLD_NOLOAD' in scope
141 |
142 | public static func isLoaded(_ library: URL) -> Bool {
143 | return dlopen(library.path, RTLD_LAZY | RTLD_NOLOAD) != nil
| `- error: cannot find 'RTLD_NOLOAD' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:148:7: error: cannot find 'dlclose' in scope
146 | deinit {
147 | if ownsHandle {
148 | dlclose(UnsafeMutableRawPointer(mutating: handle))
| `- error: cannot find 'dlclose' in scope
149 | }
150 | }
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:179:16: error: cannot find 'Dl_info' in scope
177 | /// - parameter address: The address of the symbol you intend to get.
178 | public init?(address: UnsafeRawPointer) {
179 | var info = Dl_info()
| `- error: cannot find 'Dl_info' in scope
180 | guard dladdr(address, &info) != 0 else { return nil }
181 | self.init(info)
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:180:11: error: cannot find 'dladdr' in scope
178 | public init?(address: UnsafeRawPointer) {
179 | var info = Dl_info()
180 | guard dladdr(address, &info) != 0 else { return nil }
| `- error: cannot find 'dladdr' in scope
181 | self.init(info)
182 | }
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:181:15: error: missing argument label 'address:' in call
179 | var info = Dl_info()
180 | guard dladdr(address, &info) != 0 else { return nil }
181 | self.init(info)
| `- error: missing argument label 'address:' in call
182 | }
183 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Symbolic
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:36:51: error: cannot find 'RTLD_LOCAL' in scope
34 | /// specified. Symbols defined in this library are not made available to
35 | /// resolve references in subsequently loaded libraries.
36 | public static let local = LoadFlags(rawValue: RTLD_LOCAL)
| `- error: cannot find 'RTLD_LOCAL' in scope
37 |
38 | /// The symbols defined by this library will be made available for symbol
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:40:52: error: cannot find 'RTLD_GLOBAL' in scope
38 | /// The symbols defined by this library will be made available for symbol
39 | /// resolution of subsequently loaded libraries.
40 | public static let global = LoadFlags(rawValue: RTLD_GLOBAL)
| `- error: cannot find 'RTLD_GLOBAL' in scope
41 |
42 | /// Don't load the library. This can be used to test if the library is
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:48:52: error: cannot find 'RTLD_NOLOAD' in scope
46 | /// was previously loaded with RTLD_LOCAL can be reopened with
47 | /// `[.noLoad, .global]`. This flag is not specified in POSIX.1-2001.
48 | public static let noLoad = LoadFlags(rawValue: RTLD_NOLOAD)
| `- error: cannot find 'RTLD_NOLOAD' in scope
49 |
50 | /// Do not unload the library during dlclose(). Consequently, the library's
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:53:54: error: cannot find 'RTLD_NODELETE' in scope
51 | /// static variables are not reinitialized if the library is reloaded with
52 | /// dlopen() at a later time. This flag is not specified in POSIX.1-2001.
53 | public static let noDelete = LoadFlags(rawValue: RTLD_NODELETE)
| `- error: cannot find 'RTLD_NODELETE' in scope
54 |
55 | /// Initalizes a set of flags with a given raw integer value.
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:185:26: error: cannot find type 'Dl_info' in scope
183 |
184 | /// Creates a SymbolInfo from the corresponding dl_info.
185 | private init(_ dlinfo: Dl_info) {
| `- error: cannot find type 'Dl_info' in scope
186 | self.fileBaseAddress = UnsafeRawPointer(dlinfo.dli_fbase)
187 | self.symbolAddress = UnsafeRawPointer(dlinfo.dli_saddr)
[3/3] Compiling Symbolic Symbolic.swift
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:36:51: error: cannot find 'RTLD_LOCAL' in scope
34 | /// specified. Symbols defined in this library are not made available to
35 | /// resolve references in subsequently loaded libraries.
36 | public static let local = LoadFlags(rawValue: RTLD_LOCAL)
| `- error: cannot find 'RTLD_LOCAL' in scope
37 |
38 | /// The symbols defined by this library will be made available for symbol
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:40:52: error: cannot find 'RTLD_GLOBAL' in scope
38 | /// The symbols defined by this library will be made available for symbol
39 | /// resolution of subsequently loaded libraries.
40 | public static let global = LoadFlags(rawValue: RTLD_GLOBAL)
| `- error: cannot find 'RTLD_GLOBAL' in scope
41 |
42 | /// Don't load the library. This can be used to test if the library is
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:48:52: error: cannot find 'RTLD_NOLOAD' in scope
46 | /// was previously loaded with RTLD_LOCAL can be reopened with
47 | /// `[.noLoad, .global]`. This flag is not specified in POSIX.1-2001.
48 | public static let noLoad = LoadFlags(rawValue: RTLD_NOLOAD)
| `- error: cannot find 'RTLD_NOLOAD' in scope
49 |
50 | /// Do not unload the library during dlclose(). Consequently, the library's
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:53:54: error: cannot find 'RTLD_NODELETE' in scope
51 | /// static variables are not reinitialized if the library is reloaded with
52 | /// dlopen() at a later time. This flag is not specified in POSIX.1-2001.
53 | public static let noDelete = LoadFlags(rawValue: RTLD_NODELETE)
| `- error: cannot find 'RTLD_NODELETE' in scope
54 |
55 | /// Initalizes a set of flags with a given raw integer value.
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:185:26: error: cannot find type 'Dl_info' in scope
183 |
184 | /// Creates a SymbolInfo from the corresponding dl_info.
185 | private init(_ dlinfo: Dl_info) {
| `- error: cannot find type 'Dl_info' in scope
186 | self.fileBaseAddress = UnsafeRawPointer(dlinfo.dli_fbase)
187 | self.symbolAddress = UnsafeRawPointer(dlinfo.dli_saddr)
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:76:19: error: cannot find 'RTLD_LAZY' in scope
74 | switch behavior {
75 | case .lazy:
76 | rawFlags |= RTLD_LAZY
| `- error: cannot find 'RTLD_LAZY' in scope
77 | case .now:
78 | rawFlags |= RTLD_NOW
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:78:19: error: cannot find 'RTLD_NOW' in scope
76 | rawFlags |= RTLD_LAZY
77 | case .now:
78 | rawFlags |= RTLD_NOW
| `- error: cannot find 'RTLD_NOW' in scope
79 | }
80 |
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:82:24: error: cannot find 'dlopen' in scope
80 |
81 | self.path = path
82 | guard let handle = dlopen(path.path, rawFlags) else {
| `- error: cannot find 'dlopen' in scope
83 | throw LoadError.dlerror(String(cString: dlerror()))
84 | }
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:83:47: error: cannot find 'dlerror' in scope
81 | self.path = path
82 | guard let handle = dlopen(path.path, rawFlags) else {
83 | throw LoadError.dlerror(String(cString: dlerror()))
| `- error: cannot find 'dlerror' in scope
84 | }
85 | self.handle = UnsafeRawPointer(handle)
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:138:22: error: cannot find 'dlsym' in scope
136 | public func address(ofSymbol symbol: String) -> UnsafeRawPointer? {
137 | let mut = UnsafeMutableRawPointer(mutating: handle)
138 | guard let addr = dlsym(mut, symbol) else { return nil }
| `- error: cannot find 'dlsym' in scope
139 | return UnsafeRawPointer(addr)
140 | }
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:143:12: error: cannot find 'dlopen' in scope
141 |
142 | public static func isLoaded(_ library: URL) -> Bool {
143 | return dlopen(library.path, RTLD_LAZY | RTLD_NOLOAD) != nil
| `- error: cannot find 'dlopen' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:143:33: error: cannot find 'RTLD_LAZY' in scope
141 |
142 | public static func isLoaded(_ library: URL) -> Bool {
143 | return dlopen(library.path, RTLD_LAZY | RTLD_NOLOAD) != nil
| `- error: cannot find 'RTLD_LAZY' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:143:45: error: cannot find 'RTLD_NOLOAD' in scope
141 |
142 | public static func isLoaded(_ library: URL) -> Bool {
143 | return dlopen(library.path, RTLD_LAZY | RTLD_NOLOAD) != nil
| `- error: cannot find 'RTLD_NOLOAD' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:148:7: error: cannot find 'dlclose' in scope
146 | deinit {
147 | if ownsHandle {
148 | dlclose(UnsafeMutableRawPointer(mutating: handle))
| `- error: cannot find 'dlclose' in scope
149 | }
150 | }
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:179:16: error: cannot find 'Dl_info' in scope
177 | /// - parameter address: The address of the symbol you intend to get.
178 | public init?(address: UnsafeRawPointer) {
179 | var info = Dl_info()
| `- error: cannot find 'Dl_info' in scope
180 | guard dladdr(address, &info) != 0 else { return nil }
181 | self.init(info)
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:180:11: error: cannot find 'dladdr' in scope
178 | public init?(address: UnsafeRawPointer) {
179 | var info = Dl_info()
180 | guard dladdr(address, &info) != 0 else { return nil }
| `- error: cannot find 'dladdr' in scope
181 | self.init(info)
182 | }
/host/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:181:15: error: missing argument label 'address:' in call
179 | var info = Dl_info()
180 | guard dladdr(address, &info) != 0 else { return nil }
181 | self.init(info)
| `- error: missing argument label 'address:' in call
182 | }
183 |
BUILD FAILURE 6.1 android