Build Information
Successful build of AnyPropertyMapping, reference master (518f7b
), with Swift 6.1 for Linux on 26 Apr 2025 19:39:35 UTC.
Swift 6 data race errors: 18
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/snofla/AnyPropertyMapping.git
Reference: master
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/snofla/AnyPropertyMapping
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 518f7ba Merge pull request #4 from snofla/features/1.1.3-minor-fixes
Cloned https://github.com/snofla/AnyPropertyMapping.git
Revision (git rev-parse @):
518f7ba286fc2f35e40f8c0964393468fb2b0042
SUCCESS checkout https://github.com/snofla/AnyPropertyMapping.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/snofla/AnyPropertyMapping.git
https://github.com/snofla/AnyPropertyMapping.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "AnyPropertyMapping",
"name" : "AnyPropertyMapping",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "AnyPropertyMapping",
"targets" : [
"AnyPropertyMapping"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AnyPropertyMappingTests",
"module_type" : "SwiftTarget",
"name" : "AnyPropertyMappingTests",
"path" : "Tests/AnyPropertyMappingTests",
"sources" : [
"AnyPropertyMappingTests.swift",
"AnyPropertyMappingTransformTests.swift",
"AnyPropertyMappingTypeSafetyTests.swift",
"_Definitions.swift"
],
"target_dependencies" : [
"AnyPropertyMapping"
],
"type" : "test"
},
{
"c99name" : "AnyPropertyMapping",
"module_type" : "SwiftTarget",
"name" : "AnyPropertyMapping",
"path" : "Sources/AnyPropertyMapping",
"product_memberships" : [
"AnyPropertyMapping"
],
"sources" : [
"AnyPropertyMapping.swift",
"Array+AnyPropertyMapping.swift",
"DefaultConstuctable.swift",
"PropertyMapping+Box.swift",
"PropertyMapping+Privates.swift",
"PropertyMapping+TransformerBox.swift",
"PropertyMapping+_Swift 5.5_.swift",
"PropertyMapping.swift",
"PropertyMappingBox+Privates.swift",
"PropertyMappingBox.swift",
"PropertyTransformer+Privates.swift",
"PropertyTransformer.swift",
"PropertyTransformers.swift",
"Sequence+PropertyMapping.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling AnyPropertyMapping PropertyTransformers.swift
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyTransformers.swift:33:23: warning: static property 'intString' is not concurrency-safe because non-'Sendable' type 'PropertyTransformer<Int, String>' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Converts a string to an int and vice versa
33 | public static let intString = PropertyTransformer<Int, String>.init { string in
| |- warning: static property 'intString' is not concurrency-safe because non-'Sendable' type 'PropertyTransformer<Int, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | guard let int = Int(string) else {
35 | throw PropertyTransformerError.invalidTransformation
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyTransformer.swift:20:15: note: consider making generic struct 'PropertyTransformer' conform to the 'Sendable' protocol
18 |
19 |
20 | public struct PropertyTransformer<LhsValue, RhsValue>: _AnyPropertyTransformer, _AnyPropertyTransformerOperations {
| `- note: consider making generic struct 'PropertyTransformer' conform to the 'Sendable' protocol
21 |
22 | /// Construct a transformer with `adapt` and `apply` functions.
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyTransformers.swift:43:23: warning: static property 'intDouble' is not concurrency-safe because non-'Sendable' type 'PropertyTransformer<Int, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// Converts a double to an int
43 | public static let intDouble = PropertyTransformer<Int, Double>.init { double in
| |- warning: static property 'intDouble' is not concurrency-safe because non-'Sendable' type 'PropertyTransformer<Int, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intDouble' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | return Int(double.rounded())
45 | } apply: { int in
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyTransformer.swift:20:15: note: consider making generic struct 'PropertyTransformer' conform to the 'Sendable' protocol
18 |
19 |
20 | public struct PropertyTransformer<LhsValue, RhsValue>: _AnyPropertyTransformer, _AnyPropertyTransformerOperations {
| `- note: consider making generic struct 'PropertyTransformer' conform to the 'Sendable' protocol
21 |
22 | /// Construct a transformer with `adapt` and `apply` functions.
[4/17] Compiling AnyPropertyMapping PropertyTransformer+Privates.swift
[5/17] Compiling AnyPropertyMapping PropertyTransformer.swift
[6/17] Compiling AnyPropertyMapping PropertyMappingBox+Privates.swift
[7/17] Compiling AnyPropertyMapping PropertyMappingBox.swift
[8/17] Compiling AnyPropertyMapping PropertyMapping+_Swift 5.5_.swift
[9/17] Compiling AnyPropertyMapping PropertyMapping.swift
[10/17] Compiling AnyPropertyMapping PropertyMapping+Privates.swift
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:13:47: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | extension PropertyMapping {
12 |
13 | struct _PropertyMappingTransformerBoxAsIs<L: AnyObject, R: AnyObject, LV: Equatable, RV: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 |
15 | typealias Left = L
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:13:61: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | extension PropertyMapping {
12 |
13 | struct _PropertyMappingTransformerBoxAsIs<L: AnyObject, R: AnyObject, LV: Equatable, RV: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 |
15 | typealias Left = L
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:75:59: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
73 |
74 |
75 | final class _PropertyMappingTransformerBoxOptionalLhs<L: AnyObject, R: AnyObject, LV: Equatable & DefaultConstructable, RV: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
76 |
77 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:75:73: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
73 |
74 |
75 | final class _PropertyMappingTransformerBoxOptionalLhs<L: AnyObject, R: AnyObject, LV: Equatable & DefaultConstructable, RV: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
76 |
77 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:149:59: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
147 |
148 |
149 | final class _PropertyMappingTransformerBoxOptionalRhs<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
150 |
151 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:149:73: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
147 |
148 |
149 | final class _PropertyMappingTransformerBoxOptionalRhs<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
150 |
151 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:222:60: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
220 |
221 |
222 | final class _PropertyMappingTransformerBoxOptionalBoth<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
223 |
224 | typealias Left = _PropertyMappingTransformerBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:222:74: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
220 |
221 |
222 | final class _PropertyMappingTransformerBoxOptionalBoth<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
223 |
224 | typealias Left = _PropertyMappingTransformerBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
[11/17] Compiling AnyPropertyMapping PropertyMapping+TransformerBox.swift
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:13:47: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | extension PropertyMapping {
12 |
13 | struct _PropertyMappingTransformerBoxAsIs<L: AnyObject, R: AnyObject, LV: Equatable, RV: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 |
15 | typealias Left = L
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:13:61: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | extension PropertyMapping {
12 |
13 | struct _PropertyMappingTransformerBoxAsIs<L: AnyObject, R: AnyObject, LV: Equatable, RV: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 |
15 | typealias Left = L
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:75:59: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
73 |
74 |
75 | final class _PropertyMappingTransformerBoxOptionalLhs<L: AnyObject, R: AnyObject, LV: Equatable & DefaultConstructable, RV: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
76 |
77 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:75:73: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
73 |
74 |
75 | final class _PropertyMappingTransformerBoxOptionalLhs<L: AnyObject, R: AnyObject, LV: Equatable & DefaultConstructable, RV: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
76 |
77 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:149:59: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
147 |
148 |
149 | final class _PropertyMappingTransformerBoxOptionalRhs<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
150 |
151 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:149:73: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
147 |
148 |
149 | final class _PropertyMappingTransformerBoxOptionalRhs<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
150 |
151 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:222:60: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
220 |
221 |
222 | final class _PropertyMappingTransformerBoxOptionalBoth<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
223 |
224 | typealias Left = _PropertyMappingTransformerBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:222:74: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
220 |
221 |
222 | final class _PropertyMappingTransformerBoxOptionalBoth<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
223 |
224 | typealias Left = _PropertyMappingTransformerBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
[12/17] Compiling AnyPropertyMapping AnyPropertyMapping.swift
[13/17] Compiling AnyPropertyMapping Array+AnyPropertyMapping.swift
[14/17] Compiling AnyPropertyMapping DefaultConstuctable.swift
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:15:36: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | // As-is box, with either L and R *both* non-optional.
14 | // Operations adapt, apply, differs are implemented by PropertyMappingBox default extension methods.
15 | struct _PropertyMappingBoxAsIs<L: AnyObject, R: AnyObject, V: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
16 | typealias Left = L
17 | typealias Right = R
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:15:50: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | // As-is box, with either L and R *both* non-optional.
14 | // Operations adapt, apply, differs are implemented by PropertyMappingBox default extension methods.
15 | struct _PropertyMappingBoxAsIs<L: AnyObject, R: AnyObject, V: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
16 | typealias Left = L
17 | typealias Right = R
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:51:48: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | // Note that the Left associated type points to the class it self, whereas
50 | // the L generic parameter is used as an lhs to adapt/apply/differ.
51 | final class _PropertyMappingBoxOptionalLhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 |
53 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:51:62: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | // Note that the Left associated type points to the class it self, whereas
50 | // the L generic parameter is used as an lhs to adapt/apply/differ.
51 | final class _PropertyMappingBoxOptionalLhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 |
53 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:115:48: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
113 |
114 | // Box for when right-hand side is an optional
115 | final class _PropertyMappingBoxOptionalRhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
116 |
117 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:115:62: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
113 |
114 | // Box for when right-hand side is an optional
115 | final class _PropertyMappingBoxOptionalRhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
116 |
117 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:175:49: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
173 |
174 | /// Class handling the case were both LHS and RHS values are optional types.
175 | final class _PropertyMappingBoxOptionalBoth<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |
177 | typealias Left = _PropertyMappingBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:175:63: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
173 |
174 | /// Class handling the case were both LHS and RHS values are optional types.
175 | final class _PropertyMappingBoxOptionalBoth<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |
177 | typealias Left = _PropertyMappingBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
[15/17] Compiling AnyPropertyMapping PropertyMapping+Box.swift
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:15:36: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | // As-is box, with either L and R *both* non-optional.
14 | // Operations adapt, apply, differs are implemented by PropertyMappingBox default extension methods.
15 | struct _PropertyMappingBoxAsIs<L: AnyObject, R: AnyObject, V: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
16 | typealias Left = L
17 | typealias Right = R
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:15:50: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | // As-is box, with either L and R *both* non-optional.
14 | // Operations adapt, apply, differs are implemented by PropertyMappingBox default extension methods.
15 | struct _PropertyMappingBoxAsIs<L: AnyObject, R: AnyObject, V: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
16 | typealias Left = L
17 | typealias Right = R
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:51:48: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | // Note that the Left associated type points to the class it self, whereas
50 | // the L generic parameter is used as an lhs to adapt/apply/differ.
51 | final class _PropertyMappingBoxOptionalLhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 |
53 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:51:62: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | // Note that the Left associated type points to the class it self, whereas
50 | // the L generic parameter is used as an lhs to adapt/apply/differ.
51 | final class _PropertyMappingBoxOptionalLhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 |
53 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:115:48: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
113 |
114 | // Box for when right-hand side is an optional
115 | final class _PropertyMappingBoxOptionalRhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
116 |
117 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:115:62: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
113 |
114 | // Box for when right-hand side is an optional
115 | final class _PropertyMappingBoxOptionalRhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
116 |
117 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:175:49: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
173 |
174 | /// Class handling the case were both LHS and RHS values are optional types.
175 | final class _PropertyMappingBoxOptionalBoth<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |
177 | typealias Left = _PropertyMappingBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:175:63: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
173 |
174 | /// Class handling the case were both LHS and RHS values are optional types.
175 | final class _PropertyMappingBoxOptionalBoth<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |
177 | typealias Left = _PropertyMappingBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
[16/17] Emitting module AnyPropertyMapping
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:15:36: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | // As-is box, with either L and R *both* non-optional.
14 | // Operations adapt, apply, differs are implemented by PropertyMappingBox default extension methods.
15 | struct _PropertyMappingBoxAsIs<L: AnyObject, R: AnyObject, V: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
16 | typealias Left = L
17 | typealias Right = R
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:15:50: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | // As-is box, with either L and R *both* non-optional.
14 | // Operations adapt, apply, differs are implemented by PropertyMappingBox default extension methods.
15 | struct _PropertyMappingBoxAsIs<L: AnyObject, R: AnyObject, V: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
16 | typealias Left = L
17 | typealias Right = R
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:51:48: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | // Note that the Left associated type points to the class it self, whereas
50 | // the L generic parameter is used as an lhs to adapt/apply/differ.
51 | final class _PropertyMappingBoxOptionalLhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 |
53 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:51:62: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | // Note that the Left associated type points to the class it self, whereas
50 | // the L generic parameter is used as an lhs to adapt/apply/differ.
51 | final class _PropertyMappingBoxOptionalLhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 |
53 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:115:48: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
113 |
114 | // Box for when right-hand side is an optional
115 | final class _PropertyMappingBoxOptionalRhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
116 |
117 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:115:62: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
113 |
114 | // Box for when right-hand side is an optional
115 | final class _PropertyMappingBoxOptionalRhs<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
116 |
117 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:175:49: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
173 |
174 | /// Class handling the case were both LHS and RHS values are optional types.
175 | final class _PropertyMappingBoxOptionalBoth<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |
177 | typealias Left = _PropertyMappingBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+Box.swift:175:63: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
173 |
174 | /// Class handling the case were both LHS and RHS values are optional types.
175 | final class _PropertyMappingBoxOptionalBoth<L: AnyObject, R: AnyObject, V: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |
177 | typealias Left = _PropertyMappingBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:13:47: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | extension PropertyMapping {
12 |
13 | struct _PropertyMappingTransformerBoxAsIs<L: AnyObject, R: AnyObject, LV: Equatable, RV: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 |
15 | typealias Left = L
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:13:61: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | extension PropertyMapping {
12 |
13 | struct _PropertyMappingTransformerBoxAsIs<L: AnyObject, R: AnyObject, LV: Equatable, RV: Equatable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 |
15 | typealias Left = L
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:75:59: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
73 |
74 |
75 | final class _PropertyMappingTransformerBoxOptionalLhs<L: AnyObject, R: AnyObject, LV: Equatable & DefaultConstructable, RV: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
76 |
77 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:75:73: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
73 |
74 |
75 | final class _PropertyMappingTransformerBoxOptionalLhs<L: AnyObject, R: AnyObject, LV: Equatable & DefaultConstructable, RV: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
76 |
77 | // For the LHS we don't want to use L, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:149:59: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
147 |
148 |
149 | final class _PropertyMappingTransformerBoxOptionalRhs<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
150 |
151 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:149:73: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
147 |
148 |
149 | final class _PropertyMappingTransformerBoxOptionalRhs<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
150 |
151 | // For the RHS we don't want to use R, because that would mean that
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:222:60: warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
220 |
221 |
222 | final class _PropertyMappingTransformerBoxOptionalBoth<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'L' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
223 |
224 | typealias Left = _PropertyMappingTransformerBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:36: note: 'L' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'L' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping+TransformerBox.swift:222:74: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
220 |
221 |
222 | final class _PropertyMappingTransformerBoxOptionalBoth<L: AnyObject, R: AnyObject, LValue: Equatable & DefaultConstructable, RValue: Equatable & DefaultConstructable>: _PropertyMappingBox {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
223 |
224 | typealias Left = _PropertyMappingTransformerBoxOptionalBoth
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyMapping.swift:13:50: note: 'R' previously declared here
11 | /// a concrete generic implementation. Swift's type inference will make sure the correct
12 | /// constructor is chosen depending on the use of the class.
13 | public final class PropertyMapping<L: AnyObject, R: AnyObject>: AnyPropertyMapping {
| `- note: 'R' previously declared here
14 |
15 | // Implementation: we forward operations to a box class,
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyTransformers.swift:33:23: warning: static property 'intString' is not concurrency-safe because non-'Sendable' type 'PropertyTransformer<Int, String>' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Converts a string to an int and vice versa
33 | public static let intString = PropertyTransformer<Int, String>.init { string in
| |- warning: static property 'intString' is not concurrency-safe because non-'Sendable' type 'PropertyTransformer<Int, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | guard let int = Int(string) else {
35 | throw PropertyTransformerError.invalidTransformation
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyTransformer.swift:20:15: note: consider making generic struct 'PropertyTransformer' conform to the 'Sendable' protocol
18 |
19 |
20 | public struct PropertyTransformer<LhsValue, RhsValue>: _AnyPropertyTransformer, _AnyPropertyTransformerOperations {
| `- note: consider making generic struct 'PropertyTransformer' conform to the 'Sendable' protocol
21 |
22 | /// Construct a transformer with `adapt` and `apply` functions.
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyTransformers.swift:43:23: warning: static property 'intDouble' is not concurrency-safe because non-'Sendable' type 'PropertyTransformer<Int, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// Converts a double to an int
43 | public static let intDouble = PropertyTransformer<Int, Double>.init { double in
| |- warning: static property 'intDouble' is not concurrency-safe because non-'Sendable' type 'PropertyTransformer<Int, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intDouble' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | return Int(double.rounded())
45 | } apply: { int in
/host/spi-builder-workspace/Sources/AnyPropertyMapping/PropertyTransformer.swift:20:15: note: consider making generic struct 'PropertyTransformer' conform to the 'Sendable' protocol
18 |
19 |
20 | public struct PropertyTransformer<LhsValue, RhsValue>: _AnyPropertyTransformer, _AnyPropertyTransformerOperations {
| `- note: consider making generic struct 'PropertyTransformer' conform to the 'Sendable' protocol
21 |
22 | /// Construct a transformer with `adapt` and `apply` functions.
[17/17] Compiling AnyPropertyMapping Sequence+PropertyMapping.swift
Build complete! (7.95s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AnyPropertyMapping",
"name" : "AnyPropertyMapping",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "AnyPropertyMapping",
"targets" : [
"AnyPropertyMapping"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AnyPropertyMappingTests",
"module_type" : "SwiftTarget",
"name" : "AnyPropertyMappingTests",
"path" : "Tests/AnyPropertyMappingTests",
"sources" : [
"AnyPropertyMappingTests.swift",
"AnyPropertyMappingTransformTests.swift",
"AnyPropertyMappingTypeSafetyTests.swift",
"_Definitions.swift"
],
"target_dependencies" : [
"AnyPropertyMapping"
],
"type" : "test"
},
{
"c99name" : "AnyPropertyMapping",
"module_type" : "SwiftTarget",
"name" : "AnyPropertyMapping",
"path" : "Sources/AnyPropertyMapping",
"product_memberships" : [
"AnyPropertyMapping"
],
"sources" : [
"AnyPropertyMapping.swift",
"Array+AnyPropertyMapping.swift",
"DefaultConstuctable.swift",
"PropertyMapping+Box.swift",
"PropertyMapping+Privates.swift",
"PropertyMapping+TransformerBox.swift",
"PropertyMapping+_Swift 5.5_.swift",
"PropertyMapping.swift",
"PropertyMappingBox+Privates.swift",
"PropertyMappingBox.swift",
"PropertyTransformer+Privates.swift",
"PropertyTransformer.swift",
"PropertyTransformers.swift",
"Sequence+PropertyMapping.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.