Build Information
Failed to build Swifter, reference stable (1e4f51
), with Swift 6.1 for Android on 28 May 2025 03:20:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
58 | public var color: String?
59 | public var media: String?
60 | public var title: String?
| |- warning: var 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'title' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public var scope: String?
62 | public var classs: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:61:12: warning: var 'scope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | public var media: String?
60 | public var title: String?
61 | public var scope: String?
| |- warning: var 'scope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scope' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public var classs: String?
63 | public var manifest: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:62:12: warning: var 'classs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | public var title: String?
61 | public var scope: String?
62 | public var classs: String?
| |- warning: var 'classs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public var manifest: String?
64 | public var value: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:63:12: warning: var 'manifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | public var scope: String?
62 | public var classs: String?
63 | public var manifest: String?
| |- warning: var 'manifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manifest' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'manifest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var value: String?
65 | public var clear: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:64:12: warning: var 'value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public var classs: String?
63 | public var manifest: String?
64 | public var value: String?
| |- warning: var 'value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'value' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public var clear: String?
66 | public var start: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:65:12: warning: var 'clear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | public var manifest: String?
64 | public var value: String?
65 | public var clear: String?
| |- warning: var 'clear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'clear' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'clear' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public var start: String?
67 | public var label: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:66:12: warning: var 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public var value: String?
65 | public var clear: String?
66 | public var start: String?
| |- warning: var 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'start' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'start' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public var label: String?
68 | public var action: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:67:12: warning: var 'label' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | public var clear: String?
66 | public var start: String?
67 | public var label: String?
| |- warning: var 'label' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'label' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'label' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public var action: String?
69 | public var height: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:68:12: warning: var 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public var start: String?
67 | public var label: String?
68 | public var action: String?
| |- warning: var 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'action' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public var height: String?
70 | public var method: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:69:12: warning: var 'height' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 | public var label: String?
68 | public var action: String?
69 | public var height: String?
| |- warning: var 'height' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'height' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'height' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public var method: String?
71 | public var acceptt: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:70:12: warning: var 'method' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public var action: String?
69 | public var height: String?
70 | public var method: String?
| |- warning: var 'method' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'method' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'method' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public var acceptt: String?
72 | public var object: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:71:12: warning: var 'acceptt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 | public var height: String?
70 | public var method: String?
71 | public var acceptt: String?
| |- warning: var 'acceptt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'acceptt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public var object: String?
73 | public var scheme: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:72:12: warning: var 'object' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | public var method: String?
71 | public var acceptt: String?
72 | public var object: String?
| |- warning: var 'object' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'object' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'object' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public var scheme: String?
74 | public var coords: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:73:12: warning: var 'scheme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 | public var acceptt: String?
72 | public var object: String?
73 | public var scheme: String?
| |- warning: var 'scheme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scheme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public var coords: String?
75 | public var usemap: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:74:12: warning: var 'coords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | public var object: String?
73 | public var scheme: String?
74 | public var coords: String?
| |- warning: var 'coords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'coords' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'coords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public var usemap: String?
76 | public var onblur: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:75:12: warning: var 'usemap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | public var scheme: String?
74 | public var coords: String?
75 | public var usemap: String?
| |- warning: var 'usemap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'usemap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'usemap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public var onblur: String?
77 | public var nohref: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:76:12: warning: var 'onblur' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | public var coords: String?
75 | public var usemap: String?
76 | public var onblur: String?
| |- warning: var 'onblur' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onblur' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onblur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public var nohref: String?
78 | public var nowrap: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:77:12: warning: var 'nohref' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public var usemap: String?
76 | public var onblur: String?
77 | public var nohref: String?
| |- warning: var 'nohref' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nohref' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'nohref' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public var nowrap: String?
79 | public var hspace: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:78:12: warning: var 'nowrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public var onblur: String?
77 | public var nohref: String?
78 | public var nowrap: String?
| |- warning: var 'nowrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nowrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'nowrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public var hspace: String?
80 | public var border: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:79:12: warning: var 'hspace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | public var nohref: String?
78 | public var nowrap: String?
79 | public var hspace: String?
| |- warning: var 'hspace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hspace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public var border: String?
81 | public var valign: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:80:12: warning: var 'border' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | public var nowrap: String?
79 | public var hspace: String?
80 | public var border: String?
| |- warning: var 'border' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'border' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'border' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public var valign: String?
82 | public var vspace: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:81:12: warning: var 'valign' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | public var hspace: String?
80 | public var border: String?
81 | public var valign: String?
| |- warning: var 'valign' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'valign' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'valign' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public var vspace: String?
83 | public var onload: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:82:12: warning: var 'vspace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public var border: String?
81 | public var valign: String?
82 | public var vspace: String?
| |- warning: var 'vspace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vspace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public var onload: String?
84 | public var target: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:83:12: warning: var 'onload' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | public var valign: String?
82 | public var vspace: String?
83 | public var onload: String?
| |- warning: var 'onload' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onload' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public var target: String?
85 | public var prompt: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:84:12: warning: var 'target' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 | public var vspace: String?
83 | public var onload: String?
84 | public var target: String?
| |- warning: var 'target' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'target' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'target' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public var prompt: String?
86 | public var onfocus: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:85:12: warning: var 'prompt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public var onload: String?
84 | public var target: String?
85 | public var prompt: String?
| |- warning: var 'prompt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'prompt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'prompt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public var onfocus: String?
87 | public var enctype: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:86:12: warning: var 'onfocus' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | public var target: String?
85 | public var prompt: String?
86 | public var onfocus: String?
| |- warning: var 'onfocus' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onfocus' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onfocus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public var enctype: String?
88 | public var onclick: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:87:12: warning: var 'enctype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | public var prompt: String?
86 | public var onfocus: String?
87 | public var enctype: String?
| |- warning: var 'enctype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enctype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'enctype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public var onclick: String?
89 | public var ontouchstart: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:88:12: warning: var 'onclick' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | public var onfocus: String?
87 | public var enctype: String?
88 | public var onclick: String?
| |- warning: var 'onclick' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onclick' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onclick' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public var ontouchstart: String?
90 | public var onkeyup: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:89:12: warning: var 'ontouchstart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | public var enctype: String?
88 | public var onclick: String?
89 | public var ontouchstart: String?
| |- warning: var 'ontouchstart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ontouchstart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'ontouchstart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public var onkeyup: String?
91 | public var profile: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:90:12: warning: var 'onkeyup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public var onclick: String?
89 | public var ontouchstart: String?
90 | public var onkeyup: String?
| |- warning: var 'onkeyup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onkeyup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onkeyup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public var profile: String?
92 | public var version: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:91:12: warning: var 'profile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | public var ontouchstart: String?
90 | public var onkeyup: String?
91 | public var profile: String?
| |- warning: var 'profile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'profile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'profile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public var version: String?
93 | public var onreset: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:92:12: warning: var 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | public var onkeyup: String?
91 | public var profile: String?
92 | public var version: String?
| |- warning: var 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public var onreset: String?
94 | public var charset: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:93:12: warning: var 'onreset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | public var profile: String?
92 | public var version: String?
93 | public var onreset: String?
| |- warning: var 'onreset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onreset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onreset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public var charset: String?
95 | public var standby: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:94:12: warning: var 'charset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | public var version: String?
93 | public var onreset: String?
94 | public var charset: String?
| |- warning: var 'charset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'charset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'charset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public var standby: String?
96 | public var colspan: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:95:12: warning: var 'standby' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | public var onreset: String?
94 | public var charset: String?
95 | public var standby: String?
| |- warning: var 'standby' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standby' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standby' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public var colspan: String?
97 | public var charoff: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:96:12: warning: var 'colspan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
94 | public var charset: String?
95 | public var standby: String?
96 | public var colspan: String?
| |- warning: var 'colspan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'colspan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'colspan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public var charoff: String?
98 | public var classid: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:97:12: warning: var 'charoff' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
95 | public var standby: String?
96 | public var colspan: String?
97 | public var charoff: String?
| |- warning: var 'charoff' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'charoff' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'charoff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public var classid: String?
99 | public var compact: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:98:12: warning: var 'classid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | public var colspan: String?
97 | public var charoff: String?
98 | public var classid: String?
| |- warning: var 'classid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classid' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public var compact: String?
100 | public var declare: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:99:12: warning: var 'compact' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
97 | public var charoff: String?
98 | public var classid: String?
99 | public var compact: String?
| |- warning: var 'compact' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'compact' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'compact' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public var declare: String?
101 | public var rowspan: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:100:12: warning: var 'declare' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | public var classid: String?
99 | public var compact: String?
100 | public var declare: String?
| |- warning: var 'declare' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declare' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'declare' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public var rowspan: String?
102 | public var checked: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:101:12: warning: var 'rowspan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 | public var compact: String?
100 | public var declare: String?
101 | public var rowspan: String?
| |- warning: var 'rowspan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rowspan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'rowspan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | public var checked: String?
103 | public var archive: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:102:12: warning: var 'checked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 | public var declare: String?
101 | public var rowspan: String?
102 | public var checked: String?
| |- warning: var 'checked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'checked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | public var archive: String?
104 | public var bgcolor: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:103:12: warning: var 'archive' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | public var rowspan: String?
102 | public var checked: String?
103 | public var archive: String?
| |- warning: var 'archive' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'archive' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'archive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public var bgcolor: String?
105 | public var content: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:104:12: warning: var 'bgcolor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 | public var checked: String?
103 | public var archive: String?
104 | public var bgcolor: String?
| |- warning: var 'bgcolor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bgcolor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bgcolor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public var content: String?
106 | public var noshade: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:105:12: warning: var 'content' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 | public var archive: String?
104 | public var bgcolor: String?
105 | public var content: String?
| |- warning: var 'content' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'content' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'content' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public var noshade: String?
107 | public var summary: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:106:12: warning: var 'noshade' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | public var bgcolor: String?
105 | public var content: String?
106 | public var noshade: String?
| |- warning: var 'noshade' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'noshade' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'noshade' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public var summary: String?
108 | public var headers: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:107:12: warning: var 'summary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 | public var content: String?
106 | public var noshade: String?
107 | public var summary: String?
| |- warning: var 'summary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'summary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'summary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | public var headers: String?
109 | public var onselect: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:108:12: warning: var 'headers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | public var noshade: String?
107 | public var summary: String?
108 | public var headers: String?
| |- warning: var 'headers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'headers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'headers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | public var onselect: String?
110 | public var readonly: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:109:12: warning: var 'onselect' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 | public var summary: String?
108 | public var headers: String?
109 | public var onselect: String?
| |- warning: var 'onselect' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onselect' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onselect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | public var readonly: String?
111 | public var tabindex: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:110:12: warning: var 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | public var headers: String?
109 | public var onselect: String?
110 | public var readonly: String?
| |- warning: var 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readonly' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'readonly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | public var tabindex: String?
112 | public var onchange: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:111:12: warning: var 'tabindex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | public var onselect: String?
110 | public var readonly: String?
111 | public var tabindex: String?
| |- warning: var 'tabindex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tabindex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'tabindex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | public var onchange: String?
113 | public var noresize: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:112:12: warning: var 'onchange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | public var readonly: String?
111 | public var tabindex: String?
112 | public var onchange: String?
| |- warning: var 'onchange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onchange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onchange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | public var noresize: String?
114 | public var disabled: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:113:12: warning: var 'noresize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | public var tabindex: String?
112 | public var onchange: String?
113 | public var noresize: String?
| |- warning: var 'noresize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'noresize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'noresize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | public var disabled: String?
115 | public var longdesc: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:114:12: warning: var 'disabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 | public var onchange: String?
113 | public var noresize: String?
114 | public var disabled: String?
| |- warning: var 'disabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'disabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | public var longdesc: String?
116 | public var codebase: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:115:12: warning: var 'longdesc' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 | public var noresize: String?
114 | public var disabled: String?
115 | public var longdesc: String?
| |- warning: var 'longdesc' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'longdesc' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'longdesc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | public var codebase: String?
117 | public var language: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:116:12: warning: var 'codebase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | public var disabled: String?
115 | public var longdesc: String?
116 | public var codebase: String?
| |- warning: var 'codebase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'codebase' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'codebase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | public var language: String?
118 | public var datetime: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:117:12: warning: var 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 | public var longdesc: String?
116 | public var codebase: String?
117 | public var language: String?
| |- warning: var 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'language' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'language' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | public var datetime: String?
119 | public var selected: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:118:12: warning: var 'datetime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 | public var codebase: String?
117 | public var language: String?
118 | public var datetime: String?
| |- warning: var 'datetime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'datetime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'datetime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | public var selected: String?
120 | public var hreflang: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:119:12: warning: var 'selected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 | public var language: String?
118 | public var datetime: String?
119 | public var selected: String?
| |- warning: var 'selected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selected' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'selected' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | public var hreflang: String?
121 | public var onsubmit: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:120:12: warning: var 'hreflang' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | public var datetime: String?
119 | public var selected: String?
120 | public var hreflang: String?
| |- warning: var 'hreflang' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hreflang' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hreflang' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | public var onsubmit: String?
122 | public var multiple: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:121:12: warning: var 'onsubmit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 | public var selected: String?
120 | public var hreflang: String?
121 | public var onsubmit: String?
| |- warning: var 'onsubmit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onsubmit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onsubmit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | public var multiple: String?
123 | public var onunload: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:122:12: warning: var 'multiple' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | public var hreflang: String?
121 | public var onsubmit: String?
122 | public var multiple: String?
| |- warning: var 'multiple' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multiple' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'multiple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | public var onunload: String?
124 | public var codetype: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:123:12: warning: var 'onunload' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 | public var onsubmit: String?
122 | public var multiple: String?
123 | public var onunload: String?
| |- warning: var 'onunload' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onunload' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onunload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 | public var codetype: String?
125 | public var scrolling: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:124:12: warning: var 'codetype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 | public var multiple: String?
123 | public var onunload: String?
124 | public var codetype: String?
| |- warning: var 'codetype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'codetype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'codetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | public var scrolling: String?
126 | public var onkeydown: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:125:12: warning: var 'scrolling' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | public var onunload: String?
124 | public var codetype: String?
125 | public var scrolling: String?
| |- warning: var 'scrolling' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scrolling' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scrolling' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | public var onkeydown: String?
127 | public var maxlength: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:126:12: warning: var 'onkeydown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 | public var codetype: String?
125 | public var scrolling: String?
126 | public var onkeydown: String?
| |- warning: var 'onkeydown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onkeydown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onkeydown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public var maxlength: String?
128 | public var valuetype: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:127:12: warning: var 'maxlength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | public var scrolling: String?
126 | public var onkeydown: String?
127 | public var maxlength: String?
| |- warning: var 'maxlength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxlength' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maxlength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public var valuetype: String?
129 | public var accesskey: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:128:12: warning: var 'valuetype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
126 | public var onkeydown: String?
127 | public var maxlength: String?
128 | public var valuetype: String?
| |- warning: var 'valuetype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'valuetype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'valuetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | public var accesskey: String?
130 | public var onmouseup: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:129:12: warning: var 'accesskey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
127 | public var maxlength: String?
128 | public var valuetype: String?
129 | public var accesskey: String?
| |- warning: var 'accesskey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accesskey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'accesskey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | public var onmouseup: String?
131 | public var autofocus: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:130:12: warning: var 'onmouseup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | public var valuetype: String?
129 | public var accesskey: String?
130 | public var onmouseup: String?
| |- warning: var 'onmouseup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onmouseup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onmouseup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public var autofocus: String?
132 | public var onkeypress: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:131:12: warning: var 'autofocus' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 | public var accesskey: String?
130 | public var onmouseup: String?
131 | public var autofocus: String?
| |- warning: var 'autofocus' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autofocus' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'autofocus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | public var onkeypress: String?
133 | public var ondblclick: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:132:12: warning: var 'onkeypress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | public var onmouseup: String?
131 | public var autofocus: String?
132 | public var onkeypress: String?
| |- warning: var 'onkeypress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onkeypress' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onkeypress' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | public var ondblclick: String?
134 | public var onmouseout: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:133:12: warning: var 'ondblclick' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | public var autofocus: String?
132 | public var onkeypress: String?
133 | public var ondblclick: String?
| |- warning: var 'ondblclick' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ondblclick' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'ondblclick' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | public var onmouseout: String?
135 | public var httpEquiv: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:134:12: warning: var 'onmouseout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 | public var onkeypress: String?
133 | public var ondblclick: String?
134 | public var onmouseout: String?
| |- warning: var 'onmouseout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onmouseout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onmouseout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | public var httpEquiv: String?
136 | public var dataText: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:135:12: warning: var 'httpEquiv' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
133 | public var ondblclick: String?
134 | public var onmouseout: String?
135 | public var httpEquiv: String?
| |- warning: var 'httpEquiv' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'httpEquiv' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'httpEquiv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | public var dataText: String?
137 | public var background: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:136:12: warning: var 'dataText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | public var onmouseout: String?
135 | public var httpEquiv: String?
136 | public var dataText: String?
| |- warning: var 'dataText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataText' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dataText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | public var background: String?
138 | public var onmousemove: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:137:12: warning: var 'background' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 | public var httpEquiv: String?
136 | public var dataText: String?
137 | public var background: String?
| |- warning: var 'background' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'background' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'background' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | public var onmousemove: String?
139 | public var onmouseover: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:138:12: warning: var 'onmousemove' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
136 | public var dataText: String?
137 | public var background: String?
138 | public var onmousemove: String?
| |- warning: var 'onmousemove' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onmousemove' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onmousemove' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 | public var onmouseover: String?
140 | public var cellpadding: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:139:12: warning: var 'onmouseover' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | public var background: String?
138 | public var onmousemove: String?
139 | public var onmouseover: String?
| |- warning: var 'onmouseover' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onmouseover' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onmouseover' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | public var cellpadding: String?
141 | public var onmousedown: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:140:12: warning: var 'cellpadding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
138 | public var onmousemove: String?
139 | public var onmouseover: String?
140 | public var cellpadding: String?
| |- warning: var 'cellpadding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cellpadding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cellpadding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | public var onmousedown: String?
142 | public var frameborder: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:141:12: warning: var 'onmousedown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 | public var onmouseover: String?
140 | public var cellpadding: String?
141 | public var onmousedown: String?
| |- warning: var 'onmousedown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onmousedown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'onmousedown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | public var frameborder: String?
143 | public var marginwidth: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:142:12: warning: var 'frameborder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
140 | public var cellpadding: String?
141 | public var onmousedown: String?
142 | public var frameborder: String?
| |- warning: var 'frameborder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'frameborder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'frameborder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | public var marginwidth: String?
144 | public var cellspacing: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:143:12: warning: var 'marginwidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | public var onmousedown: String?
142 | public var frameborder: String?
143 | public var marginwidth: String?
| |- warning: var 'marginwidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'marginwidth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'marginwidth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | public var cellspacing: String?
145 | public var placeholder: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:144:12: warning: var 'cellspacing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | public var frameborder: String?
143 | public var marginwidth: String?
144 | public var cellspacing: String?
| |- warning: var 'cellspacing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cellspacing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cellspacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public var placeholder: String?
146 | public var marginheight: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:145:12: warning: var 'placeholder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var marginwidth: String?
144 | public var cellspacing: String?
145 | public var placeholder: String?
| |- warning: var 'placeholder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'placeholder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'placeholder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public var marginheight: String?
147 | public var acceptCharset: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:146:12: warning: var 'marginheight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | public var cellspacing: String?
145 | public var placeholder: String?
146 | public var marginheight: String?
| |- warning: var 'marginheight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'marginheight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'marginheight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public var acceptCharset: String?
148 |
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:147:12: warning: var 'acceptCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 | public var placeholder: String?
146 | public var marginheight: String?
147 | public var acceptCharset: String?
| |- warning: var 'acceptCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'acceptCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | public var inner: String?
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:149:12: warning: var 'inner' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public var acceptCharset: String?
148 |
149 | public var inner: String?
| |- warning: var 'inner' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inner' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'inner' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | public func a(_ closure: Closure) { element("a", closure) }
/host/spi-builder-workspace/Xcode/Sources/Scopes.swift:336:5: warning: var 'scopesBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
334 | public func element(_ node: String, _ attrs: [String: String?] = [:], _ closure: Closure) { evaluate(node, attrs, closure) }
335 |
336 | var scopesBuffer = [UInt64: String]()
| |- warning: var 'scopesBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scopesBuffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scopesBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 |
338 | // swiftlint:disable cyclomatic_complexity function_body_length
[23/28] Compiling Swifter Socket+File.swift
/host/spi-builder-workspace/Xcode/Sources/Socket+File.swift:45:17: error: cannot find type 'sf_hdtr' in scope
43 | public func writeFile(_ file: String.File) throws {
44 | var offset: off_t = 0
45 | var sf: sf_hdtr = sf_hdtr()
| `- error: cannot find type 'sf_hdtr' in scope
46 |
47 | #if os(iOS) || os(tvOS) || os (Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+File.swift:50:22: error: cannot find 'sendfile' in scope
48 | let result = sendfileImpl(file.pointer, self.socketFileDescriptor, 0, &offset, &sf, 0)
49 | #else
50 | let result = sendfile(fileno(file.pointer), self.socketFileDescriptor, 0, &offset, &sf, 0)
| `- error: cannot find 'sendfile' in scope
51 | #endif
52 |
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:18:43: error: cannot find type 'FILE' in scope
16 | public class File {
17 |
18 | let pointer: UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:50: error: cannot find type 'in_port_t' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find type 'in_port_t' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:120: error: cannot find 'SOMAXCONN' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find 'SOMAXCONN' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:40: error: cannot find 'socket' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'socket' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:59: error: cannot find 'AF_INET' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'AF_INET' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:69: error: cannot find 'AF_INET6' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'AF_INET6' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:79: error: cannot find 'SOCK_STREAM' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'SOCK_STREAM' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:12: error: cannot find 'setsockopt' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'setsockopt' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:45: error: cannot find 'SOL_SOCKET' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'SOL_SOCKET' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:57: error: cannot find 'SO_REUSEADDR' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'SO_REUSEADDR' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:46:24: error: cannot find 'sockaddr_in' in scope
44 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
45 | #else
46 | var addr = sockaddr_in(
| `- error: cannot find 'sockaddr_in' in scope
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
48 | sin_family: UInt8(AF_INET),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:47:45: error: cannot find type 'sockaddr_in' in scope
45 | #else
46 | var addr = sockaddr_in(
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
| `- error: cannot find type 'sockaddr_in' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:48:35: error: cannot find 'AF_INET' in scope
46 | var addr = sockaddr_in(
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
48 | sin_family: UInt8(AF_INET),
| `- error: cannot find 'AF_INET' in scope
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:50:27: error: cannot find 'in_addr' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
| `- error: cannot find 'in_addr' in scope
51 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
52 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:50:43: error: cannot find 'in_addr_t' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
| `- error: cannot find 'in_addr_t' in scope
51 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
52 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:54:51: error: cannot find 'inet_pton' in scope
52 | #endif
53 | if let address = listenAddress {
54 | if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
| `- error: cannot find 'inet_pton' in scope
55 | // print("\(address) is converted to \(addr.sin_addr).")
56 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:54:61: error: cannot find 'AF_INET' in scope
52 | #endif
53 | if let address = listenAddress {
54 | if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
| `- error: cannot find 'AF_INET' in scope
55 | // print("\(address) is converted to \(addr.sin_addr).")
56 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:17: error: cannot find 'bind' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find 'bind' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:111: error: cannot find type 'sockaddr_in' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr_in' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:58: error: cannot find type 'sockaddr' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:72:24: error: cannot find 'sockaddr_in6' in scope
70 | sin6_scope_id: 0)
71 | #else
72 | var addr = sockaddr_in6(
| `- error: cannot find 'sockaddr_in6' in scope
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
74 | sin6_family: UInt8(AF_INET6),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:73:46: error: cannot find type 'sockaddr_in6' in scope
71 | #else
72 | var addr = sockaddr_in6(
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
| `- error: cannot find type 'sockaddr_in6' in scope
74 | sin6_family: UInt8(AF_INET6),
75 | sin6_port: port.bigEndian,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:74:36: error: cannot find 'AF_INET6' in scope
72 | var addr = sockaddr_in6(
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
74 | sin6_family: UInt8(AF_INET6),
| `- error: cannot find 'AF_INET6' in scope
75 | sin6_port: port.bigEndian,
76 | sin6_flowinfo: 0,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:77:28: error: cannot find 'in6addr_any' in scope
75 | sin6_port: port.bigEndian,
76 | sin6_flowinfo: 0,
77 | sin6_addr: in6addr_any,
| `- error: cannot find 'in6addr_any' in scope
78 | sin6_scope_id: 0)
79 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:81:51: error: cannot find 'inet_pton' in scope
79 | #endif
80 | if let address = listenAddress {
81 | if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
| `- error: cannot find 'inet_pton' in scope
82 | //print("\(address) is converted to \(addr.sin6_addr).")
83 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:81:61: error: cannot find 'AF_INET6' in scope
79 | #endif
80 | if let address = listenAddress {
81 | if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
| `- error: cannot find 'AF_INET6' in scope
82 | //print("\(address) is converted to \(addr.sin6_addr).")
83 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:17: error: cannot find 'bind' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find 'bind' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:111: error: cannot find type 'sockaddr_in6' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find type 'sockaddr_in6' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:58: error: cannot find type 'sockaddr' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find type 'sockaddr' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:98:12: error: cannot find 'listen' in scope
96 | }
97 |
98 | if listen(socketFileDescriptor, maxPendingConnection) == -1 {
| `- error: cannot find 'listen' in scope
99 | let details = Errno.description()
100 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:107:20: error: cannot find 'sockaddr' in scope
105 |
106 | public func acceptClientSocket() throws -> Socket {
107 | var addr = sockaddr()
| `- error: cannot find 'sockaddr' in scope
108 | var len: socklen_t = 0
109 | let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:109:28: error: cannot find 'accept' in scope
107 | var addr = sockaddr()
108 | var len: socklen_t = 0
109 | let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
| `- error: cannot find 'accept' in scope
110 | if clientSocket == -1 {
111 | throw SocketError.acceptFailed(Errno.description())
[24/28] Compiling Swifter Socket+Server.swift
/host/spi-builder-workspace/Xcode/Sources/Socket+File.swift:45:17: error: cannot find type 'sf_hdtr' in scope
43 | public func writeFile(_ file: String.File) throws {
44 | var offset: off_t = 0
45 | var sf: sf_hdtr = sf_hdtr()
| `- error: cannot find type 'sf_hdtr' in scope
46 |
47 | #if os(iOS) || os(tvOS) || os (Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+File.swift:50:22: error: cannot find 'sendfile' in scope
48 | let result = sendfileImpl(file.pointer, self.socketFileDescriptor, 0, &offset, &sf, 0)
49 | #else
50 | let result = sendfile(fileno(file.pointer), self.socketFileDescriptor, 0, &offset, &sf, 0)
| `- error: cannot find 'sendfile' in scope
51 | #endif
52 |
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:18:43: error: cannot find type 'FILE' in scope
16 | public class File {
17 |
18 | let pointer: UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:50: error: cannot find type 'in_port_t' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find type 'in_port_t' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:120: error: cannot find 'SOMAXCONN' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find 'SOMAXCONN' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:40: error: cannot find 'socket' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'socket' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:59: error: cannot find 'AF_INET' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'AF_INET' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:69: error: cannot find 'AF_INET6' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'AF_INET6' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:79: error: cannot find 'SOCK_STREAM' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'SOCK_STREAM' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:12: error: cannot find 'setsockopt' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'setsockopt' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:45: error: cannot find 'SOL_SOCKET' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'SOL_SOCKET' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:57: error: cannot find 'SO_REUSEADDR' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'SO_REUSEADDR' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:46:24: error: cannot find 'sockaddr_in' in scope
44 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
45 | #else
46 | var addr = sockaddr_in(
| `- error: cannot find 'sockaddr_in' in scope
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
48 | sin_family: UInt8(AF_INET),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:47:45: error: cannot find type 'sockaddr_in' in scope
45 | #else
46 | var addr = sockaddr_in(
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
| `- error: cannot find type 'sockaddr_in' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:48:35: error: cannot find 'AF_INET' in scope
46 | var addr = sockaddr_in(
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
48 | sin_family: UInt8(AF_INET),
| `- error: cannot find 'AF_INET' in scope
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:50:27: error: cannot find 'in_addr' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
| `- error: cannot find 'in_addr' in scope
51 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
52 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:50:43: error: cannot find 'in_addr_t' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
| `- error: cannot find 'in_addr_t' in scope
51 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
52 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:54:51: error: cannot find 'inet_pton' in scope
52 | #endif
53 | if let address = listenAddress {
54 | if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
| `- error: cannot find 'inet_pton' in scope
55 | // print("\(address) is converted to \(addr.sin_addr).")
56 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:54:61: error: cannot find 'AF_INET' in scope
52 | #endif
53 | if let address = listenAddress {
54 | if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
| `- error: cannot find 'AF_INET' in scope
55 | // print("\(address) is converted to \(addr.sin_addr).")
56 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:17: error: cannot find 'bind' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find 'bind' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:111: error: cannot find type 'sockaddr_in' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr_in' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:58: error: cannot find type 'sockaddr' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:72:24: error: cannot find 'sockaddr_in6' in scope
70 | sin6_scope_id: 0)
71 | #else
72 | var addr = sockaddr_in6(
| `- error: cannot find 'sockaddr_in6' in scope
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
74 | sin6_family: UInt8(AF_INET6),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:73:46: error: cannot find type 'sockaddr_in6' in scope
71 | #else
72 | var addr = sockaddr_in6(
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
| `- error: cannot find type 'sockaddr_in6' in scope
74 | sin6_family: UInt8(AF_INET6),
75 | sin6_port: port.bigEndian,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:74:36: error: cannot find 'AF_INET6' in scope
72 | var addr = sockaddr_in6(
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
74 | sin6_family: UInt8(AF_INET6),
| `- error: cannot find 'AF_INET6' in scope
75 | sin6_port: port.bigEndian,
76 | sin6_flowinfo: 0,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:77:28: error: cannot find 'in6addr_any' in scope
75 | sin6_port: port.bigEndian,
76 | sin6_flowinfo: 0,
77 | sin6_addr: in6addr_any,
| `- error: cannot find 'in6addr_any' in scope
78 | sin6_scope_id: 0)
79 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:81:51: error: cannot find 'inet_pton' in scope
79 | #endif
80 | if let address = listenAddress {
81 | if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
| `- error: cannot find 'inet_pton' in scope
82 | //print("\(address) is converted to \(addr.sin6_addr).")
83 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:81:61: error: cannot find 'AF_INET6' in scope
79 | #endif
80 | if let address = listenAddress {
81 | if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
| `- error: cannot find 'AF_INET6' in scope
82 | //print("\(address) is converted to \(addr.sin6_addr).")
83 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:17: error: cannot find 'bind' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find 'bind' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:111: error: cannot find type 'sockaddr_in6' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find type 'sockaddr_in6' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:58: error: cannot find type 'sockaddr' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find type 'sockaddr' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:98:12: error: cannot find 'listen' in scope
96 | }
97 |
98 | if listen(socketFileDescriptor, maxPendingConnection) == -1 {
| `- error: cannot find 'listen' in scope
99 | let details = Errno.description()
100 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:107:20: error: cannot find 'sockaddr' in scope
105 |
106 | public func acceptClientSocket() throws -> Socket {
107 | var addr = sockaddr()
| `- error: cannot find 'sockaddr' in scope
108 | var len: socklen_t = 0
109 | let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:109:28: error: cannot find 'accept' in scope
107 | var addr = sockaddr()
108 | var len: socklen_t = 0
109 | let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
| `- error: cannot find 'accept' in scope
110 | if clientSocket == -1 {
111 | throw SocketError.acceptFailed(Errno.description())
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/24] Emitting module Swifter
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:71:31: error: cannot find type 'in_port_t' in scope
69 |
70 | @available(macOS 10.10, *)
71 | public func start(_ port: in_port_t = 8080, forceIPv4: Bool = false, priority: DispatchQoS.QoSClass = DispatchQoS.QoSClass.background) throws {
| `- error: cannot find type 'in_port_t' in scope
72 | guard !self.operating else { return }
73 | stop()
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:50: error: cannot find type 'in_port_t' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find type 'in_port_t' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:120: error: cannot find 'SOMAXCONN' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find 'SOMAXCONN' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:50:34: error: cannot find type 'in_port_t' in scope
48 | }
49 |
50 | public func port() throws -> in_port_t {
| `- error: cannot find type 'in_port_t' in scope
51 | var addr = sockaddr_in()
52 | return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:18:43: error: cannot find type 'FILE' in scope
16 | public class File {
17 |
18 | let pointer: UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:20:53: error: cannot find type 'FILE' in scope
18 | let pointer: UnsafeMutablePointer<FILE>
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
21 | self.pointer = pointer
22 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:135:43: error: cannot find type 'stat' in scope
133 | }
134 |
135 | private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
| `- error: cannot find type 'stat' in scope
136 | return try self.withCString({
137 | var statBuffer = stat()
[3/24] Compiling Swifter DemoServer.swift
/host/spi-builder-workspace/Xcode/Sources/Errno.swift:14:41: error: cannot find 'errno' in scope
12 | public class func description() -> String {
13 | // https://forums.developer.apple.com/thread/113919
14 | return String(cString: strerror(errno))
| `- error: cannot find 'errno' in scope
15 | }
16 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[4/24] Compiling Swifter Errno.swift
/host/spi-builder-workspace/Xcode/Sources/Errno.swift:14:41: error: cannot find 'errno' in scope
12 | public class func description() -> String {
13 | // https://forums.developer.apple.com/thread/113919
14 | return String(cString: strerror(errno))
| `- error: cannot find 'errno' in scope
15 | }
16 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[5/24] Compiling Swifter Files.swift
/host/spi-builder-workspace/Xcode/Sources/Errno.swift:14:41: error: cannot find 'errno' in scope
12 | public class func description() -> String {
13 | // https://forums.developer.apple.com/thread/113919
14 | return String(cString: strerror(errno))
| `- error: cannot find 'errno' in scope
15 | }
16 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[6/26] Compiling Swifter String+File.swift
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:18:43: error: cannot find type 'FILE' in scope
16 | public class File {
17 |
18 | let pointer: UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:20:53: error: cannot find type 'FILE' in scope
18 | let pointer: UnsafeMutablePointer<FILE>
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
21 | self.pointer = pointer
22 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:135:43: error: cannot find type 'stat' in scope
133 | }
134 |
135 | private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
| `- error: cannot find type 'stat' in scope
136 | return try self.withCString({
137 | var statBuffer = stat()
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:44:39: error: cannot find 'errno' in scope
42 | }
43 | if ferror(self.pointer) != 0 {
44 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
45 | }
46 | throw FileError.error(0)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:55:43: error: cannot find 'errno' in scope
53 | try data.withUnsafeBufferPointer {
54 | if fwrite($0.baseAddress, 1, data.count, self.pointer) != data.count {
55 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
56 | }
57 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:54:30: error: value of optional type 'UnsafePointer<UInt8>?' must be unwrapped to a value of type 'UnsafePointer<UInt8>'
52 | }
53 | try data.withUnsafeBufferPointer {
54 | if fwrite($0.baseAddress, 1, data.count, self.pointer) != data.count {
| |- error: value of optional type 'UnsafePointer<UInt8>?' must be unwrapped to a value of type 'UnsafePointer<UInt8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
55 | throw FileError.error(errno)
56 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:61:30: error: cannot find 'getcwd' in scope
59 |
60 | public static func currentWorkingDirectory() throws -> String {
61 | guard let path = getcwd(nil, 0) else {
| `- error: cannot find 'getcwd' in scope
62 | throw FileError.error(errno)
63 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:61:37: error: 'nil' requires a contextual type
59 |
60 | public static func currentWorkingDirectory() throws -> String {
61 | guard let path = getcwd(nil, 0) else {
| `- error: 'nil' requires a contextual type
62 | throw FileError.error(errno)
63 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:62:39: error: cannot find 'errno' in scope
60 | public static func currentWorkingDirectory() throws -> String {
61 | guard let path = getcwd(nil, 0) else {
62 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
63 | }
64 | return String(cString: path)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:84:35: error: cannot find 'errno' in scope
82 | public func openFileForMode(_ path: String, _ mode: String) throws -> File {
83 | guard let file = path.withCString({ pathPointer in mode.withCString({ fopen(pathPointer, $0) }) }) else {
84 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
85 | }
86 | return File(file)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:101:39: error: cannot find 'S_IFMT' in scope
99 | return try self.withStat {
100 | if let stat = $0 {
101 | return stat.st_mode & S_IFMT == S_IFDIR
| `- error: cannot find 'S_IFMT' in scope
102 | }
103 | return false
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:101:49: error: cannot find 'S_IFDIR' in scope
99 | return try self.withStat {
100 | if let stat = $0 {
101 | return stat.st_mode & S_IFMT == S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
102 | }
103 | return false
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:108:44: error: cannot find 'opendir' in scope
106 |
107 | public func files() throws -> [String] {
108 | guard let dir = self.withCString({ opendir($0) }) else {
| `- error: cannot find 'opendir' in scope
109 | throw FileError.error(errno)
110 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:109:35: error: cannot find 'errno' in scope
107 | public func files() throws -> [String] {
108 | guard let dir = self.withCString({ opendir($0) }) else {
109 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
110 | }
111 | defer { closedir(dir) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:111:17: error: cannot find 'closedir' in scope
109 | throw FileError.error(errno)
110 | }
111 | defer { closedir(dir) }
| `- error: cannot find 'closedir' in scope
112 | var results = [String]()
113 | while let ent = readdir(dir) {
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:113:25: error: cannot find 'readdir' in scope
111 | defer { closedir(dir) }
112 | var results = [String]()
113 | while let ent = readdir(dir) {
| `- error: cannot find 'readdir' in scope
114 | var name = ent.pointee.d_name
115 | let fileName = withUnsafePointer(to: &name) { (ptr) -> String? in
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:137:30: error: cannot find 'stat' in scope
135 | private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
136 | return try self.withCString({
137 | var statBuffer = stat()
| `- error: cannot find 'stat' in scope
138 | if stat($0, &statBuffer) == 0 {
139 | return try closure(statBuffer)
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:138:16: error: cannot find 'stat' in scope
136 | return try self.withCString({
137 | var statBuffer = stat()
138 | if stat($0, &statBuffer) == 0 {
| `- error: cannot find 'stat' in scope
139 | return try closure(statBuffer)
140 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:141:16: error: cannot find 'errno' in scope
139 | return try closure(statBuffer)
140 | }
141 | if errno == ENOENT {
| `- error: cannot find 'errno' in scope
142 | return try closure(nil)
143 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:144:35: error: cannot find 'errno' in scope
142 | return try closure(nil)
143 | }
144 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
145 | })
146 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[7/26] Compiling Swifter String+Misc.swift
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:18:43: error: cannot find type 'FILE' in scope
16 | public class File {
17 |
18 | let pointer: UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:20:53: error: cannot find type 'FILE' in scope
18 | let pointer: UnsafeMutablePointer<FILE>
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
21 | self.pointer = pointer
22 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:135:43: error: cannot find type 'stat' in scope
133 | }
134 |
135 | private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
| `- error: cannot find type 'stat' in scope
136 | return try self.withCString({
137 | var statBuffer = stat()
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:44:39: error: cannot find 'errno' in scope
42 | }
43 | if ferror(self.pointer) != 0 {
44 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
45 | }
46 | throw FileError.error(0)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:55:43: error: cannot find 'errno' in scope
53 | try data.withUnsafeBufferPointer {
54 | if fwrite($0.baseAddress, 1, data.count, self.pointer) != data.count {
55 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
56 | }
57 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:54:30: error: value of optional type 'UnsafePointer<UInt8>?' must be unwrapped to a value of type 'UnsafePointer<UInt8>'
52 | }
53 | try data.withUnsafeBufferPointer {
54 | if fwrite($0.baseAddress, 1, data.count, self.pointer) != data.count {
| |- error: value of optional type 'UnsafePointer<UInt8>?' must be unwrapped to a value of type 'UnsafePointer<UInt8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
55 | throw FileError.error(errno)
56 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:61:30: error: cannot find 'getcwd' in scope
59 |
60 | public static func currentWorkingDirectory() throws -> String {
61 | guard let path = getcwd(nil, 0) else {
| `- error: cannot find 'getcwd' in scope
62 | throw FileError.error(errno)
63 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:61:37: error: 'nil' requires a contextual type
59 |
60 | public static func currentWorkingDirectory() throws -> String {
61 | guard let path = getcwd(nil, 0) else {
| `- error: 'nil' requires a contextual type
62 | throw FileError.error(errno)
63 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:62:39: error: cannot find 'errno' in scope
60 | public static func currentWorkingDirectory() throws -> String {
61 | guard let path = getcwd(nil, 0) else {
62 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
63 | }
64 | return String(cString: path)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:84:35: error: cannot find 'errno' in scope
82 | public func openFileForMode(_ path: String, _ mode: String) throws -> File {
83 | guard let file = path.withCString({ pathPointer in mode.withCString({ fopen(pathPointer, $0) }) }) else {
84 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
85 | }
86 | return File(file)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:101:39: error: cannot find 'S_IFMT' in scope
99 | return try self.withStat {
100 | if let stat = $0 {
101 | return stat.st_mode & S_IFMT == S_IFDIR
| `- error: cannot find 'S_IFMT' in scope
102 | }
103 | return false
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:101:49: error: cannot find 'S_IFDIR' in scope
99 | return try self.withStat {
100 | if let stat = $0 {
101 | return stat.st_mode & S_IFMT == S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
102 | }
103 | return false
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:108:44: error: cannot find 'opendir' in scope
106 |
107 | public func files() throws -> [String] {
108 | guard let dir = self.withCString({ opendir($0) }) else {
| `- error: cannot find 'opendir' in scope
109 | throw FileError.error(errno)
110 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:109:35: error: cannot find 'errno' in scope
107 | public func files() throws -> [String] {
108 | guard let dir = self.withCString({ opendir($0) }) else {
109 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
110 | }
111 | defer { closedir(dir) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:111:17: error: cannot find 'closedir' in scope
109 | throw FileError.error(errno)
110 | }
111 | defer { closedir(dir) }
| `- error: cannot find 'closedir' in scope
112 | var results = [String]()
113 | while let ent = readdir(dir) {
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:113:25: error: cannot find 'readdir' in scope
111 | defer { closedir(dir) }
112 | var results = [String]()
113 | while let ent = readdir(dir) {
| `- error: cannot find 'readdir' in scope
114 | var name = ent.pointee.d_name
115 | let fileName = withUnsafePointer(to: &name) { (ptr) -> String? in
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:137:30: error: cannot find 'stat' in scope
135 | private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
136 | return try self.withCString({
137 | var statBuffer = stat()
| `- error: cannot find 'stat' in scope
138 | if stat($0, &statBuffer) == 0 {
139 | return try closure(statBuffer)
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:138:16: error: cannot find 'stat' in scope
136 | return try self.withCString({
137 | var statBuffer = stat()
138 | if stat($0, &statBuffer) == 0 {
| `- error: cannot find 'stat' in scope
139 | return try closure(statBuffer)
140 | }
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:141:16: error: cannot find 'errno' in scope
139 | return try closure(statBuffer)
140 | }
141 | if errno == ENOENT {
| `- error: cannot find 'errno' in scope
142 | return try closure(nil)
143 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:144:35: error: cannot find 'errno' in scope
142 | return try closure(nil)
143 | }
144 | throw FileError.error(errno)
| `- error: cannot find 'errno' in scope
145 | })
146 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[8/26] Compiling Swifter HttpRouter.swift
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:71:31: error: cannot find type 'in_port_t' in scope
69 |
70 | @available(macOS 10.10, *)
71 | public func start(_ port: in_port_t = 8080, forceIPv4: Bool = false, priority: DispatchQoS.QoSClass = DispatchQoS.QoSClass.background) throws {
| `- error: cannot find type 'in_port_t' in scope
72 | guard !self.operating else { return }
73 | stop()
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:37:13: error: cannot find 'OSAtomicCompareAndSwapInt' in scope
35 | set(state) {
36 | #if !os(Linux)
37 | OSAtomicCompareAndSwapInt(self.state.rawValue, state.rawValue, &stateValue)
| `- error: cannot find 'OSAtomicCompareAndSwapInt' in scope
38 | #else
39 | self.stateValue = state.rawValue
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:50:34: error: cannot find type 'in_port_t' in scope
48 | }
49 |
50 | public func port() throws -> in_port_t {
| `- error: cannot find type 'in_port_t' in scope
51 | var addr = sockaddr_in()
52 | return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:76:70: error: cannot find 'SOMAXCONN' in scope
74 | self.state = .starting
75 | let address = forceIPv4 ? listenAddressIPv4 : listenAddressIPv6
76 | self.socket = try Socket.tcpSocketForListen(port, forceIPv4, SOMAXCONN, address)
| `- error: cannot find 'SOMAXCONN' in scope
77 | self.state = .running
78 | DispatchQueue.global(qos: priority).async { [weak self] in
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:50: error: cannot find type 'in_port_t' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find type 'in_port_t' in scope
18 |
19 | #if os(Linux)
[9/26] Compiling Swifter HttpServer.swift
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:71:31: error: cannot find type 'in_port_t' in scope
69 |
70 | @available(macOS 10.10, *)
71 | public func start(_ port: in_port_t = 8080, forceIPv4: Bool = false, priority: DispatchQoS.QoSClass = DispatchQoS.QoSClass.background) throws {
| `- error: cannot find type 'in_port_t' in scope
72 | guard !self.operating else { return }
73 | stop()
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:37:13: error: cannot find 'OSAtomicCompareAndSwapInt' in scope
35 | set(state) {
36 | #if !os(Linux)
37 | OSAtomicCompareAndSwapInt(self.state.rawValue, state.rawValue, &stateValue)
| `- error: cannot find 'OSAtomicCompareAndSwapInt' in scope
38 | #else
39 | self.stateValue = state.rawValue
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:50:34: error: cannot find type 'in_port_t' in scope
48 | }
49 |
50 | public func port() throws -> in_port_t {
| `- error: cannot find type 'in_port_t' in scope
51 | var addr = sockaddr_in()
52 | return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:76:70: error: cannot find 'SOMAXCONN' in scope
74 | self.state = .starting
75 | let address = forceIPv4 ? listenAddressIPv4 : listenAddressIPv6
76 | self.socket = try Socket.tcpSocketForListen(port, forceIPv4, SOMAXCONN, address)
| `- error: cannot find 'SOMAXCONN' in scope
77 | self.state = .running
78 | DispatchQueue.global(qos: priority).async { [weak self] in
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:50: error: cannot find type 'in_port_t' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find type 'in_port_t' in scope
18 |
19 | #if os(Linux)
[10/26] Compiling Swifter HttpServerIO.swift
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:71:31: error: cannot find type 'in_port_t' in scope
69 |
70 | @available(macOS 10.10, *)
71 | public func start(_ port: in_port_t = 8080, forceIPv4: Bool = false, priority: DispatchQoS.QoSClass = DispatchQoS.QoSClass.background) throws {
| `- error: cannot find type 'in_port_t' in scope
72 | guard !self.operating else { return }
73 | stop()
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:37:13: error: cannot find 'OSAtomicCompareAndSwapInt' in scope
35 | set(state) {
36 | #if !os(Linux)
37 | OSAtomicCompareAndSwapInt(self.state.rawValue, state.rawValue, &stateValue)
| `- error: cannot find 'OSAtomicCompareAndSwapInt' in scope
38 | #else
39 | self.stateValue = state.rawValue
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:50:34: error: cannot find type 'in_port_t' in scope
48 | }
49 |
50 | public func port() throws -> in_port_t {
| `- error: cannot find type 'in_port_t' in scope
51 | var addr = sockaddr_in()
52 | return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/Xcode/Sources/HttpServerIO.swift:76:70: error: cannot find 'SOMAXCONN' in scope
74 | self.state = .starting
75 | let address = forceIPv4 ? listenAddressIPv4 : listenAddressIPv6
76 | self.socket = try Socket.tcpSocketForListen(port, forceIPv4, SOMAXCONN, address)
| `- error: cannot find 'SOMAXCONN' in scope
77 | self.state = .running
78 | DispatchQueue.global(qos: priority).async { [weak self] in
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:50: error: cannot find type 'in_port_t' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find type 'in_port_t' in scope
18 |
19 | #if os(Linux)
[11/26] Compiling Swifter MimeTypes.swift
/host/spi-builder-workspace/Xcode/Sources/Process.swift:13:20: error: cannot find 'getpid' in scope
11 |
12 | public static var pid: Int {
13 | return Int(getpid())
| `- error: cannot find 'getpid' in scope
14 | }
15 |
/host/spi-builder-workspace/Xcode/Sources/Process.swift:21:13: error: cannot find 'pthread_threadid_np' in scope
19 | #else
20 | var tid: __uint64_t = 0
21 | pthread_threadid_np(nil, &tid)
| `- error: cannot find 'pthread_threadid_np' in scope
22 | return UInt64(tid)
23 | #endif
/host/spi-builder-workspace/Xcode/Sources/Process.swift:21:33: error: 'nil' requires a contextual type
19 | #else
20 | var tid: __uint64_t = 0
21 | pthread_threadid_np(nil, &tid)
| `- error: 'nil' requires a contextual type
22 | return UInt64(tid)
23 | #endif
[12/26] Compiling Swifter Process.swift
/host/spi-builder-workspace/Xcode/Sources/Process.swift:13:20: error: cannot find 'getpid' in scope
11 |
12 | public static var pid: Int {
13 | return Int(getpid())
| `- error: cannot find 'getpid' in scope
14 | }
15 |
/host/spi-builder-workspace/Xcode/Sources/Process.swift:21:13: error: cannot find 'pthread_threadid_np' in scope
19 | #else
20 | var tid: __uint64_t = 0
21 | pthread_threadid_np(nil, &tid)
| `- error: cannot find 'pthread_threadid_np' in scope
22 | return UInt64(tid)
23 | #endif
/host/spi-builder-workspace/Xcode/Sources/Process.swift:21:33: error: 'nil' requires a contextual type
19 | #else
20 | var tid: __uint64_t = 0
21 | pthread_threadid_np(nil, &tid)
| `- error: 'nil' requires a contextual type
22 | return UInt64(tid)
23 | #endif
[13/26] Compiling Swifter Scopes.swift
/host/spi-builder-workspace/Xcode/Sources/Process.swift:13:20: error: cannot find 'getpid' in scope
11 |
12 | public static var pid: Int {
13 | return Int(getpid())
| `- error: cannot find 'getpid' in scope
14 | }
15 |
/host/spi-builder-workspace/Xcode/Sources/Process.swift:21:13: error: cannot find 'pthread_threadid_np' in scope
19 | #else
20 | var tid: __uint64_t = 0
21 | pthread_threadid_np(nil, &tid)
| `- error: cannot find 'pthread_threadid_np' in scope
22 | return UInt64(tid)
23 | #endif
/host/spi-builder-workspace/Xcode/Sources/Process.swift:21:33: error: 'nil' requires a contextual type
19 | #else
20 | var tid: __uint64_t = 0
21 | pthread_threadid_np(nil, &tid)
| `- error: 'nil' requires a contextual type
22 | return UInt64(tid)
23 | #endif
[14/26] Compiling Swifter Socket.swift
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:50:34: error: cannot find type 'in_port_t' in scope
48 | }
49 |
50 | public func port() throws -> in_port_t {
| `- error: cannot find type 'in_port_t' in scope
51 | var addr = sockaddr_in()
52 | return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:51:20: error: cannot find 'sockaddr_in' in scope
49 |
50 | public func port() throws -> in_port_t {
51 | var addr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
52 | return try withUnsafePointer(to: &addr) { pointer in
53 | var len = socklen_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:67:20: error: cannot find 'sockaddr_in' in scope
65 |
66 | public func isIPv4() throws -> Bool {
67 | var addr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
68 | return try withUnsafePointer(to: &addr) { pointer in
69 | var len = socklen_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:69:46: error: cannot find type 'sockaddr_in' in scope
67 | var addr = sockaddr_in()
68 | return try withUnsafePointer(to: &addr) { pointer in
69 | var len = socklen_t(MemoryLayout<sockaddr_in>.size)
| `- error: cannot find type 'sockaddr_in' in scope
70 | if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
71 | throw SocketError.getSockNameFailed(Errno.description())
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:70:16: error: cannot find 'getsockname' in scope
68 | return try withUnsafePointer(to: &addr) { pointer in
69 | var len = socklen_t(MemoryLayout<sockaddr_in>.size)
70 | if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
| `- error: cannot find 'getsockname' in scope
71 | throw SocketError.getSockNameFailed(Errno.description())
72 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:73:57: error: cannot find 'AF_INET' in scope
71 | throw SocketError.getSockNameFailed(Errno.description())
72 | }
73 | return Int32(pointer.pointee.sin_family) == AF_INET
| `- error: cannot find 'AF_INET' in scope
74 | }
75 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:116:30: error: cannot find 'write' in scope
114 | let result = send(self.socketFileDescriptor, pointer + sent, Int(length - sent), Int32(MSG_NOSIGNAL))
115 | #else
116 | let result = write(self.socketFileDescriptor, pointer + sent, Int(length - sent))
| `- error: cannot find 'write' in scope
117 | #endif
118 | if result <= 0 {
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:137:18: error: cannot find 'Darwin' in scope
135 | let count = Glibc.read(self.socketFileDescriptor as Int32, &byte, 1)
136 | #else
137 | let count = Darwin.read(self.socketFileDescriptor as Int32, &byte, 1)
| `- error: cannot find 'Darwin' in scope
138 | #endif
139 |
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:176:26: error: cannot find 'Darwin' in scope
174 | let bytesRead = Glibc.read(self.socketFileDescriptor as Int32, baseAddress + offset, readLength)
175 | #else
176 | let bytesRead = Darwin.read(self.socketFileDescriptor as Int32, baseAddress + offset, readLength)
| `- error: cannot find 'Darwin' in scope
177 | #endif
178 |
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:203:20: error: cannot find 'sockaddr' in scope
201 |
202 | public func peername() throws -> String {
203 | var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
| `- error: cannot find 'sockaddr' in scope
204 | if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
205 | throw SocketError.getPeerNameFailed(Errno.description())
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:203:72: error: cannot find type 'sockaddr' in scope
201 |
202 | public func peername() throws -> String {
203 | var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
| `- error: cannot find type 'sockaddr' in scope
204 | if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
205 | throw SocketError.getPeerNameFailed(Errno.description())
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:204:12: error: cannot find 'getpeername' in scope
202 | public func peername() throws -> String {
203 | var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
204 | if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
| `- error: cannot find 'getpeername' in scope
205 | throw SocketError.getPeerNameFailed(Errno.description())
206 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:207:59: error: cannot find 'NI_MAXHOST' in scope
205 | throw SocketError.getPeerNameFailed(Errno.description())
206 | }
207 | var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
| `- error: cannot find 'NI_MAXHOST' in scope
208 | if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
209 | throw SocketError.getNameInfoFailed(Errno.description())
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:208:12: error: cannot find 'getnameinfo' in scope
206 | }
207 | var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
208 | if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
| `- error: cannot find 'getnameinfo' in scope
209 | throw SocketError.getNameInfoFailed(Errno.description())
210 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:208:86: error: cannot find 'NI_NUMERICHOST' in scope
206 | }
207 | var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
208 | if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
| `- error: cannot find 'NI_NUMERICHOST' in scope
209 | throw SocketError.getNameInfoFailed(Errno.description())
210 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:208:78: error: 'nil' requires a contextual type
206 | }
207 | var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
208 | if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
| `- error: 'nil' requires a contextual type
209 | throw SocketError.getNameInfoFailed(Errno.description())
210 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:221:13: error: cannot find 'setsockopt' in scope
219 | // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
220 | var no_sig_pipe: Int32 = 1
221 | setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'setsockopt' in scope
222 | #endif
223 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:221:32: error: cannot find 'SOL_SOCKET' in scope
219 | // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
220 | var no_sig_pipe: Int32 = 1
221 | setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'SOL_SOCKET' in scope
222 | #endif
223 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:221:44: error: cannot find 'SO_NOSIGPIPE' in scope
219 | // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
220 | var no_sig_pipe: Int32 = 1
221 | setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'SO_NOSIGPIPE' in scope
222 | #endif
223 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:229:17: error: cannot find 'Darwin' in scope
227 | _ = Glibc.close(socket)
228 | #else
229 | _ = Darwin.close(socket)
| `- error: cannot find 'Darwin' in scope
230 | #endif
231 | }
[15/26] Compiling Swifter String+BASE64.swift
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:50:34: error: cannot find type 'in_port_t' in scope
48 | }
49 |
50 | public func port() throws -> in_port_t {
| `- error: cannot find type 'in_port_t' in scope
51 | var addr = sockaddr_in()
52 | return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:51:20: error: cannot find 'sockaddr_in' in scope
49 |
50 | public func port() throws -> in_port_t {
51 | var addr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
52 | return try withUnsafePointer(to: &addr) { pointer in
53 | var len = socklen_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:67:20: error: cannot find 'sockaddr_in' in scope
65 |
66 | public func isIPv4() throws -> Bool {
67 | var addr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
68 | return try withUnsafePointer(to: &addr) { pointer in
69 | var len = socklen_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:69:46: error: cannot find type 'sockaddr_in' in scope
67 | var addr = sockaddr_in()
68 | return try withUnsafePointer(to: &addr) { pointer in
69 | var len = socklen_t(MemoryLayout<sockaddr_in>.size)
| `- error: cannot find type 'sockaddr_in' in scope
70 | if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
71 | throw SocketError.getSockNameFailed(Errno.description())
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:70:16: error: cannot find 'getsockname' in scope
68 | return try withUnsafePointer(to: &addr) { pointer in
69 | var len = socklen_t(MemoryLayout<sockaddr_in>.size)
70 | if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
| `- error: cannot find 'getsockname' in scope
71 | throw SocketError.getSockNameFailed(Errno.description())
72 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:73:57: error: cannot find 'AF_INET' in scope
71 | throw SocketError.getSockNameFailed(Errno.description())
72 | }
73 | return Int32(pointer.pointee.sin_family) == AF_INET
| `- error: cannot find 'AF_INET' in scope
74 | }
75 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:116:30: error: cannot find 'write' in scope
114 | let result = send(self.socketFileDescriptor, pointer + sent, Int(length - sent), Int32(MSG_NOSIGNAL))
115 | #else
116 | let result = write(self.socketFileDescriptor, pointer + sent, Int(length - sent))
| `- error: cannot find 'write' in scope
117 | #endif
118 | if result <= 0 {
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:137:18: error: cannot find 'Darwin' in scope
135 | let count = Glibc.read(self.socketFileDescriptor as Int32, &byte, 1)
136 | #else
137 | let count = Darwin.read(self.socketFileDescriptor as Int32, &byte, 1)
| `- error: cannot find 'Darwin' in scope
138 | #endif
139 |
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:176:26: error: cannot find 'Darwin' in scope
174 | let bytesRead = Glibc.read(self.socketFileDescriptor as Int32, baseAddress + offset, readLength)
175 | #else
176 | let bytesRead = Darwin.read(self.socketFileDescriptor as Int32, baseAddress + offset, readLength)
| `- error: cannot find 'Darwin' in scope
177 | #endif
178 |
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:203:20: error: cannot find 'sockaddr' in scope
201 |
202 | public func peername() throws -> String {
203 | var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
| `- error: cannot find 'sockaddr' in scope
204 | if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
205 | throw SocketError.getPeerNameFailed(Errno.description())
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:203:72: error: cannot find type 'sockaddr' in scope
201 |
202 | public func peername() throws -> String {
203 | var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
| `- error: cannot find type 'sockaddr' in scope
204 | if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
205 | throw SocketError.getPeerNameFailed(Errno.description())
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:204:12: error: cannot find 'getpeername' in scope
202 | public func peername() throws -> String {
203 | var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
204 | if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
| `- error: cannot find 'getpeername' in scope
205 | throw SocketError.getPeerNameFailed(Errno.description())
206 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:207:59: error: cannot find 'NI_MAXHOST' in scope
205 | throw SocketError.getPeerNameFailed(Errno.description())
206 | }
207 | var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
| `- error: cannot find 'NI_MAXHOST' in scope
208 | if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
209 | throw SocketError.getNameInfoFailed(Errno.description())
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:208:12: error: cannot find 'getnameinfo' in scope
206 | }
207 | var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
208 | if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
| `- error: cannot find 'getnameinfo' in scope
209 | throw SocketError.getNameInfoFailed(Errno.description())
210 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:208:86: error: cannot find 'NI_NUMERICHOST' in scope
206 | }
207 | var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
208 | if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
| `- error: cannot find 'NI_NUMERICHOST' in scope
209 | throw SocketError.getNameInfoFailed(Errno.description())
210 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:208:78: error: 'nil' requires a contextual type
206 | }
207 | var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
208 | if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
| `- error: 'nil' requires a contextual type
209 | throw SocketError.getNameInfoFailed(Errno.description())
210 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:221:13: error: cannot find 'setsockopt' in scope
219 | // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
220 | var no_sig_pipe: Int32 = 1
221 | setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'setsockopt' in scope
222 | #endif
223 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:221:32: error: cannot find 'SOL_SOCKET' in scope
219 | // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
220 | var no_sig_pipe: Int32 = 1
221 | setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'SOL_SOCKET' in scope
222 | #endif
223 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:221:44: error: cannot find 'SO_NOSIGPIPE' in scope
219 | // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
220 | var no_sig_pipe: Int32 = 1
221 | setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'SO_NOSIGPIPE' in scope
222 | #endif
223 | }
/host/spi-builder-workspace/Xcode/Sources/Socket.swift:229:17: error: cannot find 'Darwin' in scope
227 | _ = Glibc.close(socket)
228 | #else
229 | _ = Darwin.close(socket)
| `- error: cannot find 'Darwin' in scope
230 | #endif
231 | }
[16/26] Compiling Swifter HttpParser.swift
[17/26] Compiling Swifter HttpRequest.swift
[18/26] Compiling Swifter HttpResponse.swift
[19/26] Compiling Swifter String+SHA1.swift
[20/26] Compiling Swifter WebSockets.swift
[21/26] Compiling Swifter Socket+File.swift
/host/spi-builder-workspace/Xcode/Sources/Socket+File.swift:45:17: error: cannot find type 'sf_hdtr' in scope
43 | public func writeFile(_ file: String.File) throws {
44 | var offset: off_t = 0
45 | var sf: sf_hdtr = sf_hdtr()
| `- error: cannot find type 'sf_hdtr' in scope
46 |
47 | #if os(iOS) || os(tvOS) || os (Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+File.swift:50:22: error: cannot find 'sendfile' in scope
48 | let result = sendfileImpl(file.pointer, self.socketFileDescriptor, 0, &offset, &sf, 0)
49 | #else
50 | let result = sendfile(fileno(file.pointer), self.socketFileDescriptor, 0, &offset, &sf, 0)
| `- error: cannot find 'sendfile' in scope
51 | #endif
52 |
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:18:43: error: cannot find type 'FILE' in scope
16 | public class File {
17 |
18 | let pointer: UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:50: error: cannot find type 'in_port_t' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find type 'in_port_t' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:120: error: cannot find 'SOMAXCONN' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find 'SOMAXCONN' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:40: error: cannot find 'socket' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'socket' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:59: error: cannot find 'AF_INET' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'AF_INET' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:69: error: cannot find 'AF_INET6' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'AF_INET6' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:79: error: cannot find 'SOCK_STREAM' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'SOCK_STREAM' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:12: error: cannot find 'setsockopt' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'setsockopt' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:45: error: cannot find 'SOL_SOCKET' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'SOL_SOCKET' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:57: error: cannot find 'SO_REUSEADDR' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'SO_REUSEADDR' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:46:24: error: cannot find 'sockaddr_in' in scope
44 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
45 | #else
46 | var addr = sockaddr_in(
| `- error: cannot find 'sockaddr_in' in scope
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
48 | sin_family: UInt8(AF_INET),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:47:45: error: cannot find type 'sockaddr_in' in scope
45 | #else
46 | var addr = sockaddr_in(
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
| `- error: cannot find type 'sockaddr_in' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:48:35: error: cannot find 'AF_INET' in scope
46 | var addr = sockaddr_in(
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
48 | sin_family: UInt8(AF_INET),
| `- error: cannot find 'AF_INET' in scope
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:50:27: error: cannot find 'in_addr' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
| `- error: cannot find 'in_addr' in scope
51 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
52 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:50:43: error: cannot find 'in_addr_t' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
| `- error: cannot find 'in_addr_t' in scope
51 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
52 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:54:51: error: cannot find 'inet_pton' in scope
52 | #endif
53 | if let address = listenAddress {
54 | if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
| `- error: cannot find 'inet_pton' in scope
55 | // print("\(address) is converted to \(addr.sin_addr).")
56 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:54:61: error: cannot find 'AF_INET' in scope
52 | #endif
53 | if let address = listenAddress {
54 | if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
| `- error: cannot find 'AF_INET' in scope
55 | // print("\(address) is converted to \(addr.sin_addr).")
56 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:17: error: cannot find 'bind' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find 'bind' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:111: error: cannot find type 'sockaddr_in' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr_in' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:58: error: cannot find type 'sockaddr' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:72:24: error: cannot find 'sockaddr_in6' in scope
70 | sin6_scope_id: 0)
71 | #else
72 | var addr = sockaddr_in6(
| `- error: cannot find 'sockaddr_in6' in scope
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
74 | sin6_family: UInt8(AF_INET6),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:73:46: error: cannot find type 'sockaddr_in6' in scope
71 | #else
72 | var addr = sockaddr_in6(
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
| `- error: cannot find type 'sockaddr_in6' in scope
74 | sin6_family: UInt8(AF_INET6),
75 | sin6_port: port.bigEndian,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:74:36: error: cannot find 'AF_INET6' in scope
72 | var addr = sockaddr_in6(
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
74 | sin6_family: UInt8(AF_INET6),
| `- error: cannot find 'AF_INET6' in scope
75 | sin6_port: port.bigEndian,
76 | sin6_flowinfo: 0,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:77:28: error: cannot find 'in6addr_any' in scope
75 | sin6_port: port.bigEndian,
76 | sin6_flowinfo: 0,
77 | sin6_addr: in6addr_any,
| `- error: cannot find 'in6addr_any' in scope
78 | sin6_scope_id: 0)
79 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:81:51: error: cannot find 'inet_pton' in scope
79 | #endif
80 | if let address = listenAddress {
81 | if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
| `- error: cannot find 'inet_pton' in scope
82 | //print("\(address) is converted to \(addr.sin6_addr).")
83 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:81:61: error: cannot find 'AF_INET6' in scope
79 | #endif
80 | if let address = listenAddress {
81 | if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
| `- error: cannot find 'AF_INET6' in scope
82 | //print("\(address) is converted to \(addr.sin6_addr).")
83 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:17: error: cannot find 'bind' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find 'bind' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:111: error: cannot find type 'sockaddr_in6' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find type 'sockaddr_in6' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:58: error: cannot find type 'sockaddr' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find type 'sockaddr' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:98:12: error: cannot find 'listen' in scope
96 | }
97 |
98 | if listen(socketFileDescriptor, maxPendingConnection) == -1 {
| `- error: cannot find 'listen' in scope
99 | let details = Errno.description()
100 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:107:20: error: cannot find 'sockaddr' in scope
105 |
106 | public func acceptClientSocket() throws -> Socket {
107 | var addr = sockaddr()
| `- error: cannot find 'sockaddr' in scope
108 | var len: socklen_t = 0
109 | let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:109:28: error: cannot find 'accept' in scope
107 | var addr = sockaddr()
108 | var len: socklen_t = 0
109 | let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
| `- error: cannot find 'accept' in scope
110 | if clientSocket == -1 {
111 | throw SocketError.acceptFailed(Errno.description())
[22/26] Compiling Swifter Socket+Server.swift
/host/spi-builder-workspace/Xcode/Sources/Socket+File.swift:45:17: error: cannot find type 'sf_hdtr' in scope
43 | public func writeFile(_ file: String.File) throws {
44 | var offset: off_t = 0
45 | var sf: sf_hdtr = sf_hdtr()
| `- error: cannot find type 'sf_hdtr' in scope
46 |
47 | #if os(iOS) || os(tvOS) || os (Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+File.swift:50:22: error: cannot find 'sendfile' in scope
48 | let result = sendfileImpl(file.pointer, self.socketFileDescriptor, 0, &offset, &sf, 0)
49 | #else
50 | let result = sendfile(fileno(file.pointer), self.socketFileDescriptor, 0, &offset, &sf, 0)
| `- error: cannot find 'sendfile' in scope
51 | #endif
52 |
/host/spi-builder-workspace/Xcode/Sources/String+File.swift:18:43: error: cannot find type 'FILE' in scope
16 | public class File {
17 |
18 | let pointer: UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
19 |
20 | public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:50: error: cannot find type 'in_port_t' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find type 'in_port_t' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:17:120: error: cannot find 'SOMAXCONN' in scope
15 | /// connections from. It should be in IPv4 format if forceIPv4 == true,
16 | /// otherwise - in IPv6.
17 | public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
| `- error: cannot find 'SOMAXCONN' in scope
18 |
19 | #if os(Linux)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:40: error: cannot find 'socket' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'socket' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:59: error: cannot find 'AF_INET' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'AF_INET' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:69: error: cannot find 'AF_INET6' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'AF_INET6' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:22:79: error: cannot find 'SOCK_STREAM' in scope
20 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
21 | #else
22 | let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
| `- error: cannot find 'SOCK_STREAM' in scope
23 | #endif
24 |
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:12: error: cannot find 'setsockopt' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'setsockopt' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:45: error: cannot find 'SOL_SOCKET' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'SOL_SOCKET' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:30:57: error: cannot find 'SO_REUSEADDR' in scope
28 |
29 | var value: Int32 = 1
30 | if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
| `- error: cannot find 'SO_REUSEADDR' in scope
31 | let details = Errno.description()
32 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:46:24: error: cannot find 'sockaddr_in' in scope
44 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
45 | #else
46 | var addr = sockaddr_in(
| `- error: cannot find 'sockaddr_in' in scope
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
48 | sin_family: UInt8(AF_INET),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:47:45: error: cannot find type 'sockaddr_in' in scope
45 | #else
46 | var addr = sockaddr_in(
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
| `- error: cannot find type 'sockaddr_in' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:48:35: error: cannot find 'AF_INET' in scope
46 | var addr = sockaddr_in(
47 | sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
48 | sin_family: UInt8(AF_INET),
| `- error: cannot find 'AF_INET' in scope
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:50:27: error: cannot find 'in_addr' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
| `- error: cannot find 'in_addr' in scope
51 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
52 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:50:43: error: cannot find 'in_addr_t' in scope
48 | sin_family: UInt8(AF_INET),
49 | sin_port: port.bigEndian,
50 | sin_addr: in_addr(s_addr: in_addr_t(0)),
| `- error: cannot find 'in_addr_t' in scope
51 | sin_zero: (0, 0, 0, 0, 0, 0, 0, 0))
52 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:54:51: error: cannot find 'inet_pton' in scope
52 | #endif
53 | if let address = listenAddress {
54 | if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
| `- error: cannot find 'inet_pton' in scope
55 | // print("\(address) is converted to \(addr.sin_addr).")
56 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:54:61: error: cannot find 'AF_INET' in scope
52 | #endif
53 | if let address = listenAddress {
54 | if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
| `- error: cannot find 'AF_INET' in scope
55 | // print("\(address) is converted to \(addr.sin_addr).")
56 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:17: error: cannot find 'bind' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find 'bind' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:111: error: cannot find type 'sockaddr_in' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr_in' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:61:58: error: cannot find type 'sockaddr' in scope
59 | }
60 | bindResult = withUnsafePointer(to: &addr) {
61 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr' in scope
62 | }
63 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:72:24: error: cannot find 'sockaddr_in6' in scope
70 | sin6_scope_id: 0)
71 | #else
72 | var addr = sockaddr_in6(
| `- error: cannot find 'sockaddr_in6' in scope
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
74 | sin6_family: UInt8(AF_INET6),
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:73:46: error: cannot find type 'sockaddr_in6' in scope
71 | #else
72 | var addr = sockaddr_in6(
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
| `- error: cannot find type 'sockaddr_in6' in scope
74 | sin6_family: UInt8(AF_INET6),
75 | sin6_port: port.bigEndian,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:74:36: error: cannot find 'AF_INET6' in scope
72 | var addr = sockaddr_in6(
73 | sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
74 | sin6_family: UInt8(AF_INET6),
| `- error: cannot find 'AF_INET6' in scope
75 | sin6_port: port.bigEndian,
76 | sin6_flowinfo: 0,
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:77:28: error: cannot find 'in6addr_any' in scope
75 | sin6_port: port.bigEndian,
76 | sin6_flowinfo: 0,
77 | sin6_addr: in6addr_any,
| `- error: cannot find 'in6addr_any' in scope
78 | sin6_scope_id: 0)
79 | #endif
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:81:51: error: cannot find 'inet_pton' in scope
79 | #endif
80 | if let address = listenAddress {
81 | if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
| `- error: cannot find 'inet_pton' in scope
82 | //print("\(address) is converted to \(addr.sin6_addr).")
83 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:81:61: error: cannot find 'AF_INET6' in scope
79 | #endif
80 | if let address = listenAddress {
81 | if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
| `- error: cannot find 'AF_INET6' in scope
82 | //print("\(address) is converted to \(addr.sin6_addr).")
83 | } else {
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:17: error: cannot find 'bind' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find 'bind' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:111: error: cannot find type 'sockaddr_in6' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find type 'sockaddr_in6' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:88:58: error: cannot find type 'sockaddr' in scope
86 | }
87 | bindResult = withUnsafePointer(to: &addr) {
88 | bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
| `- error: cannot find type 'sockaddr' in scope
89 | }
90 | }
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:98:12: error: cannot find 'listen' in scope
96 | }
97 |
98 | if listen(socketFileDescriptor, maxPendingConnection) == -1 {
| `- error: cannot find 'listen' in scope
99 | let details = Errno.description()
100 | Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:107:20: error: cannot find 'sockaddr' in scope
105 |
106 | public func acceptClientSocket() throws -> Socket {
107 | var addr = sockaddr()
| `- error: cannot find 'sockaddr' in scope
108 | var len: socklen_t = 0
109 | let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
/host/spi-builder-workspace/Xcode/Sources/Socket+Server.swift:109:28: error: cannot find 'accept' in scope
107 | var addr = sockaddr()
108 | var len: socklen_t = 0
109 | let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
| `- error: cannot find 'accept' in scope
110 | if clientSocket == -1 {
111 | throw SocketError.acceptFailed(Errno.description())
BUILD FAILURE 6.1 android