Build Information
Successful build of CommonParsers with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ilyapuchka/common-parsers.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ilyapuchka/common-parsers
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fb6f45c print template without parameters
Cloned https://github.com/ilyapuchka/common-parsers.git
Revision (git rev-parse @):
fb6f45cc44c4bd3b1385bf57e67755944e405ede
SUCCESS checkout https://github.com/ilyapuchka/common-parsers.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/ilyapuchka/common-parsers.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3290] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.27s)
Creating working copy for https://github.com/pointfreeco/swift-prelude.git
Working copy of https://github.com/pointfreeco/swift-prelude.git resolved at master (c61b493)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/36] Emitting module Prelude
[5/40] Compiling Prelude Semigroup.swift
[6/40] Compiling Prelude Semiring.swift
[7/40] Compiling Prelude Sequence.swift
[8/40] Compiling Prelude Set.swift
[9/40] Compiling Prelude NearSemiring.swift
[10/40] Compiling Prelude Never.swift
[11/40] Compiling Prelude Operators.swift
[12/40] Compiling Prelude Optional.swift
[13/40] Compiling Prelude Alt.swift
[14/40] Compiling Prelude Array.swift
[15/40] Compiling Prelude Collection.swift
[16/40] Compiling Prelude CommutativeRing.swift
[17/40] Compiling Prelude Comparable.swift
[18/40] Compiling Prelude String.swift
[19/40] Compiling Prelude Strong.swift
[20/40] Compiling Prelude Tuple.swift
[21/40] Compiling Prelude Unit.swift
[22/40] Compiling Prelude Comparator.swift
[23/40] Compiling Prelude Curry.swift
[24/40] Compiling Prelude Endo.swift
[25/40] Compiling Prelude Equatable.swift
[26/40] Compiling Prelude EuclideanRing.swift
[27/40] Compiling Prelude Field.swift
[28/40] Compiling Prelude Filterable.swift
[29/40] Compiling Prelude FreeNearSemiring.swift
[30/40] Compiling Prelude Func.swift
[31/40] Compiling Prelude Function.swift
[32/40] Compiling Prelude Parallel.swift
[33/40] Compiling Prelude Plus.swift
[34/40] Compiling Prelude PrecedenceGroups.swift
[35/40] Compiling Prelude Ring.swift
[36/40] Compiling Prelude HeytingAlgebra.swift
[37/40] Compiling Prelude Hole.swift
[38/40] Compiling Prelude IO.swift
[39/40] Compiling Prelude KeyPath.swift
[40/40] Compiling Prelude Monoid.swift
[42/48] Compiling CommonParsers Template.swift
[43/48] Compiling CommonParsers Format.swift
[44/48] Emitting module CommonParsers
/host/spi-builder-workspace/Sources/CommonParsers/PartialIso.swift:212:12: warning: let 'jsonDictionaryToData' is not concurrency-safe because non-'Sendable' type 'PartialIso<[String : String], Data>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct PartialIso<A, B> {
| `- note: consider making generic struct 'PartialIso' conform to the 'Sendable' protocol
23 | public let apply: (A) throws -> B?
24 | public let unapply: (B) throws -> A?
:
210 | }
211 |
212 | public let jsonDictionaryToData = PartialIso<[String: String], Data>(
| |- warning: let 'jsonDictionaryToData' is not concurrency-safe because non-'Sendable' type 'PartialIso<[String : String], Data>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonDictionaryToData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | apply: { try? JSONSerialization.data(withJSONObject: $0) },
214 | unapply: {
[45/48] Compiling CommonParsers Parser.swift
[46/48] Compiling CommonParsers PartialIso.swift
/host/spi-builder-workspace/Sources/CommonParsers/PartialIso.swift:212:12: warning: let 'jsonDictionaryToData' is not concurrency-safe because non-'Sendable' type 'PartialIso<[String : String], Data>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct PartialIso<A, B> {
| `- note: consider making generic struct 'PartialIso' conform to the 'Sendable' protocol
23 | public let apply: (A) throws -> B?
24 | public let unapply: (B) throws -> A?
:
210 | }
211 |
212 | public let jsonDictionaryToData = PartialIso<[String: String], Data>(
| |- warning: let 'jsonDictionaryToData' is not concurrency-safe because non-'Sendable' type 'PartialIso<[String : String], Data>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonDictionaryToData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | apply: { try? JSONSerialization.data(withJSONObject: $0) },
214 | unapply: {
[47/48] Compiling CommonParsers Matchable.swift
/host/spi-builder-workspace/Sources/CommonParsers/Matchable.swift:10:23: warning: forming 'UnsafeRawPointer' to a variable of type 'Root'; this is likely incorrect because 'Root' may contain an object reference.
8 | var otherRoot = embed(value)
9 | var root = root
10 | if memcmp(&root, &otherRoot, MemoryLayout<Root>.size) == 0 {
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'Root'; this is likely incorrect because 'Root' may contain an object reference.
11 | return ([], value)
12 | }
/host/spi-builder-workspace/Sources/CommonParsers/Matchable.swift:10:30: warning: forming 'UnsafeRawPointer' to a variable of type 'Root'; this is likely incorrect because 'Root' may contain an object reference.
8 | var otherRoot = embed(value)
9 | var root = root
10 | if memcmp(&root, &otherRoot, MemoryLayout<Root>.size) == 0 {
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'Root'; this is likely incorrect because 'Root' may contain an object reference.
11 | return ([], value)
12 | }
[48/48] Compiling CommonParsers Parenthesize.swift
Build complete! (18.20s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-prelude",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-prelude.git"
}
],
"manifest_display_name" : "CommonParsers",
"name" : "CommonParsers",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CommonParsers",
"targets" : [
"CommonParsers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CommonParsersTests",
"module_type" : "SwiftTarget",
"name" : "CommonParsersTests",
"path" : "Tests/CommonParsersTests",
"sources" : [
"CommonParsersTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CommonParsers"
],
"type" : "test"
},
{
"c99name" : "CommonParsers",
"module_type" : "SwiftTarget",
"name" : "CommonParsers",
"path" : "Sources/CommonParsers",
"product_dependencies" : [
"Prelude"
],
"product_memberships" : [
"CommonParsers"
],
"sources" : [
"Format.swift",
"Matchable.swift",
"Parenthesize.swift",
"Parser.swift",
"PartialIso.swift",
"Template.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.