Build Information
Successful build of SwiftImage with Swift 6.0 (beta) for Linux.
Swift 6 data race errors: 3
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/koher/swift-image.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/koher/swift-image
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c61b8cf Merge pull request #53 from koher/dev-0.7.1
Cloned https://github.com/koher/swift-image.git
Revision (git rev-parse @):
c61b8cf4613a7fc80d1c2a84231cef2909e837a1
SUCCESS checkout https://github.com/koher/swift-image.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/koher/swift-image.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/25] Compiling SwiftImage CoreGraphics.swift
[4/25] Compiling SwiftImage ExtrapolatedImage.swift
[5/25] Compiling SwiftImage Extrapolation.swift
[6/28] Compiling SwiftImage TypicalChannel.swift
[7/28] Compiling SwiftImage UIKit.swift
[8/28] Compiling SwiftImage Util.swift
[9/28] Compiling SwiftImage AnyImage.swift
/host/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct AnyImage<Pixel> : ImageProtocol {
| `- note: 'Pixel' previously declared here
4 | public typealias SubImage = AnyImage<Pixel>
5 | public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
:
61 |
62 | extension AnyImage {
63 | private class AnyImageBox<Pixel> {
| `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | public subscript(x: Int, y: Int) -> Pixel {
65 | get {
[10/28] Compiling SwiftImage AppKit.swift
/host/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct AnyImage<Pixel> : ImageProtocol {
| `- note: 'Pixel' previously declared here
4 | public typealias SubImage = AnyImage<Pixel>
5 | public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
:
61 |
62 | extension AnyImage {
63 | private class AnyImageBox<Pixel> {
| `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | public subscript(x: Int, y: Int) -> Pixel {
65 | get {
[11/28] Compiling SwiftImage ColorLiteral.swift
/host/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct AnyImage<Pixel> : ImageProtocol {
| `- note: 'Pixel' previously declared here
4 | public typealias SubImage = AnyImage<Pixel>
5 | public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
:
61 |
62 | extension AnyImage {
63 | private class AnyImageBox<Pixel> {
| `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | public subscript(x: Int, y: Int) -> Pixel {
65 | get {
[12/28] Compiling SwiftImage Convolution.swift
/host/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct AnyImage<Pixel> : ImageProtocol {
| `- note: 'Pixel' previously declared here
4 | public typealias SubImage = AnyImage<Pixel>
5 | public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
:
61 |
62 | extension AnyImage {
63 | private class AnyImageBox<Pixel> {
| `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | public subscript(x: Int, y: Int) -> Pixel {
65 | get {
[13/28] Compiling SwiftImage HigherOrderFunctions.swift
/host/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:6:20: warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
3 | case jpeg(compressionQuality: Double)
4 |
5 | public struct FormattingError<I : ImageProtocol> : Error {
| `- note: consider making generic parameter 'I' conform to the 'Sendable' protocol
6 | public let image: I
| `- warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
7 | public let format: ImageFormat
8 |
/host/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:7:20: warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
1 | public enum ImageFormat {
| `- note: consider making enum 'ImageFormat' conform to the 'Sendable' protocol
2 | case png
3 | case jpeg(compressionQuality: Double)
:
5 | public struct FormattingError<I : ImageProtocol> : Error {
6 | public let image: I
7 | public let format: ImageFormat
| `- warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
8 |
9 | @usableFromInline
[14/28] Compiling SwiftImage Image.swift
/host/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:6:20: warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
3 | case jpeg(compressionQuality: Double)
4 |
5 | public struct FormattingError<I : ImageProtocol> : Error {
| `- note: consider making generic parameter 'I' conform to the 'Sendable' protocol
6 | public let image: I
| `- warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
7 | public let format: ImageFormat
8 |
/host/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:7:20: warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
1 | public enum ImageFormat {
| `- note: consider making enum 'ImageFormat' conform to the 'Sendable' protocol
2 | case png
3 | case jpeg(compressionQuality: Double)
:
5 | public struct FormattingError<I : ImageProtocol> : Error {
6 | public let image: I
7 | public let format: ImageFormat
| `- warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
8 |
9 | @usableFromInline
[15/28] Compiling SwiftImage ImageFormat.swift
/host/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:6:20: warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
3 | case jpeg(compressionQuality: Double)
4 |
5 | public struct FormattingError<I : ImageProtocol> : Error {
| `- note: consider making generic parameter 'I' conform to the 'Sendable' protocol
6 | public let image: I
| `- warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
7 | public let format: ImageFormat
8 |
/host/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:7:20: warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
1 | public enum ImageFormat {
| `- note: consider making enum 'ImageFormat' conform to the 'Sendable' protocol
2 | case png
3 | case jpeg(compressionQuality: Double)
:
5 | public struct FormattingError<I : ImageProtocol> : Error {
6 | public let image: I
7 | public let format: ImageFormat
| `- warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
8 |
9 | @usableFromInline
[16/28] Compiling SwiftImage RGBAOperators.swift
[17/28] Compiling SwiftImage Resizing.swift
[18/28] Compiling SwiftImage Rotation.swift
[19/28] Emitting module SwiftImage
/host/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct AnyImage<Pixel> : ImageProtocol {
| `- note: 'Pixel' previously declared here
4 | public typealias SubImage = AnyImage<Pixel>
5 | public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
:
61 |
62 | extension AnyImage {
63 | private class AnyImageBox<Pixel> {
| `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | public subscript(x: Int, y: Int) -> Pixel {
65 | get {
/host/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:6:20: warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
3 | case jpeg(compressionQuality: Double)
4 |
5 | public struct FormattingError<I : ImageProtocol> : Error {
| `- note: consider making generic parameter 'I' conform to the 'Sendable' protocol
6 | public let image: I
| `- warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
7 | public let format: ImageFormat
8 |
/host/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:7:20: warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
1 | public enum ImageFormat {
| `- note: consider making enum 'ImageFormat' conform to the 'Sendable' protocol
2 | case png
3 | case jpeg(compressionQuality: Double)
:
5 | public struct FormattingError<I : ImageProtocol> : Error {
6 | public let image: I
7 | public let format: ImageFormat
| `- warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
8 |
9 | @usableFromInline
[20/28] Compiling SwiftImage ImageSlice.swift
[21/28] Compiling SwiftImage Interpolation.swift
[22/28] Compiling SwiftImage NumericPixel.swift
[23/28] Compiling SwiftImage PremultipliedRGBA.swift
[24/28] Compiling SwiftImage RGB.swift
[25/28] Compiling SwiftImage RGBA.swift
[26/28] Compiling SwiftImage ImageIterator.swift
[27/28] Compiling SwiftImage ImageOperators.swift
[28/28] Compiling SwiftImage ImageProtocol.swift
Build complete! (30.97s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftImage",
"name" : "SwiftImage",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftImage",
"targets" : [
"SwiftImage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftImageTests",
"module_type" : "SwiftTarget",
"name" : "SwiftImageTests",
"path" : "Tests/SwiftImageTests",
"sources" : [
"AnyImageTests.swift",
"AppKitTests.swift",
"AppUIKitTests.swift",
"AutoreleaseTests.swift",
"ColorLiteralTests.swift",
"ConvolutionTests.swift",
"CoreGraphicsTests.swift",
"ExtrapolationTests.swift",
"HigherOrderFunctionsTests.swift",
"ImageOperatorsTests.swift",
"ImageProtocolTests.swift",
"ImageSliceTests.swift",
"ImageTests.swift",
"InterpolationTests.swift",
"PremultipliedRGBATests.swift",
"RGBAOperatorsTests.swift",
"RGBATests.swift",
"RGBTests.swift",
"ResizingTests.swift",
"RotationTests.swift",
"SwiftImageTests.swift",
"UIKitTests.swift",
"Util.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftImage"
],
"type" : "test"
},
{
"c99name" : "SwiftImage",
"module_type" : "SwiftTarget",
"name" : "SwiftImage",
"path" : "Sources/SwiftImage",
"product_memberships" : [
"SwiftImage"
],
"sources" : [
"AnyImage.swift",
"AppKit.swift",
"ColorLiteral.swift",
"Convolution.swift",
"CoreGraphics.swift",
"ExtrapolatedImage.swift",
"Extrapolation.swift",
"HigherOrderFunctions.swift",
"Image.swift",
"ImageFormat.swift",
"ImageIterator.swift",
"ImageOperators.swift",
"ImageProtocol.swift",
"ImageSlice.swift",
"Interpolation.swift",
"NumericPixel.swift",
"PremultipliedRGBA.swift",
"RGB.swift",
"RGBA.swift",
"RGBAOperators.swift",
"Resizing.swift",
"Rotation.swift",
"TypicalChannel.swift",
"UIKit.swift",
"Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.