Build Information
Failed to build Chameleon, reference 0.0.3 (cae36a
), with Swift 6.1 for Linux on 25 Apr 2025 12:45:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chameleonbot/chameleon.git
Reference: 0.0.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/chameleonbot/chameleon
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at cae36ad Merge pull request #2 from allenhumphreys/ah/add-subtype
Cloned https://github.com/chameleonbot/chameleon.git
Revision (git rev-parse @):
cae36adafd9353f8ce781a0ec4d8ba177370ab61
SUCCESS checkout https://github.com/chameleonbot/chameleon.git at 0.0.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/chameleonbot/chameleon.git
https://github.com/chameleonbot/chameleon.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.4",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
},
{
"identity" : "redis",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/redis.git"
}
],
"manifest_display_name" : "Chameleon",
"name" : "Chameleon",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Chameleon",
"targets" : [
"Chameleon"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Common",
"targets" : [
"Common"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Models",
"targets" : [
"Models"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RTMAPI",
"targets" : [
"RTMAPI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Services",
"targets" : [
"Services"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WebAPI",
"targets" : [
"WebAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebAPI",
"module_type" : "SwiftTarget",
"name" : "WebAPI",
"path" : "Sources/WebAPI",
"product_memberships" : [
"Chameleon",
"WebAPI"
],
"sources" : [
"Exports.swift",
"Methods/BotsInfo.swift",
"Methods/ChannelsInfo.swift",
"Methods/ChatPermalink.swift",
"Methods/ChatPostMessage.swift",
"Methods/GroupsInfo.swift",
"Methods/IMList.swift",
"Methods/IMOpen.swift",
"Methods/RTMConnect.swift",
"Methods/ReactionsAdd.swift",
"Methods/UsersInfo.swift",
"Methods/UsersList.swift",
"Middleware/RetryMiddleware.swift",
"Middleware/WebAPIMiddleware.swift",
"WebAPI+Errors.swift",
"WebAPI+Scope.swift",
"WebAPI.swift",
"WebAPIAuthenticator.swift",
"WebAPIRequest.swift"
],
"target_dependencies" : [
"Common",
"Models",
"Services"
],
"type" : "library"
},
{
"c99name" : "Services",
"module_type" : "SwiftTarget",
"name" : "Services",
"path" : "Sources/Services",
"product_dependencies" : [
"Vapor",
"Redis"
],
"product_memberships" : [
"Chameleon",
"RTMAPI",
"Services",
"WebAPI"
],
"sources" : [
"Exports.swift",
"HTTPServer/HTTPServer.swift",
"HTTPServer/HTTPServerProvider.swift",
"HTTPServer/HTTPServerResponse.swift",
"KeyValueStore/KeyValueStore+Environment.swift",
"KeyValueStore/KeyValueStore+Memory.swift",
"KeyValueStore/KeyValueStore+Redis.swift",
"KeyValueStore/KeyValueStore.swift",
"Network/DataRepresentable.swift",
"Network/Middleware/HTTPStatusCodeMiddleware.swift",
"Network/Network.swift",
"Network/NetworkMiddleware.swift",
"Network/NetworkProvider.swift",
"Network/NetworkRequest.swift",
"Network/NetworkResponse.swift",
"Storage/Storage+Memory.swift",
"Storage/Storage+Plist.swift",
"Storage/Storage+Private.swift",
"Storage/Storage+Redis.swift",
"Storage/Storage.swift",
"WebSocket/WebSocket.swift",
"WebSocket/WebSocketProvider.swift"
],
"target_dependencies" : [
"Common"
],
"type" : "library"
},
{
"c99name" : "RTMAPI",
"module_type" : "SwiftTarget",
"name" : "RTMAPI",
"path" : "Sources/RTMAPI",
"product_memberships" : [
"Chameleon",
"RTMAPI"
],
"sources" : [
"Events/Hello.swift",
"Events/Message.swift",
"Events/Pong.swift",
"Exports.swift",
"RTMAPI+Errors.swift",
"RTMAPI+PingPong.swift",
"RTMAPI.swift",
"RTMAPIEvent.swift"
],
"target_dependencies" : [
"Common",
"Models",
"Services"
],
"type" : "library"
},
{
"c99name" : "Models",
"module_type" : "SwiftTarget",
"name" : "Models",
"path" : "Sources/Models",
"product_memberships" : [
"Chameleon",
"Models",
"RTMAPI",
"WebAPI"
],
"sources" : [
"BotUser.swift",
"Channel.swift",
"ChatMessage/Attachment.swift",
"ChatMessage/Author.swift",
"ChatMessage/ChatMessage.swift",
"ChatMessage/Field.swift",
"ChatMessage/Footer.swift",
"ChatMessage/Parse.swift",
"ChatMessage/Title.swift",
"Color.swift",
"Command.swift",
"CustomEmoji.swift",
"Decoder+ModelPointer.swift",
"Emoji.swift",
"Exports.swift",
"Group.swift",
"IM.swift",
"Message+Subtype.swift",
"Message.swift",
"MessageEdit.swift",
"ModelPointer.swift",
"Pong.swift",
"Protocols/EmojiRepresentable.swift",
"Protocols/IDRepresentable.swift",
"Protocols/Nameable.swift",
"Protocols/TargetRepresentable.swift",
"Protocols/TokenRepresentable.swift",
"Purpose.swift",
"SlashCommand.swift",
"Targets.swift",
"Team.swift",
"Thread.swift",
"Topic.swift",
"User.swift"
],
"target_dependencies" : [
"Common"
],
"type" : "library"
},
{
"c99name" : "CommonTests",
"module_type" : "SwiftTarget",
"name" : "CommonTests",
"path" : "Tests/CommonTests",
"sources" : [
"CollectionTests.swift",
"Common.swift",
"DictionaryTests.swift",
"KeyPathAccessibleTests.swift",
"NeighborSequenceTests.swift",
"ResultTests.swift",
"StringTests.swift",
"TimeIntervalTests.swift"
],
"target_dependencies" : [
"Common"
],
"type" : "test"
},
{
"c99name" : "Common",
"module_type" : "SwiftTarget",
"name" : "Common",
"path" : "Sources/Common",
"product_memberships" : [
"Chameleon",
"Common",
"Models",
"RTMAPI",
"Services",
"WebAPI"
],
"sources" : [
"Codable/Decodable.swift",
"Codable/Decoder+Decodable.swift",
"Codable/Decoder.swift",
"Codable/Encodable.swift",
"Collection+Extensions.swift",
"Dictionary+Extensions.swift",
"ErrorHandler.swift",
"KeyPathAccessible/KeyPathAccessible+Array.swift",
"KeyPathAccessible/KeyPathAccessible+Dictionary.swift",
"KeyPathAccessible/KeyPathAccessible.swift",
"KeyPathAccessible/KeyPathComponent.swift",
"NeighborSequence.swift",
"OptionalType.swift",
"Result.swift",
"String+Extensions.swift",
"String+HTML.swift",
"TimeInterval+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "Chameleon",
"module_type" : "SwiftTarget",
"name" : "Chameleon",
"path" : "Sources/Chameleon",
"product_memberships" : [
"Chameleon"
],
"sources" : [
"Bot/Authenticator/OAuthAuthenticator.swift",
"Bot/Authenticator/SlackAuthenticator.swift",
"Bot/Authenticator/TokenAuthenticator.swift",
"Bot/ModelVendor/BotFromUserRequest.swift",
"Bot/ModelVendor/IMFromListRequest.swift",
"Bot/ModelVendor/ModelPointer+Value.swift",
"Bot/ModelVendor/ModelVendor.swift",
"Bot/ModelVendor/ModelWebAPIRequest.swift",
"Bot/ModelVendor/ModelWebAPIRequestRepresentable.swift",
"Bot/ModelVendor/UserFromBotRequest.swift",
"Bot/ReconnectionStrategy.swift",
"Bot/SlackBot+Configuration.swift",
"Bot/SlackBot+Creation.swift",
"Bot/SlackBot+HTTPServer.swift",
"Bot/SlackBot+RTMAPIEvents.swift",
"Bot/SlackBot+SlashCommands.swift",
"Bot/SlackBot.swift",
"Bot/SlackBotService.swift",
"Bot/SlackBotSlashCommandService.swift",
"Chameleon.swift",
"Sugar/ChatMessageDecorator/ChatMessageDecorator+Attachments.swift",
"Sugar/ChatMessageDecorator/ChatMessageDecorator+Extensions.swift",
"Sugar/ChatMessageDecorator/ChatMessageDecorator+Style.swift",
"Sugar/ChatMessageDecorator/ChatMessageDecorator+Text.swift",
"Sugar/ChatMessageDecorator/ChatMessageDecorator.swift",
"Sugar/ChatMessageDecorator/ChatMessageSegmentRepresentable.swift",
"Sugar/Conversation/ActiveConversation.swift",
"Sugar/Conversation/Conversation+Event.swift",
"Sugar/Conversation/Conversation.swift",
"Sugar/Conversation/ConversationSegment.swift",
"Sugar/Conversation/ConversationService.swift",
"Sugar/MessageDecorator/MessageDecorator+Mentions.swift",
"Sugar/MessageDecorator/MessageDecorator+Simple.swift",
"Sugar/MessageDecorator/MessageDecorator+Source.swift",
"Sugar/MessageDecorator/MessageDecorator+Targets.swift",
"Sugar/MessageDecorator/MessageDecorator.swift",
"Sugar/ModelPointer+Matcher.swift",
"Sugar/Models+Matcher.swift",
"Sugar/PatternMatching/Match.swift",
"Sugar/PatternMatching/Matcher.swift",
"Sugar/PatternMatching/Matchers/DynamicMatcher.swift",
"Sugar/PatternMatching/Matchers/GreedyMatcher.swift",
"Sugar/PatternMatching/Matchers/InstanceMatcher.swift",
"Sugar/PatternMatching/Matchers/KeyedMatcher.swift",
"Sugar/PatternMatching/Matchers/OptionalMatcher.swift",
"Sugar/PatternMatching/Matchers/SequenceMatcher.swift",
"Sugar/PatternMatching/Matchers/TypeMatcher.swift",
"Sugar/PatternMatching/Matchers/ValueMatcher.swift",
"Sugar/PatternMatching/PatternCommon.swift",
"Sugar/PatternMatching/PatternMatch.swift",
"Sugar/PatternMatching/PatternRepresentable.swift",
"Sugar/PatternMatching/String+PatternMatch.swift",
"Sugar/SlackBot+Convenience.swift",
"Sugar/SlackBotServices/SlackBotConnectionService.swift",
"Sugar/SlackBotServices/SlackBotErrorService.swift",
"Sugar/SlackBotServices/SlackBotHelpService.swift",
"Sugar/SlackBotServices/SlackBotMessageService.swift",
"Sugar/SlackBotServices/SlackBotService+Errors.swift",
"Sugar/SlackBotServices/SlackBotTimedService.swift"
],
"target_dependencies" : [
"Common",
"Models",
"Services",
"RTMAPI",
"WebAPI"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/vapor/redis.git
Fetching https://github.com/vapor/vapor.git
[38/3751] Fetching redis
[3752/78049] Fetching redis, vapor
Fetched https://github.com/vapor/redis.git from cache (4.24s)
Fetched https://github.com/vapor/vapor.git from cache (4.30s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (5.41s)
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/engine.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/json.git
[1/2786] Fetching crypto
[280/23509] Fetching crypto, routing
[281/26718] Fetching crypto, routing, multipart
[15277/52185] Fetching crypto, routing, multipart, engine
[15485/53183] Fetching crypto, routing, multipart, engine, json
Fetched https://github.com/vapor/crypto.git from cache (1.57s)
Fetched https://github.com/vapor/json.git from cache (1.58s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/console.git
[42472/49399] Fetching routing, multipart, engine
[47311/69542] Fetching routing, multipart, engine, core
[49124/75027] Fetching routing, multipart, engine, core, console
Fetching https://github.com/vapor/node.git
Fetched https://github.com/vapor/console.git from cache (0.88s)
[60605/69542] Fetching routing, multipart, engine, core
Fetching https://github.com/vapor/bcrypt.git
[63426/73753] Fetching routing, multipart, engine, core, node
Fetched https://github.com/vapor/routing.git from cache (2.83s)
[42955/53030] Fetching multipart, engine, core, node
[44673/53129] Fetching multipart, engine, core, node, bcrypt
Fetched https://github.com/vapor/bcrypt.git from cache (0.49s)
[47391/53030] Fetching multipart, engine, core, node
Fetched https://github.com/vapor/node.git from cache (0.79s)
[46328/48819] Fetching multipart, engine, core
Fetched https://github.com/vapor/engine.git from cache (3.74s)
Fetched https://github.com/vapor/multipart.git from cache (3.78s)
Fetched https://github.com/vapor/core.git from cache (2.24s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (4.58s)
Fetching https://github.com/vapor/random.git
[1/148] Fetching random
Fetched https://github.com/vapor/random.git from cache (0.28s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.28s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 2.2.0 (0.87s)
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/tls.git
[1/1144] Fetching tls
[1145/4456] Fetching tls, sockets
Fetched https://github.com/vapor/tls.git from cache (0.40s)
Fetched https://github.com/vapor/sockets.git from cache (0.49s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (1.49s)
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
Fetched https://github.com/vapor/debugging.git from cache (0.40s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.16s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.69s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.92s)
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
Fetched https://github.com/vapor/bits.git from cache (0.30s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.90s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.85s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.54s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.23s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (0.88s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.78s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.55s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.73s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.78s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (3.57s)
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 2.3.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 2.2.0
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 2.4.5
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/bcrypt.git
Working copy of https://github.com/vapor/bcrypt.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
Building for debugging...
[0/36] Write sources
[34/36] Compiling CHTTP http_parser.c
[35/36] Write swift-version-24593BA9C3E375BF.txt
[37/77] Emitting module Bits
[38/77] Emitting module Common
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Decoder {
3 | public func value<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> T {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let innerData: [String: Any] = try value(at: keyPath)
5 | let decoder = Decoder(data: innerData)
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:9:5: warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return try T(decoder: decoder)
8 | }
9 | public func values<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> [T] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
10 | let innerData: [[String: Any]] = try value(at: keyPath)
11 |
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:3:10: warning: associated value 'invalid(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
1 |
2 | public enum KeyPathError: Error, CustomStringConvertible {
3 | case invalid(key: [KeyPathComponent])
| `- warning: associated value 'invalid(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
4 | case missing(key: [KeyPathComponent])
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:4:10: warning: associated value 'missing(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
2 | public enum KeyPathError: Error, CustomStringConvertible {
3 | case invalid(key: [KeyPathComponent])
4 | case missing(key: [KeyPathComponent])
| `- warning: associated value 'missing(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
6 |
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:5:10: warning: associated value 'mismatch(key:expected:found:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
3 | case invalid(key: [KeyPathComponent])
4 | case missing(key: [KeyPathComponent])
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
| `- warning: associated value 'mismatch(key:expected:found:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
6 |
7 | public var description: String {
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
[39/81] Emitting module Debugging
[40/81] Compiling Debugging Debuggable.swift
[42/82] Compiling Bits UnsignedInteger+BytesConvertible.swift
[43/82] Compiling Bits UnsignedInteger+Shifting.swift
[44/82] Compiling Bits Operators.swift
[45/82] Compiling Bits String+BytesConvertible.swift
[46/82] Emitting module PathIndexable
[47/82] Compiling PathIndexable PathIndexable+Subscripting.swift
[48/82] Compiling PathIndexable PathIndexable.swift
[50/83] Compiling libc libc.swift
[51/83] Emitting module libc
[52/84] Compiling Common Result.swift
[53/84] Compiling Common String+Extensions.swift
[54/84] Compiling Bits Bytes+Base64.swift
[55/84] Compiling Bits Bytes+Hex.swift
[56/84] Compiling Common Encodable.swift
[57/84] Compiling Common Collection+Extensions.swift
[59/84] Compiling Common String+HTML.swift
[60/84] Compiling Common TimeInterval+Extensions.swift
[61/84] Compiling Bits Base64Encoder.swift
[62/84] Compiling Bits Byte+Alphabet.swift
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:3:10: warning: associated value 'invalid(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
1 |
2 | public enum KeyPathError: Error, CustomStringConvertible {
3 | case invalid(key: [KeyPathComponent])
| `- warning: associated value 'invalid(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
4 | case missing(key: [KeyPathComponent])
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:4:10: warning: associated value 'missing(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
2 | public enum KeyPathError: Error, CustomStringConvertible {
3 | case invalid(key: [KeyPathComponent])
4 | case missing(key: [KeyPathComponent])
| `- warning: associated value 'missing(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
6 |
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:5:10: warning: associated value 'mismatch(key:expected:found:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
3 | case invalid(key: [KeyPathComponent])
4 | case missing(key: [KeyPathComponent])
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
| `- warning: associated value 'mismatch(key:expected:found:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
6 |
7 | public var description: String {
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:3:10: warning: associated value 'invalid(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
1 |
2 | public enum KeyPathError: Error, CustomStringConvertible {
3 | case invalid(key: [KeyPathComponent])
| `- warning: associated value 'invalid(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
4 | case missing(key: [KeyPathComponent])
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:4:10: warning: associated value 'missing(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
2 | public enum KeyPathError: Error, CustomStringConvertible {
3 | case invalid(key: [KeyPathComponent])
4 | case missing(key: [KeyPathComponent])
| `- warning: associated value 'missing(key:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
6 |
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathAccessible.swift:5:10: warning: associated value 'mismatch(key:expected:found:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
3 | case invalid(key: [KeyPathComponent])
4 | case missing(key: [KeyPathComponent])
5 | case mismatch(key: [KeyPathComponent], expected: Any.Type, found: Any.Type)
| `- warning: associated value 'mismatch(key:expected:found:)' of 'Sendable'-conforming enum 'KeyPathError' has non-sendable type 'any KeyPathComponent'; this is an error in the Swift 6 language mode
6 |
7 | public var description: String {
/host/spi-builder-workspace/Sources/Common/KeyPathAccessible/KeyPathComponent.swift:2:17: note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
1 |
2 | public protocol KeyPathComponent { }
| `- note: protocol 'KeyPathComponent' does not conform to the 'Sendable' protocol
3 |
4 | extension String: KeyPathComponent { }
[65/84] Compiling Common Dictionary+Extensions.swift
[66/84] Compiling Bits Aliases.swift
[67/84] Compiling Common Decodable.swift
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Decoder {
3 | public func value<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> T {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let innerData: [String: Any] = try value(at: keyPath)
5 | let decoder = Decoder(data: innerData)
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:9:5: warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return try T(decoder: decoder)
8 | }
9 | public func values<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> [T] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
10 | let innerData: [[String: Any]] = try value(at: keyPath)
11 |
[68/84] Compiling Common Decoder+Decodable.swift
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Decoder {
3 | public func value<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> T {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let innerData: [String: Any] = try value(at: keyPath)
5 | let decoder = Decoder(data: innerData)
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:9:5: warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return try T(decoder: decoder)
8 | }
9 | public func values<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> [T] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
10 | let innerData: [[String: Any]] = try value(at: keyPath)
11 |
[69/84] Compiling Common Decoder.swift
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Decoder {
3 | public func value<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> T {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let innerData: [String: Any] = try value(at: keyPath)
5 | let decoder = Decoder(data: innerData)
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:9:5: warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return try T(decoder: decoder)
8 | }
9 | public func values<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> [T] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
10 | let innerData: [[String: Any]] = try value(at: keyPath)
11 |
[87/139] Compiling Core DispatchTime+Utilities.swift
[88/139] Compiling Core EmptyInitializable.swift
[89/139] Compiling Core Exports.swift
[90/139] Compiling Core Extendable.swift
[91/139] Compiling Core FileProtocol.swift
[92/139] Compiling Core Int+Hex.swift
[93/141] Compiling Core Lock.swift
[94/141] Compiling Core Portal.swift
[95/141] Compiling Core RFC1123.swift
[96/141] Compiling Core Result.swift
[97/141] Compiling Core Semaphore.swift
[98/141] Compiling Core Sequence.swift
[99/141] Compiling Core StaticDataBuffer.swift
[100/141] Compiling Core String+CaseInsensitiveCompare.swift
[101/141] Compiling Core String+Polymorphic.swift
[102/141] Compiling Core Array.swift
[103/141] Compiling Core Bits.swift
[104/141] Compiling Core Cache.swift
[105/141] Emitting module Core
[106/141] Compiling Core Collection+Safe.swift
[107/141] Compiling Core DataFile.swift
[108/141] Compiling Core Dispatch.swift
[109/141] Compiling Core WorkingDirectory.swift
[110/141] Compiling Models IDRepresentable.swift
[111/141] Compiling Models Nameable.swift
[112/141] Compiling Models TargetRepresentable.swift
[113/141] Compiling Models Exports.swift
[114/141] Compiling Models Group.swift
[115/141] Compiling Models IM.swift
[116/141] Compiling Models Message+Subtype.swift
[117/145] Compiling Core String.swift
[120/146] Compiling Models Team.swift
[121/146] Compiling Models Thread.swift
[122/146] Compiling Models Topic.swift
[123/146] Compiling Models User.swift
[124/231] Emitting module Console
[125/235] Compiling Random Exports.swift
[126/235] Compiling Transport FoundationStream.swift
[127/235] Compiling Transport ServerStream.swift
[128/236] Compiling Console Swift3.swift
[129/236] Compiling Console ConsoleColor+Terminal.swift
[130/236] Compiling Console ConsoleStyle+Terminal.swift
[131/236] Compiling Console String+ANSI.swift
[132/236] Compiling Random EmptyInitializable.swift
[133/236] Compiling Transport Stream.swift
[134/236] Compiling Transport ReadableStream.swift
[135/236] Compiling Transport StreamError.swift
[136/236] Emitting module Transport
[137/236] Compiling Console Runnable.swift
[138/236] Compiling Console Value.swift
[139/236] Compiling Console ConsoleClear.swift
[140/236] Compiling Console ConsoleColor.swift
[141/236] Compiling Random OSRandom.swift
[142/236] Compiling Console Terminal+Command.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 | _pids.append(pid)
147 | let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- 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'
148 | if spawned != 0 {
149 | throw ConsoleError.spawnProcess
[143/236] Compiling Console Terminal.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 | _pids.append(pid)
147 | let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- 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'
148 | if spawned != 0 {
149 | throw ConsoleError.spawnProcess
[144/236] Compiling Console Bool+Polymorphic.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 | _pids.append(pid)
147 | let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- 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'
148 | if spawned != 0 {
149 | throw ConsoleError.spawnProcess
[145/236] Compiling Console String+Trim.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 | _pids.append(pid)
147 | let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- 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'
148 | if spawned != 0 {
149 | throw ConsoleError.spawnProcess
[146/236] Compiling Console ConsoleStyle.swift
[147/236] Compiling Console FileHandle+Stream.swift
[148/236] Compiling Console Pipe+Stream.swift
[149/236] Compiling Console Stream.swift
[150/236] Compiling Random RandomProtocol.swift
[151/236] Compiling Random URandom.swift
[152/236] Compiling Console Console+Ephemeral.swift
[153/236] Compiling Console Console+Options.swift
[154/236] Compiling Console Console+Print.swift
[159/236] Compiling Console Console+Center.swift
[160/236] Compiling Console Console+Confirm.swift
[161/236] Compiling Random Array+Random.swift
[162/236] Emitting module Random
[163/241] Compiling Transport WriteableStream.swift
[164/242] Emitting module Node
[169/242] Compiling Console Console+Ask.swift
[171/242] Compiling Console Console+Run.swift
[172/242] Compiling Console ConsoleError.swift
[173/242] Compiling Console ConsoleProtocol.swift
[174/242] Compiling Console Console+ConsoleStyle.swift
[176/242] Compiling Node Integer+Convertible.swift
[177/242] Compiling Node Schema+Convertible.swift
[178/242] Compiling Node SchemaWrapper+Convertible.swift
[179/242] Compiling Node String+Convertible.swift
[180/242] Compiling Node UUID+Convertible.swift
[186/242] Compiling Console Bar.swift
[187/242] Compiling Console Console+LoadingBar.swift
[188/242] Compiling Console LoadingBar.swift
[189/242] Compiling Console Console+ProgressBar.swift
[190/242] Compiling Console ProgressBar.swift
[216/242] Compiling Node StructuredDataWrapper.swift
[217/242] Compiling Node Errors.swift
[218/242] Compiling Node Exports.swift
[219/242] Compiling Node Identifier.swift
[231/243] Emitting module Models
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/42] Emitting module libc
[3/42] Compiling libc libc.swift
[5/43] Emitting module Debugging
[6/43] Compiling Debugging Debuggable.swift
[7/44] Emitting module PathIndexable
[8/44] Compiling PathIndexable PathIndexable+Subscripting.swift
[9/44] Compiling PathIndexable PathIndexable.swift
[10/45] Compiling Bits Operators.swift
[11/45] Compiling Common KeyPathAccessible.swift
[12/47] Compiling Common Encodable.swift
[13/47] Compiling Common Collection+Extensions.swift
[16/49] Compiling Bits UnsignedInteger+BytesConvertible.swift
[17/49] Compiling Bits UnsignedInteger+Shifting.swift
[18/49] Emitting module Common
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Decoder {
3 | public func value<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> T {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let innerData: [String: Any] = try value(at: keyPath)
5 | let decoder = Decoder(data: innerData)
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:9:5: warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return try T(decoder: decoder)
8 | }
9 | public func values<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> [T] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
10 | let innerData: [[String: Any]] = try value(at: keyPath)
11 |
[19/49] Compiling Common Decodable.swift
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Decoder {
3 | public func value<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> T {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let innerData: [String: Any] = try value(at: keyPath)
5 | let decoder = Decoder(data: innerData)
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:9:5: warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return try T(decoder: decoder)
8 | }
9 | public func values<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> [T] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
10 | let innerData: [[String: Any]] = try value(at: keyPath)
11 |
[20/49] Compiling Common Decoder+Decodable.swift
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Decoder {
3 | public func value<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> T {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let innerData: [String: Any] = try value(at: keyPath)
5 | let decoder = Decoder(data: innerData)
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:9:5: warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return try T(decoder: decoder)
8 | }
9 | public func values<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> [T] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
10 | let innerData: [[String: Any]] = try value(at: keyPath)
11 |
[21/49] Compiling Common Decoder.swift
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Decoder {
3 | public func value<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> T {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let innerData: [String: Any] = try value(at: keyPath)
5 | let decoder = Decoder(data: innerData)
/host/spi-builder-workspace/Sources/Common/Codable/Decoder+Decodable.swift:9:5: warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return try T(decoder: decoder)
8 | }
9 | public func values<T: Decodable>(of type: T.Type = T.self, at keyPath: [KeyPathComponent]) throws -> [T] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
10 | let innerData: [[String: Any]] = try value(at: keyPath)
11 |
[22/49] Compiling Common NeighborSequence.swift
[24/49] Compiling Common String+HTML.swift
[25/49] Compiling Common TimeInterval+Extensions.swift
[27/49] Compiling Bits Bytes+Percent.swift
[28/49] Compiling Common KeyPathAccessible+Array.swift
[29/49] Compiling Common KeyPathAccessible+Dictionary.swift
[30/49] Compiling Common Dictionary+Extensions.swift
[31/49] Compiling Common ErrorHandler.swift
[32/49] Compiling Common Result.swift
[33/49] Compiling Common String+Extensions.swift
[34/50] Emitting module Bits
[52/104] Emitting module Core
[53/106] Compiling Core WorkingDirectory.swift
[54/106] Compiling Models IDRepresentable.swift
[55/106] Compiling Models Nameable.swift
[56/106] Compiling Models TargetRepresentable.swift
[57/110] Compiling Models Exports.swift
[58/110] Compiling Models Group.swift
[59/110] Compiling Models IM.swift
[60/110] Compiling Models Message+Subtype.swift
[61/110] Compiling Core Result.swift
[62/110] Compiling Core Semaphore.swift
[63/110] Compiling Core Sequence.swift
[64/110] Compiling Core StaticDataBuffer.swift
[65/110] Compiling Core String+CaseInsensitiveCompare.swift
[66/110] Compiling Core String+Polymorphic.swift
[67/110] Compiling Core String.swift
[69/110] Compiling Core Extendable.swift
[70/110] Compiling Core FileProtocol.swift
[71/110] Compiling Core Int+Hex.swift
[72/110] Compiling Core Lock.swift
[73/110] Compiling Core Portal.swift
[74/110] Compiling Core RFC1123.swift
[75/110] Compiling Core DispatchTime+Utilities.swift
[76/110] Compiling Core EmptyInitializable.swift
[77/110] Compiling Core Exports.swift
[78/110] Compiling Core Collection+Safe.swift
[79/110] Compiling Core DataFile.swift
[80/110] Compiling Core Dispatch.swift
[81/110] Compiling Core Array.swift
[82/110] Compiling Core Bits.swift
[83/110] Compiling Core Cache.swift
[85/111] Compiling Models Team.swift
[86/111] Compiling Models Thread.swift
[87/111] Compiling Models Topic.swift
[88/111] Compiling Models User.swift
[89/196] Compiling Node Getters.swift
[90/196] Compiling Node Setters.swift
[91/196] Compiling Node Bool+Convertible.swift
[92/196] Compiling Node Date+Convertible.swift
[93/196] Compiling Node FloatingPoint+Convertible.swift
[94/196] Emitting module Models
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
[95/196] Emitting module Transport
[96/197] Compiling Node StructuredDataWrapper+Equatable.swift
[97/197] Compiling Node StructuredDataWrapper+Literals.swift
[98/197] Compiling Node StructuredDataWrapper+PathIndexable.swift
[99/197] Compiling Node StructuredDataWrapper+Polymorphic.swift
[100/201] Compiling Transport StreamError.swift
[101/201] Compiling Transport ReadableStream.swift
[102/201] Compiling Transport Stream.swift
[103/201] Compiling Node StructuredData+Equatable.swift
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
[104/201] Compiling Node StructuredData+Init.swift
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
[105/201] Compiling Node StructuredData+PathIndexable.swift
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
[106/201] Compiling Node StructuredData+Polymorphic.swift
/host/spi-builder-workspace/Sources/Models/ModelPointer.swift:38:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
36 |
37 | extension ModelPointer: Hashable {
38 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ModelPointer' to 'Hashable' by implementing 'hash(into:)' instead
39 | return id.hashValue
40 | }
[107/201] Compiling Node String+Convertible.swift
[108/201] Compiling Node UUID+Convertible.swift
[109/201] Compiling Node Optional+Convertible.swift
[110/201] Compiling Node Set+Convertible.swift
[111/201] Compiling Node Number.swift
[112/201] Compiling Node FuzzyConverter.swift
[113/201] Compiling Node Integer+Convertible.swift
[114/201] Compiling Node Schema+Convertible.swift
[115/201] Compiling Node SchemaWrapper+Convertible.swift
[116/201] Compiling Node NodeRepresentable.swift
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
[117/201] Compiling Node Array+Convertible.swift
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
[118/201] Compiling Node Dictionary+Convertible.swift
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
[119/201] Compiling Node Fuzzy+Any.swift
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:3:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1 |
2 | public extension Common.Decoder {
3 | public func pointer<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> ModelPointer<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
4 | let pointerId: String = try value(at: keyPath)
5 | return ModelPointer(id: pointerId)
/host/spi-builder-workspace/Sources/Models/Decoder+ModelPointer.swift:7:5: warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return ModelPointer(id: pointerId)
6 | }
7 | public func pointers<T: IDRepresentable>(at keyPath: [KeyPathComponent]) throws -> [ModelPointer<T>] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
8 | let pointerIds: [String] = try value(at: keyPath)
9 | return pointerIds.map(ModelPointer.init)
[120/202] Compiling Transport ServerStream.swift
[121/202] Compiling Transport FoundationStream.swift
[122/202] Compiling Random Exports.swift
[123/202] Compiling Random RandomProtocol.swift
[124/202] Compiling Random OSRandom.swift
[125/202] Compiling Random EmptyInitializable.swift
[126/202] Compiling Random URandom.swift
[127/202] Compiling Transport WriteableStream.swift
[134/203] Compiling Node StructuredData.swift
[135/203] Compiling Node StructuredDataWrapper+Cases.swift
[136/203] Compiling Node StructuredDataWrapper+Convenience.swift
[137/203] Emitting module Node
[139/203] Compiling Node UnsignedInteger+Convertible.swift
[140/203] Compiling Node Context.swift
[141/203] Compiling Node Node.swift
[142/203] Compiling Node NodeConvertible.swift
[143/203] Compiling Node NodeInitializable.swift
[146/207] Emitting module Random
[147/207] Compiling Random Array+Random.swift
[155/208] Compiling Console Bool+Polymorphic.swift
[156/208] Compiling Console String+Trim.swift
[157/208] Compiling Node Exports.swift
[158/208] Compiling Node Identifier.swift
[170/208] Emitting module Console
[205/208] Compiling Console Terminal+Command.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 | _pids.append(pid)
147 | let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- 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'
148 | if spawned != 0 {
149 | throw ConsoleError.spawnProcess
[206/208] Compiling Console Terminal.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 | _pids.append(pid)
147 | let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- 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'
148 | if spawned != 0 {
149 | throw ConsoleError.spawnProcess
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 | _pids.append(pid)
147 | let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- 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'
148 | if spawned != 0 {
149 | throw ConsoleError.spawnProcess
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 | _pids.append(pid)
147 | let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- 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'
148 | if spawned != 0 {
149 | throw ConsoleError.spawnProcess
BUILD FAILURE 6.1 linux