Build Information
Successful build of PKLogManager, reference 1.0.0 (591140
), with Swift 6.0 for Linux on 14 Oct 2024 01:56:03 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prabhatk/PKLogManager.git
Reference: 1.0.0
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/prabhatk/PKLogManager
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 5911408 PKLogManager first commit v 1.0.0
Cloned https://github.com/prabhatk/PKLogManager.git
Revision (git rev-parse @):
591140832517d1056b48a9c2e97cb5531e9669ba
SUCCESS checkout https://github.com/prabhatk/PKLogManager.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/prabhatk/PKLogManager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/marmelroy/Zip.git
[1/1972] Fetching zip
Fetched https://github.com/marmelroy/Zip.git from cache (0.36s)
Creating working copy for https://github.com/marmelroy/Zip.git
Working copy of https://github.com/marmelroy/Zip.git resolved at 2.1.2
Building for debugging...
[0/6] Write sources
[2/6] Compiling Minizip ioapi.c
[3/6] Compiling Minizip zip.c
[4/6] Compiling Minizip unzip.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/10] Compiling Zip Zip.swift
[8/10] Compiling Zip ZipUtilities.swift
[9/10] Compiling Zip QuickZip.swift
[10/10] Emitting module Zip
[12/13] Emitting module PKLogManager
/host/spi-builder-workspace/Sources/PKLogManager/PKLogManager.swift:7:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PKLogManager' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Zip
5 |
6 | public class PKLogManager {
| `- note: class 'PKLogManager' does not conform to the 'Sendable' protocol
7 | public static let shared = PKLogManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PKLogManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private let fileManager = FileManager.default
[13/13] Compiling PKLogManager PKLogManager.swift
/host/spi-builder-workspace/Sources/PKLogManager/PKLogManager.swift:7:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PKLogManager' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Zip
5 |
6 | public class PKLogManager {
| `- note: class 'PKLogManager' does not conform to the 'Sendable' protocol
7 | public static let shared = PKLogManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PKLogManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private let fileManager = FileManager.default
/host/spi-builder-workspace/Sources/PKLogManager/PKLogManager.swift:70:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
68 |
69 | if !fileManager.fileExists(atPath: logFileURL.path) {
70 | fileManager.createFile(atPath: logFileURL.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
71 | }
72 |
Build complete! (11.94s)
Build complete.
{
"dependencies" : [
{
"identity" : "zip",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/marmelroy/Zip.git"
}
],
"manifest_display_name" : "PKLogManager",
"name" : "PKLogManager",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PKLogManager",
"targets" : [
"PKLogManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PKLogManager",
"module_type" : "SwiftTarget",
"name" : "PKLogManager",
"path" : "Sources/PKLogManager",
"product_dependencies" : [
"Zip"
],
"product_memberships" : [
"PKLogManager"
],
"sources" : [
"PKLogManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.