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 Periphery, reference 3.1.0 (241bbd), with Swift 6.1 for Android on 30 May 2025 17:53:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peripheryapp/periphery.git
Reference: 3.1.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/peripheryapp/periphery
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 241bbdc Release 3.1.0
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
241bbdca5b36c54158acbfd51115003d85f7a148
SUCCESS checkout https://github.com/peripheryapp/periphery.git at 3.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/peripheryapp/periphery.git
https://github.com/peripheryapp/periphery.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "aexml",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tadija/AEXML"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-indexstore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kateinoigakukun/swift-indexstore"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.1",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    },
    {
      "identity" : "swift-filename-matcher",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ileitch/swift-filename-matcher"
    }
  ],
  "manifest_display_name" : "Periphery",
  "name" : "Periphery",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "periphery",
      "targets" : [
        "Frontend"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PeripheryKit",
      "targets" : [
        "PeripheryKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TestShared",
      "module_type" : "SwiftTarget",
      "name" : "TestShared",
      "path" : "Tests/Shared",
      "sources" : [
        "DeclarationDescription.swift",
        "DeclarationScope.swift",
        "FixtureSourceGraphTestCase.swift",
        "Helper.swift",
        "SPMSourceGraphTestCase.swift",
        "SourceGraphTestCase.swift",
        "XCTestCase+Extensions.swift"
      ],
      "target_dependencies" : [
        "PeripheryKit",
        "ProjectDrivers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SyntaxAnalysis",
      "module_type" : "SwiftTarget",
      "name" : "SyntaxAnalysis",
      "path" : "Sources/SyntaxAnalysis",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser"
      ],
      "product_memberships" : [
        "periphery",
        "PeripheryKit"
      ],
      "sources" : [
        "CommentCommand.swift",
        "DeclarationSyntaxVisitor.swift",
        "ImportSyntaxVisitor.swift",
        "MultiplexingSyntaxVisitor.swift",
        "SourceLocationBuilder.swift",
        "TypeSyntaxInspector.swift",
        "UnusedParameterAnalyzer.swift",
        "UnusedParameterParser.swift"
      ],
      "target_dependencies" : [
        "SourceGraph",
        "Shared"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SourceGraph",
      "module_type" : "SwiftTarget",
      "name" : "SourceGraph",
      "path" : "Sources/SourceGraph",
      "product_dependencies" : [
        "SwiftSyntax"
      ],
      "product_memberships" : [
        "periphery",
        "PeripheryKit"
      ],
      "sources" : [
        "Elements/Accessibility.swift",
        "Elements/AssetReference.swift",
        "Elements/CommentCommand.swift",
        "Elements/Declaration.swift",
        "Elements/ImportStatement.swift",
        "Elements/Location.swift",
        "Elements/ProjectFileKind.swift",
        "Elements/Reference.swift",
        "Elements/SourceFile.swift",
        "Mutators/AccessibilityCascader.swift",
        "Mutators/AncestralReferenceEliminator.swift",
        "Mutators/AssetReferenceRetainer.swift",
        "Mutators/AssignOnlyPropertyReferenceEliminator.swift",
        "Mutators/CodablePropertyRetainer.swift",
        "Mutators/CodingKeyEnumReferenceBuilder.swift",
        "Mutators/ComplexPropertyAccessorReferenceBuilder.swift",
        "Mutators/DefaultConstructorReferenceBuilder.swift",
        "Mutators/DynamicMemberRetainer.swift",
        "Mutators/EntryPointAttributeRetainer.swift",
        "Mutators/EnumCaseReferenceBuilder.swift",
        "Mutators/ExtensionReferenceBuilder.swift",
        "Mutators/ExternalOverrideRetainer.swift",
        "Mutators/ExternalTypeProtocolConformanceReferenceRemover.swift",
        "Mutators/GenericClassAndStructConstructorReferenceBuilder.swift",
        "Mutators/InterfaceBuilderPropertyRetainer.swift",
        "Mutators/ObjCAccessibleRetainer.swift",
        "Mutators/PropertyWrapperRetainer.swift",
        "Mutators/ProtocolConformanceReferenceBuilder.swift",
        "Mutators/ProtocolExtensionReferenceBuilder.swift",
        "Mutators/PubliclyAccessibleRetainer.swift",
        "Mutators/RedundantExplicitPublicAccessibilityMarker.swift",
        "Mutators/RedundantProtocolMarker.swift",
        "Mutators/ResultBuilderRetainer.swift",
        "Mutators/StringInterpolationAppendInterpolationRetainer.swift",
        "Mutators/StructImplicitInitializerReferenceBuilder.swift",
        "Mutators/SwiftTestingRetainer.swift",
        "Mutators/SwiftUIRetainer.swift",
        "Mutators/UnusedImportMarker.swift",
        "Mutators/UnusedParameterRetainer.swift",
        "Mutators/UsedDeclarationMarker.swift",
        "Mutators/XCTestRetainer.swift",
        "SourceGraph.swift",
        "SourceGraphDebugger.swift",
        "SourceGraphMutator.swift",
        "SourceGraphMutatorRunner.swift",
        "SynchronizedSourceGraph.swift"
      ],
      "target_dependencies" : [
        "Configuration",
        "Shared"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Shared",
      "module_type" : "SwiftTarget",
      "name" : "Shared",
      "path" : "Sources/Shared",
      "product_dependencies" : [
        "SystemPackage",
        "FilenameMatcher"
      ],
      "product_memberships" : [
        "periphery",
        "PeripheryKit"
      ],
      "sources" : [
        "Benchmark.swift",
        "Constants.swift",
        "PeripheryError.swift",
        "ProjectKind.swift",
        "PropertyTypeSanitizer.swift",
        "SetupGuide.swift",
        "Shell.swift",
        "SwiftVersion.swift",
        "SwiftVersionParser.swift",
        "UnfairLock.swift"
      ],
      "target_dependencies" : [
        "Extensions",
        "Logger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPMTests",
      "module_type" : "SwiftTarget",
      "name" : "SPMTests",
      "path" : "Tests/SPMTests",
      "sources" : [
        "Helper.swift",
        "SPMProjectTest.swift"
      ],
      "target_dependencies" : [
        "TestShared",
        "PeripheryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProjectDrivers",
      "module_type" : "SwiftTarget",
      "name" : "ProjectDrivers",
      "path" : "Sources/ProjectDrivers",
      "product_memberships" : [
        "periphery"
      ],
      "sources" : [
        "BazelProjectDriver.swift",
        "GenericProjectDriver.swift",
        "ProjectDriver.swift",
        "SPM.swift",
        "SPMProjectDriver.swift",
        "XcodeProjectDriver.swift"
      ],
      "target_dependencies" : [
        "SourceGraph",
        "Shared",
        "Indexer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PeripheryTests",
      "module_type" : "SwiftTarget",
      "name" : "PeripheryTests",
      "path" : "Tests/PeripheryTests",
      "sources" : [
        "CrossModuleRetentionTest.swift",
        "Extensions/FilePathGlobTest.swift",
        "Extensions/FilePathTest.swift",
        "Extensions/FilenameMatcherTests.swift",
        "Extensions/String+VersionTest.swift",
        "ObjcAccessibleRetentionTest.swift",
        "ObjcAnnotatedRetentionTest.swift",
        "RetentionTest.swift",
        "SwiftVersionParserTest.swift",
        "Syntax/FunctionVisitTest.swift",
        "Syntax/ImportVisitTest.swift",
        "Syntax/PropertyVisitTest.swift",
        "Syntax/TypeSyntaxInspectorTest.swift",
        "Syntax/UnusedParameterTest.swift"
      ],
      "target_dependencies" : [
        "TestShared",
        "PeripheryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PeripheryKit",
      "module_type" : "SwiftTarget",
      "name" : "PeripheryKit",
      "path" : "Sources/PeripheryKit",
      "product_dependencies" : [
        "SystemPackage",
        "AEXML",
        "SwiftSyntax",
        "SwiftParser",
        "SwiftIndexStore",
        "FilenameMatcher"
      ],
      "product_memberships" : [
        "periphery",
        "PeripheryKit"
      ],
      "sources" : [
        "Results/Baseline.swift",
        "Results/CheckstyleFormatter.swift",
        "Results/CodeClimateFormatter.swift",
        "Results/CsvFormatter.swift",
        "Results/GitHubActionsFormatter.swift",
        "Results/JsonFormatter.swift",
        "Results/OutputDeclarationFilter.swift",
        "Results/OutputFormatter.swift",
        "Results/XcodeFormatter.swift",
        "ScanResult.swift",
        "ScanResultBuilder.swift"
      ],
      "target_dependencies" : [
        "SourceGraph",
        "Shared",
        "Indexer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Logger",
      "module_type" : "SwiftTarget",
      "name" : "Logger",
      "path" : "Sources/Logger",
      "product_memberships" : [
        "periphery",
        "PeripheryKit"
      ],
      "sources" : [
        "Logger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Indexer",
      "module_type" : "SwiftTarget",
      "name" : "Indexer",
      "path" : "Sources/Indexer",
      "product_dependencies" : [
        "SwiftIndexStore",
        "AEXML"
      ],
      "product_memberships" : [
        "periphery",
        "PeripheryKit"
      ],
      "sources" : [
        "IndexPipeline.swift",
        "IndexPlan.swift",
        "Indexer.swift",
        "InfoPlistIndexer.swift",
        "InfoPlistParser.swift",
        "JobPool.swift",
        "SourceFileCollector.swift",
        "SwiftIndexer.swift",
        "XCDataModelIndexer.swift",
        "XCDataModelParser.swift",
        "XCMappingModelIndexer.swift",
        "XCMappingModelParser.swift",
        "XibIndexer.swift",
        "XibParser.swift"
      ],
      "target_dependencies" : [
        "SyntaxAnalysis",
        "Shared"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Frontend",
      "module_type" : "SwiftTarget",
      "name" : "Frontend",
      "path" : "Sources/Frontend",
      "product_dependencies" : [
        "ArgumentParser",
        "FilenameMatcher"
      ],
      "product_memberships" : [
        "periphery"
      ],
      "sources" : [
        "BazelProjectSetupGuide.swift",
        "Commands/CheckUpdateCommand.swift",
        "Commands/ClearCacheCommand.swift",
        "Commands/FrontendCommand.swift",
        "Commands/ScanCommand.swift",
        "Commands/VersionCommand.swift",
        "CommonSetupGuide.swift",
        "GuidedSetup.swift",
        "Logger+Extension.swift",
        "Project.swift",
        "SPMProjectSetupGuide.swift",
        "Scan.swift",
        "UpdateChecker.swift",
        "Version.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Shared",
        "Configuration",
        "SourceGraph",
        "PeripheryKit",
        "ProjectDrivers"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Extensions",
      "module_type" : "SwiftTarget",
      "name" : "Extensions",
      "path" : "Sources/Extensions",
      "product_dependencies" : [
        "SystemPackage",
        "FilenameMatcher"
      ],
      "product_memberships" : [
        "periphery",
        "PeripheryKit"
      ],
      "sources" : [
        "Array+Extension.swift",
        "Collection+Extension.swift",
        "FilePath+Extension.swift",
        "FilePath+Glob.swift",
        "FilenameMatcher+Extension.swift",
        "Sequence+Extension.swift",
        "Set+Extension.swift",
        "String+Extension.swift",
        "String+Version.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Configuration",
      "module_type" : "SwiftTarget",
      "name" : "Configuration",
      "path" : "Sources/Configuration",
      "product_dependencies" : [
        "Yams",
        "SystemPackage",
        "FilenameMatcher"
      ],
      "product_memberships" : [
        "periphery",
        "PeripheryKit"
      ],
      "sources" : [
        "Configuration.swift",
        "OutputFormat.swift"
      ],
      "target_dependencies" : [
        "Extensions",
        "Shared",
        "Logger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AccessibilityTests",
      "module_type" : "SwiftTarget",
      "name" : "AccessibilityTests",
      "path" : "Tests/AccessibilityTests",
      "sources" : [
        "Helper.swift",
        "RedundantPublicAccessibilityTest.swift"
      ],
      "target_dependencies" : [
        "TestShared",
        "PeripheryKit",
        "Configuration"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
[1/2127] Fetching aexml
[2128/2446] Fetching aexml, swift-indexstore
[2132/2500] Fetching aexml, swift-indexstore, swift-filename-matcher
Fetched https://github.com/tadija/AEXML from cache (0.33s)
Fetching https://github.com/apple/swift-system
[1/10657] Fetching yams
[1493/26043] Fetching yams, swift-argument-parser
[8336/30434] Fetching yams, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.40s)
[22100/26043] Fetching yams, swift-argument-parser
[22315/96565] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (0.93s)
[11134/81179] Fetching yams, swift-syntax
Fetched https://github.com/ileitch/swift-filename-matcher from cache (5.26s)
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (5.26s)
Fetched https://github.com/jpsim/Yams from cache (5.31s)
Fetched https://github.com/apple/swift-syntax from cache (5.33s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.0 (8.39s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 601.0.1 (1.34s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.3.0 (0.49s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.46s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.50s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.52s)
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 2.0.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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.1
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.3.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/60] Write sources
[22/60] Compiling _CIndexStore dummy.c
[23/60] Compiling writer.c
[24/60] Compiling reader.c
[24/60] Write sources
[28/60] Compiling CSystem shims.c
[29/60] Compiling parser.c
[30/60] Compiling scanner.c
[31/60] Compiling api.c
[32/60] Compiling emitter.c
[33/60] Compiling _SwiftSyntaxCShims dummy.c
[33/60] Write swift-version-24593BA9C3E375BF.txt
[36/128] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/128] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/129] Compiling SystemPackage MachPort.swift
[39/129] Compiling SystemPackage PlatformString.swift
[40/129] Compiling SystemPackage SystemString.swift
[41/132] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/132] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/133] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/133] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/134] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/134] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/134] Compiling SwiftIndexStore IndexStoreError.swift
[50/134] Compiling SwiftIndexStore IndexStoreOccurrence.swift
[51/134] Compiling SwiftIndexStore IndexStoreRelation.swift
[52/134] Compiling SwiftIndexStore IndexStoreSymbol.swift
[55/140] Compiling SwiftIndexStore IndexStoreUnit.swift
[56/140] Compiling FilenameMatcher FilenameMatcherOptions.swift
[56/142] Wrapping AST for SwiftSyntax601 for debugging
[58/143] Compiling SystemPackage Util+StringArray.swift
[59/143] Compiling SystemPackage Util.swift
[60/143] Compiling SystemPackage UtilConsumers.swift
[61/148] Compiling AEXML Builders.swift
[62/148] Emitting module AEXML
[63/212] Compiling SwiftSyntax TokenSyntax.swift
[64/212] Compiling SwiftSyntax SourceLocation.swift
[65/214] Emitting module ArgumentParserToolInfo
[66/214] Compiling ArgumentParserToolInfo ToolInfo.swift
[67/215] Wrapping AST for SwiftSyntax600 for debugging
[69/253] Compiling ArgumentParser ArgumentSet.swift
[70/253] Compiling ArgumentParser CommandParser.swift
[71/253] Compiling ArgumentParser InputKey.swift
[72/253] Compiling ArgumentParser InputOrigin.swift
[73/253] Compiling ArgumentParser CommandConfiguration.swift
[74/253] Compiling ArgumentParser CommandGroup.swift
[75/253] Compiling ArgumentParser EnumerableFlag.swift
[76/253] Compiling ArgumentParser BashCompletionsGenerator.swift
[77/253] Compiling ArgumentParser CompletionsGenerator.swift
[78/253] Compiling ArgumentParser FishCompletionsGenerator.swift
[79/253] Compiling ArgumentParser ZshCompletionsGenerator.swift
[80/253] Compiling ArgumentParser Argument.swift
[81/253] Emitting module SystemPackage
[82/253] Compiling ArgumentParser ArgumentHelp.swift
[83/253] Compiling ArgumentParser ExpressibleByArgument.swift
[84/253] Compiling ArgumentParser ParsableArguments.swift
[85/253] Compiling ArgumentParser ParsableArgumentsValidation.swift
[86/253] Compiling ArgumentParser NameSpecification.swift
[87/253] Compiling ArgumentParser Option.swift
[88/253] Compiling ArgumentParser OptionGroup.swift
[89/253] Compiling ArgumentParser AsyncParsableCommand.swift
[95/259] Wrapping AST for SwiftSyntax510 for debugging
[96/259] Wrapping AST for SystemPackage for debugging
[97/259] Wrapping AST for SwiftSyntax509 for debugging
[101/259] Emitting module FilenameMatcher
[102/259] Compiling FilenameMatcher FilenameMatcher.swift
[104/260] Compiling ArgumentParser ParsableCommand.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[105/260] Emitting module SwiftIndexStore
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                     `- error: cannot find 'RTLD_LAZY' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                                 `- error: cannot find 'RTLD_LOCAL' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
 28 |         #endif
 29 |
 30 |         let dylib = dlopen(url.path, flags)!
    |                     `- error: cannot find 'dlopen' in scope
 31 |         var api = indexstore_functions_t()
 32 |         func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
[106/260] Compiling ArgumentParser ArgumentVisibility.swift
[107/260] Compiling ArgumentParser CompletionKind.swift
[108/260] Compiling SwiftIndexStore UnfairLock.swift
[109/260] Compiling SwiftIndexStore OptionSetDisplayable.swift
[110/260] Compiling SwiftIndexStore Process+Extension.swift
[111/260] Compiling ArgumentParser Errors.swift
[112/260] Compiling ArgumentParser Flag.swift
[113/260] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                     `- error: cannot find 'RTLD_LAZY' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                                 `- error: cannot find 'RTLD_LOCAL' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
 28 |         #endif
 29 |
 30 |         let dylib = dlopen(url.path, flags)!
    |                     `- error: cannot find 'dlopen' in scope
 31 |         var api = indexstore_functions_t()
 32 |         func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
 31 |         var api = indexstore_functions_t()
 32 |         func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
 33 |             guard let sym = dlsym(dylib, symbol) else {
    |                             `- error: cannot find 'dlsym' in scope
 34 |                 throw IndexStoreError.missingSymbol(symbol)
 35 |             }
[114/260] Compiling AEXML Options.swift
[115/260] Compiling AEXML Parser.swift
[116/260] Compiling AEXML Error.swift
[116/260] Wrapping AST for ArgumentParserToolInfo for debugging
[119/260] Compiling SwiftIndexStore SwiftIndexStore.swift
[120/260] Emitting module ArgumentParser
[127/260] Emitting module Yams
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/261] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Logger.swift:24:23: warning: var 'isColorOutputCapable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 | }
 23 |
 24 | @usableFromInline var isColorOutputCapable: Bool = {
    |                       |- warning: var 'isColorOutputCapable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'isColorOutputCapable' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make var 'isColorOutputCapable' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     guard let term = ProcessInfo.processInfo.environment["TERM"],
 26 |           term.lowercased() != "dumb",
/host/spi-builder-workspace/Sources/Logger/Logger.swift:27:11: error: cannot find 'isatty' in scope
 25 |     guard let term = ProcessInfo.processInfo.environment["TERM"],
 26 |           term.lowercased() != "dumb",
 27 |           isatty(fileno(stdout)) != 0
    |           `- error: cannot find 'isatty' in scope
 28 |     else {
 29 |         return false
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 |     @inlinable
122 |     func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
    |                                                           `- error: cannot find type 'FILE' in scope
123 |         _ = outputQueue.sync { fputs(line + "\n", output) }
124 |     }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[139/261] Compiling AEXML Document.swift
[140/261] Compiling Logger Logger.swift
/host/spi-builder-workspace/Sources/Logger/Logger.swift:24:23: warning: var 'isColorOutputCapable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 | }
 23 |
 24 | @usableFromInline var isColorOutputCapable: Bool = {
    |                       |- warning: var 'isColorOutputCapable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'isColorOutputCapable' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make var 'isColorOutputCapable' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     guard let term = ProcessInfo.processInfo.environment["TERM"],
 26 |           term.lowercased() != "dumb",
/host/spi-builder-workspace/Sources/Logger/Logger.swift:27:11: error: cannot find 'isatty' in scope
 25 |     guard let term = ProcessInfo.processInfo.environment["TERM"],
 26 |           term.lowercased() != "dumb",
 27 |           isatty(fileno(stdout)) != 0
    |           `- error: cannot find 'isatty' in scope
 28 |     else {
 29 |         return false
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 |     @inlinable
122 |     func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
    |                                                           `- error: cannot find type 'FILE' in scope
123 |         _ = outputQueue.sync { fputs(line + "\n", output) }
124 |     }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:43:20: error: cannot find 'stat' in scope
 41 | public final class Logger {
 42 |     public static func configureBuffering() {
 43 |         var info = stat()
    |                    `- error: cannot find 'stat' in scope
 44 |         fstat(STDOUT_FILENO, &info)
 45 |
/host/spi-builder-workspace/Sources/Logger/Logger.swift:44:9: error: cannot find 'fstat' in scope
 42 |     public static func configureBuffering() {
 43 |         var info = stat()
 44 |         fstat(STDOUT_FILENO, &info)
    |         `- error: cannot find 'fstat' in scope
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
/host/spi-builder-workspace/Sources/Logger/Logger.swift:44:15: error: cannot find 'STDOUT_FILENO' in scope
 42 |     public static func configureBuffering() {
 43 |         var info = stat()
 44 |         fstat(STDOUT_FILENO, &info)
    |               `- error: cannot find 'STDOUT_FILENO' in scope
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
/host/spi-builder-workspace/Sources/Logger/Logger.swift:46:28: error: cannot find 'S_IFMT' in scope
 44 |         fstat(STDOUT_FILENO, &info)
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
    |                            `- error: cannot find 'S_IFMT' in scope
 47 |             setlinebuf(stdout)
 48 |             setlinebuf(stderr)
/host/spi-builder-workspace/Sources/Logger/Logger.swift:46:39: error: cannot find 'S_IFIFO' in scope
 44 |         fstat(STDOUT_FILENO, &info)
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
    |                                       `- error: cannot find 'S_IFIFO' in scope
 47 |             setlinebuf(stdout)
 48 |             setlinebuf(stderr)
/host/spi-builder-workspace/Sources/Logger/Logger.swift:47:24: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
 47 |             setlinebuf(stdout)
    |                        `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 48 |             setlinebuf(stderr)
 49 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/Sources/Logger/Logger.swift:48:24: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
 47 |             setlinebuf(stdout)
 48 |             setlinebuf(stderr)
    |                        `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 49 |         }
 50 |     }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
[140/261] Wrapping AST for FilenameMatcher for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/27] Write swift-version-24593BA9C3E375BF.txt
[3/33] Emitting module SwiftSyntax601
[4/95] Compiling SwiftSyntax601 Empty.swift
[5/96] Emitting module SwiftSyntax509
[6/96] Compiling SwiftSyntax509 Empty.swift
[7/97] Emitting module SwiftSyntax600
[8/97] Compiling SwiftSyntax600 Empty.swift
[11/98] Emitting module SwiftSyntax510
[12/98] Compiling SwiftSyntax510 Empty.swift
[14/96] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                     `- error: cannot find 'RTLD_LAZY' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                                 `- error: cannot find 'RTLD_LOCAL' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
 28 |         #endif
 29 |
 30 |         let dylib = dlopen(url.path, flags)!
    |                     `- error: cannot find 'dlopen' in scope
 31 |         var api = indexstore_functions_t()
 32 |         func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
 31 |         var api = indexstore_functions_t()
 32 |         func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
 33 |             guard let sym = dlsym(dylib, symbol) else {
    |                             `- error: cannot find 'dlsym' in scope
 34 |                 throw IndexStoreError.missingSymbol(symbol)
 35 |             }
[16/97] Compiling SwiftIndexStore OptionSetDisplayable.swift
[17/97] Compiling SwiftIndexStore IndexStoreUnit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/96] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Logger.swift:27:11: error: cannot find 'isatty' in scope
 25 |     guard let term = ProcessInfo.processInfo.environment["TERM"],
 26 |           term.lowercased() != "dumb",
 27 |           isatty(fileno(stdout)) != 0
    |           `- error: cannot find 'isatty' in scope
 28 |     else {
 29 |         return false
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 |     @inlinable
122 |     func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
    |                                                           `- error: cannot find type 'FILE' in scope
123 |         _ = outputQueue.sync { fputs(line + "\n", output) }
124 |     }
[19/96] Compiling Logger Logger.swift
/host/spi-builder-workspace/Sources/Logger/Logger.swift:27:11: error: cannot find 'isatty' in scope
 25 |     guard let term = ProcessInfo.processInfo.environment["TERM"],
 26 |           term.lowercased() != "dumb",
 27 |           isatty(fileno(stdout)) != 0
    |           `- error: cannot find 'isatty' in scope
 28 |     else {
 29 |         return false
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 |     @inlinable
122 |     func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
    |                                                           `- error: cannot find type 'FILE' in scope
123 |         _ = outputQueue.sync { fputs(line + "\n", output) }
124 |     }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:43:20: error: cannot find 'stat' in scope
 41 | public final class Logger {
 42 |     public static func configureBuffering() {
 43 |         var info = stat()
    |                    `- error: cannot find 'stat' in scope
 44 |         fstat(STDOUT_FILENO, &info)
 45 |
/host/spi-builder-workspace/Sources/Logger/Logger.swift:44:9: error: cannot find 'fstat' in scope
 42 |     public static func configureBuffering() {
 43 |         var info = stat()
 44 |         fstat(STDOUT_FILENO, &info)
    |         `- error: cannot find 'fstat' in scope
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
/host/spi-builder-workspace/Sources/Logger/Logger.swift:44:15: error: cannot find 'STDOUT_FILENO' in scope
 42 |     public static func configureBuffering() {
 43 |         var info = stat()
 44 |         fstat(STDOUT_FILENO, &info)
    |               `- error: cannot find 'STDOUT_FILENO' in scope
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
/host/spi-builder-workspace/Sources/Logger/Logger.swift:46:28: error: cannot find 'S_IFMT' in scope
 44 |         fstat(STDOUT_FILENO, &info)
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
    |                            `- error: cannot find 'S_IFMT' in scope
 47 |             setlinebuf(stdout)
 48 |             setlinebuf(stderr)
/host/spi-builder-workspace/Sources/Logger/Logger.swift:46:39: error: cannot find 'S_IFIFO' in scope
 44 |         fstat(STDOUT_FILENO, &info)
 45 |
 46 |         if (info.st_mode & S_IFMT) == S_IFIFO {
    |                                       `- error: cannot find 'S_IFIFO' in scope
 47 |             setlinebuf(stdout)
 48 |             setlinebuf(stderr)
BUILD FAILURE 6.1 android