The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AnyLint, reference main (049671), with Swift 6.2 (beta) for Linux on 20 Jun 2025 03:04:31 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/AnyLint.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/FlineDev/AnyLint
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0496714 Add build-script.sh file to run linters locally + fix SwiftLint warns
Cloned https://github.com/FlineDev/AnyLint.git
Revision (git rev-parse @):
04967143a1f3f3e71fa8b017a41a5c0851093946
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FlineDev/AnyLint.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/FlineDev/AnyLint.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/onevcat/Rainbow.git
[1/1196] Fetching rainbow
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetched https://github.com/onevcat/Rainbow.git from cache (0.25s)
[1/5074] Fetching swiftcli
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.39s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (4.04s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.50s)
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Building for debugging...
[0/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/44] Compiling SwiftCLI OptionRegistry.swift
[8/44] Compiling SwiftCLI Parameter.swift
[9/44] Compiling SwiftCLI Parser.swift
[10/46] Compiling Rainbow String+Rainbow.swift
[11/46] Compiling Rainbow Style.swift
[12/46] Compiling Rainbow StringGenerator.swift
[13/47] Compiling Rainbow XcodeColorsSupport.swift
[14/47] Emitting module Rainbow
[15/47] Compiling SwiftCLI ValueBox.swift
[16/47] Compiling SwiftCLI VersionCommand.swift
[17/47] Compiling Rainbow Rainbow.swift
[18/47] Compiling SwiftCLI Option.swift
[19/47] Compiling SwiftCLI OptionGroup.swift
[23/47] Compiling SwiftCLI Input.swift
[25/48] Compiling SwiftCLI Term.swift
[26/48] Compiling SwiftCLI Validation.swift
[26/48] Wrapping AST for Rainbow for debugging
[31/52] Compiling SwiftCLI Command.swift
[32/52] Compiling SwiftCLI Compatibility.swift
[33/52] Compiling SwiftCLI CompletionGenerator.swift
[34/52] Emitting module SwiftCLI
[35/52] Compiling SwiftCLI ArgumentList.swift
[36/52] Compiling SwiftCLI ArgumentListManipulator.swift
[37/52] Compiling SwiftCLI CLI.swift
[38/52] Compiling SwiftCLI Error.swift
[39/52] Compiling SwiftCLI HelpCommand.swift
[40/52] Compiling SwiftCLI HelpMessageGenerator.swift
[41/56] Compiling Utility CollectionExt.swift
[42/56] Compiling Utility FileManagerExt.swift
[43/57] Compiling SwiftCLI Path.swift
[44/57] Compiling SwiftCLI Stream.swift
[45/57] Compiling SwiftCLI Task.swift
[46/58] Compiling Utility StringExt.swift
[47/58] Compiling Utility TestHelper.swift
[49/58] Compiling Utility RegexExt.swift
[50/58] Compiling Utility Constants.swift
[51/58] Emitting module Utility
[51/58] Wrapping AST for SwiftCLI for debugging
[53/58] Compiling Utility Logger.swift
[54/58] Compiling Utility Regex.swift
[55/59] Wrapping AST for Utility for debugging
[57/84] Compiling AnyLintCLI TaskHandler.swift
[58/84] Compiling AnyLintCLI VersionTask.swift
[59/85] Compiling AnyLint Checker.swift
[60/85] Compiling AnyLint FileContentsChecker.swift
[61/85] Compiling AnyLint FilePathsChecker.swift
[62/85] Compiling AnyLint ArrayExt.swift
[63/87] Compiling AnyLintCLI main.swift
[64/87] Compiling AnyLint FileManagerExt.swift
[65/87] Compiling AnyLint StringExt.swift
[66/87] Compiling AnyLintCLI ValidateOrFail.swift
[67/87] Compiling AnyLintCLI InitTask.swift
/host/spi-builder-workspace/Sources/AnyLintCLI/Tasks/InitTask.swift:35:19: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
33 |
34 |       log.message("Creating config file using template '\(template.rawValue)' ...", level: .info)
35 |       fileManager.createFile(
   |                   `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
36 |          atPath: configFilePath,
37 |          contents: template.configFileContents.data(using: .utf8),
[68/87] Compiling AnyLintCLI LintTask.swift
[69/87] Compiling AnyLint URLExt.swift
[70/87] Compiling AnyLint FilesSearch.swift
[71/87] Emitting module AnyLintCLI
[74/88] Compiling AnyLint Violation.swift
[75/88] Compiling AnyLint ViolationLocationConfig.swift
[76/88] Compiling AnyLint AutoCorrection.swift
/host/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
[77/88] Compiling AnyLint CheckInfo.swift
/host/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
[78/88] Emitting module AnyLint
/host/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
[81/88] Wrapping AST for AnyLintCLI for debugging
[82/88] Write Objects.LinkFileList
[84/88] Compiling AnyLint Severity.swift
[85/88] Compiling AnyLint Statistics.swift
[86/88] Compiling AnyLint Lint.swift
[87/88] Compiling AnyLint Options.swift
[88/89] Linking anylint
Build complete! (29.92s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.5",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.1",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    }
  ],
  "manifest_display_name" : "AnyLint",
  "name" : "AnyLint",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "AnyLint",
      "targets" : [
        "AnyLint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "anylint",
      "targets" : [
        "AnyLintCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UtilityTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilityTests",
      "path" : "Tests/UtilityTests",
      "sources" : [
        "Extensions/RegexExtTests.swift",
        "LoggerTests.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Utility",
      "module_type" : "SwiftTarget",
      "name" : "Utility",
      "path" : "Sources/Utility",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "AnyLint",
        "anylint"
      ],
      "sources" : [
        "Constants.swift",
        "Extensions/CollectionExt.swift",
        "Extensions/FileManagerExt.swift",
        "Extensions/RegexExt.swift",
        "Extensions/StringExt.swift",
        "Logger.swift",
        "Regex.swift",
        "TestHelper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AnyLintTests",
      "module_type" : "SwiftTarget",
      "name" : "AnyLintTests",
      "path" : "Tests/AnyLintTests",
      "sources" : [
        "AutoCorrectionTests.swift",
        "CheckInfoTests.swift",
        "Checkers/FileContentsCheckerTests.swift",
        "Checkers/FilePathsCheckerTests.swift",
        "Extensions/ArrayExtTests.swift",
        "Extensions/XCTestCaseExt.swift",
        "FilesSearchTests.swift",
        "LintTests.swift",
        "RegexExtTests.swift",
        "StatisticsTests.swift",
        "ViolationTests.swift"
      ],
      "target_dependencies" : [
        "AnyLint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnyLintCLI",
      "module_type" : "SwiftTarget",
      "name" : "AnyLintCLI",
      "path" : "Sources/AnyLintCLI",
      "product_dependencies" : [
        "Rainbow",
        "SwiftCLI"
      ],
      "product_memberships" : [
        "anylint"
      ],
      "sources" : [
        "Commands/SingleCommand.swift",
        "ConfigurationTemplates/BlankTemplate.swift",
        "ConfigurationTemplates/ConfigurationTemplate.swift",
        "Globals/CLIConstants.swift",
        "Globals/ValidateOrFail.swift",
        "Tasks/InitTask.swift",
        "Tasks/LintTask.swift",
        "Tasks/TaskHandler.swift",
        "Tasks/VersionTask.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AnyLint",
      "module_type" : "SwiftTarget",
      "name" : "AnyLint",
      "path" : "Sources/AnyLint",
      "product_memberships" : [
        "AnyLint"
      ],
      "sources" : [
        "AutoCorrection.swift",
        "CheckInfo.swift",
        "Checkers/Checker.swift",
        "Checkers/FileContentsChecker.swift",
        "Checkers/FilePathsChecker.swift",
        "Extensions/ArrayExt.swift",
        "Extensions/FileManagerExt.swift",
        "Extensions/StringExt.swift",
        "Extensions/URLExt.swift",
        "FilesSearch.swift",
        "Lint.swift",
        "Options.swift",
        "Severity.swift",
        "Statistics.swift",
        "Violation.swift",
        "ViolationLocationConfig.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.