Build Information
Successful build of Trails, reference master (9d71a3
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 13:23:21 UTC.
Swift 6 data race errors: 0
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/heestand-xyz/Trails.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heestand-xyz/Trails
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9d71a3b Vision Pro
Cloned https://github.com/heestand-xyz/Trails.git
Revision (git rev-parse @):
9d71a3bda201c38d0687ca3d7f405a49298d903c
SUCCESS checkout https://github.com/heestand-xyz/Trails.git at master
========================================
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": "trails",
"name": "Trails",
"url": "https://github.com/heestand-xyz/Trails.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Trails",
"dependencies": [
]
}
]
}
Fetching https://github.com/heestand-xyz/Trails.git
[1/376] Fetching trails
Fetched https://github.com/heestand-xyz/Trails.git from cache (0.68s)
Creating working copy for https://github.com/heestand-xyz/Trails.git
Working copy of https://github.com/heestand-xyz/Trails.git resolved at master (9d71a3b)
warning: '.resolve-product-dependencies': dependency 'trails' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/heestand-xyz/Trails.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/15] Compiling Trails PathTrail.swift
[4/15] Compiling Trails PathCircle.swift
[5/15] Compiling Trails TimeValue.swift
[6/15] Compiling Trails DefaultLabelsView.swift
[7/15] Compiling Trails LinesView.swift
[8/15] Compiling Trails Trailer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Controllers/TrailerMock.swift:31:17: warning: capture of 'mockTrailer' with non-sendable type 'Trailer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | var value: Double = cos(time * timeAmp + .pi * 2 * f) * scales[i] + offsets[i]
30 | value *= cos(time * 0.1) / 2 + 0.5
31 | mockTrailer.add(value, at: i)
| `- warning: capture of 'mockTrailer' with non-sendable type 'Trailer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | }
33 | }), forMode: .common)
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Controllers/Trailer.swift:8:14: note: class 'Trailer' does not conform to the 'Sendable' protocol
6 |
7 | @available(iOS 13.0, tvOS 13.0, watchOS 6, macOS 10.15, *)
8 | public class Trailer: ObservableObject {
| `- note: class 'Trailer' does not conform to the 'Sendable' protocol
9 |
10 | /// trail count
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Controllers/TrailerMock.swift:29:73: warning: reference to captured var 'scales' in concurrently-executing code; this is an error in the Swift 6 language mode
27 | for i in 0..<count {
28 | let f: Double = Double(i) / Double(count)
29 | var value: Double = cos(time * timeAmp + .pi * 2 * f) * scales[i] + offsets[i]
| `- warning: reference to captured var 'scales' in concurrently-executing code; this is an error in the Swift 6 language mode
30 | value *= cos(time * 0.1) / 2 + 0.5
31 | mockTrailer.add(value, at: i)
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Controllers/TrailerMock.swift:29:85: warning: reference to captured var 'offsets' in concurrently-executing code; this is an error in the Swift 6 language mode
27 | for i in 0..<count {
28 | let f: Double = Double(i) / Double(count)
29 | var value: Double = cos(time * timeAmp + .pi * 2 * f) * scales[i] + offsets[i]
| `- warning: reference to captured var 'offsets' in concurrently-executing code; this is an error in the Swift 6 language mode
30 | value *= cos(time * 0.1) / 2 + 0.5
31 | mockTrailer.add(value, at: i)
[9/15] Compiling Trails TrailerMock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Controllers/TrailerMock.swift:31:17: warning: capture of 'mockTrailer' with non-sendable type 'Trailer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | var value: Double = cos(time * timeAmp + .pi * 2 * f) * scales[i] + offsets[i]
30 | value *= cos(time * 0.1) / 2 + 0.5
31 | mockTrailer.add(value, at: i)
| `- warning: capture of 'mockTrailer' with non-sendable type 'Trailer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | }
33 | }), forMode: .common)
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Controllers/Trailer.swift:8:14: note: class 'Trailer' does not conform to the 'Sendable' protocol
6 |
7 | @available(iOS 13.0, tvOS 13.0, watchOS 6, macOS 10.15, *)
8 | public class Trailer: ObservableObject {
| `- note: class 'Trailer' does not conform to the 'Sendable' protocol
9 |
10 | /// trail count
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Controllers/TrailerMock.swift:29:73: warning: reference to captured var 'scales' in concurrently-executing code; this is an error in the Swift 6 language mode
27 | for i in 0..<count {
28 | let f: Double = Double(i) / Double(count)
29 | var value: Double = cos(time * timeAmp + .pi * 2 * f) * scales[i] + offsets[i]
| `- warning: reference to captured var 'scales' in concurrently-executing code; this is an error in the Swift 6 language mode
30 | value *= cos(time * 0.1) / 2 + 0.5
31 | mockTrailer.add(value, at: i)
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Controllers/TrailerMock.swift:29:85: warning: reference to captured var 'offsets' in concurrently-executing code; this is an error in the Swift 6 language mode
27 | for i in 0..<count {
28 | let f: Double = Double(i) / Double(count)
29 | var value: Double = cos(time * timeAmp + .pi * 2 * f) * scales[i] + offsets[i]
| `- warning: reference to captured var 'offsets' in concurrently-executing code; this is an error in the Swift 6 language mode
30 | value *= cos(time * 0.1) / 2 + 0.5
31 | mockTrailer.add(value, at: i)
[10/15] Compiling Trails PathLines.swift
[11/15] Compiling Trails TrailView.swift
[12/15] Compiling Trails LabelsView.swift
[13/15] Compiling Trails LiveLabelsView.swift
[14/15] Emitting module Trails
[15/15] Compiling Trails DefaultLinesView.swift
[16/16] Compiling Trails TrailsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Trails/Views/TrailsView.swift:51:42: warning: non-constant range: argument must be an integer literal
49 | endPoint: .trailing))
50 | ZStack {
51 | ForEach(0..<self.trailer.count) { i in
| `- warning: non-constant range: argument must be an integer literal
52 | TrailView(trailer: self.trailer,
53 | color: $color,
Build complete! (27.06s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Trails",
"name" : "Trails",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Trails",
"targets" : [
"Trails"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Trails",
"module_type" : "SwiftTarget",
"name" : "Trails",
"path" : "Sources/Trails",
"product_memberships" : [
"Trails"
],
"sources" : [
"Controllers/Trailer.swift",
"Controllers/TrailerMock.swift",
"Models/TimeValue.swift",
"Views/Labels/DefaultLabelsView.swift",
"Views/Labels/LabelsView.swift",
"Views/Labels/LiveLabelsView.swift",
"Views/Lines/DefaultLinesView.swift",
"Views/Lines/LinesView.swift",
"Views/Trails/Paths/PathCircle.swift",
"Views/Trails/Paths/PathLines.swift",
"Views/Trails/Paths/PathTrail.swift",
"Views/Trails/TrailView.swift",
"Views/TrailsView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.