Build Information
Successful build of Reader, reference master (b2db81), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 13:39:26 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/to4iki/Reader.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/to4iki/Reader
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b2db817 Merge pull request #5 from to4iki/git-hooks
Cloned https://github.com/to4iki/Reader.git
Revision (git rev-parse @):
b2db81756abc51df29238089d785272598ec7d82
SUCCESS checkout https://github.com/to4iki/Reader.git at master
Fetching https://github.com/orta/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/orta/Komondor.git
Fetching https://github.com/llvm-swift/FileCheck.git
Fetching https://github.com/typelift/SwiftCheck.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
[1/980] Fetching shellout
[11/5867] Fetching shellout, swiftcheck
[227/6447] Fetching shellout, swiftcheck, packageconfig
[750/6926] Fetching shellout, swiftcheck, packageconfig, filecheck
[992/7435] Fetching shellout, swiftcheck, packageconfig, filecheck, komondor
[7436/63437] Fetching shellout, swiftcheck, packageconfig, filecheck, komondor, swiftformat
Fetched https://github.com/orta/Komondor.git from cache (38.55s)
Fetched https://github.com/orta/PackageConfig.git from cache (38.55s)
Fetched https://github.com/typelift/SwiftCheck.git from cache (38.55s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (38.56s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Fetched https://github.com/llvm-swift/FileCheck.git from cache (38.56s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (38.56s)
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.37.1 (40.86s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.0.1 (0.67s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.11.0 (0.65s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.1.0 (0.65s)
Computing version for https://github.com/orta/PackageConfig.git
Computed https://github.com/orta/PackageConfig.git at 0.0.1 (0.65s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.0.8 (0.65s)
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.0.8
Creating working copy for https://github.com/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.0.1
Creating working copy for https://github.com/orta/PackageConfig.git
Working copy of https://github.com/orta/PackageConfig.git resolved at 0.0.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.1.0
Creating working copy for https://github.com/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.11.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.37.1
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "reader",
"name": "Reader",
"url": "https://github.com/to4iki/Reader.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Reader",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftcheck",
"name": "SwiftCheck",
"url": "https://github.com/typelift/SwiftCheck.git",
"version": "0.12.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCheck",
"traits": [
"default"
],
"dependencies": [
{
"identity": "filecheck",
"name": "FileCheck",
"url": "https://github.com/llvm-swift/FileCheck.git",
"version": "0.2.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FileCheck",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "chalk",
"name": "Chalk",
"url": "https://github.com/mxcl/Chalk.git",
"version": "0.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Chalk",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
},
{
"identity": "komondor",
"name": "Komondor",
"url": "https://github.com/orta/Komondor.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Komondor",
"traits": [
"default"
],
"dependencies": [
{
"identity": "packageconfig",
"name": "PackageConfig",
"url": "https://github.com/shibapm/PackageConfig.git",
"version": "1.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageConfig",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/JohnSundell/ShellOut.git",
"version": "2.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swiftformat",
"name": "SwiftFormat",
"url": "https://github.com/nicklockwood/SwiftFormat.git",
"version": "0.60.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftFormat",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swiftlint",
"name": "SwiftLint",
"url": "https://github.com/Realm/SwiftLint.git",
"version": "0.59.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLint",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax.git",
"version": "601.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "sourcekitten",
"name": "SourceKitten",
"url": "https://github.com/jpsim/SourceKitten.git",
"version": "0.37.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SourceKitten",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swxmlhash",
"name": "SWXMLHash",
"url": "https://github.com/drmohundro/SWXMLHash.git",
"version": "7.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SWXMLHash",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams",
"version": "5.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams",
"version": "5.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swiftytexttable",
"name": "SwiftyTextTable",
"url": "https://github.com/scottrhoyt/SwiftyTextTable.git",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyTextTable",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "collectionconcurrencykit",
"name": "CollectionConcurrencyKit",
"url": "https://github.com/JohnSundell/CollectionConcurrencyKit.git",
"version": "0.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CollectionConcurrencyKit",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "cryptoswift",
"name": "CryptoSwift",
"url": "https://github.com/krzyzanowskim/CryptoSwift.git",
"version": "1.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "rocket",
"name": "Rocket",
"url": "https://github.com/f-meloni/Rocket",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rocket",
"traits": [
"default"
],
"dependencies": [
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams",
"version": "5.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "logger",
"name": "Logger",
"url": "https://github.com/shibapm/Logger",
"version": "0.2.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Logger",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swiftshell",
"name": "SwiftShell",
"url": "https://github.com/kareman/SwiftShell",
"version": "5.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftShell",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "packageconfig",
"name": "PackageConfig",
"url": "https://github.com/shibapm/PackageConfig.git",
"version": "1.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageConfig",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
},
{
"identity": "swiftformat",
"name": "SwiftFormat",
"url": "https://github.com/nicklockwood/SwiftFormat.git",
"version": "0.60.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftFormat",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/to4iki/Reader.git
[1/169] Fetching reader
Fetched https://github.com/to4iki/Reader.git from cache (0.76s)
Fetching https://github.com/nicklockwood/SwiftFormat.git from cache
Fetching https://github.com/orta/Komondor.git from cache
Fetching https://github.com/typelift/SwiftCheck.git from cache
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (0.66s)
Fetched https://github.com/typelift/SwiftCheck.git from cache (0.67s)
Fetched https://github.com/orta/Komondor.git from cache (0.67s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.12.0 (2.76s)
Fetching https://github.com/llvm-swift/FileCheck.git from cache
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.41s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (1.08s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mxcl/Chalk.git
[1/81] Fetching chalk
[60/17593] Fetching chalk, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.53s)
Fetched https://github.com/mxcl/Chalk.git from cache (1.53s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (2.20s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.1.4 (0.71s)
Fetching https://github.com/JohnSundell/ShellOut.git from cache
Fetching https://github.com/f-meloni/Rocket
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[25/1966] Fetching packageconfig, rocket
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.79s)
[1/160765] Fetching swiftlint
Fetched https://github.com/f-meloni/Rocket from cache (101.34s)
Fetched https://github.com/Realm/SwiftLint.git from cache (101.34s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (101.34s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (102.15s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/jpsim/Yams
[1/116] Fetching logger
[29/5007] Fetching logger, swiftshell
[704/16558] Fetching logger, swiftshell, yams
Fetched https://github.com/kareman/SwiftShell from cache (1.23s)
[1503/11667] Fetching logger, yams
Fetched https://github.com/jpsim/Yams from cache (1.96s)
Fetched https://github.com/shibapm/Logger from cache (1.96s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.1 (2.64s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.64s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.64s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.65s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.66s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.59s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.59.1 (0.63s)
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/101] Fetching collectionconcurrencykit
[102/1030] Fetching collectionconcurrencykit, swiftytexttable
[363/17230] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten
[364/30571] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, cryptoswift
[20700/105508] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, cryptoswift, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.05s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.05s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (2.05s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.05s)
[19484/74937] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.22s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (4.93s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.66s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.76s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.66s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.65s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.01s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.73s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.60.1 (0.68s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.3.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
Creating working copy for https://github.com/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.12.0
Creating working copy for https://github.com/to4iki/Reader.git
Working copy of https://github.com/to4iki/Reader.git resolved at master (b2db817)
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.60.1
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.59.1
Creating working copy for https://github.com/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.1.4
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.1
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
[12393/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (2.98s)
warning: '.resolve-product-dependencies': dependency 'reader' is not used by any target
Found 3 product dependencies
- SwiftCheck
- Komondor
- SwiftFormat
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/to4iki/Reader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/4] Emitting module Reader
/Users/admin/builder/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] Compiling Reader Reader.swift
/Users/admin/builder/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! (3.41s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftcheck",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/typelift/SwiftCheck.git"
},
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/orta/Komondor.git"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.37.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat.git"
}
],
"manifest_display_name" : "Reader",
"name" : "Reader",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Reader",
"targets" : [
"Reader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ReaderTests",
"module_type" : "SwiftTarget",
"name" : "ReaderTests",
"path" : "Tests/ReaderTests",
"product_dependencies" : [
"SwiftCheck"
],
"sources" : [
"Reader+SwiftCheck.swift",
"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"
}
Done.