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 SchemaSwift, reference main (7db4c2), with Swift 6.0 for Linux on 5 Nov 2024 14:27:15 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/khanlou/SchemaSwift.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/khanlou/SchemaSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7db4c20 add a new reserved keyword
Cloned https://github.com/khanlou/SchemaSwift.git
Revision (git rev-parse @):
7db4c200593dda367404849459baaf78532cf22f
SUCCESS checkout https://github.com/khanlou/SchemaSwift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/khanlou/SchemaSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/codewinsdotcom/PostgresClientKit
Fetching https://github.com/apple/swift-argument-parser
[1/1923] Fetching postgresclientkit
[1924/14276] Fetching postgresclientkit, swift-argument-parser
Fetched https://github.com/codewinsdotcom/PostgresClientKit from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
Computing version for https://github.com/codewinsdotcom/PostgresClientKit
Computed https://github.com/codewinsdotcom/PostgresClientKit at 1.5.0 (0.48s)
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService
[1/2942] Fetching bluesocket
[2885/5030] Fetching bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSSLService from cache (0.36s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.36s)
Computing version for https://github.com/Kitura/BlueSSLService
Computed https://github.com/Kitura/BlueSSLService at 2.0.2 (0.53s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.21s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.00s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.49s)
Creating working copy for https://github.com/codewinsdotcom/PostgresClientKit
Working copy of https://github.com/codewinsdotcom/PostgresClientKit resolved at 1.5.0
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/BlueSSLService
Working copy of https://github.com/Kitura/BlueSSLService resolved at 2.0.2
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/25] Emitting module ArgumentParserToolInfo
[10/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/26] Wrapping AST for ArgumentParserToolInfo for debugging
[13/60] Compiling ArgumentParser ArgumentHelp.swift
[14/60] Compiling ArgumentParser CompletionKind.swift
[15/60] Compiling ArgumentParser Errors.swift
[16/60] Compiling ArgumentParser Flag.swift
[17/60] Compiling ArgumentParser NameSpecification.swift
[18/64] Emitting module ArgumentParser
[19/64] Compiling ArgumentParser HelpCommand.swift
[20/64] Compiling ArgumentParser HelpGenerator.swift
[21/64] Compiling ArgumentParser MessageInfo.swift
[22/64] Compiling ArgumentParser UsageGenerator.swift
[23/64] Compiling ArgumentParser Option.swift
[24/64] Compiling ArgumentParser OptionGroup.swift
[25/64] Compiling ArgumentParser CommandConfiguration.swift
[26/64] Compiling ArgumentParser EnumerableFlag.swift
[27/64] Compiling ArgumentParser ExpressibleByArgument.swift
[28/64] Compiling ArgumentParser ArgumentSet.swift
[29/64] Compiling ArgumentParser CommandParser.swift
[30/64] Compiling ArgumentParser InputOrigin.swift
[31/64] Compiling ArgumentParser Name.swift
[32/64] Compiling ArgumentParser Parsed.swift
[33/64] Compiling ArgumentParser CollectionExtensions.swift
[34/64] Compiling ArgumentParser SequenceExtensions.swift
[35/64] Compiling ArgumentParser StringExtensions.swift
[36/64] Compiling ArgumentParser Tree.swift
[37/64] Compiling Socket SocketProtocols.swift
[38/64] Compiling Socket Socket.swift
[39/64] Compiling Socket SocketUtils.swift
[40/64] Compiling Socket Socket+Equatable.swift
[41/64] Emitting module Socket
[42/64] Compiling Socket Socket+Hashable.swift
[44/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[45/65] Compiling ArgumentParser CompletionsGenerator.swift
[46/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[48/65] Compiling ArgumentParser Argument.swift
[48/65] Wrapping AST for Socket for debugging
[50/68] Compiling ArgumentParser ParsedValues.swift
[51/68] Compiling ArgumentParser ParserError.swift
[52/68] Compiling ArgumentParser SplitArguments.swift
[53/68] Compiling ArgumentParser DumpHelpGenerator.swift
[54/68] Compiling ArgumentParser ParsableArguments.swift
[55/68] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/68] Compiling ArgumentParser ParsableCommand.swift
[57/68] Compiling ArgumentParser ArgumentDecoder.swift
[58/68] Compiling ArgumentParser ArgumentDefinition.swift
[59/69] Wrapping AST for ArgumentParser for debugging
[61/69] Emitting module SSLService
[62/69] Compiling SSLService SSLService.swift
[63/69] Compiling SSLService SSLPointerTricks.swift
[64/70] Wrapping AST for SSLService for debugging
[66/132] Compiling PostgresClientKit DataRowResponse.swift
[67/132] Compiling PostgresClientKit EmptyQueryResponse.swift
[68/132] Compiling PostgresClientKit ErrorResponse.swift
[69/132] Compiling PostgresClientKit NoDataResponse.swift
[70/132] Compiling PostgresClientKit NoticeResponse.swift
[71/132] Compiling PostgresClientKit NotificationResponse.swift
[72/132] Compiling PostgresClientKit ParameterStatusResponse.swift
[73/132] Compiling PostgresClientKit ParseCompleteResponse.swift
[74/140] Compiling PostgresClientKit BindRequest.swift
[75/140] Compiling PostgresClientKit ClosePortalRequest.swift
[76/140] Compiling PostgresClientKit CloseStatementRequest.swift
[77/140] Compiling PostgresClientKit DescribePortalRequest.swift
[78/140] Compiling PostgresClientKit ExecuteRequest.swift
[79/140] Compiling PostgresClientKit FlushRequest.swift
[80/140] Compiling PostgresClientKit ParseRequest.swift
[81/140] Compiling PostgresClientKit PasswordMessageRequest.swift
[82/140] Compiling PostgresClientKit Request.swift
[83/140] Emitting module PostgresClientKit
[84/140] Compiling PostgresClientKit PostgresByteA.swift
[85/140] Compiling PostgresClientKit PostgresDate.swift
[86/140] Compiling PostgresClientKit PostgresError.swift
[87/140] Compiling PostgresClientKit PostgresTime.swift
[88/140] Compiling PostgresClientKit PostgresTimeWithTimeZone.swift
[89/140] Compiling PostgresClientKit PostgresTimestamp.swift
[90/140] Compiling PostgresClientKit PostgresTimestampWithTimeZone.swift
[91/140] Compiling PostgresClientKit PostgresValue.swift
[92/140] Compiling PostgresClientKit PostgresValueConvertible.swift
[93/140] Compiling PostgresClientKit SASLInitialRequest.swift
[94/140] Compiling PostgresClientKit SASLRequest.swift
[95/140] Compiling PostgresClientKit SSLRequest.swift
[96/140] Compiling PostgresClientKit StartupRequest.swift
[97/140] Compiling PostgresClientKit SyncRequest.swift
[98/140] Compiling PostgresClientKit TerminateRequest.swift
[99/140] Compiling PostgresClientKit AuthenticationCleartextPasswordResponse.swift
[100/140] Compiling PostgresClientKit AuthenticationMD5PasswordResponse.swift
[101/140] Compiling PostgresClientKit AuthenticationOKResponse.swift
[102/140] Compiling PostgresClientKit AuthenticationResponse.swift
[103/140] Compiling PostgresClientKit AuthenticationSASLContinueResponse.swift
[104/140] Compiling PostgresClientKit AuthenticationSASLFinalResponse.swift
[105/140] Compiling PostgresClientKit AuthenticationSASLResponse.swift
[106/140] Compiling PostgresClientKit BackendKeyDataResponse.swift
[107/140] Compiling PostgresClientKit BindCompleteResponse.swift
[108/140] Compiling PostgresClientKit CloseCompleteResponse.swift
[109/140] Compiling PostgresClientKit CommandCompleteResponse.swift
[110/140] Compiling PostgresClientKit Cursor.swift
[111/140] Compiling PostgresClientKit ISO8601.swift
[112/140] Compiling PostgresClientKit LogHandler.swift
[113/140] Compiling PostgresClientKit LogLevel.swift
[114/140] Compiling PostgresClientKit LogRecord.swift
[115/140] Compiling PostgresClientKit Logger.swift
[116/140] Compiling PostgresClientKit Notice.swift
[117/140] Compiling PostgresClientKit Parameter.swift
[118/140] Compiling PostgresClientKit Postgres.swift
[119/140] Compiling PostgresClientKit ColumnMetadata.swift
[120/140] Compiling PostgresClientKit Connection.swift
[121/140] Compiling PostgresClientKit ConnectionConfiguration.swift
[122/140] Compiling PostgresClientKit ConnectionDelegate.swift
[123/140] Compiling PostgresClientKit ConnectionPool.swift
[124/140] Compiling PostgresClientKit ConnectionPoolConfiguration.swift
[125/140] Compiling PostgresClientKit ConnectionPoolMetrics.swift
[126/140] Compiling PostgresClientKit Credential.swift
[127/140] Compiling PostgresClientKit Crypto.swift
[128/140] Compiling PostgresClientKit ReadyForQueryResponse.swift
[129/140] Compiling PostgresClientKit Response.swift
[130/140] Compiling PostgresClientKit RowDescriptionResponse.swift
[131/140] Compiling PostgresClientKit Row.swift
[132/140] Compiling PostgresClientKit RowDecoder.swift
[133/140] Compiling PostgresClientKit SASLPrep.swift
[134/140] Compiling PostgresClientKit SCRAMSHA256Authenticator.swift
[135/140] Compiling PostgresClientKit Statement.swift
[136/141] Wrapping AST for PostgresClientKit for debugging
[138/147] Compiling SchemaSwiftLibrary Table.swift
[139/147] Compiling SchemaSwiftLibrary Overrides.swift
[140/147] Compiling SchemaSwiftLibrary Enum.swift
[141/147] Compiling SchemaSwiftLibrary Column.swift
[142/147] Emitting module SchemaSwiftLibrary
/host/spi-builder-workspace/Sources/SchemaSwiftLibrary/Model/Inflectors.swift:97:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Pluralizer' may have shared mutable state; this is an error in the Swift 6 language mode
 93 | }
 94 |
 95 | class Pluralizer {
    |       `- note: class 'Pluralizer' does not conform to the 'Sendable' protocol
 96 |
 97 |     static let shared = Pluralizer()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Pluralizer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 98 |
 99 |     private let pluralRules: [InflectorRule]
[143/147] Compiling SchemaSwiftLibrary Inflectors.swift
/host/spi-builder-workspace/Sources/SchemaSwiftLibrary/Model/Inflectors.swift:97:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Pluralizer' may have shared mutable state; this is an error in the Swift 6 language mode
 93 | }
 94 |
 95 | class Pluralizer {
    |       `- note: class 'Pluralizer' does not conform to the 'Sendable' protocol
 96 |
 97 |     static let shared = Pluralizer()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Pluralizer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 98 |
 99 |     private let pluralRules: [InflectorRule]
[144/148] Wrapping AST for SchemaSwiftLibrary for debugging
[146/151] Compiling SchemaSwift Database.swift
[147/151] Emitting module SchemaSwift
/host/spi-builder-workspace/Sources/SchemaSwift/main.swift:6: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
  4 |
  5 | struct SchemaSwift: ParsableCommand {
  6 |     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
  7 |         abstract: "A utility for generating Swift row structs from a Postgres schema.",
  8 |         version: "1.0.0",
[148/151] Compiling SchemaSwift main.swift
/host/spi-builder-workspace/Sources/SchemaSwift/main.swift:6: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
  4 |
  5 | struct SchemaSwift: ParsableCommand {
  6 |     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
  7 |         abstract: "A utility for generating Swift row structs from a Postgres schema.",
  8 |         version: "1.0.0",
[149/152] Wrapping AST for SchemaSwift for debugging
[150/152] Write Objects.LinkFileList
[151/152] Linking SchemaSwift
Build complete! (41.12s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "postgresclientkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/codewinsdotcom/PostgresClientKit"
    }
  ],
  "manifest_display_name" : "SchemaSwift",
  "name" : "SchemaSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SchemaSwift",
      "targets" : [
        "SchemaSwift"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SchemaSwiftLibrary",
      "targets" : [
        "SchemaSwiftLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SchemaSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "SchemaSwiftTests",
      "path" : "Tests/SchemaSwiftTests",
      "sources" : [
        "InflectionTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SchemaSwiftLibrary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SchemaSwiftLibrary",
      "module_type" : "SwiftTarget",
      "name" : "SchemaSwiftLibrary",
      "path" : "Sources/SchemaSwiftLibrary",
      "product_dependencies" : [
        "ArgumentParser",
        "PostgresClientKit"
      ],
      "product_memberships" : [
        "SchemaSwift",
        "SchemaSwiftLibrary"
      ],
      "sources" : [
        "Model/Column.swift",
        "Model/Enum.swift",
        "Model/Inflectors.swift",
        "Model/Overrides.swift",
        "Model/Table.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SchemaSwift",
      "module_type" : "SwiftTarget",
      "name" : "SchemaSwift",
      "path" : "Sources/SchemaSwift",
      "product_memberships" : [
        "SchemaSwift"
      ],
      "sources" : [
        "Database.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SchemaSwiftLibrary"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.