Build Information
Failed to build MachOKit, reference main (6103fa), with Swift 6.1 for macOS (SPM) on 19 Apr 2026 07:32:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
| `- error: cannot find 'unsafe' in scope
61 | continue
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:20: error: cannot find 'unsafe' in scope
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: cannot find 'unsafe' in scope
64 | }
65 |
[191/261] Compiling MachOKit TrieTreeProtocol.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:7:1: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:61: error: cannot find 'unsafe' in scope
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: cannot find 'unsafe' in scope
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:15:94: error: cannot find 'unsafe' in scope
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
| `- error: cannot find 'unsafe' in scope
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
17 | fallbackHandle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:9: error: cannot find 'unsafe' in scope
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: cannot find 'unsafe' in scope
17 | fallbackHandle,
18 | ]
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:51: error: cannot find 'unsafe' in scope
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: cannot find 'unsafe' in scope
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:54: error: cannot find 'unsafe' in scope
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: cannot find 'unsafe' in scope
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:30: error: cannot find 'unsafe' in scope
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: cannot find 'unsafe' in scope
32 | return nil
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:25: error: cannot find 'unsafe' in scope
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: cannot find 'unsafe' in scope
37 | return nil
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:40:16: error: cannot find 'unsafe' in scope
38 | }
39 |
40 | return unsafe (ptr, size)
| `- error: cannot find 'unsafe' in scope
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:30: error: cannot find 'unsafe' in scope
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: cannot find 'unsafe' in scope
45 | let path = unsafe function() else {
46 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:26: error: cannot find 'unsafe' in scope
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: cannot find 'unsafe' in scope
46 | return nil
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:16: error: cannot find 'unsafe' in scope
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: cannot find 'unsafe' in scope
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:24: error: cannot find 'unsafe' in scope
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: cannot find 'unsafe' in scope
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:51: warning: result of call to 'makeIterator()' is unused
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- warning: result of call to 'makeIterator()' is unused
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:28: error: cannot find 'unsafe' in scope
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: cannot find 'unsafe' in scope
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:32: error: cannot find 'unsafe' in scope
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: cannot find 'unsafe' in scope
61 | continue
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:20: error: cannot find 'unsafe' in scope
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: cannot find 'unsafe' in scope
64 | }
65 |
[192/261] Compiling MachOKit _DyldSharedCacheRuntime.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:7:1: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:61: error: cannot find 'unsafe' in scope
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: cannot find 'unsafe' in scope
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:15:94: error: cannot find 'unsafe' in scope
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
| `- error: cannot find 'unsafe' in scope
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
17 | fallbackHandle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:9: error: cannot find 'unsafe' in scope
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: cannot find 'unsafe' in scope
17 | fallbackHandle,
18 | ]
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:51: error: cannot find 'unsafe' in scope
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: cannot find 'unsafe' in scope
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:54: error: cannot find 'unsafe' in scope
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: cannot find 'unsafe' in scope
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:30: error: cannot find 'unsafe' in scope
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: cannot find 'unsafe' in scope
32 | return nil
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:25: error: cannot find 'unsafe' in scope
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: cannot find 'unsafe' in scope
37 | return nil
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:40:16: error: cannot find 'unsafe' in scope
38 | }
39 |
40 | return unsafe (ptr, size)
| `- error: cannot find 'unsafe' in scope
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:30: error: cannot find 'unsafe' in scope
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: cannot find 'unsafe' in scope
45 | let path = unsafe function() else {
46 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:26: error: cannot find 'unsafe' in scope
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: cannot find 'unsafe' in scope
46 | return nil
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:16: error: cannot find 'unsafe' in scope
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: cannot find 'unsafe' in scope
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:24: error: cannot find 'unsafe' in scope
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: cannot find 'unsafe' in scope
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:51: warning: result of call to 'makeIterator()' is unused
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- warning: result of call to 'makeIterator()' is unused
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:28: error: cannot find 'unsafe' in scope
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: cannot find 'unsafe' in scope
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:32: error: cannot find 'unsafe' in scope
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: cannot find 'unsafe' in scope
61 | continue
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:20: error: cannot find 'unsafe' in scope
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: cannot find 'unsafe' in scope
64 | }
65 |
[193/261] Compiling MachOKit exported.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:7:1: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:61: error: cannot find 'unsafe' in scope
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: cannot find 'unsafe' in scope
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:15:94: error: cannot find 'unsafe' in scope
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
| `- error: cannot find 'unsafe' in scope
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
17 | fallbackHandle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:9: error: cannot find 'unsafe' in scope
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: cannot find 'unsafe' in scope
17 | fallbackHandle,
18 | ]
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:51: error: cannot find 'unsafe' in scope
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: cannot find 'unsafe' in scope
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:54: error: cannot find 'unsafe' in scope
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: cannot find 'unsafe' in scope
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:30: error: cannot find 'unsafe' in scope
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: cannot find 'unsafe' in scope
32 | return nil
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:25: error: cannot find 'unsafe' in scope
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: cannot find 'unsafe' in scope
37 | return nil
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:40:16: error: cannot find 'unsafe' in scope
38 | }
39 |
40 | return unsafe (ptr, size)
| `- error: cannot find 'unsafe' in scope
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:30: error: cannot find 'unsafe' in scope
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: cannot find 'unsafe' in scope
45 | let path = unsafe function() else {
46 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:26: error: cannot find 'unsafe' in scope
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: cannot find 'unsafe' in scope
46 | return nil
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:16: error: cannot find 'unsafe' in scope
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: cannot find 'unsafe' in scope
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:24: error: cannot find 'unsafe' in scope
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: cannot find 'unsafe' in scope
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:51: warning: result of call to 'makeIterator()' is unused
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- warning: result of call to 'makeIterator()' is unused
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:28: error: cannot find 'unsafe' in scope
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: cannot find 'unsafe' in scope
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:32: error: cannot find 'unsafe' in scope
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: cannot find 'unsafe' in scope
61 | continue
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:20: error: cannot find 'unsafe' in scope
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: cannot find 'unsafe' in scope
64 | }
65 |
[194/261] Compiling MachOKit global.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:7:1: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
5 |
6 | // Shared-cache runtime shim that avoids direct private loader helper imports.
7 | @unsafe enum _DyldSharedCacheRuntime {
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
8 | typealias SharedCacheRangeFunction = @convention(c) (UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
9 | typealias SharedCacheFilePathFunction = @convention(c) () -> UnsafePointer<CChar>?
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:12:61: error: cannot find 'unsafe' in scope
10 | private static let obfuscationKey: UInt8 = 0x5A
11 |
12 | nonisolated(unsafe) private static let fallbackHandle = unsafe withDecodedCString(libraryPathBytes) {
| `- error: cannot find 'unsafe' in scope
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:15:94: error: cannot find 'unsafe' in scope
13 | dlopen($0, RTLD_LAZY | RTLD_LOCAL)
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
| `- error: cannot find 'unsafe' in scope
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
17 | fallbackHandle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:16:9: error: cannot find 'unsafe' in scope
14 | }
15 | nonisolated(unsafe) private static let symbolSearchHandles: [UnsafeMutableRawPointer?] = unsafe [
16 | unsafe UnsafeMutableRawPointer(bitPattern: -2),
| `- error: cannot find 'unsafe' in scope
17 | fallbackHandle,
18 | ]
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:20:51: error: cannot find 'unsafe' in scope
18 | ]
19 |
20 | private static let sharedCacheRangeFunction = unsafe loadFunction(
| `- error: cannot find 'unsafe' in scope
21 | symbolBytes: sharedCacheRangeSymbolBytes,
22 | as: SharedCacheRangeFunction.self
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:25:54: error: cannot find 'unsafe' in scope
23 | )
24 |
25 | private static let sharedCacheFilePathFunction = unsafe loadFunction(
| `- error: cannot find 'unsafe' in scope
26 | symbolBytes: sharedCacheFilePathSymbolBytes,
27 | as: SharedCacheFilePathFunction.self
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:31:30: error: cannot find 'unsafe' in scope
29 |
30 | static func sharedCacheRange() -> (ptr: UnsafeRawPointer, size: Int)? {
31 | guard let function = unsafe sharedCacheRangeFunction else {
| `- error: cannot find 'unsafe' in scope
32 | return nil
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:36:25: error: cannot find 'unsafe' in scope
34 |
35 | var size = 0
36 | guard let ptr = unsafe withUnsafeMutablePointer(to: &size, { function($0) }) else {
| `- error: cannot find 'unsafe' in scope
37 | return nil
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:40:16: error: cannot find 'unsafe' in scope
38 | }
39 |
40 | return unsafe (ptr, size)
| `- error: cannot find 'unsafe' in scope
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:44:30: error: cannot find 'unsafe' in scope
42 |
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
| `- error: cannot find 'unsafe' in scope
45 | let path = unsafe function() else {
46 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:45:26: error: cannot find 'unsafe' in scope
43 | static func sharedCacheFilePath() -> String? {
44 | guard let function = unsafe sharedCacheFilePathFunction,
45 | let path = unsafe function() else {
| `- error: cannot find 'unsafe' in scope
46 | return nil
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:49:16: error: cannot find 'unsafe' in scope
47 | }
48 |
49 | return unsafe String(cString: path)
| `- error: cannot find 'unsafe' in scope
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:24: error: cannot find 'unsafe' in scope
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- error: cannot find 'unsafe' in scope
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:57:51: warning: result of call to 'makeIterator()' is unused
55 | ) -> T? {
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
| `- warning: result of call to 'makeIterator()' is unused
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:58:28: error: cannot find 'unsafe' in scope
56 | _ = type
57 | var iterator = unsafe symbolSearchHandles.makeIterator()
58 | while let handle = unsafe iterator.next() {
| `- error: cannot find 'unsafe' in scope
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:60:32: error: cannot find 'unsafe' in scope
58 | while let handle = unsafe iterator.next() {
59 | guard let handle,
60 | let symbol = unsafe resolveSymbol(encodedName: symbolBytes, handle: handle) else {
| `- error: cannot find 'unsafe' in scope
61 | continue
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/MachOKit/Util/_DyldSharedCacheRuntime.swift:63:20: error: cannot find 'unsafe' in scope
61 | continue
62 | }
63 | return unsafe unsafeBitCast(symbol, to: T.self)
| `- error: cannot find 'unsafe' in scope
64 | }
65 |
[195/261] Compiling MachOKit LoadCommandInfo.swift
[196/261] Compiling MachOKit LoadCommandType.swift
[197/261] Compiling MachOKit BuildToolVersion.swift
[198/261] Compiling MachOKit Dylib.swift
[199/261] Compiling MachOKit DylibUseFlags.swift
[200/261] Compiling MachOKit Platform.swift
[201/261] Compiling MachOKit Section+Attribute.swift
[202/261] Compiling MachOKit Section+Flags.swift
[203/261] Compiling MachOKit Section+Type.swift
[204/261] Compiling MachOKit Section.swift
[205/261] Compiling MachOKit ThreadState.swift
[206/261] Compiling MachOKit ThreadStateFlavor.swift
[207/261] Compiling MachOKit Tool.swift
[208/261] Compiling MachOKit VMProtection.swift
[209/261] Compiling MachOKit Version.swift
[210/261] Compiling MachOKit NoteCommand.swift
[211/261] Compiling MachOKit RpathCommand.swift
[212/261] Compiling MachOKit SegmentCommand+Flags.swift
[213/261] Compiling MachOKit SegmentCommand.swift
[214/261] Compiling MachOKit SourceVersionCommand.swift
[215/261] Compiling MachOKit SubFrameworkCommand.swift
[216/261] Compiling MachOKit TargetTripleCommand.swift
[217/261] Compiling MachOKit ThreadCommand.swift
[218/261] Compiling MachOKit UUIDCommand.swift
[219/261] Compiling MachOKit VersionMinCommand.swift
[220/261] Compiling MachOKit MachOFile+BindOperations.swift
[221/261] Compiling MachOKit MachOFile+CodeSign.swift
[222/261] Compiling MachOKit MachOFile+DyldChainedFixups.swift
[223/261] Compiling MachOKit MachOFile+ExportTrie.swift
[224/261] Compiling MachOKit MachOFile+FunctionStarts.swift
[225/261] Compiling MachOKit MachOFile+LoadCommands.swift
[226/261] Compiling MachOKit MachOFile+RebaseOperations.swift
[227/261] Compiling MachOKit MachOFile+Strings.swift
[228/261] Compiling MachOKit MachOFile+Symbols.swift
[229/261] Compiling MachOKit MachOFile.swift
[230/261] Compiling MachOKit MachOImage+BindOperations.swift
[231/261] Compiling MachOKit MachOImage+CodeSign.swift
[232/261] Compiling MachOKit MachOImage+DyldChainedFixups..swift
[233/261] Compiling MachOKit MachOImage+ExportTrie.swift
[234/261] Compiling MachOKit MachOImage+FunctionStarts.swift
[235/261] Compiling MachOKit MachOImage+LoadCommands.swift
[236/261] Compiling MachOKit MachOImage+RebaseOperations.swift
[237/261] Compiling MachOKit MachOImage+Strings.swift
[238/261] Compiling MachOKit MachOImage+Symbols.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[245/261] Compiling MachOKit DyldCacheLoaded+static.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[246/261] Compiling MachOKit DyldCacheLoaded.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[247/261] Compiling MachOKit Data+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[248/261] Compiling MachOKit FileHandle+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[249/261] Compiling MachOKit FixedWidthInteger+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[250/261] Compiling MachOKit Sequence+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[251/261] Compiling MachOKit String+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[252/261] Compiling MachOKit TrieTreeProtocol+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[253/261] Compiling MachOKit UUID+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[254/261] Compiling MachOKit UnsafePointer+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[255/261] Compiling MachOKit UnsafeRawPointer+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[256/261] Compiling MachOKit _FileIOProtocol+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[257/261] Compiling MachOKit dyld_chained_ptr+.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[258/261] Compiling MachOKit FatFile.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[259/261] Compiling MachOKit FullDyldCache+host.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[260/261] Compiling MachOKit FullDyldCache.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[261/261] Compiling MachOKit AotCacheHeader.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | ]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
BUILD FAILURE 6.1 macosSpm