The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-weak-self-check, reference 0.7.0 (1bbad2), with Swift 6.4 for Linux on 22 Sep 2026 23:22:21 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-weak-self-check.git
Reference: 0.7.0
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/p-x9/swift-weak-self-check
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at 1bbad28 Merge pull request #22 from p-x9/feature/migrate-deprecated-api
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
1bbad286af0a19f7a90d16003551d04d3f2f14b3
SUCCESS checkout https://github.com/p-x9/swift-weak-self-check.git at 0.7.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/p-x9/swift-weak-self-check.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/p-x9/swift-source-reporter.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/47] Fetching swift-source-reporter
[48/18965] Fetching swift-source-reporter, swift-argument-parser
[1940/30826] Fetching swift-source-reporter, swift-argument-parser, yams
[25964/31156] Fetching swift-source-reporter, swift-argument-parser, yams, swift-indexstore
Fetched https://github.com/kateinoigakukun/swift-indexstore.git (1.16s)
Fetched https://github.com/jpsim/Yams.git (1.18s)
[1/80010] Fetching swift-syntax
Fetched https://github.com/p-x9/swift-source-reporter.git (3.15s)
Fetched https://github.com/apple/swift-argument-parser.git (3.15s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.17s)
Computing version for https://github.com/p-x9/swift-source-reporter.git
Computed https://github.com/p-x9/swift-source-reporter.git at 0.2.0 (3.35s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.5.0 (0.18s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.18s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.20s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.18s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore.git
Working copy of https://github.com/kateinoigakukun/swift-indexstore.git resolved at 0.5.0
Creating working copy for https://github.com/p-x9/swift-source-reporter.git
Working copy of https://github.com/p-x9/swift-source-reporter.git resolved at 0.2.0
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 1.8.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 654]
[Planning deferred tasks]
[1 / 244]
[136 / 276] Yams
[160 / 276] Yams
[171 / 276] Yams-product
[173 / 278] Yams-product
[176 / 279] SwiftSyntax600
[184 / 280] SwiftSyntax509
[187 / 280] SwiftIndexStore
[197 / 282]
[203 / 292] CYaml
[214 / 292] CYaml
[219 / 292] CYaml
[221 / 293] SwiftIndexStore
[232 / 296] SwiftSyntax
[240 / 314] SwiftSyntax
[240 / 315] ArgumentParser
[241 / 315] SwiftSyntax
[244 / 315] ArgumentParser
[251 / 315] ArgumentParserToolInfo
[254 / 315] SourceReporter
[255 / 315] ArgumentParser
[256 / 315] ArgumentParser-product
[257 / 315] ArgumentParser-product
[258 / 315] ArgumentParser
[260 / 315] ArgumentParser
[261 / 316] ArgumentParser
[263 / 316] SwiftSyntax
[276 / 344] SwiftParser
[279 / 344] SwiftDiagnostics
[284 / 344] SwiftDiagnostics
[290 / 344] SwiftParser
[291 / 344] SwiftParser
[293 / 344] SwiftParser
[299 / 344] SwiftParser
[300 / 344] SwiftParser-product
[301 / 344] SwiftParser-product
[302 / 344] SwiftParser-product
[305 / 344] SwiftDiagnostics
[307 / 344] SwiftBasicFormat
[310 / 345] SwiftParserDiagnostics
[312 / 345] SwiftParserDiagnostics
[313 / 345] SwiftBasicFormat
[318 / 355] SwiftParserDiagnostics
[318 / 356] SwiftParserDiagnostics
[322 / 357] SwiftParserDiagnostics
[328 / 357] SwiftSyntaxBuilder
[335 / 367] SwiftSyntaxBuilder
[336 / 367] SwiftSyntaxBuilder
[338 / 367] SwiftSyntaxBuilder
[341 / 367] SwiftSyntaxBuilder
[345 / 367] SwiftSyntaxBuilder
[346 / 367] SwiftSyntaxBuilder-product
[347 / 367] SwiftSyntaxBuilder
[352 / 377] WeakSelfCheckCore
[353 / 377] WeakSelfCheckCore
[354 / 378] WeakSelfCheckCore
[357 / 379] WeakSelfCheckCore
[366 / 380]
/host/spi-builder-workspace/Sources/WeakSelfCheckCore/WeakSelfChecker.swift:106:26: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
104 |
105 |     public func diagnose() throws {
106 |         let source = try String(contentsOfFile: fileName)
    |                          `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
107 |         try diagnose(source: source)
108 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[372 / 385] SwiftParserDiagnostics
[375 / 386] weak-self-check-product
[378 / 387] SwiftSyntax
[381 / 388] SwiftSyntax
[387 / 388] WeakSelfCheckCore
[388 / 388] weak-self-check-product
Build complete! (41.03 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swift-indexstore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kateinoigakukun/swift-indexstore.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-source-reporter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/p-x9/swift-source-reporter.git"
    }
  ],
  "manifest_display_name" : "swift-weak-self-check",
  "name" : "swift-weak-self-check",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "weak-self-check",
      "targets" : [
        "weak-self-check"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "WeakSelfCheckBuildToolPlugin",
      "targets" : [
        "WeakSelfCheckBuildToolPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "WeakSelfCheckCommandPlugin",
      "targets" : [
        "WeakSelfCheckCommandPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "weak_self_check",
      "module_type" : "SwiftTarget",
      "name" : "weak-self-check",
      "path" : "Sources/weak-self-check",
      "product_dependencies" : [
        "ArgumentParser",
        "Yams",
        "SwiftIndexStore"
      ],
      "product_memberships" : [
        "weak-self-check",
        "WeakSelfCheckBuildToolPlugin",
        "WeakSelfCheckCommandPlugin"
      ],
      "sources" : [
        "Config.swift",
        "Extension/FileManager+.swift",
        "Extension/ReportType+.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "WeakSelfCheckCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "WeakSelfCheckCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "WeakSelfCheckCoreTests",
      "path" : "Tests/WeakSelfCheckCoreTests",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxBuilder"
      ],
      "sources" : [
        "WeakSelfCheckCoreTests.swift"
      ],
      "target_dependencies" : [
        "WeakSelfCheckCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WeakSelfCheckCore",
      "module_type" : "SwiftTarget",
      "name" : "WeakSelfCheckCore",
      "path" : "Sources/WeakSelfCheckCore",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "SwiftIndexStore",
        "SwiftSyntaxBuilder",
        "SourceReporter"
      ],
      "product_memberships" : [
        "weak-self-check",
        "WeakSelfCheckBuildToolPlugin",
        "WeakSelfCheckCommandPlugin"
      ],
      "sources" : [
        "ClosureWeakSelfChecker.swift",
        "Extension/ClosureCapture+.swift",
        "Extension/FunctionParameterSyntax+.swift",
        "Extension/IndexStoreSymbol+.swift",
        "Extension/MemberAccessExprSyntax+.swift",
        "Extension/String+.swift",
        "Extension/Syntax+.swift",
        "Extension/TypeSyntaxProtocol+.swift",
        "Model/WhiteListElement.swift",
        "SelfAccessDetector.swift",
        "Util/demangle.swift",
        "WeakSelfChecker.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WeakSelfCheckCommandPlugin",
      "module_type" : "PluginTarget",
      "name" : "WeakSelfCheckCommandPlugin",
      "path" : "Plugins/WeakSelfCheckCommandPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Check whether `self` is captured by weak reference in Closure.",
          "type" : "custom",
          "verb" : "weak-self-check"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "WeakSelfCheckCommandPlugin"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "weak-self-check"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "WeakSelfCheckBuildToolPlugin",
      "module_type" : "PluginTarget",
      "name" : "WeakSelfCheckBuildToolPlugin",
      "path" : "Plugins/WeakSelfCheckBuildToolPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "WeakSelfCheckBuildToolPlugin"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "weak-self-check"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.