Build Information
Successful build of CommonParsers, reference master (fb6f45
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:38:43 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ilyapuchka/common-parsers.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3294] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.96s)
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)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "common-parsers",
"name": "CommonParsers",
"url": "https://github.com/ilyapuchka/common-parsers.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/common-parsers",
"dependencies": [
{
"identity": "swift-prelude",
"name": "Prelude",
"url": "https://github.com/pointfreeco/swift-prelude.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-prelude",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ilyapuchka/common-parsers.git
[1/72] Fetching common-parsers
Fetched https://github.com/ilyapuchka/common-parsers.git from cache (0.68s)
Fetching https://github.com/pointfreeco/swift-prelude.git from cache
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.47s)
Creating working copy for https://github.com/pointfreeco/swift-prelude.git
Working copy of https://github.com/pointfreeco/swift-prelude.git resolved at master (b4ceef2)
Creating working copy for https://github.com/ilyapuchka/common-parsers.git
Working copy of https://github.com/ilyapuchka/common-parsers.git resolved at master (fb6f45c)
warning: '.resolve-product-dependencies': dependency 'common-parsers' is not used by any target
Found 1 product dependencies
- Prelude
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ilyapuchka/common-parsers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/37] Emitting module Prelude
[5/40] Compiling Prelude FreeNearSemiring.swift
[6/40] Compiling Prelude Func.swift
[7/40] Compiling Prelude Function.swift
[8/40] Compiling Prelude HeytingAlgebra.swift
[9/40] Compiling Prelude Alt.swift
[10/40] Compiling Prelude Array.swift
[11/40] Compiling Prelude Collection.swift
[12/40] Compiling Prelude CommutativeRing.swift
[13/40] Compiling Prelude Comparable.swift
[14/40] Compiling Prelude Comparator.swift
[15/40] Compiling Prelude Curry.swift
[16/40] Compiling Prelude Endo.swift
[17/40] Compiling Prelude Strong.swift
[18/40] Compiling Prelude Tuple.swift
[19/40] Compiling Prelude Unit.swift
[20/40] Compiling Prelude Ring.swift
[21/40] Compiling Prelude Semigroup.swift
[22/40] Compiling Prelude Semiring.swift
[23/40] Compiling Prelude Parallel.swift
[24/40] Compiling Prelude Plus.swift
[25/40] Compiling Prelude PrecedenceGroups.swift
[26/40] Compiling Prelude NearSemiring.swift
[27/40] Compiling Prelude Never.swift
[28/40] Compiling Prelude Operators.swift
[29/40] Compiling Prelude Optional.swift
[30/40] Compiling Prelude Equatable.swift
[31/40] Compiling Prelude EuclideanRing.swift
[32/40] Compiling Prelude Field.swift
[33/40] Compiling Prelude Filterable.swift
[34/40] Compiling Prelude Sequence.swift
[35/40] Compiling Prelude Set.swift
[36/40] Compiling Prelude String.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
[41/47] Compiling CommonParsers Template.swift
[42/47] Compiling CommonParsers Parser.swift
[43/47] Compiling CommonParsers PartialIso.swift
/Users/admin/builder/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: {
[44/47] Emitting module CommonParsers
/Users/admin/builder/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/47] Compiling CommonParsers Format.swift
[46/47] Compiling CommonParsers Parenthesize.swift
[47/47] Compiling CommonParsers Matchable.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
Build complete! (13.55s)
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" : "/Users/admin/builder/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.