Build Information
Successful build of skip-bridge, reference main (a0d3b1
), with Swift 6.1 for macOS (SPM) on 27 Jun 2025 22:30:29 UTC.
Swift 6 data race errors: 103
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
| |- note: add '@MainActor' to make var 'kotlinOptionalInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:80:12: warning: var 'kotlinOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
| |- warning: var 'kotlinOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:81:12: warning: var 'kotlinOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
| |- warning: var 'kotlinOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:82:12: warning: var 'kotlinOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
| |- warning: var 'kotlinOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:83:12: warning: var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
| |- warning: var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:84:12: warning: var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
| |- warning: var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:85:12: warning: var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:86:12: warning: var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:87:12: warning: var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:88:12: warning: var 'kotlinOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
| |- warning: var 'kotlinOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:89:12: warning: var 'kotlinOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
| |- warning: var 'kotlinOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
91 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:90:12: warning: var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
| |- warning: var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalSwiftClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalSwiftClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | // MARK: Global computed vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:125:23: warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | public class KotlinClass {
124 | public static let staticIntConstant = 1
125 | public static var staticIntVar = 1
| |- warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | public static func staticFunc(string: String) -> String {
127 | return "kotlin" + string
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:369:12: warning: var 'kotlinClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
367 | // MARK: Closures
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
| |- warning: var 'kotlinClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure0Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure0Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:370:12: warning: var 'kotlinClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
| |- warning: var 'kotlinClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:371:12: warning: var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| |- warning: var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1PrimitivesVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1PrimitivesVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
373 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:372:12: warning: var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| |- warning: var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1OptionalsVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1OptionalsVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |
374 | // MARK: Containers
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:376:12: warning: var 'kotlinIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
374 | // MARK: Containers
375 |
376 | public var kotlinIntArrayVar = [1, 2, 3]
| |- warning: var 'kotlinIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntArrayVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntArrayVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:377:12: warning: var 'kotlinStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
375 |
376 | public var kotlinIntArrayVar = [1, 2, 3]
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
| |- warning: var 'kotlinStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinStringSetVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinStringSetVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:378:12: warning: var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
376 | public var kotlinIntArrayVar = [1, 2, 3]
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
| |- warning: var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntStringDictionaryVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntStringDictionaryVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:379:12: warning: var 'kotlinIntStringTupleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
| |- warning: var 'kotlinIntStringTupleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntStringTupleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntStringTupleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
381 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:380:12: warning: var 'kotlinIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
| |- warning: var 'kotlinIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntErrorResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntErrorResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
381 |
382 | // MARK: Functions
[173/178] Compiling SkipBridgeToSwiftSamples Samples.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:25:12: warning: let 'kotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public let kotlinUnsignedIntConstant = UInt(3_000_000_000)
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
| |- warning: let 'kotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
27 |
:
160 | }
161 |
162 | public final class KotlinHelperClass: KotlinProtocol, KotlinGenericProtocol, Comparable, Identifiable {
| `- note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
163 | public var id: String {
164 | return stringVar
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:26:12: warning: let 'kotlinSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
| `- warning: let 'kotlinSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | // MARK: Global optional constants
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesHelpers/Helpers.swift:3:14: note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
1 | // Copyright 2024–2025 Skip
2 | // SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
3 | public class SwiftHelperClass: SwiftProtocol {
| `- note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
4 | public var id: String {
5 | return stringVar
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SkipBridgeToSwiftSamplesHelpers'
4 |
5 | import Foundation
6 | import SkipBridgeToSwiftSamplesHelpers
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SkipBridgeToSwiftSamplesHelpers'
7 |
8 | // MARK: Global constants
:
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
| |- note: add '@MainActor' to make let 'kotlinSwiftClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: Global optional constants
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:45:12: warning: let 'kotlinOptionalClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
43 | public let kotlinOptionalUnsignedIntConstant: UInt? = UInt(3_000_000_000)
44 | public let kotlinOptionalStringConstant: String? = "s"
45 | public let kotlinOptionalClassConstant: KotlinHelperClass? = KotlinHelperClass()
| |- warning: let 'kotlinOptionalClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinOptionalClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public let kotlinOptionalSwiftClassConstant: SwiftHelperClass? = SwiftHelperClass()
47 |
:
160 | }
161 |
162 | public final class KotlinHelperClass: KotlinProtocol, KotlinGenericProtocol, Comparable, Identifiable {
| `- note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
163 | public var id: String {
164 | return stringVar
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:46:12: warning: let 'kotlinOptionalSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
44 | public let kotlinOptionalStringConstant: String? = "s"
45 | public let kotlinOptionalClassConstant: KotlinHelperClass? = KotlinHelperClass()
46 | public let kotlinOptionalSwiftClassConstant: SwiftHelperClass? = SwiftHelperClass()
| |- warning: let 'kotlinOptionalSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinOptionalSwiftClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | // MARK: Global vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesHelpers/Helpers.swift:3:14: note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
1 | // Copyright 2024–2025 Skip
2 | // SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
3 | public class SwiftHelperClass: SwiftProtocol {
| `- note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
4 | public var id: String {
5 | return stringVar
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:50:12: warning: var 'kotlinBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | // MARK: Global vars
49 |
50 | public var kotlinBoolVar = true
| |- warning: var 'kotlinBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinBoolVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinBoolVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:52:12: warning: var 'kotlinDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public var kotlinBoolVar = true
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
| |- warning: var 'kotlinDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinDoubleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinDoubleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:53:12: warning: var 'kotlinFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
| |- warning: var 'kotlinFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinFloatVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinFloatVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:54:12: warning: var 'kotlinInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
| |- warning: var 'kotlinInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:55:12: warning: var 'kotlinInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
| |- warning: var 'kotlinInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:56:12: warning: var 'kotlinInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
| |- warning: var 'kotlinInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:57:12: warning: var 'kotlinInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
| |- warning: var 'kotlinInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:58:12: warning: var 'kotlinIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
| |- warning: var 'kotlinIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:59:12: warning: var 'kotlinUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
| |- warning: var 'kotlinUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:60:12: warning: var 'kotlinUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
| |- warning: var 'kotlinUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:61:12: warning: var 'kotlinUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
| |- warning: var 'kotlinUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:62:12: warning: var 'kotlinUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
| |- warning: var 'kotlinUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:63:12: warning: var 'kotlinUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
| |- warning: var 'kotlinUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:64:12: warning: var 'kotlinStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
| |- warning: var 'kotlinStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:65:12: warning: var 'kotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
| |- warning: var 'kotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:66:12: warning: var 'kotlinBaseClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
| |- warning: var 'kotlinBaseClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinBaseClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinBaseClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:67:12: warning: var 'kotlinInnerClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
| |- warning: var 'kotlinInnerClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInnerClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInnerClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:68:12: warning: var 'kotlinSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
| |- warning: var 'kotlinSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinSwiftClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinSwiftClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public var kotlinAnyVar: Any = "a"
70 | public var kotlinAnyHashableVar: AnyHashable = 1
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:69:12: warning: var 'kotlinAnyVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
| |- warning: var 'kotlinAnyVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinAnyVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinAnyVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public var kotlinAnyHashableVar: AnyHashable = 1
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:70:12: warning: var 'kotlinAnyHashableVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
70 | public var kotlinAnyHashableVar: AnyHashable = 1
| |- warning: var 'kotlinAnyHashableVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinAnyHashableVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinAnyHashableVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | // MARK: Global optional vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:74:12: warning: var 'kotlinOptionalBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | // MARK: Global optional vars
73 |
74 | public var kotlinOptionalBoolVar: Bool? = true
| |- warning: var 'kotlinOptionalBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalBoolVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalBoolVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:76:12: warning: var 'kotlinOptionalDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | public var kotlinOptionalBoolVar: Bool? = true
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
| |- warning: var 'kotlinOptionalDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalDoubleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalDoubleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:77:12: warning: var 'kotlinOptionalFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
| |- warning: var 'kotlinOptionalFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalFloatVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalFloatVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:78:12: warning: var 'kotlinOptionalInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
| |- warning: var 'kotlinOptionalInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:79:12: warning: var 'kotlinOptionalInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
| |- warning: var 'kotlinOptionalInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:80:12: warning: var 'kotlinOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
| |- warning: var 'kotlinOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:81:12: warning: var 'kotlinOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
| |- warning: var 'kotlinOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:82:12: warning: var 'kotlinOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
| |- warning: var 'kotlinOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:83:12: warning: var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
| |- warning: var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:84:12: warning: var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
| |- warning: var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:85:12: warning: var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:86:12: warning: var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:87:12: warning: var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:88:12: warning: var 'kotlinOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
| |- warning: var 'kotlinOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:89:12: warning: var 'kotlinOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
| |- warning: var 'kotlinOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
91 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:90:12: warning: var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
| |- warning: var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalSwiftClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalSwiftClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | // MARK: Global computed vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:125:23: warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | public class KotlinClass {
124 | public static let staticIntConstant = 1
125 | public static var staticIntVar = 1
| |- warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | public static func staticFunc(string: String) -> String {
127 | return "kotlin" + string
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:369:12: warning: var 'kotlinClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
367 | // MARK: Closures
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
| |- warning: var 'kotlinClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure0Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure0Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:370:12: warning: var 'kotlinClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
| |- warning: var 'kotlinClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:371:12: warning: var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| |- warning: var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1PrimitivesVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1PrimitivesVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
373 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:372:12: warning: var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| |- warning: var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1OptionalsVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1OptionalsVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |
374 | // MARK: Containers
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:376:12: warning: var 'kotlinIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
374 | // MARK: Containers
375 |
376 | public var kotlinIntArrayVar = [1, 2, 3]
| |- warning: var 'kotlinIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntArrayVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntArrayVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:377:12: warning: var 'kotlinStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
375 |
376 | public var kotlinIntArrayVar = [1, 2, 3]
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
| |- warning: var 'kotlinStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinStringSetVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinStringSetVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:378:12: warning: var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
376 | public var kotlinIntArrayVar = [1, 2, 3]
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
| |- warning: var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntStringDictionaryVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntStringDictionaryVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:379:12: warning: var 'kotlinIntStringTupleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
| |- warning: var 'kotlinIntStringTupleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntStringTupleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntStringTupleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
381 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:380:12: warning: var 'kotlinIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
| |- warning: var 'kotlinIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntErrorResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntErrorResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
381 |
382 | // MARK: Functions
[173/178] Write Objects.LinkFileList
[174/181] Linking libSkipBridgeToKotlinSamples.dylib
[175/181] Linking libSkipBridgeToSwiftSamples.dylib
[177/181] Compiling SkipBridgeToSwiftSamplesTestsSupport resource_bundle_accessor.swift
[178/181] Emitting module SkipBridgeToSwiftSamplesTestsSupport
[179/181] Compiling SkipBridgeToSwiftSamplesTestsSupport TestsSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:131:5: warning: reference to var 'kotlinBoolVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | public func testSupport_kotlinBoolVar(value: Bool) -> Bool {
131 | kotlinBoolVar = value
| `- warning: reference to var 'kotlinBoolVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | return kotlinBoolVar
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:50:12: note: var declared here
48 | // MARK: Global vars
49 |
50 | public var kotlinBoolVar = true
| `- note: var declared here
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:132:12: warning: reference to var 'kotlinBoolVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | public func testSupport_kotlinBoolVar(value: Bool) -> Bool {
131 | kotlinBoolVar = value
132 | return kotlinBoolVar
| `- warning: reference to var 'kotlinBoolVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:50:12: note: var declared here
48 | // MARK: Global vars
49 |
50 | public var kotlinBoolVar = true
| `- note: var declared here
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:136:5: warning: reference to var 'kotlinDoubleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 |
135 | public func testSupport_kotlinDoubleVar(value: Double) -> Double {
136 | kotlinDoubleVar = value
| `- warning: reference to var 'kotlinDoubleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | return kotlinDoubleVar
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:52:12: note: var declared here
50 | public var kotlinBoolVar = true
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
| `- note: var declared here
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:137:12: warning: reference to var 'kotlinDoubleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | public func testSupport_kotlinDoubleVar(value: Double) -> Double {
136 | kotlinDoubleVar = value
137 | return kotlinDoubleVar
| `- warning: reference to var 'kotlinDoubleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | }
139 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:52:12: note: var declared here
50 | public var kotlinBoolVar = true
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
| `- note: var declared here
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:141:5: warning: reference to var 'kotlinFloatVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 |
140 | public func testSupport_kotlinFloatVar(value: Float) -> Float {
141 | kotlinFloatVar = value
| `- warning: reference to var 'kotlinFloatVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
142 | return kotlinFloatVar
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:53:12: note: var declared here
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
| `- note: var declared here
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:142:12: warning: reference to var 'kotlinFloatVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | public func testSupport_kotlinFloatVar(value: Float) -> Float {
141 | kotlinFloatVar = value
142 | return kotlinFloatVar
| `- warning: reference to var 'kotlinFloatVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:53:12: note: var declared here
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
| `- note: var declared here
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:146:5: warning: reference to var 'kotlinInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | public func testSupport_kotlinInt8Var(value: Int8) -> Int8 {
146 | kotlinInt8Var = value
| `- warning: reference to var 'kotlinInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
147 | return kotlinInt8Var
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:54:12: note: var declared here
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
| `- note: var declared here
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:147:12: warning: reference to var 'kotlinInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | public func testSupport_kotlinInt8Var(value: Int8) -> Int8 {
146 | kotlinInt8Var = value
147 | return kotlinInt8Var
| `- warning: reference to var 'kotlinInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:54:12: note: var declared here
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
| `- note: var declared here
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:151:5: warning: reference to var 'kotlinInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
149 |
150 | public func testSupport_kotlinInt16Var(value: Int16) -> Int16 {
151 | kotlinInt16Var = value
| `- warning: reference to var 'kotlinInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | return kotlinInt16Var
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:55:12: note: var declared here
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
| `- note: var declared here
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:152:12: warning: reference to var 'kotlinInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
150 | public func testSupport_kotlinInt16Var(value: Int16) -> Int16 {
151 | kotlinInt16Var = value
152 | return kotlinInt16Var
| `- warning: reference to var 'kotlinInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:55:12: note: var declared here
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
| `- note: var declared here
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:156:5: warning: reference to var 'kotlinInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 |
155 | public func testSupport_kotlinInt32Var(value: Int32) -> Int32 {
156 | kotlinInt32Var = value
| `- warning: reference to var 'kotlinInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
157 | return kotlinInt32Var
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:56:12: note: var declared here
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
| `- note: var declared here
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:157:12: warning: reference to var 'kotlinInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 | public func testSupport_kotlinInt32Var(value: Int32) -> Int32 {
156 | kotlinInt32Var = value
157 | return kotlinInt32Var
| `- warning: reference to var 'kotlinInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:56:12: note: var declared here
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
| `- note: var declared here
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:161:5: warning: reference to var 'kotlinInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 |
160 | public func testSupport_kotlinInt64Var(value: Int64) -> Int64 {
161 | kotlinInt64Var = value
| `- warning: reference to var 'kotlinInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
162 | return kotlinInt64Var
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:57:12: note: var declared here
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
| `- note: var declared here
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:162:12: warning: reference to var 'kotlinInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
160 | public func testSupport_kotlinInt64Var(value: Int64) -> Int64 {
161 | kotlinInt64Var = value
162 | return kotlinInt64Var
| `- warning: reference to var 'kotlinInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:57:12: note: var declared here
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
| `- note: var declared here
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:166:5: warning: reference to var 'kotlinIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
164 |
165 | public func testSupport_kotlinIntVar(value: Int) -> Int {
166 | kotlinIntVar = value
| `- warning: reference to var 'kotlinIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
167 | return kotlinIntVar
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:58:12: note: var declared here
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
| `- note: var declared here
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:167:12: warning: reference to var 'kotlinIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
165 | public func testSupport_kotlinIntVar(value: Int) -> Int {
166 | kotlinIntVar = value
167 | return kotlinIntVar
| `- warning: reference to var 'kotlinIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:58:12: note: var declared here
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
| `- note: var declared here
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:171:5: warning: reference to var 'kotlinStringVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | public func testSupport_kotlinStringVar(value: String) -> String {
171 | kotlinStringVar = value
| `- warning: reference to var 'kotlinStringVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
172 | return kotlinStringVar
173 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:64:12: note: var declared here
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
| `- note: var declared here
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:172:12: warning: reference to var 'kotlinStringVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
170 | public func testSupport_kotlinStringVar(value: String) -> String {
171 | kotlinStringVar = value
172 | return kotlinStringVar
| `- warning: reference to var 'kotlinStringVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
173 | }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:64:12: note: var declared here
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
| `- note: var declared here
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:176:5: warning: reference to var 'kotlinUnsignedInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | public func testSupport_kotlinUnsignedInt8Var(value: UInt8) -> UInt8 {
176 | kotlinUnsignedInt8Var = value
| `- warning: reference to var 'kotlinUnsignedInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
177 | return kotlinUnsignedInt8Var
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:59:12: note: var declared here
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
| `- note: var declared here
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:177:12: warning: reference to var 'kotlinUnsignedInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
175 | public func testSupport_kotlinUnsignedInt8Var(value: UInt8) -> UInt8 {
176 | kotlinUnsignedInt8Var = value
177 | return kotlinUnsignedInt8Var
| `- warning: reference to var 'kotlinUnsignedInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 | }
179 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:59:12: note: var declared here
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
| `- note: var declared here
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:187:5: warning: reference to var 'kotlinUnsignedInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
185 |
186 | public func testSupport_kotlinUnsignedInt32Var(value: UInt32) -> UInt32 {
187 | kotlinUnsignedInt32Var = value
| `- warning: reference to var 'kotlinUnsignedInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
188 | return kotlinUnsignedInt32Var
189 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:61:12: note: var declared here
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
| `- note: var declared here
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:188:12: warning: reference to var 'kotlinUnsignedInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 | public func testSupport_kotlinUnsignedInt32Var(value: UInt32) -> UInt32 {
187 | kotlinUnsignedInt32Var = value
188 | return kotlinUnsignedInt32Var
| `- warning: reference to var 'kotlinUnsignedInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
189 | }
190 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:61:12: note: var declared here
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
| `- note: var declared here
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:192:5: warning: reference to var 'kotlinUnsignedInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | public func testSupport_kotlinUnsignedInt64Var(value: UInt64) -> UInt64 {
192 | kotlinUnsignedInt64Var = value
| `- warning: reference to var 'kotlinUnsignedInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
193 | return kotlinUnsignedInt64Var
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:62:12: note: var declared here
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
| `- note: var declared here
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:193:12: warning: reference to var 'kotlinUnsignedInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
191 | public func testSupport_kotlinUnsignedInt64Var(value: UInt64) -> UInt64 {
192 | kotlinUnsignedInt64Var = value
193 | return kotlinUnsignedInt64Var
| `- warning: reference to var 'kotlinUnsignedInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
194 | }
195 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:62:12: note: var declared here
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
| `- note: var declared here
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:197:5: warning: reference to var 'kotlinUnsignedIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
195 |
196 | public func testSupport_kotlinUnsignedIntVar(value: UInt) -> UInt {
197 | kotlinUnsignedIntVar = value
| `- warning: reference to var 'kotlinUnsignedIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
198 | return kotlinUnsignedIntVar
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:63:12: note: var declared here
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
| `- note: var declared here
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:198:12: warning: reference to var 'kotlinUnsignedIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
196 | public func testSupport_kotlinUnsignedIntVar(value: UInt) -> UInt {
197 | kotlinUnsignedIntVar = value
198 | return kotlinUnsignedIntVar
| `- warning: reference to var 'kotlinUnsignedIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:63:12: note: var declared here
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
| `- note: var declared here
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:204:5: warning: reference to var 'kotlinClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
202 | let helper = KotlinHelperClass()
203 | helper.stringVar = value
204 | kotlinClassVar = helper
| `- warning: reference to var 'kotlinClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | return kotlinClassVar.stringVar
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:65:12: note: var declared here
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
| `- note: var declared here
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:205:12: warning: reference to var 'kotlinClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 | helper.stringVar = value
204 | kotlinClassVar = helper
205 | return kotlinClassVar.stringVar
| `- warning: reference to var 'kotlinClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
206 | }
207 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:65:12: note: var declared here
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
| `- note: var declared here
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:211:5: warning: reference to var 'kotlinInnerClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
209 | let inner = KotlinHelperClass.Inner()
210 | inner.intVar = value
211 | kotlinInnerClassVar = inner
| `- warning: reference to var 'kotlinInnerClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
212 | return kotlinInnerClassVar.intVar
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:67:12: note: var declared here
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
| `- note: var declared here
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:212:12: warning: reference to var 'kotlinInnerClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
210 | inner.intVar = value
211 | kotlinInnerClassVar = inner
212 | return kotlinInnerClassVar.intVar
| `- warning: reference to var 'kotlinInnerClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
213 | }
214 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:67:12: note: var declared here
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
| `- note: var declared here
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:218:5: warning: reference to var 'kotlinSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
216 | let helper = SwiftHelperClass()
217 | helper.stringVar = value
218 | kotlinSwiftClassVar = helper
| `- warning: reference to var 'kotlinSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
219 | return kotlinSwiftClassVar.stringVar
220 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:68:12: note: var declared here
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
| `- note: var declared here
69 | public var kotlinAnyVar: Any = "a"
70 | public var kotlinAnyHashableVar: AnyHashable = 1
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:219:12: warning: reference to var 'kotlinSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
217 | helper.stringVar = value
218 | kotlinSwiftClassVar = helper
219 | return kotlinSwiftClassVar.stringVar
| `- warning: reference to var 'kotlinSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:68:12: note: var declared here
66 | public var kotlinBaseClassVar = KotlinClass()
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
| `- note: var declared here
69 | public var kotlinAnyVar: Any = "a"
70 | public var kotlinAnyHashableVar: AnyHashable = 1
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:223:5: warning: reference to var 'kotlinAnyVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public func testSupport_kotlinAnyVar(value: Any) -> Any {
223 | kotlinAnyVar = value
| `- warning: reference to var 'kotlinAnyVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 | return kotlinAnyVar
225 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:69:12: note: var declared here
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
| `- note: var declared here
70 | public var kotlinAnyHashableVar: AnyHashable = 1
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:224:12: warning: reference to var 'kotlinAnyVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
222 | public func testSupport_kotlinAnyVar(value: Any) -> Any {
223 | kotlinAnyVar = value
224 | return kotlinAnyVar
| `- warning: reference to var 'kotlinAnyVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
225 | }
226 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:69:12: note: var declared here
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
| `- note: var declared here
70 | public var kotlinAnyHashableVar: AnyHashable = 1
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:230:5: warning: reference to var 'kotlinAnyVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
228 | let helper = KotlinHelperClass()
229 | helper.stringVar = value
230 | kotlinAnyVar = helper
| `- warning: reference to var 'kotlinAnyVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
231 | return (kotlinAnyVar as? KotlinHelperClass)?.stringVar
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:69:12: note: var declared here
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
| `- note: var declared here
70 | public var kotlinAnyHashableVar: AnyHashable = 1
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:231:13: warning: reference to var 'kotlinAnyVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
229 | helper.stringVar = value
230 | kotlinAnyVar = helper
231 | return (kotlinAnyVar as? KotlinHelperClass)?.stringVar
| `- warning: reference to var 'kotlinAnyVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
232 | }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:69:12: note: var declared here
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
| `- note: var declared here
70 | public var kotlinAnyHashableVar: AnyHashable = 1
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:235:5: warning: reference to var 'kotlinAnyHashableVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
233 |
234 | public func testSupport_kotlinAnyHashableVar(value: AnyHashable) -> AnyHashable {
235 | kotlinAnyHashableVar = value
| `- warning: reference to var 'kotlinAnyHashableVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
236 | return kotlinAnyHashableVar
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:70:12: note: var declared here
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
70 | public var kotlinAnyHashableVar: AnyHashable = 1
| `- note: var declared here
71 |
72 | // MARK: Global optional vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:236:12: warning: reference to var 'kotlinAnyHashableVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
234 | public func testSupport_kotlinAnyHashableVar(value: AnyHashable) -> AnyHashable {
235 | kotlinAnyHashableVar = value
236 | return kotlinAnyHashableVar
| `- warning: reference to var 'kotlinAnyHashableVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
237 | }
238 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:70:12: note: var declared here
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
70 | public var kotlinAnyHashableVar: AnyHashable = 1
| `- note: var declared here
71 |
72 | // MARK: Global optional vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:242:5: warning: reference to var 'kotlinAnyHashableVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
240 | let helper = KotlinHelperClass()
241 | helper.stringVar = value
242 | kotlinAnyHashableVar = helper
| `- warning: reference to var 'kotlinAnyHashableVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 | return (kotlinAnyHashableVar as? KotlinHelperClass)?.stringVar
244 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:70:12: note: var declared here
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
70 | public var kotlinAnyHashableVar: AnyHashable = 1
| `- note: var declared here
71 |
72 | // MARK: Global optional vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:243:13: warning: reference to var 'kotlinAnyHashableVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
241 | helper.stringVar = value
242 | kotlinAnyHashableVar = helper
243 | return (kotlinAnyHashableVar as? KotlinHelperClass)?.stringVar
| `- warning: reference to var 'kotlinAnyHashableVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
244 | }
245 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:70:12: note: var declared here
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
69 | public var kotlinAnyVar: Any = "a"
70 | public var kotlinAnyHashableVar: AnyHashable = 1
| `- note: var declared here
71 |
72 | // MARK: Global optional vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:247:5: warning: reference to var 'kotlinOptionalBoolVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
245 |
246 | public func testSupport_kotlinOptionalBoolVar(value: Bool?) -> Bool? {
247 | kotlinOptionalBoolVar = value
| `- warning: reference to var 'kotlinOptionalBoolVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
248 | return kotlinOptionalBoolVar
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:74:12: note: var declared here
72 | // MARK: Global optional vars
73 |
74 | public var kotlinOptionalBoolVar: Bool? = true
| `- note: var declared here
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:248:12: warning: reference to var 'kotlinOptionalBoolVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
246 | public func testSupport_kotlinOptionalBoolVar(value: Bool?) -> Bool? {
247 | kotlinOptionalBoolVar = value
248 | return kotlinOptionalBoolVar
| `- warning: reference to var 'kotlinOptionalBoolVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
249 | }
250 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:74:12: note: var declared here
72 | // MARK: Global optional vars
73 |
74 | public var kotlinOptionalBoolVar: Bool? = true
| `- note: var declared here
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:252:5: warning: reference to var 'kotlinOptionalDoubleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
250 |
251 | public func testSupport_kotlinOptionalDoubleVar(value: Double?) -> Double? {
252 | kotlinOptionalDoubleVar = value
| `- warning: reference to var 'kotlinOptionalDoubleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
253 | return kotlinOptionalDoubleVar
254 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:76:12: note: var declared here
74 | public var kotlinOptionalBoolVar: Bool? = true
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
| `- note: var declared here
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:253:12: warning: reference to var 'kotlinOptionalDoubleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
251 | public func testSupport_kotlinOptionalDoubleVar(value: Double?) -> Double? {
252 | kotlinOptionalDoubleVar = value
253 | return kotlinOptionalDoubleVar
| `- warning: reference to var 'kotlinOptionalDoubleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
254 | }
255 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:76:12: note: var declared here
74 | public var kotlinOptionalBoolVar: Bool? = true
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
| `- note: var declared here
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:257:5: warning: reference to var 'kotlinOptionalFloatVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 |
256 | public func testSupport_kotlinOptionalFloatVar(value: Float?) -> Float? {
257 | kotlinOptionalFloatVar = value
| `- warning: reference to var 'kotlinOptionalFloatVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
258 | return kotlinOptionalFloatVar
259 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:77:12: note: var declared here
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
| `- note: var declared here
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:258:12: warning: reference to var 'kotlinOptionalFloatVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
256 | public func testSupport_kotlinOptionalFloatVar(value: Float?) -> Float? {
257 | kotlinOptionalFloatVar = value
258 | return kotlinOptionalFloatVar
| `- warning: reference to var 'kotlinOptionalFloatVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
259 | }
260 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:77:12: note: var declared here
75 | // TODO: Optional char
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
| `- note: var declared here
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:262:5: warning: reference to var 'kotlinOptionalInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
260 |
261 | public func testSupport_kotlinOptionalInt8Var(value: Int8?) -> Int8? {
262 | kotlinOptionalInt8Var = value
| `- warning: reference to var 'kotlinOptionalInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
263 | return kotlinOptionalInt8Var
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:78:12: note: var declared here
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
| `- note: var declared here
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:263:12: warning: reference to var 'kotlinOptionalInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
261 | public func testSupport_kotlinOptionalInt8Var(value: Int8?) -> Int8? {
262 | kotlinOptionalInt8Var = value
263 | return kotlinOptionalInt8Var
| `- warning: reference to var 'kotlinOptionalInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:78:12: note: var declared here
76 | public var kotlinOptionalDoubleVar: Double? = 1.0
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
| `- note: var declared here
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:267:5: warning: reference to var 'kotlinOptionalInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
265 |
266 | public func testSupport_kotlinOptionalInt16Var(value: Int16?) -> Int16? {
267 | kotlinOptionalInt16Var = value
| `- warning: reference to var 'kotlinOptionalInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
268 | return kotlinOptionalInt16Var
269 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:79:12: note: var declared here
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
| `- note: var declared here
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:268:12: warning: reference to var 'kotlinOptionalInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
266 | public func testSupport_kotlinOptionalInt16Var(value: Int16?) -> Int16? {
267 | kotlinOptionalInt16Var = value
268 | return kotlinOptionalInt16Var
| `- warning: reference to var 'kotlinOptionalInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
269 | }
270 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:79:12: note: var declared here
77 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
| `- note: var declared here
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:272:5: warning: reference to var 'kotlinOptionalInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
270 |
271 | public func testSupport_kotlinOptionalInt32Var(value: Int32?) -> Int32? {
272 | kotlinOptionalInt32Var = value
| `- warning: reference to var 'kotlinOptionalInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
273 | return kotlinOptionalInt32Var
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:80:12: note: var declared here
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
| `- note: var declared here
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:273:12: warning: reference to var 'kotlinOptionalInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
271 | public func testSupport_kotlinOptionalInt32Var(value: Int32?) -> Int32? {
272 | kotlinOptionalInt32Var = value
273 | return kotlinOptionalInt32Var
| `- warning: reference to var 'kotlinOptionalInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
274 | }
275 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:80:12: note: var declared here
78 | public var kotlinOptionalInt8Var: Int8? = nil
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
| `- note: var declared here
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:277:5: warning: reference to var 'kotlinOptionalInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
275 |
276 | public func testSupport_kotlinOptionalInt64Var(value: Int64?) -> Int64? {
277 | kotlinOptionalInt64Var = value
| `- warning: reference to var 'kotlinOptionalInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
278 | return kotlinOptionalInt64Var
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:81:12: note: var declared here
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
| `- note: var declared here
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:278:12: warning: reference to var 'kotlinOptionalInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
276 | public func testSupport_kotlinOptionalInt64Var(value: Int64?) -> Int64? {
277 | kotlinOptionalInt64Var = value
278 | return kotlinOptionalInt64Var
| `- warning: reference to var 'kotlinOptionalInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
279 | }
280 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:81:12: note: var declared here
79 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
| `- note: var declared here
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:282:5: warning: reference to var 'kotlinOptionalIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
280 |
281 | public func testSupport_kotlinOptionalIntVar(value: Int?) -> Int? {
282 | kotlinOptionalIntVar = value
| `- warning: reference to var 'kotlinOptionalIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
283 | return kotlinOptionalIntVar
284 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:82:12: note: var declared here
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
| `- note: var declared here
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:283:12: warning: reference to var 'kotlinOptionalIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
281 | public func testSupport_kotlinOptionalIntVar(value: Int?) -> Int? {
282 | kotlinOptionalIntVar = value
283 | return kotlinOptionalIntVar
| `- warning: reference to var 'kotlinOptionalIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:82:12: note: var declared here
80 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
| `- note: var declared here
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:287:5: warning: reference to var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
285 |
286 | public func testSupport_kotlinOptionalUnsignedInt8Var(value: UInt8?) -> UInt8? {
287 | kotlinOptionalUnsignedInt8Var = value
| `- warning: reference to var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
288 | return kotlinOptionalUnsignedInt8Var
289 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:83:12: note: var declared here
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
| `- note: var declared here
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:288:12: warning: reference to var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
286 | public func testSupport_kotlinOptionalUnsignedInt8Var(value: UInt8?) -> UInt8? {
287 | kotlinOptionalUnsignedInt8Var = value
288 | return kotlinOptionalUnsignedInt8Var
| `- warning: reference to var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
289 | }
290 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:83:12: note: var declared here
81 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
| `- note: var declared here
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:292:5: warning: reference to var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
290 |
291 | public func testSupport_kotlinOptionalUnsignedInt16Var(value: UInt16?) -> UInt16? {
292 | kotlinOptionalUnsignedInt16Var = value
| `- warning: reference to var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
293 | return kotlinOptionalUnsignedInt16Var
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:84:12: note: var declared here
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
| `- note: var declared here
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:293:12: warning: reference to var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
291 | public func testSupport_kotlinOptionalUnsignedInt16Var(value: UInt16?) -> UInt16? {
292 | kotlinOptionalUnsignedInt16Var = value
293 | return kotlinOptionalUnsignedInt16Var
| `- warning: reference to var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:84:12: note: var declared here
82 | public var kotlinOptionalIntVar: Int? = 6
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
| `- note: var declared here
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:297:5: warning: reference to var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
295 |
296 | public func testSupport_kotlinOptionalUnsignedInt32Var(value: UInt32?) -> UInt32? {
297 | kotlinOptionalUnsignedInt32Var = value
| `- warning: reference to var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
298 | return kotlinOptionalUnsignedInt32Var
299 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:85:12: note: var declared here
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
| `- note: var declared here
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:298:12: warning: reference to var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
296 | public func testSupport_kotlinOptionalUnsignedInt32Var(value: UInt32?) -> UInt32? {
297 | kotlinOptionalUnsignedInt32Var = value
298 | return kotlinOptionalUnsignedInt32Var
| `- warning: reference to var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
299 | }
300 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:85:12: note: var declared here
83 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
| `- note: var declared here
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:302:5: warning: reference to var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
300 |
301 | public func testSupport_kotlinOptionalUnsignedInt64Var(value: UInt64?) -> UInt64? {
302 | kotlinOptionalUnsignedInt64Var = value
| `- warning: reference to var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
303 | return kotlinOptionalUnsignedInt64Var
304 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:86:12: note: var declared here
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
| `- note: var declared here
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:303:12: warning: reference to var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
301 | public func testSupport_kotlinOptionalUnsignedInt64Var(value: UInt64?) -> UInt64? {
302 | kotlinOptionalUnsignedInt64Var = value
303 | return kotlinOptionalUnsignedInt64Var
| `- warning: reference to var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
304 | }
305 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:86:12: note: var declared here
84 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
| `- note: var declared here
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:307:5: warning: reference to var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
305 |
306 | public func testSupport_kotlinOptionalUnsignedIntVar(value: UInt?) -> UInt? {
307 | kotlinOptionalUnsignedIntVar = value
| `- warning: reference to var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
308 | return kotlinOptionalUnsignedIntVar
309 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:87:12: note: var declared here
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
| `- note: var declared here
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:308:12: warning: reference to var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
306 | public func testSupport_kotlinOptionalUnsignedIntVar(value: UInt?) -> UInt? {
307 | kotlinOptionalUnsignedIntVar = value
308 | return kotlinOptionalUnsignedIntVar
| `- warning: reference to var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:87:12: note: var declared here
85 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
| `- note: var declared here
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:312:5: warning: reference to var 'kotlinOptionalStringVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
310 |
311 | public func testSupport_kotlinOptionalStringVar(value: String?) -> String? {
312 | kotlinOptionalStringVar = value
| `- warning: reference to var 'kotlinOptionalStringVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
313 | return kotlinOptionalStringVar
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:88:12: note: var declared here
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
| `- note: var declared here
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:313:12: warning: reference to var 'kotlinOptionalStringVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
311 | public func testSupport_kotlinOptionalStringVar(value: String?) -> String? {
312 | kotlinOptionalStringVar = value
313 | return kotlinOptionalStringVar
| `- warning: reference to var 'kotlinOptionalStringVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
314 | }
315 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:88:12: note: var declared here
86 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
| `- note: var declared here
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:320:9: warning: reference to var 'kotlinOptionalClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
318 | let helper = KotlinHelperClass()
319 | helper.stringVar = value
320 | kotlinOptionalClassVar = helper
| `- warning: reference to var 'kotlinOptionalClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
321 | } else {
322 | kotlinOptionalClassVar = nil
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:89:12: note: var declared here
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
| `- note: var declared here
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
91 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:322:9: warning: reference to var 'kotlinOptionalClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
320 | kotlinOptionalClassVar = helper
321 | } else {
322 | kotlinOptionalClassVar = nil
| `- warning: reference to var 'kotlinOptionalClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
323 | }
324 | return kotlinOptionalClassVar?.stringVar
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:89:12: note: var declared here
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
| `- note: var declared here
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
91 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:324:12: warning: reference to var 'kotlinOptionalClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
322 | kotlinOptionalClassVar = nil
323 | }
324 | return kotlinOptionalClassVar?.stringVar
| `- warning: reference to var 'kotlinOptionalClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
325 | }
326 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:89:12: note: var declared here
87 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
| `- note: var declared here
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
91 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:331:9: warning: reference to var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
329 | let helper = SwiftHelperClass()
330 | helper.stringVar = value
331 | kotlinOptionalSwiftClassVar = helper
| `- warning: reference to var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
332 | } else {
333 | kotlinOptionalSwiftClassVar = nil
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:90:12: note: var declared here
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
| `- note: var declared here
91 |
92 | // MARK: Global computed vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:333:9: warning: reference to var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
331 | kotlinOptionalSwiftClassVar = helper
332 | } else {
333 | kotlinOptionalSwiftClassVar = nil
| `- warning: reference to var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
334 | }
335 | return kotlinOptionalSwiftClassVar?.stringVar
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:90:12: note: var declared here
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
| `- note: var declared here
91 |
92 | // MARK: Global computed vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:335:12: warning: reference to var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
333 | kotlinOptionalSwiftClassVar = nil
334 | }
335 | return kotlinOptionalSwiftClassVar?.stringVar
| `- warning: reference to var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
336 | }
337 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:90:12: note: var declared here
88 | public var kotlinOptionalStringVar: String? = "s"
89 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
90 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
| `- note: var declared here
91 |
92 | // MARK: Global computed vars
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:392:17: warning: reference to class property 'staticIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
390 |
391 | public func testSupport_kotlinClassMemberStaticVar(value: Int) -> Int {
392 | KotlinClass.staticIntVar = 99
| `- warning: reference to class property 'staticIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
393 | return KotlinClass.staticIntVar
394 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:125:23: note: class property declared here
123 | public class KotlinClass {
124 | public static let staticIntConstant = 1
125 | public static var staticIntVar = 1
| `- note: class property declared here
126 | public static func staticFunc(string: String) -> String {
127 | return "kotlin" + string
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:393:24: warning: reference to class property 'staticIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
391 | public func testSupport_kotlinClassMemberStaticVar(value: Int) -> Int {
392 | KotlinClass.staticIntVar = 99
393 | return KotlinClass.staticIntVar
| `- warning: reference to class property 'staticIntVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
394 | }
395 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:125:23: note: class property declared here
123 | public class KotlinClass {
124 | public static let staticIntConstant = 1
125 | public static var staticIntVar = 1
| `- note: class property declared here
126 | public static func staticFunc(string: String) -> String {
127 | return "kotlin" + string
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:434:5: warning: reference to var 'kotlinBaseClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
432 | }
433 |
434 | kotlinBaseClassVar = sub
| `- warning: reference to var 'kotlinBaseClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
435 | kotlinBaseClassVar.intVar = 101
436 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:66:12: note: var declared here
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
| `- note: var declared here
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:435:5: warning: reference to var 'kotlinBaseClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | kotlinBaseClassVar = sub
435 | kotlinBaseClassVar.intVar = 101
| `- warning: reference to var 'kotlinBaseClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
436 |
437 | let sub2 = kotlinBaseClassVar as? KotlinSubclass
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:66:12: note: var declared here
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
| `- note: var declared here
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:437:16: warning: reference to var 'kotlinBaseClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
435 | kotlinBaseClassVar.intVar = 101
436 |
437 | let sub2 = kotlinBaseClassVar as? KotlinSubclass
| `- warning: reference to var 'kotlinBaseClassVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
438 | guard let sub2 else {
439 | return "sub2 != nil"
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:66:12: note: var declared here
64 | public var kotlinStringVar = "s"
65 | public var kotlinClassVar = KotlinHelperClass()
66 | public var kotlinBaseClassVar = KotlinClass()
| `- note: var declared here
67 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
68 | public var kotlinSwiftClassVar = SwiftHelperClass()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:777:5: warning: reference to var 'kotlinClosure0Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
775 |
776 | public func testSupport_kotlinClosure0Var() {
777 | kotlinClosure0Var()
| `- warning: reference to var 'kotlinClosure0Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
778 | kotlinClosure0Var = { print("reassigned") }
779 | kotlinClosure0Var()
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:369:12: note: var declared here
367 | // MARK: Closures
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
| `- note: var declared here
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:778:5: warning: reference to var 'kotlinClosure0Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
776 | public func testSupport_kotlinClosure0Var() {
777 | kotlinClosure0Var()
778 | kotlinClosure0Var = { print("reassigned") }
| `- warning: reference to var 'kotlinClosure0Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
779 | kotlinClosure0Var()
780 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:369:12: note: var declared here
367 | // MARK: Closures
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
| `- note: var declared here
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:779:5: warning: reference to var 'kotlinClosure0Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
777 | kotlinClosure0Var()
778 | kotlinClosure0Var = { print("reassigned") }
779 | kotlinClosure0Var()
| `- warning: reference to var 'kotlinClosure0Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
780 | }
781 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:369:12: note: var declared here
367 | // MARK: Closures
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
| `- note: var declared here
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:783:14: warning: reference to var 'kotlinClosure1Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
781 |
782 | public func testSupport_kotlinClosure1Var(value: Int) -> String {
783 | let s1 = kotlinClosure1Var(value)
| `- warning: reference to var 'kotlinClosure1Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
784 | kotlinClosure1Var = { i in "value = \(i)" }
785 | let s2 = kotlinClosure1Var(value)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:370:12: note: var declared here
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
| `- note: var declared here
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:784:5: warning: reference to var 'kotlinClosure1Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
782 | public func testSupport_kotlinClosure1Var(value: Int) -> String {
783 | let s1 = kotlinClosure1Var(value)
784 | kotlinClosure1Var = { i in "value = \(i)" }
| `- warning: reference to var 'kotlinClosure1Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
785 | let s2 = kotlinClosure1Var(value)
786 | return s1 == s2 ? s1 : s1 + "/" + s2
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:370:12: note: var declared here
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
| `- note: var declared here
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:785:14: warning: reference to var 'kotlinClosure1Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
783 | let s1 = kotlinClosure1Var(value)
784 | kotlinClosure1Var = { i in "value = \(i)" }
785 | let s2 = kotlinClosure1Var(value)
| `- warning: reference to var 'kotlinClosure1Var' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
786 | return s1 == s2 ? s1 : s1 + "/" + s2
787 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:370:12: note: var declared here
368 |
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
| `- note: var declared here
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:790:14: warning: reference to var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
788 |
789 | public func testSupport_kotlinClosure1PrimitivesVar(value: Int64) -> Int {
790 | let i1 = kotlinClosure1PrimitivesVar(value)
| `- warning: reference to var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
791 | kotlinClosure1PrimitivesVar = { l in Int(l / 1000) }
792 | let i2 = kotlinClosure1PrimitivesVar(value)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:371:12: note: var declared here
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| `- note: var declared here
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
373 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:791:5: warning: reference to var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
789 | public func testSupport_kotlinClosure1PrimitivesVar(value: Int64) -> Int {
790 | let i1 = kotlinClosure1PrimitivesVar(value)
791 | kotlinClosure1PrimitivesVar = { l in Int(l / 1000) }
| `- warning: reference to var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
792 | let i2 = kotlinClosure1PrimitivesVar(value)
793 | return i1 == i2 ? i1 : i1 * 10000 + i2
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:371:12: note: var declared here
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| `- note: var declared here
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
373 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:792:14: warning: reference to var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
790 | let i1 = kotlinClosure1PrimitivesVar(value)
791 | kotlinClosure1PrimitivesVar = { l in Int(l / 1000) }
792 | let i2 = kotlinClosure1PrimitivesVar(value)
| `- warning: reference to var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
793 | return i1 == i2 ? i1 : i1 * 10000 + i2
794 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:371:12: note: var declared here
369 | public var kotlinClosure0Var: () -> Void = { print("original") }
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| `- note: var declared here
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
373 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:797:14: warning: reference to var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
795 |
796 | public func testSupport_kotlinClosure1OptionalsVar(value: String?) -> Int? {
797 | let i1 = kotlinClosure1OptionalsVar(value)
| `- warning: reference to var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
798 | kotlinClosure1OptionalsVar = { s in s?.count }
799 | let i2 = kotlinClosure1OptionalsVar(value)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:372:12: note: var declared here
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| `- note: var declared here
373 |
374 | // MARK: Containers
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:798:5: warning: reference to var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
796 | public func testSupport_kotlinClosure1OptionalsVar(value: String?) -> Int? {
797 | let i1 = kotlinClosure1OptionalsVar(value)
798 | kotlinClosure1OptionalsVar = { s in s?.count }
| `- warning: reference to var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
799 | let i2 = kotlinClosure1OptionalsVar(value)
800 | return i1 == i2 ? i1 : (i1 ?? 0) * 10000 + (i2 ?? 0)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:372:12: note: var declared here
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| `- note: var declared here
373 |
374 | // MARK: Containers
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:799:14: warning: reference to var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
797 | let i1 = kotlinClosure1OptionalsVar(value)
798 | kotlinClosure1OptionalsVar = { s in s?.count }
799 | let i2 = kotlinClosure1OptionalsVar(value)
| `- warning: reference to var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
800 | return i1 == i2 ? i1 : (i1 ?? 0) * 10000 + (i2 ?? 0)
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:372:12: note: var declared here
370 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
371 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
372 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| `- note: var declared here
373 |
374 | // MARK: Containers
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:808:5: warning: reference to var 'kotlinIntArrayVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
806 |
807 | public func testSupport_kotlinIntArrayVar(value: [Int]) -> [Int] {
808 | kotlinIntArrayVar = value
| `- warning: reference to var 'kotlinIntArrayVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
809 | return kotlinIntArrayVar
810 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:376:12: note: var declared here
374 | // MARK: Containers
375 |
376 | public var kotlinIntArrayVar = [1, 2, 3]
| `- note: var declared here
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:809:12: warning: reference to var 'kotlinIntArrayVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
807 | public func testSupport_kotlinIntArrayVar(value: [Int]) -> [Int] {
808 | kotlinIntArrayVar = value
809 | return kotlinIntArrayVar
| `- warning: reference to var 'kotlinIntArrayVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
810 | }
811 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:376:12: note: var declared here
374 | // MARK: Containers
375 |
376 | public var kotlinIntArrayVar = [1, 2, 3]
| `- note: var declared here
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:813:5: warning: reference to var 'kotlinStringSetVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
811 |
812 | public func testSupport_kotlinStringSetVar(value: Set<String>) -> Set<String> {
813 | kotlinStringSetVar = value
| `- warning: reference to var 'kotlinStringSetVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
814 | return kotlinStringSetVar
815 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:377:12: note: var declared here
375 |
376 | public var kotlinIntArrayVar = [1, 2, 3]
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
| `- note: var declared here
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:814:12: warning: reference to var 'kotlinStringSetVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
812 | public func testSupport_kotlinStringSetVar(value: Set<String>) -> Set<String> {
813 | kotlinStringSetVar = value
814 | return kotlinStringSetVar
| `- warning: reference to var 'kotlinStringSetVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
815 | }
816 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:377:12: note: var declared here
375 |
376 | public var kotlinIntArrayVar = [1, 2, 3]
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
| `- note: var declared here
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:818:5: warning: reference to var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
816 |
817 | public func testSupport_kotlinIntStringDictionaryVar(value: [Int: String]) -> [Int: String] {
818 | kotlinIntStringDictionaryVar = value
| `- warning: reference to var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
819 | return kotlinIntStringDictionaryVar
820 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:378:12: note: var declared here
376 | public var kotlinIntArrayVar = [1, 2, 3]
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
| `- note: var declared here
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:819:12: warning: reference to var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
817 | public func testSupport_kotlinIntStringDictionaryVar(value: [Int: String]) -> [Int: String] {
818 | kotlinIntStringDictionaryVar = value
819 | return kotlinIntStringDictionaryVar
| `- warning: reference to var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
820 | }
821 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:378:12: note: var declared here
376 | public var kotlinIntArrayVar = [1, 2, 3]
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
| `- note: var declared here
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:823:5: warning: reference to var 'kotlinIntStringTupleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
821 |
822 | public func testSupport_kotlinIntStringTupleVar(value: (Int, String)) -> (Int, String) {
823 | kotlinIntStringTupleVar = value
| `- warning: reference to var 'kotlinIntStringTupleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
824 | return kotlinIntStringTupleVar
825 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:379:12: note: var declared here
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
| `- note: var declared here
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
381 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:824:12: warning: reference to var 'kotlinIntStringTupleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
822 | public func testSupport_kotlinIntStringTupleVar(value: (Int, String)) -> (Int, String) {
823 | kotlinIntStringTupleVar = value
824 | return kotlinIntStringTupleVar
| `- warning: reference to var 'kotlinIntStringTupleVar' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
825 | }
826 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:379:12: note: var declared here
377 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
| `- note: var declared here
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
381 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:829:9: warning: reference to var 'kotlinIntErrorResult' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
827 | public func testSupport_kotlinIntErrorResultVar(value: Int?) -> Int? {
828 | if let value {
829 | kotlinIntErrorResult = .success(value)
| `- warning: reference to var 'kotlinIntErrorResult' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
830 | } else {
831 | kotlinIntErrorResult = .failure(KotlinError())
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:380:12: note: var declared here
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
| `- note: var declared here
381 |
382 | // MARK: Functions
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:831:9: warning: reference to var 'kotlinIntErrorResult' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
829 | kotlinIntErrorResult = .success(value)
830 | } else {
831 | kotlinIntErrorResult = .failure(KotlinError())
| `- warning: reference to var 'kotlinIntErrorResult' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
832 | }
833 | switch kotlinIntErrorResult {
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:380:12: note: var declared here
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
| `- note: var declared here
381 |
382 | // MARK: Functions
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:833:12: warning: reference to var 'kotlinIntErrorResult' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
831 | kotlinIntErrorResult = .failure(KotlinError())
832 | }
833 | switch kotlinIntErrorResult {
| `- warning: reference to var 'kotlinIntErrorResult' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
834 | case .success(let ret):
835 | return ret
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:380:12: note: var declared here
378 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
379 | public var kotlinIntStringTupleVar = (1, "s")
380 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
| `- note: var declared here
381 |
382 | // MARK: Functions
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:521:16: warning: will never be executed
518 | return "s1.intVar == 2"
519 | }
520 | guard s2.intVar == 3 else {
| `- note: condition always evaluates to true
521 | return "s2.intVar == 3"
| `- warning: will never be executed
522 | }
523 |
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:541:16: warning: will never be executed
538 |
539 | s1.intVar = 3
540 | guard s1.intVar == 3 else {
| `- note: condition always evaluates to true
541 | return "s1.intVar == 3"
| `- warning: will never be executed
542 | }
543 | guard obj.swiftStructVar.intVar == 2 else {
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:551:16: warning: will never be executed
548 | var s2 = obj.swiftStructVar
549 | s2.intVar = 100
550 | guard s1.intVar == 3 else {
| `- note: condition always evaluates to true
551 | return "s1.intVar == 3"
| `- warning: will never be executed
552 | }
553 | guard s2.intVar == 100 else {
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:554:16: warning: will never be executed
551 | return "s1.intVar == 3"
552 | }
553 | guard s2.intVar == 100 else {
| `- note: condition always evaluates to true
554 | return "s2.intVar == 100"
| `- warning: will never be executed
555 | }
556 | guard obj.swiftStructVar.intVar == 99 else {
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:569:16: warning: will never be executed
566 |
567 | s1.intVar = 3
568 | guard s1.intVar == 3 else {
| `- note: condition always evaluates to true
569 | return "s1.intVar == 3"
| `- warning: will never be executed
570 | }
571 | guard obj.kotlinStructVar.intVar == 2 else {
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:579:16: warning: will never be executed
576 | var s2 = obj.kotlinStructVar
577 | s2.intVar = 100
578 | guard s1.intVar == 3 else {
| `- note: condition always evaluates to true
579 | return "s1.intVar == 3"
| `- warning: will never be executed
580 | }
581 | guard s2.intVar == 100 else {
/Users/admin/builder/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/TestsSupport.swift:582:16: warning: will never be executed
579 | return "s1.intVar == 3"
580 | }
581 | guard s2.intVar == 100 else {
| `- note: condition always evaluates to true
582 | return "s2.intVar == 100"
| `- warning: will never be executed
583 | }
584 | guard obj.kotlinStructVar.intVar == 99 else {
[179/181] Write Objects.LinkFileList
[180/181] Linking libSkipBridgeToSwiftSamplesTestsSupport.dylib
Build complete! (18.02s)
Build complete.
{
"dependencies" : [
{
"identity" : "skip",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://source.skip.tools/skip.git"
},
{
"identity" : "skip-lib",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://source.skip.tools/skip-lib.git"
},
{
"identity" : "skip-foundation",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://source.skip.tools/skip-foundation.git"
},
{
"identity" : "swift-jni",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://source.skip.tools/swift-jni.git"
}
],
"manifest_display_name" : "skip-bridge",
"name" : "skip-bridge",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SkipBridge",
"targets" : [
"SkipBridge"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SkipBridgeToKotlinSamples",
"targets" : [
"SkipBridgeToKotlinSamples"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SkipBridgeToKotlinSamplesHelpers",
"targets" : [
"SkipBridgeToKotlinSamplesHelpers"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SkipBridgeToKotlinCompatSamples",
"targets" : [
"SkipBridgeToKotlinCompatSamples"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SkipBridgeToSwiftSamples",
"targets" : [
"SkipBridgeToSwiftSamples"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SkipBridgeToSwiftSamplesHelpers",
"targets" : [
"SkipBridgeToSwiftSamplesHelpers"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SkipBridgeToSwiftSamplesTestsSupport",
"targets" : [
"SkipBridgeToSwiftSamplesTestsSupport"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "SkipBridgeToSwiftSamplesTestsSupportTests",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToSwiftSamplesTestsSupportTests",
"path" : "Tests/SkipBridgeToSwiftSamplesTestsSupportTests",
"product_dependencies" : [
"SkipTest",
"skipstone"
],
"sources" : [
"BridgeToSwiftSamplesTests.swift",
"XCSkipTests.swift"
],
"target_dependencies" : [
"SkipBridgeToSwiftSamplesTestsSupport"
],
"type" : "test"
},
{
"c99name" : "SkipBridgeToSwiftSamplesTestsSupport",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToSwiftSamplesTestsSupport",
"path" : "Sources/SkipBridgeToSwiftSamplesTestsSupport",
"product_dependencies" : [
"skipstone"
],
"product_memberships" : [
"SkipBridgeToSwiftSamplesTestsSupport"
],
"sources" : [
"TestsSupport.swift"
],
"target_dependencies" : [
"SkipBridgeToSwiftSamples"
],
"type" : "library"
},
{
"c99name" : "SkipBridgeToSwiftSamplesHelpers",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToSwiftSamplesHelpers",
"path" : "Sources/SkipBridgeToSwiftSamplesHelpers",
"product_dependencies" : [
"SkipFoundation",
"skipstone"
],
"product_memberships" : [
"SkipBridgeToSwiftSamples",
"SkipBridgeToSwiftSamplesHelpers",
"SkipBridgeToSwiftSamplesTestsSupport"
],
"sources" : [
"Helpers.swift"
],
"target_dependencies" : [
"SkipBridge"
],
"type" : "library"
},
{
"c99name" : "SkipBridgeToSwiftSamples",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToSwiftSamples",
"path" : "Sources/SkipBridgeToSwiftSamples",
"product_dependencies" : [
"skipstone"
],
"product_memberships" : [
"SkipBridgeToSwiftSamples",
"SkipBridgeToSwiftSamplesTestsSupport"
],
"sources" : [
"Samples.swift"
],
"target_dependencies" : [
"SkipBridgeToSwiftSamplesHelpers"
],
"type" : "library"
},
{
"c99name" : "SkipBridgeToKotlinSamplesTests",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToKotlinSamplesTests",
"path" : "Tests/SkipBridgeToKotlinSamplesTests",
"product_dependencies" : [
"SkipTest",
"skipstone"
],
"sources" : [
"BridgeToKotlinSamplesTests.swift",
"XCSkipTests.swift"
],
"target_dependencies" : [
"SkipBridgeToKotlinSamples"
],
"type" : "test"
},
{
"c99name" : "SkipBridgeToKotlinSamplesHelpers",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToKotlinSamplesHelpers",
"path" : "Sources/SkipBridgeToKotlinSamplesHelpers",
"product_dependencies" : [
"SkipFoundation",
"skipstone"
],
"product_memberships" : [
"SkipBridgeToKotlinSamples",
"SkipBridgeToKotlinSamplesHelpers"
],
"sources" : [
"Helpers.swift"
],
"target_dependencies" : [
"SkipBridge"
],
"type" : "library"
},
{
"c99name" : "SkipBridgeToKotlinSamples",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToKotlinSamples",
"path" : "Sources/SkipBridgeToKotlinSamples",
"product_dependencies" : [
"skipstone"
],
"product_memberships" : [
"SkipBridgeToKotlinSamples"
],
"sources" : [
"Samples.swift",
"TestsSupport.swift"
],
"target_dependencies" : [
"SkipBridgeToKotlinSamplesHelpers"
],
"type" : "library"
},
{
"c99name" : "SkipBridgeToKotlinCompatSamplesTests",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToKotlinCompatSamplesTests",
"path" : "Tests/SkipBridgeToKotlinCompatSamplesTests",
"product_dependencies" : [
"SkipTest",
"skipstone"
],
"sources" : [
"BridgeToKotlinCompatSamplesTests.swift",
"XCSkipTests.swift"
],
"target_dependencies" : [
"SkipBridgeToKotlinCompatSamples"
],
"type" : "test"
},
{
"c99name" : "SkipBridgeToKotlinCompatSamples",
"module_type" : "SwiftTarget",
"name" : "SkipBridgeToKotlinCompatSamples",
"path" : "Sources/SkipBridgeToKotlinCompatSamples",
"product_dependencies" : [
"SkipFoundation",
"skipstone"
],
"product_memberships" : [
"SkipBridgeToKotlinCompatSamples"
],
"sources" : [
"Samples.swift"
],
"target_dependencies" : [
"SkipBridge"
],
"type" : "library"
},
{
"c99name" : "SkipBridge",
"module_type" : "SwiftTarget",
"name" : "SkipBridge",
"path" : "Sources/SkipBridge",
"product_dependencies" : [
"SwiftJNI",
"SkipLib",
"skipstone"
],
"product_memberships" : [
"SkipBridge",
"SkipBridgeToKotlinSamples",
"SkipBridgeToKotlinSamplesHelpers",
"SkipBridgeToKotlinCompatSamples",
"SkipBridgeToSwiftSamples",
"SkipBridgeToSwiftSamplesHelpers",
"SkipBridgeToSwiftSamplesTestsSupport"
],
"sources" : [
"AnyDynamicObject.swift",
"BridgeSupport.swift",
"BridgedTypes.swift",
"Closures.swift",
"SwiftEquatable.swift",
"SwiftHashable.swift",
"System.swift",
"Tuples.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.