The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build JSONPreview, reference 2.3.1 (a45086), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 15:01:02 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/JSONPreview.git
Reference: 2.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RakuyoKit/JSONPreview
 * tag               2.3.1      -> FETCH_HEAD
HEAD is now at a45086a Merge branch release/2.3.1
Cloned https://github.com/RakuyoKit/JSONPreview.git
Revision (git rev-parse @):
a45086a9ad6230d9efc8d5ee09b2826732f3320f
SUCCESS checkout https://github.com/RakuyoKit/JSONPreview.git at 2.3.1
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/83] Fetching collectionconcurrencykit
[84/12786] Fetching collectionconcurrencykit, cryptoswift
[212/22688] Fetching collectionconcurrencykit, cryptoswift, yams
[340/38704] Fetching collectionconcurrencykit, cryptoswift, yams, sourcekitten
[341/51057] Fetching collectionconcurrencykit, cryptoswift, yams, sourcekitten, swift-argument-parser
[20625/117456] Fetching collectionconcurrencykit, cryptoswift, yams, sourcekitten, swift-argument-parser, swift-syntax
[41442/258644] Fetching collectionconcurrencykit, cryptoswift, yams, sourcekitten, swift-argument-parser, swift-syntax, swiftlint
Fetched https://github.com/jpsim/SourceKitten.git from cache (4.21s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[109207/242628] Fetching collectionconcurrencykit, cryptoswift, yams, swift-argument-parser, swift-syntax, swiftlint
[118384/243557] Fetching collectionconcurrencykit, cryptoswift, yams, swift-argument-parser, swift-syntax, swiftlint, swiftytexttable
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.98s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetched https://github.com/apple/swift-syntax.git from cache (5.55s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (5.55s)
Fetched https://github.com/jpsim/Yams.git from cache (5.55s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (5.55s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.55s)
[18356/144008] Fetching swiftlint, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.06s)
[19245/141188] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint.git from cache (266.54s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.54.0 (0.80s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.1 (3.27s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.61s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.64s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.0 (0.63s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.34.1 (0.63s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (0.75s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.66s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.64s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.3
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.1
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.34.1
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.54.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
[36544/10235927] Downloading https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip (1.58s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/RakuyoKit/JSONPreview.git
[1/2806] Fetching jsonpreview
Fetched https://github.com/RakuyoKit/JSONPreview.git from cache (1.30s)
Fetching https://github.com/realm/SwiftLint.git from cache
Fetched https://github.com/realm/SwiftLint.git from cache (0.86s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.57.0 (0.49s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git from cache
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/SourceKitten.git from cache
Fetching https://github.com/krzyzanowskim/CryptoSwift.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.62s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (0.62s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.62s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (0.62s)
[1/66399] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.78s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.78s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.78s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.02s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.02s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.35.0 (0.63s)
Fetching https://github.com/drmohundro/SWXMLHash.git from cache
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.47s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.03s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.63s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0-prerelease-2024-08-14 (0.69s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.0-prerelease-2024-08-14
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.35.0
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/RakuyoKit/JSONPreview.git
Working copy of https://github.com/RakuyoKit/JSONPreview.git resolved at 2.3.1 (a45086a)
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.57.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
[4125/11453398] Downloading https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip (1.43s)
error: 'jsonpreview': product 'SwiftLintPlugin' required by package 'jsonpreview' target 'JSONPreview' not found in package 'SwiftLint'. Did you mean 'SwiftLintBinary'?
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/RakuyoKit/JSONPreview.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
error: the library 'JSONPreview' requires macos 10.13, but depends on the product 'SwiftLintPlugin' which requires macos 12.0; consider changing the library 'JSONPreview' to require macos 12.0 or later, or the product 'SwiftLintPlugin' to require macos 10.13 or earlier.
BUILD FAILURE 6.0 macosSpm