Build Information
Successful build of DockerSwift, reference main (011d2f
), with Swift 6.0 for Linux on 30 Nov 2024 08:15:32 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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
Build Log
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1109/1178] Compiling DockerSwift ListContainersEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1110/1178] Compiling DockerSwift PauseUnpauseContainerEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1111/1178] Compiling DockerSwift PruneContainersEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1112/1178] Compiling DockerSwift RemoveContainerEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1113/1178] Compiling DockerSwift RenameContainerEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1114/1178] Compiling DockerSwift StartContainerEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1115/1178] Compiling DockerSwift StopContainerEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1116/1178] Compiling DockerSwift UpdateContainerEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1117/1178] Compiling DockerSwift WaitContainerEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1118/1178] Compiling DockerSwift Endpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1119/1178] Compiling DockerSwift Filter.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1120/1178] Compiling DockerSwift BuildEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | func map(response: Response, tty: Bool) async throws -> AsyncThrowingStream<DockerLogEntry, Error> {
53 | return AsyncThrowingStream<DockerLogEntry, Error> { continuation in
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | for try await var buffer in response {
56 | let totalDataSize = buffer.readableBytes
:
61 | if tty {
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
| `- note: closure captures 'self' which is accessible to code in the current task
64 | continuation.yield(entry)
65 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Containers/GetContainerLogsEndpoint.swift:64:50: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
62 | do {
63 | for entry in try DockerStream.getEntryTty(buffer: &buffer, timestamps: timestamps) {
64 | continuation.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'entry' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
65 | }
66 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:63:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 | func map(response: Response, as: T.Type) async throws -> AsyncThrowingStream<T, Error> {
62 | return AsyncThrowingStream<T, Error> { continuation in
63 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for try await var buffer in response {
65 | let totalDataSize = buffer.readableBytes
:
78 | }
79 | do {
80 | let model = try decoder.decode(T.self, from: splat.first!)
| `- note: closure captures 'self' which is accessible to code in the current task
81 | continuation.yield(model)
82 | }
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Images/BuildEndpoint.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | func map(response: Response) async throws -> AsyncThrowingStream<BuildStreamOutput, Error> {
65 | return AsyncThrowingStream<BuildStreamOutput, Error> { continuation in
66 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | for try await var buffer in response {
68 | let totalDataSize = buffer.readableBytes
:
84 | let model: BuildStreamOutput!
85 | do {
86 | model = try decoder.decode(BuildStreamOutput.self, from: streamItem)
| `- note: closure captures 'self' which is accessible to code in the current task
87 | }
88 | catch(let error) {
[1121/1178] Emitting module DockerSwift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
[1122/1178] Compiling DockerSwift ContainerSummary.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1123/1178] Compiling DockerSwift ContainerTop.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1124/1178] Compiling DockerSwift ContainerUpdate.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1125/1178] Compiling DockerSwift ExposedPortSpec.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1126/1178] Compiling DockerSwift DockerError.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1127/1178] Compiling DockerSwift DockerScope.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1128/1178] Compiling DockerSwift DriverConfig.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1129/1178] Compiling DockerSwift Identifier.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1130/1178] Compiling DockerSwift Image.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1131/1178] Compiling DockerSwift ImageLayer.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1132/1178] Compiling DockerSwift ImageSummary.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1133/1178] Compiling DockerSwift LogEntry.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1134/1178] Compiling DockerSwift MessageResponse.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1135/1178] Compiling DockerSwift ContainerConnect.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1136/1178] Compiling DockerSwift IPAM.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1137/1178] Compiling DockerSwift Network.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1138/1178] Compiling DockerSwift NetworkSpec.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1139/1178] Compiling DockerSwift Plugin.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1140/1178] Compiling DockerSwift PluginPrivilege.swift
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerUpdate.swift:128:14: warning: 'kernelMemory' is deprecated
126 | self.deviceCgroupRules = deviceCgroupRules
127 | self.`init` = `init`
128 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
129 | self.kernelMemoryTcp = kernelMemoryTcp
130 | self.memoryLimit = memoryLimit
[1141/1178] Compiling DockerSwift RemoveVolumeEndpoint.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1142/1178] Compiling DockerSwift BetterCodable+WeirdDockerStrategy.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1143/1178] Compiling DockerSwift DockerStream.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1144/1178] Compiling DockerSwift HTTPClient+Codable.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1145/1178] Compiling DockerSwift HTTPClient+ExecuteOnSocket.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1146/1178] Compiling DockerSwift Helper+Codable.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1147/1178] Compiling DockerSwift OptionalWrapper.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1148/1178] Compiling DockerSwift UInt64.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1149/1178] Compiling DockerSwift BuildStreamOutput.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1150/1178] Compiling DockerSwift Buildconfig.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1151/1178] Compiling DockerSwift Config.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1152/1178] Compiling DockerSwift ConfigSpec.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1153/1178] Compiling DockerSwift Container.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1154/1178] Compiling DockerSwift ContainerAttach.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1155/1178] Compiling DockerSwift ContainerConfig.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1156/1178] Compiling DockerSwift ContainerFsChange.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1157/1178] Compiling DockerSwift ContainerHostConfig.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1158/1178] Compiling DockerSwift ContainerSpec.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1159/1178] Compiling DockerSwift ContainerStats.swift
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:51:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
49 | }
50 |
51 | private (set) internal var path: String
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
52 |
53 | private (set) internal var method: HTTPMethod = .GET
/host/spi-builder-workspace/Sources/DockerSwift/Endpoints/Endpoint.swift:53:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
51 | private (set) internal var path: String
52 |
53 | private (set) internal var method: HTTPMethod = .GET
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
54 |
55 | typealias Response = AsyncThrowingStream<ByteBuffer, Error>
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:69:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | return String(data: bodyData, encoding: .utf8) as! T
68 | }
69 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:82:24: warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | throw BodyError.noBodyData
81 | }
82 | return try map(string)
| |- warning: capture of 'map' with non-sendable type '(String) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | }
84 | }
/host/spi-builder-workspace/Sources/DockerSwift/Helper/HTTPClient+Codable.swift:99:24: warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 |
99 | return try decoder.decode(type, from: bodyData)
| `- warning: capture of 'decoder' with non-sendable type 'any Decoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
:
127 | }
128 |
129 | public protocol Decoder {
| `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
130 | func decode<T>(_ type: T.Type, from: Data) throws -> T where T : Decodable
131 | }
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:273:14: warning: 'kernelMemory' is deprecated
271 | self.ipcMode = ipcMode
272 | self.isolation = isolation
273 | self.kernelMemory = kernelMemory
| `- warning: 'kernelMemory' is deprecated
274 | self.kernelMemoryTcp = kernelMemoryTcp
275 | self.links = links
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:590:56: warning: expected member name or constructor call after type name; this will be an error in Swift 6
588 |
589 | public func encode(to encoder: Encoder) throws {
590 | var container = encoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
591 | try container.encode("\(self.hostPort)", forKey: .hostPort)
592 | try container.encode(self.hostIp, forKey: .hostIp)
/host/spi-builder-workspace/Sources/DockerSwift/Models/Container/ContainerHostConfig.swift:596:60: warning: expected member name or constructor call after type name; this will be an error in Swift 6
594 |
595 | public init(from decoder: Swift.Decoder) throws {
596 | let container = try decoder.container(keyedBy: Self.CodingKeys)
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
597 | self.hostIp = try container.decode(String.self, forKey: .hostIp)
598 | let portString = try? container.decode(String.self, forKey: .hostPort)
[1160/1178] Compiling DockerSwift RegistryAuth.swift
[1161/1178] Compiling DockerSwift Secret.swift
[1162/1178] Compiling DockerSwift SecretSpec.swift
[1163/1178] Compiling DockerSwift Service.swift
[1164/1178] Compiling DockerSwift ServiceEndpointSpec.swift
[1165/1178] Compiling DockerSwift ServiceRestartPolicy.swift
[1166/1178] Compiling DockerSwift ServiceSpec.swift
[1167/1178] Compiling DockerSwift SwarmConfig.swift
[1168/1178] Compiling DockerSwift SwarmJoin.swift
[1169/1178] Compiling DockerSwift SwarmNode.swift
[1170/1178] Compiling DockerSwift SwarmTask.swift
[1171/1178] Compiling DockerSwift DataUsageInformation.swift
[1172/1178] Compiling DockerSwift DockerEvent.swift
[1173/1178] Compiling DockerSwift DockerVersion.swift
[1174/1178] Compiling DockerSwift SystemInformation.swift
[1175/1178] Compiling DockerSwift UnixSignal.swift
[1176/1178] Compiling DockerSwift PrunedVolumes.swift
[1177/1178] Compiling DockerSwift Volume.swift
[1178/1178] Compiling DockerSwift VolumeSpec.swift
Build complete! (186.91s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.62.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.19.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "websocket-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.6.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/websocket-kit.git"
},
{
"identity" : "bettercodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/marksands/BetterCodable.git"
}
],
"manifest_display_name" : "DockerSwift",
"name" : "DockerSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "DockerSwift",
"targets" : [
"DockerSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DockerSwiftTests",
"module_type" : "SwiftTarget",
"name" : "DockerSwiftTests",
"path" : "Tests/DockerSwiftTests",
"sources" : [
"ConfigAndSecretTests.swift",
"ContainerTests.swift",
"ImageTests.swift",
"NetworkTests.swift",
"NodeTests.swift",
"PluginTests.swift",
"ServiceTests.swift",
"SwarmTests.swift",
"SystemTests.swift",
"TaskTests.swift",
"Utils/DockerClient+Testable.swift",
"VolumeTests.swift"
],
"target_dependencies" : [
"DockerSwift"
],
"type" : "test"
},
{
"c99name" : "DockerSwift",
"module_type" : "SwiftTarget",
"name" : "DockerSwift",
"path" : "Sources/DockerSwift",
"product_dependencies" : [
"NIO",
"AsyncHTTPClient",
"WebSocketKit",
"BetterCodable"
],
"product_memberships" : [
"DockerSwift"
],
"sources" : [
"APIs/DockerClient+Config.swift",
"APIs/DockerClient+Container.swift",
"APIs/DockerClient+Image.swift",
"APIs/DockerClient+Network.swift",
"APIs/DockerClient+Node.swift",
"APIs/DockerClient+Plugin.swift",
"APIs/DockerClient+Registry.swift",
"APIs/DockerClient+Secret.swift",
"APIs/DockerClient+Service.swift",
"APIs/DockerClient+Swarm.swift",
"APIs/DockerClient+System.swift",
"APIs/DockerClient+Task.swift",
"APIs/DockerClient+Volume.swift",
"APIs/DockerClient.swift",
"Endpoints/Configs/CreateConfigEndpoint.swift",
"Endpoints/Configs/InspectConfigEndpoint.swift",
"Endpoints/Configs/ListConfigsEndpoint.swift",
"Endpoints/Configs/RemoveConfigEndpoint.swift",
"Endpoints/Configs/UpdateConfigEndpoint.swift",
"Endpoints/Containers/ContainerAttachEndpoint.swift",
"Endpoints/Containers/ContainerTopEndpoint.swift",
"Endpoints/Containers/CreateContainerEndpoint.swift",
"Endpoints/Containers/GetContainerChangesEndpoint.swift",
"Endpoints/Containers/GetContainerLogsEndpoint.swift",
"Endpoints/Containers/GetContainerStatsEndpoint.swift",
"Endpoints/Containers/InspectContainerEndpoint.swift",
"Endpoints/Containers/KillContainerEndpoint.swift",
"Endpoints/Containers/ListContainersEndpoint.swift",
"Endpoints/Containers/PauseUnpauseContainerEndpoint.swift",
"Endpoints/Containers/PruneContainersEndpoint.swift",
"Endpoints/Containers/RemoveContainerEndpoint.swift",
"Endpoints/Containers/RenameContainerEndpoint.swift",
"Endpoints/Containers/StartContainerEndpoint.swift",
"Endpoints/Containers/StopContainerEndpoint.swift",
"Endpoints/Containers/UpdateContainerEndpoint.swift",
"Endpoints/Containers/WaitContainerEndpoint.swift",
"Endpoints/Endpoint.swift",
"Endpoints/Filter.swift",
"Endpoints/Images/BuildEndpoint.swift",
"Endpoints/Images/CommitContainerEndpoint.swift",
"Endpoints/Images/GetImageHistoryEndpoint.swift",
"Endpoints/Images/InspectImageEndpoint.swift",
"Endpoints/Images/ListImagesEndpoint.swift",
"Endpoints/Images/PruneImagesEndpoint.swift",
"Endpoints/Images/PullImageEndpoint.swift",
"Endpoints/Images/PushImageEndpoint.swift",
"Endpoints/Images/RemoveImageEndpoint.swift",
"Endpoints/Images/TagImageEndpoint.swift",
"Endpoints/Networks/ConnectContainerEndpoint.swift",
"Endpoints/Networks/CreateNetworkEndpoint.swift",
"Endpoints/Networks/DisconnectContainerEndpoint.swift",
"Endpoints/Networks/InspectNetworkEndpoint.swift",
"Endpoints/Networks/ListNetworksEndpoint.swift",
"Endpoints/Networks/PruneNetworksEndpoint.swift",
"Endpoints/Networks/RemoveNetworkEndpoint.swift",
"Endpoints/Nodes/DeleteNodeEndpoint.swift",
"Endpoints/Nodes/InspectNodeEndpoint.swift",
"Endpoints/Nodes/ListNodesEndpoint.swift",
"Endpoints/Nodes/UpdateNodeEndpoint.swift",
"Endpoints/Plugin/ConfigurePluginEndpoint.swift",
"Endpoints/Plugin/EnableDisablePluginEndpoint.swift",
"Endpoints/Plugin/GetPluginPrivilegesEndpoint.swift",
"Endpoints/Plugin/InspectPluginEndpoint.swift",
"Endpoints/Plugin/InstallPluginEndpoint.swift",
"Endpoints/Plugin/ListPluginsEndpoint.swift",
"Endpoints/Plugin/RemovePluginEndpoint.swift",
"Endpoints/Plugin/UpgradePluginEndpoint.swift",
"Endpoints/Registries/RegistryLoginEndpoint.swift",
"Endpoints/Secrets/CreateSecretEndpoint.swift",
"Endpoints/Secrets/InspectSecretEndpoint.swift",
"Endpoints/Secrets/ListSecretsEndpoint.swift",
"Endpoints/Secrets/RemoveSecretEndpoint.swift",
"Endpoints/Secrets/UpdateSecretEndpoint.swift",
"Endpoints/Services/CreateServiceEndpoint.swift",
"Endpoints/Services/GetServiceLogsEndpoint.swift",
"Endpoints/Services/InspectServiceEndpoint.swift",
"Endpoints/Services/ListServicesEndpoint.swift",
"Endpoints/Services/RemoveServiceEndpoint.swift",
"Endpoints/Services/UpdateServiceEndpoint.swift",
"Endpoints/Swarm/InitSwarmEndpoint.swift",
"Endpoints/Swarm/InspectSwarmEndpoint.swift",
"Endpoints/Swarm/JoinSwarmEndpoint.swift",
"Endpoints/Swarm/LeaveSwarmEndpoint.swift",
"Endpoints/Swarm/UpdateSwarmEndpoint.swift",
"Endpoints/System/DiskUsageInformationEndpoint.swift",
"Endpoints/System/GetEventsEndpoint.swift",
"Endpoints/System/PingEndpoint.swift",
"Endpoints/System/SystemInformationEndpoint.swift",
"Endpoints/System/VersionEndpoint.swift",
"Endpoints/Tasks/GetTaskLogsEndpoint.swift",
"Endpoints/Tasks/InspectTaskEndpoint.swift",
"Endpoints/Tasks/ListTasksEndpoint.swift",
"Endpoints/Volumes/CreateVolumeEndpoint.swift",
"Endpoints/Volumes/InspectVolumeEndpoint.swift",
"Endpoints/Volumes/ListVolumesEndpoint.swift",
"Endpoints/Volumes/PruneVolumesEndpoint.swift",
"Endpoints/Volumes/RemoveVolumeEndpoint.swift",
"Helper/BetterCodable+WeirdDockerStrategy.swift",
"Helper/DockerStream.swift",
"Helper/HTTPClient+Codable.swift",
"Helper/HTTPClient+ExecuteOnSocket.swift",
"Helper/Helper+Codable.swift",
"Helper/OptionalWrapper.swift",
"Helper/UInt64.swift",
"Models/Build/BuildStreamOutput.swift",
"Models/Build/Buildconfig.swift",
"Models/Config/Config.swift",
"Models/Config/ConfigSpec.swift",
"Models/Container/Container.swift",
"Models/Container/ContainerAttach.swift",
"Models/Container/ContainerConfig.swift",
"Models/Container/ContainerFsChange.swift",
"Models/Container/ContainerHostConfig.swift",
"Models/Container/ContainerSpec.swift",
"Models/Container/ContainerStats.swift",
"Models/Container/ContainerSummary.swift",
"Models/Container/ContainerTop.swift",
"Models/Container/ContainerUpdate.swift",
"Models/Container/ExposedPortSpec.swift",
"Models/DockerError.swift",
"Models/DockerScope.swift",
"Models/DriverConfig.swift",
"Models/Identifier.swift",
"Models/Image/Image.swift",
"Models/Image/ImageLayer.swift",
"Models/Image/ImageSummary.swift",
"Models/LogEntry.swift",
"Models/MessageResponse.swift",
"Models/Network/ContainerConnect.swift",
"Models/Network/IPAM.swift",
"Models/Network/Network.swift",
"Models/Network/NetworkSpec.swift",
"Models/Plugins/Plugin.swift",
"Models/Plugins/PluginPrivilege.swift",
"Models/Registry/RegistryAuth.swift",
"Models/Secret/Secret.swift",
"Models/Secret/SecretSpec.swift",
"Models/Service/Service.swift",
"Models/Service/ServiceEndpointSpec.swift",
"Models/Service/ServiceRestartPolicy.swift",
"Models/Service/ServiceSpec.swift",
"Models/Swarm/SwarmConfig.swift",
"Models/Swarm/SwarmJoin.swift",
"Models/Swarm/SwarmNode.swift",
"Models/Swarm/SwarmTask.swift",
"Models/System/DataUsageInformation.swift",
"Models/System/DockerEvent.swift",
"Models/System/DockerVersion.swift",
"Models/System/SystemInformation.swift",
"Models/UnixSignal.swift",
"Models/Volume/PrunedVolumes.swift",
"Models/Volume/Volume.swift",
"Models/Volume/VolumeSpec.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.