Build Information
Successful build of swift-log-matrix, reference 0.3.1 (fa678c
), with Swift 6.0 for Linux on 29 Nov 2024 08:32:09 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/swift-log-matrix.git
Reference: 0.3.1
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/kiliankoe/swift-log-matrix
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at fa678c2 reformat log output and allow custom timestamp format
Cloned https://github.com/kiliankoe/swift-log-matrix.git
Revision (git rev-parse @):
fa678c27fce234deece224245cd44c4dcc380982
SUCCESS checkout https://github.com/kiliankoe/swift-log-matrix.git at 0.3.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/kiliankoe/swift-log-matrix.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
[1/3709] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.39s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling Logging Locks.swift
[5/8] Compiling Logging Logging.swift
[6/8] Compiling Logging LogHandler.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging MetadataProvider.swift
[10/15] Compiling LoggingMatrix Message.swift
[11/15] Compiling LoggingMatrix Metadata+merged.swift
[12/15] Compiling LoggingMatrix URLSession+async.swift
[13/15] Emitting module LoggingMatrix
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:18:23: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | private var dateFormatter: DateFormatter
17 |
18 | public static var defaultDateFormatter: DateFormatter = {
| |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultDateFormatter' 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
19 | let dateFormatter = DateFormatter()
20 | dateFormatter.dateFormat = "E, d MMM yyyy HH:mm:ss Z"
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:8:14: warning: non-final class 'MatrixLogHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public class MatrixLogHandler: LogHandler {
| `- warning: non-final class 'MatrixLogHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | private var homeserver: URL
10 | private var roomID: String
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:9:17: warning: stored property 'homeserver' of 'Sendable'-conforming class 'MatrixLogHandler' is mutable; this is an error in the Swift 6 language mode
7 |
8 | public class MatrixLogHandler: LogHandler {
9 | private var homeserver: URL
| `- warning: stored property 'homeserver' of 'Sendable'-conforming class 'MatrixLogHandler' is mutable; this is an error in the Swift 6 language mode
10 | private var roomID: String
11 | private var accessToken: String
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:8:14: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
6 | #endif
7 |
8 | public class MatrixLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
9 | private var homeserver: URL
10 | private var roomID: String
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
[14/15] Compiling LoggingMatrix LoggingMatrixError.swift
[15/15] Compiling LoggingMatrix MatrixLogHandler.swift
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:18:23: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | private var dateFormatter: DateFormatter
17 |
18 | public static var defaultDateFormatter: DateFormatter = {
| |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultDateFormatter' 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
19 | let dateFormatter = DateFormatter()
20 | dateFormatter.dateFormat = "E, d MMM yyyy HH:mm:ss Z"
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:8:14: warning: non-final class 'MatrixLogHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public class MatrixLogHandler: LogHandler {
| `- warning: non-final class 'MatrixLogHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | private var homeserver: URL
10 | private var roomID: String
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:9:17: warning: stored property 'homeserver' of 'Sendable'-conforming class 'MatrixLogHandler' is mutable; this is an error in the Swift 6 language mode
7 |
8 | public class MatrixLogHandler: LogHandler {
9 | private var homeserver: URL
| `- warning: stored property 'homeserver' of 'Sendable'-conforming class 'MatrixLogHandler' is mutable; this is an error in the Swift 6 language mode
10 | private var roomID: String
11 | private var accessToken: String
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:8:14: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
6 | #endif
7 |
8 | public class MatrixLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
9 | private var homeserver: URL
10 | private var roomID: String
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
Build complete! (11.08s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "swift-log-matrix",
"name" : "swift-log-matrix",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "LoggingMatrix",
"targets" : [
"LoggingMatrix"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LoggingMatrixTests",
"module_type" : "SwiftTarget",
"name" : "LoggingMatrixTests",
"path" : "Tests/LoggingMatrixTests",
"sources" : [
"LoggingMatrixTests.swift"
],
"target_dependencies" : [
"LoggingMatrix"
],
"type" : "test"
},
{
"c99name" : "LoggingMatrix",
"module_type" : "SwiftTarget",
"name" : "LoggingMatrix",
"path" : "Sources/LoggingMatrix",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"LoggingMatrix"
],
"sources" : [
"LoggingMatrixError.swift",
"MatrixLogHandler.swift",
"Message.swift",
"Metadata+merged.swift",
"URLSession+async.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.