The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of URI, reference master (04e825), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 13:43:07 UTC.

Swift 6 data race errors: 6

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/my-mail-ru/swift-uri.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/my-mail-ru/swift-uri
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 04e825d Synopsis
Cloned https://github.com/my-mail-ru/swift-uri.git
Revision (git rev-parse @):
04e825dd9b8b2d63d67da4a163a4c3c1da97cb04
SUCCESS checkout https://github.com/my-mail-ru/swift-uri.git at master
========================================
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": "swift-uri",
      "name": "URI",
      "url": "https://github.com/my-mail-ru/swift-uri.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-uri",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/my-mail-ru/swift-uri.git
[1/77] Fetching swift-uri
Fetched https://github.com/my-mail-ru/swift-uri.git from cache (0.67s)
Creating working copy for https://github.com/my-mail-ru/swift-uri.git
Working copy of https://github.com/my-mail-ru/swift-uri.git resolved at master (04e825d)
warning: '.resolve-product-dependencies': dependency 'swift-uri' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/my-mail-ru/swift-uri.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling URI URI.swift
[4/17] Compiling URI Fragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:41:13: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
39 | 	static let file: URIScheme = "file"
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
   |             |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'http' 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
42 | 	static let https: URIScheme = "https"
43 | 	static let ws: URIScheme = "ws"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:42:13: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
42 | 	static let https: URIScheme = "https"
   |             |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'https' 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
43 | 	static let ws: URIScheme = "ws"
44 | 	static let wss: URIScheme = "wss"
[5/17] Compiling URI HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:41:13: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
39 | 	static let file: URIScheme = "file"
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
   |             |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'http' 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
42 | 	static let https: URIScheme = "https"
43 | 	static let ws: URIScheme = "ws"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:42:13: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
42 | 	static let https: URIScheme = "https"
   |             |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'https' 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
43 | 	static let ws: URIScheme = "ws"
44 | 	static let wss: URIScheme = "wss"
[6/17] Compiling URI Scheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:39:13: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
37 |
38 | extension URIScheme {
39 | 	static let file: URIScheme = "file"
   |             |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'file' 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
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:40:13: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
38 | extension URIScheme {
39 | 	static let file: URIScheme = "file"
40 | 	static let ftp: URIScheme = "ftp"
   |             |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'ftp' 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
41 | 	static let http: URIScheme = "http"
42 | 	static let https: URIScheme = "https"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:41:13: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
39 | 	static let file: URIScheme = "file"
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
   |             |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'http' 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
42 | 	static let https: URIScheme = "https"
43 | 	static let ws: URIScheme = "ws"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:42:13: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
42 | 	static let https: URIScheme = "https"
   |             |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'https' 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
43 | 	static let ws: URIScheme = "ws"
44 | 	static let wss: URIScheme = "wss"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:43:13: warning: static property 'ws' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
41 | 	static let http: URIScheme = "http"
42 | 	static let https: URIScheme = "https"
43 | 	static let ws: URIScheme = "ws"
   |             |- warning: static property 'ws' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'ws' 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
44 | 	static let wss: URIScheme = "wss"
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:44:13: warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
42 | 	static let https: URIScheme = "https"
43 | 	static let ws: URIScheme = "ws"
44 | 	static let wss: URIScheme = "wss"
   |             |- warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'wss' 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
45 | }
46 |
[7/18] Compiling URI Parser.swift
[8/18] Compiling URI Path.swift
[9/18] Compiling URI Component.swift
[10/18] Compiling URI Error.swift
[11/18] Compiling URI Host.swift
[12/18] Compiling URI OpaqueURI.swift
[13/18] Compiling URI Storage.swift
[14/18] Compiling URI Userinfo.swift
[15/18] Compiling URI Query.swift
[16/18] Compiling URI QueryParams.swift
[17/18] Emitting module URI
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:39:13: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
37 |
38 | extension URIScheme {
39 | 	static let file: URIScheme = "file"
   |             |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'file' 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
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:40:13: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
38 | extension URIScheme {
39 | 	static let file: URIScheme = "file"
40 | 	static let ftp: URIScheme = "ftp"
   |             |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'ftp' 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
41 | 	static let http: URIScheme = "http"
42 | 	static let https: URIScheme = "https"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:41:13: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
39 | 	static let file: URIScheme = "file"
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
   |             |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'http' 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
42 | 	static let https: URIScheme = "https"
43 | 	static let ws: URIScheme = "ws"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:42:13: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
40 | 	static let ftp: URIScheme = "ftp"
41 | 	static let http: URIScheme = "http"
42 | 	static let https: URIScheme = "https"
   |             |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'https' 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
43 | 	static let ws: URIScheme = "ws"
44 | 	static let wss: URIScheme = "wss"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:43:13: warning: static property 'ws' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
41 | 	static let http: URIScheme = "http"
42 | 	static let https: URIScheme = "https"
43 | 	static let ws: URIScheme = "ws"
   |             |- warning: static property 'ws' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'ws' 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
44 | 	static let wss: URIScheme = "wss"
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:44:13: warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
   |               `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
 2 | 	public let description: String
 3 | 	public let isNormalized: Bool
   :
42 | 	static let https: URIScheme = "https"
43 | 	static let ws: URIScheme = "ws"
44 | 	static let wss: URIScheme = "wss"
   |             |- warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'wss' 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
45 | }
46 |
[18/18] Compiling URI Writer.swift
Build complete! (5.94s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "URI",
  "name" : "URI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "URI",
      "targets" : [
        "URI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URITests",
      "module_type" : "SwiftTarget",
      "name" : "URITests",
      "path" : "Tests/URITests",
      "sources" : [
        "URITests.swift"
      ],
      "target_dependencies" : [
        "URI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URI",
      "module_type" : "SwiftTarget",
      "name" : "URI",
      "path" : "Sources/URI",
      "product_memberships" : [
        "URI"
      ],
      "sources" : [
        "Component.swift",
        "Error.swift",
        "Fragment.swift",
        "HTTP.swift",
        "Host.swift",
        "OpaqueURI.swift",
        "Parser.swift",
        "Path.swift",
        "Query.swift",
        "QueryParams.swift",
        "Scheme.swift",
        "Storage.swift",
        "URI.swift",
        "Userinfo.swift",
        "Writer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.