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 SimpleSwiftServer, reference v4.4.0 (3a5533), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 01:44:47 UTC.

Swift 6 data race errors: 1

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/SimpleSwiftServer.git
Reference: v4.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Samasaur1/SimpleSwiftServer
 * tag               v4.4.0     -> FETCH_HEAD
HEAD is now at 3a55333 Package with Nix; bump to v4.4.0
Cloned https://github.com/Samasaur1/SimpleSwiftServer.git
Revision (git rev-parse @):
3a55333070975105774e4d766f68dafae66d5423
SUCCESS checkout https://github.com/Samasaur1/SimpleSwiftServer.git at v4.4.0
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/httpswift/swifter
Fetching https://github.com/Samasaur1/SwiftIP
[1/295] Fetching swiftip
[66/6327] Fetching swiftip, swifter
[711/18722] Fetching swiftip, swifter, swift-argument-parser
Fetched https://github.com/Samasaur1/SwiftIP from cache (1.62s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
Fetched https://github.com/httpswift/swifter from cache (1.62s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (2.44s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.1 (2.47s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.0 (0.55s)
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 0.3.1
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.0
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
========================================
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": "simpleswiftserver",
      "name": "SimpleSwiftServer",
      "url": "https://github.com/Samasaur1/SimpleSwiftServer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimpleSwiftServer",
      "dependencies": [
        {
          "identity": "swiftip",
          "name": "SwiftIP",
          "url": "https://github.com/Samasaur1/SwiftIP",
          "version": "2.2.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftIP",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swifter",
          "name": "Swifter",
          "url": "https://github.com/httpswift/swifter",
          "version": "1.4.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifter",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Samasaur1/SimpleSwiftServer.git
[1/229] Fetching simpleswiftserver
Fetched https://github.com/Samasaur1/SimpleSwiftServer.git from cache (0.76s)
Fetching https://github.com/httpswift/swifter from cache
Fetching https://github.com/Samasaur1/SwiftIP from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.46s)
Fetched https://github.com/httpswift/swifter from cache (0.55s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.56s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (0.02s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (0.53s)
Creating working copy for https://github.com/Samasaur1/SimpleSwiftServer.git
Working copy of https://github.com/Samasaur1/SimpleSwiftServer.git resolved at v4.4.0 (3a55333)
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.2
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 0.5.0
Found 3 product dependencies
  - SwiftIP
  - swift-argument-parser
  - Swifter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Samasaur1/SimpleSwiftServer.git
{
  "dependencies" : [
    {
      "identity" : "swiftip",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Samasaur1/SwiftIP"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swifter",
      "requirement" : {
        "exact" : [
          "1.4.5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/httpswift/swifter"
    }
  ],
  "manifest_display_name" : "SimpleSwiftServer",
  "name" : "SimpleSwiftServer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "server",
      "targets" : [
        "SimpleSwiftServer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleSwiftServer",
      "module_type" : "SwiftTarget",
      "name" : "SimpleSwiftServer",
      "path" : "Sources/SimpleSwiftServer",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftIP",
        "Swifter"
      ],
      "product_memberships" : [
        "server"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
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/9] Write sources
[4/9] Write server-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/63] Emitting module ArgumentParser
[8/66] Compiling ArgumentParser Argument.swift
[9/66] Compiling ArgumentParser ArgumentHelp.swift
[10/66] Compiling ArgumentParser CompletionKind.swift
[11/66] Compiling ArgumentParser Errors.swift
[12/66] Compiling ArgumentParser ParserError.swift
[13/66] Compiling ArgumentParser SplitArguments.swift
[14/66] Compiling ArgumentParser HelpCommand.swift
[15/66] Compiling ArgumentParser ArgumentSet.swift
[16/66] Compiling ArgumentParser CommandParser.swift
[17/66] Compiling ArgumentParser InputOrigin.swift
[18/66] Compiling ArgumentParser CommandConfiguration.swift
[19/66] Compiling ArgumentParser EnumerableFlag.swift
[20/66] Compiling ArgumentParser ExpressibleByArgument.swift
[21/66] Compiling ArgumentParser ParsableArguments.swift
[22/66] Compiling ArgumentParser Flag.swift
[23/66] Compiling ArgumentParser NameSpecification.swift
[24/66] Compiling ArgumentParser Option.swift
[25/66] Compiling ArgumentParser OptionGroup.swift
[26/66] Compiling ArgumentParser ParsableArgumentsValidation.swift
[27/66] Compiling ArgumentParser ParsableCommand.swift
[28/66] Compiling ArgumentParser ArgumentDecoder.swift
[29/66] Compiling ArgumentParser ArgumentDefinition.swift
[30/66] Compiling ArgumentParser Name.swift
[31/66] Compiling ArgumentParser Parsed.swift
[32/66] Compiling ArgumentParser ParsedValues.swift
[33/66] Compiling ArgumentParser SequenceExtensions.swift
[34/66] Compiling ArgumentParser StringExtensions.swift
[35/66] Compiling ArgumentParser Tree.swift
[36/66] Compiling SwiftIP SwiftIP.swift
[37/66] Emitting module SwiftIP
[44/68] Emitting module Swifter
[47/68] Compiling ArgumentParser HelpGenerator.swift
[48/68] Compiling ArgumentParser MessageInfo.swift
[51/68] Compiling ArgumentParser UsageGenerator.swift
[53/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[56/68] Compiling ArgumentParser CompletionsGenerator.swift
[64/68] Compiling Swifter String+SHA1.swift
[65/68] Compiling Swifter WebSockets.swift
[66/70] Compiling SimpleSwiftServer main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleSwiftServer/main.swift:19:16: 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
 17 |
 18 | struct Server: ParsableCommand {
 19 |     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
 20 |         commandName: "server",
 21 |         abstract: "Host a little server.",
[67/70] Emitting module SimpleSwiftServer
/Users/admin/builder/spi-builder-workspace/Sources/SimpleSwiftServer/main.swift:19:16: 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
 17 |
 18 | struct Server: ParsableCommand {
 19 |     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
 20 |         commandName: "server",
 21 |         abstract: "Host a little server.",
[67/70] Write Objects.LinkFileList
[68/70] Linking server
[69/70] Applying server
Build complete! (29.30s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftip",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Samasaur1/SwiftIP"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swifter",
      "requirement" : {
        "exact" : [
          "1.4.5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/httpswift/swifter"
    }
  ],
  "manifest_display_name" : "SimpleSwiftServer",
  "name" : "SimpleSwiftServer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "server",
      "targets" : [
        "SimpleSwiftServer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleSwiftServer",
      "module_type" : "SwiftTarget",
      "name" : "SimpleSwiftServer",
      "path" : "Sources/SimpleSwiftServer",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftIP",
        "Swifter"
      ],
      "product_memberships" : [
        "server"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
Done.