Build Information
Successful build of Reader, reference 0.1.1 (18c2f7
), with Swift 6.0 for Linux on 26 Oct 2024 17:53:57 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/to4iki/Reader.git
Reference: 0.1.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/to4iki/Reader
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at 18c2f75 Bump version 0.1.1
Cloned https://github.com/to4iki/Reader.git
Revision (git rev-parse @):
18c2f7551d4d48d72f497dea64b10fa840235bfe
SUCCESS checkout https://github.com/to4iki/Reader.git at 0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/to4iki/Reader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:cdfc99d922304a35741e6888e6aaaea2f8271a1fe66021a96a2dddcfac2616e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling Reader Reader.swift
/host/spi-builder-workspace/Sources/Reader/Reader.swift:60:28: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
2 | /// - Input: for denpendency.
3 | /// - Element: return a value type.
4 | public struct Reader<Input, Element> {
| `- note: 'Input' previously declared here
5 | public typealias WorkFactory = (Input) -> Element
6 |
:
58 | /// - reader2: The second reader
59 | /// - Returns: A new combined reader
60 | public static func zip<Input, Element1, Element2>(_ reader1: Reader<Input, Element1>, _ reader2: Reader<Input, Element2>) -> Reader<Input, (Element1, Element2)> {
| `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
61 | return reader1.flatMap { element1 in
62 | reader2.map { element2 in (element1, element2) }
[4/4] Emitting module Reader
/host/spi-builder-workspace/Sources/Reader/Reader.swift:60:28: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
2 | /// - Input: for denpendency.
3 | /// - Element: return a value type.
4 | public struct Reader<Input, Element> {
| `- note: 'Input' previously declared here
5 | public typealias WorkFactory = (Input) -> Element
6 |
:
58 | /// - reader2: The second reader
59 | /// - Returns: A new combined reader
60 | public static func zip<Input, Element1, Element2>(_ reader1: Reader<Input, Element1>, _ reader2: Reader<Input, Element2>) -> Reader<Input, (Element1, Element2)> {
| `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
61 | return reader1.flatMap { element1 in
62 | reader2.map { element2 in (element1, element2) }
Build complete! (4.52s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Reader",
"name" : "Reader",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Reader",
"targets" : [
"Reader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ReaderTests",
"module_type" : "SwiftTarget",
"name" : "ReaderTests",
"path" : "Tests/ReaderTests",
"sources" : [
"ReaderTests.swift"
],
"target_dependencies" : [
"Reader"
],
"type" : "test"
},
{
"c99name" : "Reader",
"module_type" : "SwiftTarget",
"name" : "Reader",
"path" : "Sources/Reader",
"product_memberships" : [
"Reader"
],
"sources" : [
"Reader.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:cdfc99d922304a35741e6888e6aaaea2f8271a1fe66021a96a2dddcfac2616e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.