Build Information
Successful build of deep-codable, reference main (079afb
), with Swift 6.0 for Linux on 2 Nov 2024 14:10:07 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MPLew-is/deep-codable.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/MPLew-is/deep-codable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 079afbc Merge pull request #1 from MPLew-is/flattened-intermediate-keys
Cloned https://github.com/MPLew-is/deep-codable.git
Revision (git rev-parse @):
079afbc0f7667299d58eae076224abbc7f677a4f
SUCCESS checkout https://github.com/MPLew-is/deep-codable.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/MPLew-is/deep-codable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling DeepCodable Codable.swift
[4/9] Emitting module DeepCodable
/host/spi-builder-workspace/Sources/DeepCodable/Tree.swift:20:28: warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ```
16 | */
17 | public struct DeepCodingTree<Root> {
| `- note: 'Root' previously declared here
18 | /// Helper object to enable result builder syntax for defining a coding tree
19 | @resultBuilder
20 | public struct TreeBuilder<Root> {
| `- warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 | /// Shortcut alias for the type of a node in the tree
22 | public typealias Node = DeepCodingNode<Root>
/host/spi-builder-workspace/Sources/DeepCodable/Value.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
5 | */
6 | @propertyWrapper
7 | public struct DeepCodingValue<Value> {
| `- note: 'Value' previously declared here
8 | /**
9 | Simple reference-semantics storage container for the property wrapper, to sidestep `KeyPath` limitations
:
14 | By storing a reference to a class (and declaring the `set` implementation on `wrappedValue` as `nonmutating`), we can successfully write values to the underlying storage without mutating the actual wrapper struct, thus giving our users a simpler interface for declaring values to decode.
15 | */
16 | fileprivate class Storage<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// Simple enum indicating the storage's initialization state
18 | fileprivate enum Wrapped<Value> {
/host/spi-builder-workspace/Sources/DeepCodable/Value.swift:18:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
5 | */
6 | @propertyWrapper
7 | public struct DeepCodingValue<Value> {
| `- note: 'Value' previously declared here
8 | /**
9 | Simple reference-semantics storage container for the property wrapper, to sidestep `KeyPath` limitations
:
16 | fileprivate class Storage<Value> {
17 | /// Simple enum indicating the storage's initialization state
18 | fileprivate enum Wrapped<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | case empty
20 | case value(Value)
[5/9] Compiling DeepCodable Decodable.swift
[6/9] Compiling DeepCodable Encodable.swift
[7/9] Compiling DeepCodable Value.swift
/host/spi-builder-workspace/Sources/DeepCodable/Value.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
5 | */
6 | @propertyWrapper
7 | public struct DeepCodingValue<Value> {
| `- note: 'Value' previously declared here
8 | /**
9 | Simple reference-semantics storage container for the property wrapper, to sidestep `KeyPath` limitations
:
14 | By storing a reference to a class (and declaring the `set` implementation on `wrappedValue` as `nonmutating`), we can successfully write values to the underlying storage without mutating the actual wrapper struct, thus giving our users a simpler interface for declaring values to decode.
15 | */
16 | fileprivate class Storage<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// Simple enum indicating the storage's initialization state
18 | fileprivate enum Wrapped<Value> {
/host/spi-builder-workspace/Sources/DeepCodable/Value.swift:18:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
5 | */
6 | @propertyWrapper
7 | public struct DeepCodingValue<Value> {
| `- note: 'Value' previously declared here
8 | /**
9 | Simple reference-semantics storage container for the property wrapper, to sidestep `KeyPath` limitations
:
16 | fileprivate class Storage<Value> {
17 | /// Simple enum indicating the storage's initialization state
18 | fileprivate enum Wrapped<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | case empty
20 | case value(Value)
[8/9] Compiling DeepCodable Node.swift
[9/9] Compiling DeepCodable Tree.swift
/host/spi-builder-workspace/Sources/DeepCodable/Tree.swift:20:28: warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ```
16 | */
17 | public struct DeepCodingTree<Root> {
| `- note: 'Root' previously declared here
18 | /// Helper object to enable result builder syntax for defining a coding tree
19 | @resultBuilder
20 | public struct TreeBuilder<Root> {
| `- warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 | /// Shortcut alias for the type of a node in the tree
22 | public typealias Node = DeepCodingNode<Root>
Build complete! (4.68s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "deep-codable",
"name" : "deep-codable",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DeepCodable",
"targets" : [
"DeepCodable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DeepCodableTests",
"module_type" : "SwiftTarget",
"name" : "DeepCodableTests",
"path" : "Tests/DeepCodableTests",
"sources" : [
"BareEncodingTests.swift",
"DecodingTests.swift",
"RealWorldDecodingTests.swift",
"WrappedEncodingTests.swift"
],
"target_dependencies" : [
"DeepCodable"
],
"type" : "test"
},
{
"c99name" : "DeepCodable",
"module_type" : "SwiftTarget",
"name" : "DeepCodable",
"path" : "Sources/DeepCodable",
"product_memberships" : [
"DeepCodable"
],
"sources" : [
"Codable.swift",
"Decodable.swift",
"Encodable.swift",
"Node.swift",
"Tree.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
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.