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 master (7c799e), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 19:14:07 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Samasaur1/SimpleSwiftServer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7c799e6 Bump flake inputs
Cloned https://github.com/Samasaur1/SimpleSwiftServer.git
Revision (git rev-parse @):
7c799e654425d64b304a8fa11bac4d5fb05b76ed
SUCCESS checkout https://github.com/Samasaur1/SimpleSwiftServer.git at master
Fetching https://github.com/Samasaur1/SwiftIP
Fetching https://github.com/httpswift/swifter
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/295] Fetching swiftip
[60/6345] Fetching swiftip, swifter
Fetched https://github.com/Samasaur1/SwiftIP from cache (1.35s)
Fetched https://github.com/httpswift/swifter from cache (1.36s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.36s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (2.06s)
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.69s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.0 (0.58s)
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
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.69s)
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.54s)
Fetched https://github.com/httpswift/swifter from cache (0.54s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.54s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (0.60s)
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.57s)
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
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/SimpleSwiftServer.git
Working copy of https://github.com/Samasaur1/SimpleSwiftServer.git resolved at master (7c799e6)
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 server-entitlement.plist
[0/9] Write sources
[5/9] Write swift-version-2F0A5646E1D333AE.txt
[7/63] Compiling ArgumentParser ArgumentSet.swift
[8/63] Compiling ArgumentParser CommandParser.swift
[9/63] Compiling ArgumentParser InputOrigin.swift
[10/66] Compiling ArgumentParser Name.swift
[11/66] Compiling ArgumentParser Parsed.swift
[12/66] Compiling ArgumentParser ParsedValues.swift
[13/66] Compiling ArgumentParser Flag.swift
[14/66] Compiling ArgumentParser NameSpecification.swift
[15/66] Compiling ArgumentParser Option.swift
[16/66] Compiling ArgumentParser OptionGroup.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 SequenceExtensions.swift
[22/66] Compiling ArgumentParser StringExtensions.swift
[23/66] Compiling ArgumentParser Tree.swift
[24/66] Compiling ArgumentParser CommandConfiguration.swift
[25/66] Compiling ArgumentParser EnumerableFlag.swift
[26/66] Compiling ArgumentParser ExpressibleByArgument.swift
[27/66] Compiling ArgumentParser ParsableArguments.swift
[28/66] Emitting module ArgumentParser
[29/66] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/66] Compiling ArgumentParser CompletionsGenerator.swift
[31/66] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/66] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/66] Compiling ArgumentParser Argument.swift
[34/66] Compiling ArgumentParser ArgumentHelp.swift
[35/66] Compiling ArgumentParser CompletionKind.swift
[36/66] Compiling ArgumentParser Errors.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] Compiling SwiftIP SwiftIP.swift
[44/66] Emitting module SwiftIP
[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.31s)
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.