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 WeakableSelf, reference 1.1.1 (b997b6), with Swift 6.0 for Linux on 30 Oct 2024 20:53:49 UTC.

Swift 6 data race errors: 0

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/vincent-pradeilles/weakable-self.git
Reference: 1.1.1
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/vincent-pradeilles/weakable-self
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at b997b6f Bump to v1.1.1
Cloned https://github.com/vincent-pradeilles/weakable-self.git
Revision (git rev-parse @):
b997b6fa5241cebf33f1bc06e75762555f36712f
SUCCESS checkout https://github.com/vincent-pradeilles/weakable-self.git at 1.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vincent-pradeilles/weakable-self.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module WeakableSelf
/host/spi-builder-workspace/Sources/Weakable.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | public extension Weakable {
16 |
17 |     public func weakify(_ code: @escaping (Self) -> Void) -> () -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 |         return { [weak self] in
19 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:25:5: warning: 'public' modifier is redundant for instance method declared in a public extension
23 |     }
24 |
25 |     public func weakify<A>(_ code: @escaping (Self, A) -> Void) -> (A) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 |         return { [weak self] a in
27 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 |     }
32 |
33 |     public func weakify<A, B>(_ code: @escaping (Self, A, B) -> Void) -> (A, B) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 |         return { [weak self] a, b in
35 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:41:5: warning: 'public' modifier is redundant for instance method declared in a public extension
39 |     }
40 |
41 |     public func weakify<A, B, C>(_ code: @escaping (Self, A, B, C) -> Void) -> (A, B, C) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 |         return { [weak self] a, b, c in
43 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 |     }
48 |
49 |     public func weakify<A, B, C, D>(_ code: @escaping (Self, A, B, C, D) -> Void) -> (A, B, C, D) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 |         return { [weak self] a, b, c, d in
51 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 |     }
56 |
57 |     public func weakify<A, B, C, D, E>(_ code: @escaping (Self, A, B, C, D, E) -> Void) -> (A, B, C, D, E) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 |         return { [weak self] a, b, c, d, e in
59 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:65:5: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |     }
64 |
65 |     public func weakify<A, B, C, D, E, F>(_ code: @escaping (Self, A, B, C, D, E, F) -> Void) -> (A, B, C, D, E, F) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 |         return { [weak self] a, b, c, d, e, f in
67 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 |     }
72 |
73 |     public func weakify<A, B, C, D, E, F, G>(_ code: @escaping (Self, A, B, C, D, E, F, G) -> Void) -> (A, B, C, D, E, F, G) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 |         return { [weak self] a, b, c, d, e, f, g in
75 |             guard let self = self else { return }
[4/4] Compiling WeakableSelf Weakable.swift
/host/spi-builder-workspace/Sources/Weakable.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | public extension Weakable {
16 |
17 |     public func weakify(_ code: @escaping (Self) -> Void) -> () -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 |         return { [weak self] in
19 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:25:5: warning: 'public' modifier is redundant for instance method declared in a public extension
23 |     }
24 |
25 |     public func weakify<A>(_ code: @escaping (Self, A) -> Void) -> (A) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 |         return { [weak self] a in
27 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 |     }
32 |
33 |     public func weakify<A, B>(_ code: @escaping (Self, A, B) -> Void) -> (A, B) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 |         return { [weak self] a, b in
35 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:41:5: warning: 'public' modifier is redundant for instance method declared in a public extension
39 |     }
40 |
41 |     public func weakify<A, B, C>(_ code: @escaping (Self, A, B, C) -> Void) -> (A, B, C) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 |         return { [weak self] a, b, c in
43 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 |     }
48 |
49 |     public func weakify<A, B, C, D>(_ code: @escaping (Self, A, B, C, D) -> Void) -> (A, B, C, D) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 |         return { [weak self] a, b, c, d in
51 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 |     }
56 |
57 |     public func weakify<A, B, C, D, E>(_ code: @escaping (Self, A, B, C, D, E) -> Void) -> (A, B, C, D, E) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 |         return { [weak self] a, b, c, d, e in
59 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:65:5: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |     }
64 |
65 |     public func weakify<A, B, C, D, E, F>(_ code: @escaping (Self, A, B, C, D, E, F) -> Void) -> (A, B, C, D, E, F) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 |         return { [weak self] a, b, c, d, e, f in
67 |             guard let self = self else { return }
/host/spi-builder-workspace/Sources/Weakable.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 |     }
72 |
73 |     public func weakify<A, B, C, D, E, F, G>(_ code: @escaping (Self, A, B, C, D, E, F, G) -> Void) -> (A, B, C, D, E, F, G) -> Void {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 |         return { [weak self] a, b, c, d, e, f, g in
75 |             guard let self = self else { return }
Build complete! (9.22s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WeakableSelf",
  "name" : "WeakableSelf",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WeakableSelf",
      "targets" : [
        "WeakableSelf"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WeakableSelf",
      "module_type" : "SwiftTarget",
      "name" : "WeakableSelf",
      "path" : "Sources",
      "product_memberships" : [
        "WeakableSelf"
      ],
      "sources" : [
        "Weakable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
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.