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.1 for macOS (SPM) on 28 Apr 2025 19:14:04 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
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/Samasaur1/SwiftIP
Fetching https://github.com/httpswift/swifter
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/6050] Fetching swifter
[62/6345] Fetching swifter, swiftip
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.94s)
[1634/6050] Fetching swifter
Fetched https://github.com/httpswift/swifter from cache (1.34s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.35s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (2.05s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.1 (0.72s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.0 (0.63s)
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.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 0.3.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",
  "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/236] Fetching simpleswiftserver
Fetched https://github.com/Samasaur1/SimpleSwiftServer.git from cache (0.74s)
Fetching https://github.com/httpswift/swifter from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/Samasaur1/SwiftIP from cache
Fetched https://github.com/httpswift/swifter from cache (0.54s)
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.54s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.55s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (0.61s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.03s)
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.62s)
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/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
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
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)
Found 3 product dependencies
  - SwiftIP
  - swift-argument-parser
  - Swifter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Samasaur1/SimpleSwiftServer.git
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.3.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
[1/9] Write server-entitlement.plist
[2/9] Write sources
[5/9] Write swift-version-2F0A5646E1D333AE.txt
[7/63] Emitting module ArgumentParser
[8/66] Compiling ArgumentParser SequenceExtensions.swift
[9/66] Compiling ArgumentParser StringExtensions.swift
[10/66] Compiling ArgumentParser Tree.swift
[11/66] Compiling ArgumentParser ArgumentSet.swift
[12/66] Compiling ArgumentParser CommandParser.swift
[13/66] Compiling ArgumentParser InputOrigin.swift
[14/66] Compiling ArgumentParser Name.swift
[15/66] Compiling ArgumentParser Parsed.swift
[16/66] Compiling ArgumentParser ParsedValues.swift
[17/66] Compiling ArgumentParser ParsableArgumentsValidation.swift
[18/66] Compiling ArgumentParser ParsableCommand.swift
[19/66] Compiling ArgumentParser ArgumentDecoder.swift
[20/66] Compiling ArgumentParser ArgumentDefinition.swift
[21/66] Compiling ArgumentParser Flag.swift
[22/66] Compiling ArgumentParser NameSpecification.swift
[23/66] Compiling ArgumentParser Option.swift
[24/66] Compiling ArgumentParser OptionGroup.swift
[25/66] Compiling ArgumentParser CommandConfiguration.swift
[26/66] Compiling ArgumentParser EnumerableFlag.swift
[27/66] Compiling ArgumentParser ExpressibleByArgument.swift
[28/66] Compiling ArgumentParser ParsableArguments.swift
[29/66] Compiling ArgumentParser Argument.swift
[30/66] Compiling ArgumentParser ArgumentHelp.swift
[31/66] Compiling ArgumentParser CompletionKind.swift
[32/66] Compiling ArgumentParser Errors.swift
[33/66] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/66] Compiling ArgumentParser CompletionsGenerator.swift
[35/66] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/66] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/66] Compiling ArgumentParser ParserError.swift
[38/66] Compiling ArgumentParser SplitArguments.swift
[39/66] Compiling ArgumentParser HelpCommand.swift
[40/66] Compiling ArgumentParser HelpGenerator.swift
[41/66] Compiling ArgumentParser MessageInfo.swift
[42/66] Compiling ArgumentParser UsageGenerator.swift
[43/66] Emitting module SwiftIP
[44/66] Compiling SwiftIP SwiftIP.swift
[61/68] Emitting module Swifter
[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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- 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! (8.32s)
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.