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

Successful build of Wallpaper, reference main (3446ed), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 03:29:59 UTC.

Swift 6 data race errors: 5

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/sindresorhus/macos-wallpaper.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sindresorhus/macos-wallpaper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3446ed5 2.3.2
Cloned https://github.com/sindresorhus/macos-wallpaper.git
Revision (git rev-parse @):
3446ed59c4d2320d7948ac7348e5b171bf84880d
SUCCESS checkout https://github.com/sindresorhus/macos-wallpaper.git at main
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/stephencelis/SQLite.swift
[1/9583] Fetching sqlite.swift
[576/21941] Fetching sqlite.swift, swift-argument-parser
Fetched https://github.com/stephencelis/SQLite.swift from cache (2.94s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.94s)
Computing version for https://github.com/stephencelis/SQLite.swift
warning: 'sqlite.swift': /Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
Computed https://github.com/stephencelis/SQLite.swift at 0.15.3 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.51s)
Creating working copy for https://github.com/stephencelis/SQLite.swift
Working copy of https://github.com/stephencelis/SQLite.swift resolved at 0.15.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
========================================
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",
  "dependencies": [
    {
      "identity": "macos-wallpaper",
      "name": "Wallpaper",
      "url": "https://github.com/sindresorhus/macos-wallpaper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/macos-wallpaper",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "sqlite.swift",
          "name": "SQLite.swift",
          "url": "https://github.com/stephencelis/SQLite.swift",
          "version": "0.15.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sindresorhus/macos-wallpaper.git
[1/428] Fetching macos-wallpaper
Fetched https://github.com/sindresorhus/macos-wallpaper.git from cache (0.81s)
Fetching https://github.com/stephencelis/SQLite.swift from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.61s)
Fetched https://github.com/stephencelis/SQLite.swift from cache (0.61s)
Computing version for https://github.com/stephencelis/SQLite.swift
Computed https://github.com/stephencelis/SQLite.swift at 0.15.3 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.04s)
Creating working copy for https://github.com/stephencelis/SQLite.swift
Working copy of https://github.com/stephencelis/SQLite.swift resolved at 0.15.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/sindresorhus/macos-wallpaper.git
Working copy of https://github.com/sindresorhus/macos-wallpaper.git resolved at main (3446ed5)
warning: 'macos-wallpaper': the target name Wallpaper has different case on the filesystem and the Package.swift manifest file
Found 2 product dependencies
  - swift-argument-parser
  - SQLite.swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sindresorhus/macos-wallpaper.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write sources
[4/11] Write wallpaper-entitlement.plist
[7/11] Write swift-version--7754E27361AE5C74.txt
[9/47] Emitting module ArgumentParserToolInfo
[10/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/86] Compiling ArgumentParser CommandConfiguration.swift
[12/86] Compiling ArgumentParser CommandGroup.swift
[13/86] Compiling ArgumentParser EnumerableFlag.swift
[14/86] Compiling ArgumentParser ExpressibleByArgument.swift
[15/90] Compiling ArgumentParser NameSpecification.swift
[16/90] Compiling ArgumentParser Option.swift
[17/90] Compiling ArgumentParser OptionGroup.swift
[18/90] Compiling ArgumentParser AsyncParsableCommand.swift
[19/90] Compiling ArgumentParser Platform.swift
[20/90] Compiling ArgumentParser SequenceExtensions.swift
[21/90] Compiling ArgumentParser StringExtensions.swift
[22/90] Compiling ArgumentParser Tree.swift
[23/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/90] Compiling ArgumentParser CompletionsGenerator.swift
[25/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/90] Compiling ArgumentParser Argument.swift
[28/90] Compiling ArgumentParser ArgumentHelp.swift
[29/90] Compiling ArgumentParser ArgumentVisibility.swift
[30/90] Compiling ArgumentParser CompletionKind.swift
[31/90] Compiling ArgumentParser Errors.swift
[32/90] Compiling ArgumentParser Flag.swift
[33/90] Compiling ArgumentParser InputOrigin.swift
[34/90] Compiling ArgumentParser Name.swift
[35/90] Compiling ArgumentParser Parsed.swift
[36/90] Compiling ArgumentParser ParsedValues.swift
[37/90] Compiling ArgumentParser ParsableArguments.swift
[38/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[39/90] Compiling ArgumentParser ParsableCommand.swift
[40/90] Compiling ArgumentParser ArgumentDecoder.swift
[41/90] Emitting module ArgumentParser
[42/90] Compiling ArgumentParser ArgumentDefinition.swift
[43/90] Compiling ArgumentParser ArgumentSet.swift
[44/90] Compiling ArgumentParser CommandParser.swift
[45/90] Compiling ArgumentParser InputKey.swift
[46/90] Emitting module SQLite
[54/93] Compiling ArgumentParser ParserError.swift
[55/93] Compiling ArgumentParser SplitArguments.swift
[56/93] Compiling ArgumentParser DumpHelpGenerator.swift
[57/93] Compiling ArgumentParser HelpCommand.swift
[58/93] Compiling ArgumentParser HelpGenerator.swift
[59/93] Compiling ArgumentParser MessageInfo.swift
[60/93] Compiling ArgumentParser UsageGenerator.swift
[61/93] Compiling ArgumentParser CollectionExtensions.swift
[85/93] Compiling SQLite Schema.swift
[86/93] Compiling SQLite Setter.swift
[87/93] Compiling SQLite WindowFunctions.swift
[91/96] Compiling Wallpaper Wallpaper.swift
[92/96] Emitting module Wallpaper
[93/96] Compiling Wallpaper Utilities.swift
[94/99] Compiling WallpaperCLI Utilities.swift
[95/99] Emitting module WallpaperCLI
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:7:13: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | @main
  6 | struct Main: ParsableCommand {
  7 | 	static var configuration = CommandConfiguration(
    |             |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'configuration' 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
  8 | 		commandName: "wallpaper", // TODO: Remove this when https://github.com/apple/swift-argument-parser/issues/295 is fixed.
  9 | 		abstract: "Manage the desktop wallpaper",
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:22:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 | extension Main {
 21 | 	struct Get: ParsableCommand {
 22 | 		static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'configuration' 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
 23 | 			abstract: "Get current wallpaper images."
 24 | 		)
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:36:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | 	struct Set: ParsableCommand {
 36 | 		static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'configuration' 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
 37 | 			abstract: "Set image as wallpaper."
 38 | 		)
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:76:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 | 	struct SetSolidColor: ParsableCommand {
 76 | 		static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'configuration' 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
 77 | 			abstract: "Set solid color as wallpaper."
 78 | 		)
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:104:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | 	struct Screens: ParsableCommand {
104 | 		static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'configuration' 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
105 | 			abstract: "Get a list of available screens."
106 | 		)
[96/99] Compiling WallpaperCLI Wallpaper.swift
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:7:13: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | @main
  6 | struct Main: ParsableCommand {
  7 | 	static var configuration = CommandConfiguration(
    |             |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'configuration' 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
  8 | 		commandName: "wallpaper", // TODO: Remove this when https://github.com/apple/swift-argument-parser/issues/295 is fixed.
  9 | 		abstract: "Manage the desktop wallpaper",
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:22:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 | extension Main {
 21 | 	struct Get: ParsableCommand {
 22 | 		static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'configuration' 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
 23 | 			abstract: "Get current wallpaper images."
 24 | 		)
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:36:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | 	struct Set: ParsableCommand {
 36 | 		static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'configuration' 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
 37 | 			abstract: "Set image as wallpaper."
 38 | 		)
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:76:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 | 	struct SetSolidColor: ParsableCommand {
 76 | 		static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'configuration' 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
 77 | 			abstract: "Set solid color as wallpaper."
 78 | 		)
/Users/admin/builder/spi-builder-workspace/Sources/WallpaperCLI/Wallpaper.swift:104:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | 	struct Screens: ParsableCommand {
104 | 		static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'configuration' 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
105 | 			abstract: "Get a list of available screens."
106 | 		)
[96/99] Write Objects.LinkFileList
[97/99] Linking wallpaper
[98/99] Applying wallpaper
Build complete! (24.70s)
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
warning: 'spi-builder-workspace': the target name Wallpaper has different case on the filesystem and the Package.swift manifest file
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "sqlite.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stephencelis/SQLite.swift"
    }
  ],
  "manifest_display_name" : "Wallpaper",
  "name" : "Wallpaper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "wallpaper",
      "targets" : [
        "WallpaperCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Wallpaper",
      "targets" : [
        "Wallpaper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WallpaperCLI",
      "module_type" : "SwiftTarget",
      "name" : "WallpaperCLI",
      "path" : "Sources/WallpaperCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "wallpaper"
      ],
      "sources" : [
        "Utilities.swift",
        "Wallpaper.swift"
      ],
      "target_dependencies" : [
        "Wallpaper"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Wallpaper",
      "module_type" : "SwiftTarget",
      "name" : "Wallpaper",
      "path" : "Sources/Wallpaper",
      "product_dependencies" : [
        "SQLite"
      ],
      "product_memberships" : [
        "wallpaper",
        "Wallpaper"
      ],
      "sources" : [
        "Utilities.swift",
        "Wallpaper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.11"
}
warning: 'spi-builder-workspace': the target name Wallpaper has different case on the filesystem and the Package.swift manifest file
Done.