The Swift Package Index logo.Swift Package Index

Build Information

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

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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: 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/p-x9/swift-weak-self-check
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-54344843-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/p-x9/swift-source-reporter.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/47] Fetching swift-source-reporter
[48/18965] Fetching swift-source-reporter, swift-argument-parser
[18966/30826] Fetching swift-source-reporter, swift-argument-parser, yams
[18967/31156] Fetching swift-source-reporter, swift-argument-parser, yams, swift-indexstore
[19652/111166] Fetching swift-source-reporter, swift-argument-parser, yams, swift-indexstore, swift-syntax
Fetched https://github.com/p-x9/swift-source-reporter.git (2.02s)
Fetched https://github.com/apple/swift-argument-parser.git (2.02s)
Fetched https://github.com/kateinoigakukun/swift-indexstore.git (3.06s)
Fetched https://github.com/jpsim/Yams.git (3.08s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.09s)
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.24s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.5.0 (0.16s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.14s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.17s)
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.16s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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/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/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]
[137 / 284] SourceReporter
[161 / 284] Yams
[173 / 284] Yams
[173 / 284] SwiftSyntax600
[180 / 286] Yams
[184 / 286] Yams-product
[190 / 288] SwiftSyntax509
[191 / 288] Yams
[193 / 288] SwiftIndexStore
[200 / 289] Yams
[208 / 289] SwiftSyntax600
[218 / 292] CYaml
[236 / 303] SwiftSyntax
[236 / 303] Yams
[237 / 304] ArgumentParserToolInfo
[239 / 305] SwiftSyntax
[240 / 305] SwiftIndexStore
[244 / 305]
[248 / 315] ArgumentParser
[250 / 315] ArgumentParser
[252 / 315] ArgumentParser
[257 / 315] ArgumentParser-product
[258 / 315] ArgumentParser-product
[259 / 315] ArgumentParser-product
[260 / 315] ArgumentParser
[263 / 316] ArgumentParser
[263 / 316] SwiftSyntax
[276 / 344] SwiftParser
[279 / 344] SwiftParser
[280 / 344] SwiftParser
[287 / 344] SwiftBasicFormat
[292 / 344] SwiftParser
[295 / 344] SwiftParser
[299 / 344] SwiftParser
[301 / 344] SwiftParser-product
[302 / 344] SwiftDiagnostics
[304 / 344] SwiftDiagnostics
[305 / 344] SwiftDiagnostics
[306 / 344] SwiftBasicFormat
[308 / 344] SwiftBasicFormat
[310 / 345] SwiftParserDiagnostics
[316 / 355] SwiftParserDiagnostics
[316 / 355] SwiftBasicFormat
[317 / 355] SwiftParserDiagnostics
[320 / 356] SwiftParserDiagnostics
[323 / 356] SwiftParserDiagnostics
[327 / 356] SwiftParserDiagnostics
[331 / 357] SwiftSyntaxBuilder
[334 / 366] SwiftSyntaxBuilder
[334 / 367] SwiftSyntaxBuilder
[338 / 367] SwiftSyntaxBuilder
[341 / 367] SwiftSyntaxBuilder
[345 / 367] SwiftSyntaxBuilder
[351 / 377] WeakSelfCheckCore
[353 / 377] SwiftSyntaxBuilder
[354 / 377] WeakSelfCheckCore
[356 / 378] WeakSelfCheckCore
[362 / 378] WeakSelfCheckCore
[366 / 384] WeakSelfCheckCore
/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>
[371 / 385] WeakSelfCheckCore
[375 / 386] weak-self-check-product
[378 / 387] SwiftSyntax
[381 / 388] SwiftSyntax
[387 / 388] WeakSelfCheckCore
[388 / 388] weak-self-check-product
Build complete! (40.24 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.