Build Information
Failed to build MachOKit, reference main (6103fa), with Swift 6.1 for Linux on 19 Apr 2026 07:24:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[269/356] Compiling MachOKit MachORepresentable.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[270/356] Compiling MachOKit SymbolProtocol.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[271/356] Compiling MachOKit _DyldCacheFileRepresentable.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[272/356] Compiling MachOKit CxaDemangle.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[273/356] Compiling MachOKit SwiftDemangle.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[274/356] Compiling MachOKit DataTrieTree.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[275/356] Compiling MachOKit MemoryTrieTree.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[276/356] Compiling MachOKit TrieNode.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[277/356] Compiling MachOKit TrieNodeContent.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[278/356] Compiling MachOKit TrieTreeProtocol.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[279/356] Compiling MachOKit _DyldSharedCacheRuntime.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[280/356] Compiling MachOKit exported.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[281/356] Compiling MachOKit global.swift
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:67: error: consecutive declarations on a line must be separated by ';'
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: consecutive declarations on a line must be separated by ';'
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:68: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: expected declaration
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:16: error: expected ',' separator
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: expected ',' separator
17 | fallbackHandle,
18 | ]
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:57: error: consecutive declarations on a line must be separated by ';'
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:58: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: expected declaration
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:60: error: consecutive declarations on a line must be separated by ';'
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: consecutive declarations on a line must be separated by ';'
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:61: error: expected declaration
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- note: in declaration of '_DyldSharedCacheRuntime'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
:
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: expected declaration
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:37: error: expected 'else' after 'guard' condition
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected 'else' after 'guard' condition
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:36: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:61: error: consecutive statements on a line must be separated by ';'
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: consecutive statements on a line must be separated by ';'
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:62: error: expected expression
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: expected expression
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:32: error: expected 'else' after 'guard' condition
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected 'else' after 'guard' condition
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:31: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:85: error: consecutive statements on a line must be separated by ';'
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: consecutive statements on a line must be separated by ';'
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:86: error: expected expression
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: expected expression
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:37: error: expected 'else' after 'guard' condition
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected 'else' after 'guard' condition
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:36: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: consecutive statements on a line must be separated by ';'
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: consecutive statements on a line must be separated by ';'
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:64: error: expected expression
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: expected expression
45 | let path = unsafe function() else {
46 | return nil
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:32: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:43: error: consecutive statements on a line must be separated by ';'
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: consecutive statements on a line must be separated by ';'
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:44: error: expected expression
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: expected expression
46 | return nil
47 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:22: error: consecutive statements on a line must be separated by ';'
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: consecutive statements on a line must be separated by ';'
50 | }
51 |
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:30: error: consecutive statements on a line must be separated by ';'
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:35: error: expected '{' after 'while' condition
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: expected '{' after 'while' condition
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:39: error: expected 'else' after 'guard' condition
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected 'else' after 'guard' condition
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:38: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:94: error: consecutive statements on a line must be separated by ';'
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:95: error: expected expression
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: expected expression
61 | continue
62 | }
/host/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:26: error: consecutive statements on a line must be separated by ';'
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: consecutive statements on a line must be separated by ';'
64 | }
65 |
[282/356] Compiling MachOKit CPUType.swift
[283/356] Compiling MachOKit DyldCacheHeader.swift
[284/356] Compiling MachOKit DyldCacheType.swift
[285/356] Compiling MachOKit FatArch.swift
[286/356] Compiling MachOKit FatHeader.swift
[287/356] Compiling MachOKit FileType.swift
[288/356] Compiling MachOKit MachHeader+Flags+Bit.swift
[289/356] Compiling MachOKit MachHeader+Flags.swift
[290/356] Compiling MachOKit MachHeader.swift
[291/356] Compiling MachOKit Magic.swift
[292/356] Compiling MachOKit AotMetadataCommand.swift
[293/356] Compiling MachOKit BuildVersionCommand.swift
[294/356] Compiling MachOKit DylibCommand.swift
[295/356] Compiling MachOKit DylibUseCommand.swift
[296/356] Compiling MachOKit DylinkerCommand.swift
[297/356] Compiling MachOKit EncryptionInfoCommand.swift
[298/356] Compiling MachOKit EntryPointCommand.swift
[299/356] Compiling MachOKit FilesetEntryCommand.swift
[300/356] Compiling MachOKit LinkerOptionCommand.swift
[301/356] Compiling MachOKit LoadCommand.swift
[302/356] Compiling MachOKit LoadCommandInfo.swift
[303/356] Compiling MachOKit LoadCommandType.swift
[304/356] Compiling MachOKit BuildToolVersion.swift
[305/356] Compiling MachOKit Dylib.swift
[306/356] Compiling MachOKit DylibUseFlags.swift
[307/356] Compiling MachOKit MachOFile+LoadCommands.swift
[308/356] Compiling MachOKit MachOFile+RebaseOperations.swift
[309/356] Compiling MachOKit MachOFile+Strings.swift
[310/356] Compiling MachOKit MachOFile+Symbols.swift
[311/356] Compiling MachOKit MachOFile.swift
[312/356] Compiling MachOKit MachOImage+BindOperations.swift
[313/356] Compiling MachOKit MachOImage+CodeSign.swift
[314/356] Compiling MachOKit MachOImage+DyldChainedFixups..swift
[315/356] Compiling MachOKit MachOImage+ExportTrie.swift
[316/356] Compiling MachOKit MachOImage+FunctionStarts.swift
[317/356] Compiling MachOKit MachOImage+LoadCommands.swift
[318/356] Compiling MachOKit MachOImage+RebaseOperations.swift
[319/356] Compiling MachOKit MachOImage+Strings.swift
[320/356] Compiling MachOKit MachOImage+Symbols.swift
[321/356] Compiling MachOKit MachOImage+static.swift
[322/356] Compiling MachOKit MachOImage.swift
[323/356] Compiling MachOKit MachOKit.swift
[324/356] Compiling MachOKit AotCacheCodeFragment.swift
[325/356] Compiling MachOKit AotCodeFragment.swift
[326/356] Compiling MachOKit AotCodeFragmentType.swift
[327/356] Compiling MachOKit AotBranchData.swift
[328/356] Compiling MachOKit AotBranchDataHeader.swift
[329/356] Compiling MachOKit AotBranchDataIndexEntry.swift
[330/356] Compiling MachOKit AotInstructionMap.swift
[331/356] Compiling MachOKit AotInstructionMapHeader.swift
[332/356] Compiling MachOKit AotCache+CodeFragments.swift
[333/356] Compiling MachOKit AotCache.swift
[334/356] Compiling MachOKit DyldCache+SubCaches.swift
[335/356] Compiling MachOKit DyldCache+host.swift
[336/356] Compiling MachOKit DyldCache.swift
[337/356] Compiling MachOKit DyldCacheLoaded+SubCaches.swift
[338/356] Compiling MachOKit DyldCacheLoaded+static.swift
[339/356] Compiling MachOKit DyldCacheLoaded.swift
[340/356] Compiling MachOKit Data+.swift
[341/356] Compiling MachOKit FileHandle+.swift
[342/356] Compiling MachOKit FixedWidthInteger+.swift
[343/356] Compiling MachOKit Sequence+.swift
[344/356] Compiling MachOKit String+.swift
[345/356] Compiling MachOKit TrieTreeProtocol+.swift
[346/356] Compiling MachOKit UUID+.swift
[347/356] Compiling MachOKit UnsafePointer+.swift
[348/356] Compiling MachOKit UnsafeRawPointer+.swift
[349/356] Compiling MachOKit _FileIOProtocol+.swift
[350/356] Compiling MachOKit dyld_chained_ptr+.swift
[351/356] Compiling MachOKit FatFile.swift
[352/356] Compiling MachOKit FullDyldCache+host.swift
[353/356] Compiling MachOKit FullDyldCache.swift
[354/356] Compiling MachOKit AotCacheHeader.swift
[355/356] Compiling MachOKit CPU.swift
[356/356] Compiling MachOKit CPUSubType.swift
BUILD FAILURE 6.1 linux