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

Failed to build xcprojectlint, reference main (e0f3d9), with Swift 6.1 for Linux on 27 Apr 2025 08:59:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/americanexpress/xcprojectlint.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/americanexpress/xcprojectlint
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e0f3d93 Monterey updates (#38)
Cloned https://github.com/americanexpress/xcprojectlint.git
Revision (git rev-parse @):
e0f3d9383d8f56d76b5b1dd9819f1ba32a3b3bc1
SUCCESS checkout https://github.com/americanexpress/xcprojectlint.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/americanexpress/xcprojectlint.git
https://github.com/americanexpress/xcprojectlint.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "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"
    }
  ],
  "manifest_display_name" : "xcprojectlint",
  "name" : "xcprojectlint",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "xcprojectlint-package",
      "targets" : [
        "xcprojectlint-package"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "xcprojectlint",
      "targets" : [
        "xcprojectlint"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcprojectlint_packageTests",
      "module_type" : "SwiftTarget",
      "name" : "xcprojectlint-packageTests",
      "path" : "Tests/xcprojectlint-packageTests",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftToolsSupport"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/xcprojectlint-packageTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Bundle.swift",
        "DiskLayoutMatchesProjectTests.swift",
        "FilesExistOnDiskTests.swift",
        "InternalProjectSettingsTests.swift",
        "ItemsInAlphaOrderTests.swift",
        "NoDanglingFilesTests.swift",
        "NoEmptyGroupsTests.swift",
        "WhiteSpaceSpecificationTests.swift"
      ],
      "target_dependencies" : [
        "xcprojectlint-package"
      ],
      "type" : "test"
    },
    {
      "c99name" : "xcprojectlint_package",
      "module_type" : "SwiftTarget",
      "name" : "xcprojectlint-package",
      "path" : "Sources/xcprojectlint-package",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftToolsSupport"
      ],
      "product_memberships" : [
        "xcprojectlint-package",
        "xcprojectlint"
      ],
      "sources" : [
        "CheckForInternalProjectSettings.swift",
        "CheckForWhitespaceSpecifications.swift",
        "DiskLayoutMatchesProject.swift",
        "EnsureAlphaOrder.swift",
        "ErrorReporter.swift",
        "FilesExistOnDisk.swift",
        "NoDanglingSourceFiles.swift",
        "NoEmptyGroups.swift",
        "Project.swift",
        "ProjectParser.swift",
        "Report.swift",
        "Usage.swift",
        "Validation.swift",
        "Version.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "xcprojectlint",
      "module_type" : "SwiftTarget",
      "name" : "xcprojectlint",
      "path" : "Sources/xcprojectlint",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftToolsSupport"
      ],
      "product_memberships" : [
        "xcprojectlint"
      ],
      "sources" : [
        "XcodeProjectLint.swift"
      ],
      "target_dependencies" : [
        "xcprojectlint-package"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6718] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.41s)
[1/14950] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.24s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.2 (0.53s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/22] Write sources
[8/22] Compiling TSCclibc libc.c
[9/22] Compiling TSCclibc process.c
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/26] Emitting module TSCLibc
[13/26] Emitting module ArgumentParserToolInfo
[14/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/27] Wrapping AST for ArgumentParserToolInfo for debugging
[17/65] Compiling TSCLibc libc.swift
[18/66] Wrapping AST for TSCLibc for debugging
[20/106] Emitting module ArgumentParser
[21/111] Emitting module TSCBasic
[22/116] Compiling ArgumentParser CollectionExtensions.swift
[23/116] Compiling ArgumentParser Platform.swift
[24/116] Compiling TSCBasic TerminalController.swift
[25/116] Compiling TSCBasic Thread.swift
[26/116] Compiling TSCBasic Tuple.swift
[27/116] Compiling TSCBasic Path.swift
[28/116] Compiling TSCBasic Await.swift
[29/116] Compiling TSCBasic Base64URL.swift
[30/116] Compiling TSCBasic ByteString.swift
[31/116] Compiling TSCBasic CStringArray.swift
[32/116] Compiling TSCBasic CacheableSequence.swift
[33/116] Compiling TSCBasic Closable.swift
[34/116] Compiling TSCBasic Result.swift
[35/116] Compiling TSCBasic SortedArray.swift
[36/116] Compiling TSCBasic StringConversions.swift
[37/116] Compiling TSCBasic SynchronizedQueue.swift
[38/116] Compiling TSCBasic TemporaryFile.swift
[39/116] Compiling TSCBasic PathShims.swift
[40/116] Compiling TSCBasic Process.swift
[41/116] Compiling TSCBasic ProcessEnv.swift
[42/116] Compiling TSCBasic ProcessSet.swift
[43/116] Compiling TSCBasic RegEx.swift
[44/116] Compiling TSCBasic CodableResult.swift
[45/116] Compiling TSCBasic CollectionAlgorithms.swift
[46/116] Compiling TSCBasic CollectionExtensions.swift
[47/116] Compiling TSCBasic Condition.swift
[70/116] Compiling TSCBasic DictionaryExtensions.swift
[71/116] Compiling TSCBasic DictionaryLiteralExtensions.swift
[72/116] Compiling TSCBasic EditDistance.swift
[73/116] Compiling TSCBasic FileInfo.swift
[74/116] Compiling TSCBasic FileSystem.swift
[75/116] Compiling TSCBasic GraphAlgorithms.swift
[76/116] Compiling TSCBasic HashAlgorithms.swift
[77/116] Compiling TSCBasic JSON.swift
[78/116] Compiling TSCBasic JSONMapper.swift
[79/116] Compiling TSCBasic KeyedPair.swift
[80/116] Compiling TSCBasic LazyCache.swift
[81/116] Compiling TSCBasic Lock.swift
[82/116] Compiling TSCBasic OSLog.swift
[83/116] Compiling TSCBasic ObjectIdentifierProtocol.swift
[84/116] Compiling TSCBasic OrderedDictionary.swift
[85/116] Compiling TSCBasic OrderedSet.swift
[106/116] Compiling TSCBasic WritableByteStream.swift
[107/116] Compiling TSCBasic misc.swift
[109/118] Wrapping AST for TSCBasic for debugging
[110/118] Wrapping AST for ArgumentParser for debugging
[112/153] Compiling TSCUtility OSLog.swift
[113/153] Compiling TSCUtility OrderedZip.swift
[114/153] Compiling TSCUtility PkgConfig.swift
[115/153] Compiling TSCUtility Platform.swift
[116/153] Compiling TSCUtility PolymorphicCodable.swift
[117/157] Compiling TSCUtility Context.swift
[118/157] Compiling TSCUtility Diagnostics.swift
[119/157] Compiling TSCUtility FSWatch.swift
[120/157] Compiling TSCUtility FloatingPointExtensions.swift
[121/157] Compiling TSCUtility Git.swift
[122/157] Compiling TSCUtility Hex.swift
[123/157] Compiling TSCUtility IndexStore.swift
[124/157] Compiling TSCUtility InterruptHandler.swift
[125/157] Compiling TSCUtility JSONMessageStreamingParser.swift
[126/157] Compiling TSCUtility Netrc.swift
[127/157] Compiling TSCUtility Archiver.swift
[128/157] Compiling TSCUtility ArgumentParser.swift
[129/157] Compiling TSCUtility ArgumentParserShellCompletion.swift
[130/157] Compiling TSCUtility Array+Extensions.swift
[131/157] Compiling TSCUtility Bits.swift
[132/157] Compiling TSCUtility Bitstream.swift
[133/157] Compiling TSCUtility BitstreamReader.swift
[134/157] Compiling TSCUtility BitstreamWriter.swift
[135/157] Compiling TSCUtility BuildFlags.swift
[136/157] Compiling TSCUtility CollectionExtensions.swift
[137/157] Compiling TSCUtility Version.swift
[138/157] Compiling TSCUtility Versioning.swift
[139/157] Compiling TSCUtility dlopen.swift
[140/157] Compiling TSCUtility misc.swift
[141/157] Emitting module TSCUtility
[142/157] Compiling TSCUtility Tracing.swift
[143/157] Compiling TSCUtility Triple.swift
[144/157] Compiling TSCUtility URL.swift
[145/157] Compiling TSCUtility Verbosity.swift
[146/157] Compiling TSCUtility ProgressAnimation.swift
[147/157] Compiling TSCUtility SerializedDiagnostics.swift
[148/157] Compiling TSCUtility SimplePersistence.swift
[149/157] Compiling TSCUtility StringExtensions.swift
[150/157] Compiling TSCUtility StringMangling.swift
[151/158] Wrapping AST for TSCUtility for debugging
[152/158] Write Objects.LinkFileList
[153/158] Linking libSwiftToolsSupport.so
[155/172] Compiling xcprojectlint_package Validation.swift
[156/173] Compiling xcprojectlint_package Report.swift
/host/spi-builder-workspace/Sources/xcprojectlint-package/Report.swift:46:21: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |   }
45 |
46 |   public static var usage = "Either 'error' or 'warning'"
   |                     |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[157/173] Compiling xcprojectlint_package Usage.swift
/host/spi-builder-workspace/Sources/xcprojectlint-package/Report.swift:46:21: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |   }
45 |
46 |   public static var usage = "Either 'error' or 'warning'"
   |                     |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[158/173] Compiling xcprojectlint_package ErrorReporter.swift
[159/173] Compiling xcprojectlint_package FilesExistOnDisk.swift
[160/173] Compiling xcprojectlint_package Version.swift
[161/173] Emitting module xcprojectlint_package
/host/spi-builder-workspace/Sources/xcprojectlint-package/DiskLayoutMatchesProject.swift:47:13: warning: var '_skipFolders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private var _skipFolders: [String]?
   |             |- warning: var '_skipFolders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_skipFolders' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_skipFolders' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | public func diskLayoutMatchesProject(_ project: Project, logEntry: String, skipFolders: [String]?) -> Report {
/host/spi-builder-workspace/Sources/xcprojectlint-package/Report.swift:46:21: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |   }
45 |
46 |   public static var usage = "Either 'error' or 'warning'"
   |                     |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[162/173] Compiling xcprojectlint_package CheckForInternalProjectSettings.swift
[163/173] Compiling xcprojectlint_package CheckForWhitespaceSpecifications.swift
[164/173] Compiling xcprojectlint_package DiskLayoutMatchesProject.swift
/host/spi-builder-workspace/Sources/xcprojectlint-package/DiskLayoutMatchesProject.swift:47:13: warning: var '_skipFolders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private var _skipFolders: [String]?
   |             |- warning: var '_skipFolders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_skipFolders' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_skipFolders' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | public func diskLayoutMatchesProject(_ project: Project, logEntry: String, skipFolders: [String]?) -> Report {
[165/173] Compiling xcprojectlint_package EnsureAlphaOrder.swift
/host/spi-builder-workspace/Sources/xcprojectlint-package/DiskLayoutMatchesProject.swift:47:13: warning: var '_skipFolders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | private var _skipFolders: [String]?
   |             |- warning: var '_skipFolders' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_skipFolders' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_skipFolders' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | public func diskLayoutMatchesProject(_ project: Project, logEntry: String, skipFolders: [String]?) -> Report {
[166/173] Compiling xcprojectlint_package NoDanglingSourceFiles.swift
[167/173] Compiling xcprojectlint_package NoEmptyGroups.swift
[168/173] Compiling xcprojectlint_package Project.swift
[169/173] Compiling xcprojectlint_package ProjectParser.swift
[170/174] Wrapping AST for xcprojectlint-package for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[172/176] Emitting module xcprojectlint
/host/spi-builder-workspace/Sources/xcprojectlint/XcodeProjectLint.swift:19:1: error: 'main' attribute cannot be used in a module that contains top-level code
  1 | /*
    | |- note: top-level code defined in this source file
    | `- note: pass '-parse-as-library' to compiler invocation if this is intentional
  2 |  * Copyright (c) 2018 American Express Travel Related Services Company, Inc.
  3 |  *
    :
 17 | import xcprojectlint_package
 18 |
 19 | @main
    | `- error: 'main' attribute cannot be used in a module that contains top-level code
 20 | struct xcprojectlint: ParsableCommand {
 21 |   static var configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/xcprojectlint/XcodeProjectLint.swift:21:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | @main
 20 | struct xcprojectlint: ParsableCommand {
 21 |   static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     abstract: "A linter for Xcode project files.",
 23 |     version: "\(currentVersion)"
/host/spi-builder-workspace/Sources/xcprojectlint/XcodeProjectLint.swift:29:52: warning: reference to static property 'usage' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 27 |     @Option(
 28 |       name: .long,
 29 |       help: ArgumentHelp(stringLiteral: ReportKind.usage)
    |                                                    `- warning: reference to static property 'usage' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 30 |     )
 31 |     var report: ReportKind
/host/spi-builder-workspace/Sources/xcprojectlint-package/Report.swift:46:21: note: static property declared here
44 |   }
45 |
46 |   public static var usage = "Either 'error' or 'warning'"
   |                     `- note: static property declared here
47 | }
48 |
[173/176] Compiling xcprojectlint XcodeProjectLint.swift
/host/spi-builder-workspace/Sources/xcprojectlint/XcodeProjectLint.swift:19:1: error: 'main' attribute cannot be used in a module that contains top-level code
  1 | /*
    | |- note: top-level code defined in this source file
    | `- note: pass '-parse-as-library' to compiler invocation if this is intentional
  2 |  * Copyright (c) 2018 American Express Travel Related Services Company, Inc.
  3 |  *
    :
 17 | import xcprojectlint_package
 18 |
 19 | @main
    | `- error: 'main' attribute cannot be used in a module that contains top-level code
 20 | struct xcprojectlint: ParsableCommand {
 21 |   static var configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/xcprojectlint/XcodeProjectLint.swift:21:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | @main
 20 | struct xcprojectlint: ParsableCommand {
 21 |   static var configuration = CommandConfiguration(
    |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     abstract: "A linter for Xcode project files.",
 23 |     version: "\(currentVersion)"
/host/spi-builder-workspace/Sources/xcprojectlint/XcodeProjectLint.swift:29:52: warning: reference to static property 'usage' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 27 |     @Option(
 28 |       name: .long,
 29 |       help: ArgumentHelp(stringLiteral: ReportKind.usage)
    |                                                    `- warning: reference to static property 'usage' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 30 |     )
 31 |     var report: ReportKind
/host/spi-builder-workspace/Sources/xcprojectlint-package/Report.swift:46:21: note: static property declared here
44 |   }
45 |
46 |   public static var usage = "Either 'error' or 'warning'"
   |                     `- note: static property declared here
47 | }
48 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling TSCLibc libc.swift
[4/17] Emitting module TSCLibc
[6/57] Emitting module ArgumentParserToolInfo
[7/57] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/95] Emitting module TSCBasic
[10/100] Compiling ArgumentParser Errors.swift
[11/100] Compiling ArgumentParser Flag.swift
[12/100] Compiling ArgumentParser NameSpecification.swift
[13/100] Compiling ArgumentParser Option.swift
[14/100] Compiling ArgumentParser DumpHelpGenerator.swift
[15/100] Compiling ArgumentParser HelpCommand.swift
[16/100] Compiling ArgumentParser BashCompletionsGenerator.swift
[17/100] Compiling ArgumentParser CompletionsGenerator.swift
[18/100] Compiling ArgumentParser FishCompletionsGenerator.swift
[19/100] Compiling ArgumentParser ZshCompletionsGenerator.swift
[20/100] Compiling ArgumentParser Argument.swift
[21/100] Compiling ArgumentParser ArgumentHelp.swift
[22/100] Compiling ArgumentParser ArgumentDefinition.swift
[23/100] Compiling ArgumentParser ArgumentSet.swift
[24/100] Compiling ArgumentParser CommandParser.swift
[25/100] Compiling ArgumentParser InputKey.swift
[26/100] Compiling ArgumentParser InputOrigin.swift
[27/100] Compiling ArgumentParser OptionGroup.swift
[28/100] Compiling ArgumentParser AsyncParsableCommand.swift
[29/100] Compiling ArgumentParser CommandConfiguration.swift
[30/100] Compiling ArgumentParser CommandGroup.swift
[31/100] Compiling ArgumentParser EnumerableFlag.swift
[32/100] Compiling ArgumentParser Parsed.swift
[33/100] Compiling ArgumentParser ParsedValues.swift
[34/100] Compiling ArgumentParser ParserError.swift
[35/100] Compiling ArgumentParser SplitArguments.swift
[36/100] Compiling ArgumentParser ArgumentVisibility.swift
[37/100] Compiling ArgumentParser CompletionKind.swift
[38/100] Compiling ArgumentParser HelpGenerator.swift
[39/100] Compiling ArgumentParser MessageInfo.swift
[40/100] Compiling ArgumentParser UsageGenerator.swift
[41/100] Compiling TSCBasic OrderedSet.swift
[42/100] Compiling TSCBasic Path.swift
[43/100] Compiling ArgumentParser ExpressibleByArgument.swift
[44/100] Compiling ArgumentParser ParsableArguments.swift
[45/100] Compiling ArgumentParser ParsableArgumentsValidation.swift
[46/100] Compiling ArgumentParser ParsableCommand.swift
[47/100] Compiling ArgumentParser ArgumentDecoder.swift
[48/100] Compiling ArgumentParser Name.swift
[49/100] Compiling TSCBasic TerminalController.swift
[50/100] Compiling TSCBasic Thread.swift
[51/100] Compiling TSCBasic Tuple.swift
[52/100] Compiling TSCBasic WritableByteStream.swift
[53/100] Compiling TSCBasic misc.swift
[55/101] Emitting module ArgumentParser
[55/106] Wrapping AST for TSCBasic for debugging
[67/141] Compiling TSCUtility Bitstream.swift
[68/141] Compiling TSCUtility BitstreamReader.swift
[69/141] Compiling TSCUtility BitstreamWriter.swift
[70/141] Compiling TSCUtility BuildFlags.swift
[71/141] Compiling TSCUtility CollectionExtensions.swift
[72/141] Compiling TSCUtility Archiver.swift
[73/141] Compiling TSCUtility Triple.swift
[74/141] Compiling TSCUtility URL.swift
[75/141] Compiling TSCUtility Verbosity.swift
[76/141] Compiling TSCUtility ProgressAnimation.swift
[77/141] Compiling TSCUtility SerializedDiagnostics.swift
[78/141] Compiling TSCUtility ArgumentParser.swift
[79/141] Compiling TSCUtility ArgumentParserShellCompletion.swift
[80/141] Compiling TSCUtility Array+Extensions.swift
[81/141] Compiling TSCUtility Bits.swift
[82/141] Compiling TSCUtility OSLog.swift
[83/141] Compiling TSCUtility OrderedZip.swift
[84/141] Compiling TSCUtility PkgConfig.swift
[85/141] Compiling TSCUtility Platform.swift
[86/141] Compiling TSCUtility PolymorphicCodable.swift
[87/141] Compiling TSCUtility Tracing.swift
[88/141] Compiling TSCUtility FSWatch.swift
[89/141] Compiling TSCUtility FloatingPointExtensions.swift
[90/141] Compiling TSCUtility Git.swift
[91/141] Compiling TSCUtility Hex.swift
[92/141] Compiling TSCUtility IndexStore.swift
[93/141] Compiling TSCUtility InterruptHandler.swift
[94/141] Compiling ArgumentParser CollectionExtensions.swift
[95/141] Compiling ArgumentParser Platform.swift
[96/141] Compiling ArgumentParser SequenceExtensions.swift
[97/141] Compiling ArgumentParser StringExtensions.swift
[98/141] Compiling ArgumentParser Tree.swift
[100/141] Emitting module TSCUtility
[110/145] Compiling TSCUtility Context.swift
[111/145] Compiling TSCUtility Diagnostics.swift
[118/145] Compiling TSCUtility JSONMessageStreamingParser.swift
[119/145] Compiling TSCUtility Netrc.swift
[120/145] Compiling TSCUtility Version.swift
[121/145] Compiling TSCUtility Versioning.swift
[122/145] Compiling TSCUtility dlopen.swift
[123/145] Compiling TSCUtility misc.swift
[136/145] Compiling TSCUtility SimplePersistence.swift
[137/145] Compiling TSCUtility StringExtensions.swift
[138/145] Compiling TSCUtility StringMangling.swift
[139/146] Wrapping AST for TSCUtility for debugging
[140/146] Write Objects.LinkFileList
[141/146] Linking libSwiftToolsSupport.so
[143/160] Compiling xcprojectlint_package Validation.swift
[144/161] Compiling xcprojectlint_package Report.swift
[145/161] Compiling xcprojectlint_package Usage.swift
[146/161] Compiling xcprojectlint_package ErrorReporter.swift
[147/161] Compiling xcprojectlint_package FilesExistOnDisk.swift
[148/161] Compiling xcprojectlint_package CheckForInternalProjectSettings.swift
[149/161] Compiling xcprojectlint_package CheckForWhitespaceSpecifications.swift
[150/161] Emitting module xcprojectlint_package
[151/161] Compiling xcprojectlint_package DiskLayoutMatchesProject.swift
[152/161] Compiling xcprojectlint_package EnsureAlphaOrder.swift
[153/161] Compiling xcprojectlint_package Version.swift
[154/161] Compiling xcprojectlint_package NoDanglingSourceFiles.swift
[155/161] Compiling xcprojectlint_package NoEmptyGroups.swift
[156/161] Compiling xcprojectlint_package Project.swift
[157/161] Compiling xcprojectlint_package ProjectParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[159/163] Emitting module xcprojectlint
/host/spi-builder-workspace/Sources/xcprojectlint/XcodeProjectLint.swift:19:1: error: 'main' attribute cannot be used in a module that contains top-level code
  1 | /*
    | |- note: top-level code defined in this source file
    | `- note: pass '-parse-as-library' to compiler invocation if this is intentional
  2 |  * Copyright (c) 2018 American Express Travel Related Services Company, Inc.
  3 |  *
    :
 17 | import xcprojectlint_package
 18 |
 19 | @main
    | `- error: 'main' attribute cannot be used in a module that contains top-level code
 20 | struct xcprojectlint: ParsableCommand {
 21 |   static var configuration = CommandConfiguration(
[160/163] Compiling xcprojectlint XcodeProjectLint.swift
/host/spi-builder-workspace/Sources/xcprojectlint/XcodeProjectLint.swift:19:1: error: 'main' attribute cannot be used in a module that contains top-level code
  1 | /*
    | |- note: top-level code defined in this source file
    | `- note: pass '-parse-as-library' to compiler invocation if this is intentional
  2 |  * Copyright (c) 2018 American Express Travel Related Services Company, Inc.
  3 |  *
    :
 17 | import xcprojectlint_package
 18 |
 19 | @main
    | `- error: 'main' attribute cannot be used in a module that contains top-level code
 20 | struct xcprojectlint: ParsableCommand {
 21 |   static var configuration = CommandConfiguration(
BUILD FAILURE 6.1 linux