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 SKCore, reference master (656dee), with Swift 6.0 for Linux on 11 Sep 2024 23:23:33 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SKCore.git
Reference: master
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/pvzig/SKCore
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 656deeb Update README.md
Cloned https://github.com/pvzig/SKCore.git
Revision (git rev-parse @):
656deeb1bedc67d90b2905899859b59fc1ffd011
SUCCESS checkout https://github.com/pvzig/SKCore.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pvzig/SKCore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/27] Emitting module SKCore
[4/30] Compiling SKCore Reaction.swift
[5/30] Compiling SKCore Reply.swift
[6/30] Compiling SKCore Scope.swift
[7/30] Compiling SKCore Action.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
 62 |         fields = (attachment?["fields"] as? [[String: Any]])?.map { AttachmentField(field: $0) }
 63 |         actions = (attachment?["actions"] as? [[String: Any]])?.map { Action(action: $0) }
 64 |         markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
    |                                                                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[8/30] Compiling SKCore Attachment.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
 62 |         fields = (attachment?["fields"] as? [[String: Any]])?.map { AttachmentField(field: $0) }
 63 |         actions = (attachment?["actions"] as? [[String: Any]])?.map { Action(action: $0) }
 64 |         markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
    |                                                                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[9/30] Compiling SKCore AttachmentField.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
 62 |         fields = (attachment?["fields"] as? [[String: Any]])?.map { AttachmentField(field: $0) }
 63 |         actions = (attachment?["actions"] as? [[String: Any]])?.map { Action(action: $0) }
 64 |         markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
    |                                                                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[10/30] Compiling SKCore Bot.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
 62 |         fields = (attachment?["fields"] as? [[String: Any]])?.map { AttachmentField(field: $0) }
 63 |         actions = (attachment?["actions"] as? [[String: Any]])?.map { Action(action: $0) }
 64 |         markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
    |                                                                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[11/30] Compiling SKCore Channel.swift
[12/30] Compiling SKCore Comment.swift
[13/30] Compiling SKCore CustomProfile.swift
[14/30] Compiling SKCore CustomProfileField.swift
[15/30] Compiling SKCore Topic.swift
[16/30] Compiling SKCore User.swift
[17/30] Compiling SKCore UserGroup.swift
[18/30] Compiling SKCore SlackError.swift
[19/30] Compiling SKCore Team.swift
[20/30] Compiling SKCore TeamIcon.swift
[21/30] Compiling SKCore Message.swift
[22/30] Compiling SKCore OAuthConfig.swift
[23/30] Compiling SKCore RTMOptions.swift
[24/30] Compiling SKCore DoNotDisturbStatus.swift
[25/30] Compiling SKCore Edited.swift
[26/30] Compiling SKCore Event.swift
[27/30] Compiling SKCore Extensions.swift
[28/30] Compiling SKCore File.swift
[29/30] Compiling SKCore History.swift
[30/30] Compiling SKCore Item.swift
Build complete! (17.29s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SKCore",
  "name" : "SKCore",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKCore",
      "targets" : [
        "SKCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SKCoreTests",
      "path" : "Tests/SKCoreTests",
      "sources" : [
        "Helper.swift",
        "SKCoreTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SKCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SKCore",
      "module_type" : "SwiftTarget",
      "name" : "SKCore",
      "path" : "Sources",
      "product_memberships" : [
        "SKCore"
      ],
      "sources" : [
        "SKCore/Action.swift",
        "SKCore/Attachment.swift",
        "SKCore/AttachmentField.swift",
        "SKCore/Bot.swift",
        "SKCore/Channel.swift",
        "SKCore/Comment.swift",
        "SKCore/CustomProfile.swift",
        "SKCore/CustomProfileField.swift",
        "SKCore/DoNotDisturbStatus.swift",
        "SKCore/Edited.swift",
        "SKCore/Event.swift",
        "SKCore/Extensions.swift",
        "SKCore/File.swift",
        "SKCore/History.swift",
        "SKCore/Item.swift",
        "SKCore/Message.swift",
        "SKCore/OAuthConfig.swift",
        "SKCore/RTMOptions.swift",
        "SKCore/Reaction.swift",
        "SKCore/Reply.swift",
        "SKCore/Scope.swift",
        "SKCore/SlackError.swift",
        "SKCore/Team.swift",
        "SKCore/TeamIcon.swift",
        "SKCore/Topic.swift",
        "SKCore/User.swift",
        "SKCore/UserGroup.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.