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 Octoid, reference main (764076), with Swift 6.1 for Linux on 27 Apr 2025 06:42:55 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Octoid.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/elegantchaos/Octoid
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7640765 Added isEmpty
Cloned https://github.com/elegantchaos/Octoid.git
Revision (git rev-parse @):
7640765e7587b8654c4df78f2ce5e37f45380f96
SUCCESS checkout https://github.com/elegantchaos/Octoid.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/Octoid.git
https://github.com/elegantchaos/Octoid.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "collectionextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/CollectionExtensions.git"
    },
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "jsonsession",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/JSONSession.git"
    },
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "Octoid",
  "name" : "Octoid",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Octoid",
      "targets" : [
        "Octoid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OctoidTests",
      "module_type" : "SwiftTarget",
      "name" : "OctoidTests",
      "path" : "Tests/OctoidTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/OctoidTests/Resources/events.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/OctoidTests/Resources/runs.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "OctoidTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Octoid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Octoid",
      "module_type" : "SwiftTarget",
      "name" : "Octoid",
      "path" : "Sources/Octoid",
      "product_dependencies" : [
        "CollectionExtensions",
        "Logger",
        "JSONSession"
      ],
      "product_memberships" : [
        "Octoid"
      ],
      "sources" : [
        "Actor.swift",
        "Author.swift",
        "Commit.swift",
        "Events.swift",
        "GraphAPI.swift",
        "JSONDictionary.swift",
        "MessageProcessor.swift",
        "Session.swift",
        "UnchangedProcessor.swift",
        "WorkflowRuns.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/CollectionExtensions.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/JSONSession.git
[1/2051] Fetching logger
[2/2451] Fetching logger, collectionextensions
[1776/3022] Fetching logger, collectionextensions, xctestextensions
[1840/3329] Fetching logger, collectionextensions, xctestextensions, jsonsession
Fetched https://github.com/elegantchaos/CollectionExtensions.git from cache (0.22s)
Fetched https://github.com/elegantchaos/JSONSession.git from cache (0.23s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.23s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.23s)
Computing version for https://github.com/elegantchaos/JSONSession.git
Computed https://github.com/elegantchaos/JSONSession.git at 1.1.1 (0.82s)
Fetching https://github.com/elegantchaos/Coercion.git
Fetching https://github.com/elegantchaos/DataFetcher.git
[1/172] Fetching datafetcher
[173/446] Fetching datafetcher, coercion
Fetched https://github.com/elegantchaos/DataFetcher.git from cache (0.19s)
Fetched https://github.com/elegantchaos/Coercion.git from cache (0.20s)
Computing version for https://github.com/elegantchaos/DataFetcher.git
Computed https://github.com/elegantchaos/DataFetcher.git at 1.0.2 (0.75s)
Computing version for https://github.com/elegantchaos/Coercion.git
Computed https://github.com/elegantchaos/Coercion.git at 1.1.3 (0.54s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.59s)
Computing version for https://github.com/elegantchaos/CollectionExtensions.git
Computed https://github.com/elegantchaos/CollectionExtensions.git at 1.1.10 (0.55s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.57s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.20s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.74s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Coercion.git
Working copy of https://github.com/elegantchaos/Coercion.git resolved at 1.1.3
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/DataFetcher.git
Working copy of https://github.com/elegantchaos/DataFetcher.git resolved at 1.0.2
Creating working copy for https://github.com/elegantchaos/CollectionExtensions.git
Working copy of https://github.com/elegantchaos/CollectionExtensions.git resolved at 1.1.10
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/JSONSession.git
Working copy of https://github.com/elegantchaos/JSONSession.git resolved at 1.1.1
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/40] Compiling Coercion IntConvertible.swift
[9/40] Compiling Coercion StandardConvertible.swift
[10/40] Compiling Coercion StringConvertible.swift
[11/40] Compiling Coercion UIntConvertible.swift
[12/41] Compiling Logger NSLogHandler.swift
[13/41] Compiling Logger PrintHandler.swift
[14/42] Compiling Logger OSLogHandler.swift
[15/42] Compiling Coercion DateConvertible.swift
[16/42] Compiling Coercion DoubleConvertible.swift
[17/42] Compiling Logger Manager.swift
[18/42] Compiling Logger UserDefaultsManagerSettings.swift
[19/42] Compiling Logger Handler.swift
[20/42] Emitting module Logger
[21/42] Compiling Coercion BinaryInteger+Coercion.swift
[22/42] Compiling Coercion Bool+Coercion.swift
[23/42] Compiling CollectionExtensions Sequence+Sorting.swift
[24/42] Compiling CollectionExtensions Sequence+Sum.swift
[25/43] Compiling CollectionExtensions Dictionary+Appending.swift
[26/43] Emitting module CollectionExtensions
[29/43] Compiling Coercion String+Coercion.swift
[30/43] Compiling Logger ManagerSettings.swift
[31/43] Compiling CollectionExtensions Dictionary+Merging.swift
[32/43] Compiling CollectionExtensions Dictionary+Helpers.swift
[33/43] Compiling CollectionExtensions RandomAccessCollection+Wrapping.swift
[34/44] Compiling Coercion Converter.swift
[35/44] Compiling Coercion Date+Coercion.swift
[36/44] Compiling Coercion Dictionary+Coercion.swift
[37/44] Compiling Coercion Double+Coercion.swift
[38/44] Compiling Coercion BoolConvertible.swift
[39/44] Compiling Coercion DataConvertible.swift
[40/44] Emitting module Coercion
[45/45] Compiling CollectionExtensions Set+Helpers.swift
[47/50] Compiling DataFetcher JSONDictionary.swift
[48/50] Compiling DataFetcher MockDataFetcher.swift
[49/50] Compiling DataFetcher DataFetcher.swift
[50/50] Emitting module DataFetcher
[52/60] Compiling JSONSession ResourceResolver.swift
[53/61] Compiling JSONSession Query.swift
[54/61] Compiling JSONSession Request.swift
[55/61] Compiling JSONSession Resource.swift
[56/61] Compiling JSONSession ProcessorGroup.swift
[57/61] Emitting module JSONSession
[58/61] Compiling JSONSession Failure.swift
[59/61] Compiling JSONSession Processor.swift
[60/61] Compiling JSONSession TimeExtensions.swift
[61/61] Compiling JSONSession Session.swift
[63/72] Compiling Octoid UnchangedProcessor.swift
[64/72] Compiling Octoid Session.swift
/host/spi-builder-workspace/Sources/Octoid/Session.swift:11:12: warning: let 'octoidChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Logger
10 |
11 | public let octoidChannel = Channel("com.elegantchaos.Octoid")
   |            `- warning: let 'octoidChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | #if canImport(FoundationNetworking)
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
 13 |  */
 14 |
 15 | public class Channel {
    |              `- note: class 'Channel' does not conform to the 'Sendable' protocol
 16 |     /**
 17 |      Default log handler which prints to standard out,
/host/spi-builder-workspace/Sources/Octoid/Session.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
 7 | import Foundation
 8 | import JSONSession
 9 | import Logger
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
10 |
11 | public let octoidChannel = Channel("com.elegantchaos.Octoid")
   |            |- note: add '@MainActor' to make let 'octoidChannel' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | #if canImport(FoundationNetworking)
[65/73] Compiling Octoid JSONDictionary.swift
[66/73] Compiling Octoid GraphAPI.swift
[67/73] Compiling Octoid MessageProcessor.swift
[68/73] Compiling Octoid WorkflowRuns.swift
[69/73] Compiling Octoid Actor.swift
[70/73] Compiling Octoid Author.swift
[71/73] Emitting module Octoid
/host/spi-builder-workspace/Sources/Octoid/Session.swift:11:12: warning: let 'octoidChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Logger
10 |
11 | public let octoidChannel = Channel("com.elegantchaos.Octoid")
   |            `- warning: let 'octoidChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | #if canImport(FoundationNetworking)
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
 13 |  */
 14 |
 15 | public class Channel {
    |              `- note: class 'Channel' does not conform to the 'Sendable' protocol
 16 |     /**
 17 |      Default log handler which prints to standard out,
/host/spi-builder-workspace/Sources/Octoid/Session.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
 7 | import Foundation
 8 | import JSONSession
 9 | import Logger
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
10 |
11 | public let octoidChannel = Channel("com.elegantchaos.Octoid")
   |            |- note: add '@MainActor' to make let 'octoidChannel' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | #if canImport(FoundationNetworking)
[72/73] Compiling Octoid Commit.swift
[73/73] Compiling Octoid Events.swift
Build complete! (21.11s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "collectionextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/CollectionExtensions.git"
    },
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "jsonsession",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/JSONSession.git"
    },
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "Octoid",
  "name" : "Octoid",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Octoid",
      "targets" : [
        "Octoid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OctoidTests",
      "module_type" : "SwiftTarget",
      "name" : "OctoidTests",
      "path" : "Tests/OctoidTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/OctoidTests/Resources/events.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/OctoidTests/Resources/runs.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "OctoidTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Octoid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Octoid",
      "module_type" : "SwiftTarget",
      "name" : "Octoid",
      "path" : "Sources/Octoid",
      "product_dependencies" : [
        "CollectionExtensions",
        "Logger",
        "JSONSession"
      ],
      "product_memberships" : [
        "Octoid"
      ],
      "sources" : [
        "Actor.swift",
        "Author.swift",
        "Commit.swift",
        "Events.swift",
        "GraphAPI.swift",
        "JSONDictionary.swift",
        "MessageProcessor.swift",
        "Session.swift",
        "UnchangedProcessor.swift",
        "WorkflowRuns.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.