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 XCResource, reference main (4769e6), with Swift 6.2 (beta) for Android on 24 Jun 2025 06:55:16 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nearfri/XCResource.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/nearfri/XCResource
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4769e6b Update to 1.1.3
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
4769e6b27b94759fc7b7390c1ab7b11a19801b96
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nearfri/XCResource.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/nearfri/Strix.git
[1/1968] Fetching strix
Fetched https://github.com/nearfri/Strix.git from cache (0.29s)
[1/15380] Fetching swift-argument-parser
[15381/86307] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.49s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.53s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.6 (4.87s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.52s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.43s)
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.5.1
Creating working copy for https://github.com/nearfri/Strix.git
Working copy of https://github.com/nearfri/Strix.git resolved at 2.4.6
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
[1/1] Compiling plugin Generate Resource Code
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/101] Write sources
[49/101] Copying Resources
[50/101] Compiling _SwiftSyntaxCShims dummy.c
[52/101] Write swift-version-8C5A4AE7A8CE2BA.txt
[54/147] Emitting module SwiftSyntax601
[56/147] Emitting module SwiftSyntax510
[57/147] Emitting module Strix
[58/149] Emitting module SwiftSyntax600
[59/149] Compiling SwiftSyntax600 Empty.swift
[60/150] Compiling SwiftSyntax510 Empty.swift
[63/151] Compiling SwiftSyntax601 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/154] Emitting module XCResourceUtil
/host/spi-builder-workspace/Sources/XCResourceUtil/String+.swift:74:20: error: cannot find 'applyingTransform' in scope
 72 |         }
 73 |
 74 |         if self == applyingTransform(.toLatin, reverse: false) {
    |                    `- error: cannot find 'applyingTransform' in scope
 75 |             return self
 76 |         }
/host/spi-builder-workspace/Sources/XCResourceUtil/String+.swift:74:39: error: cannot infer contextual base in reference to member 'toLatin'
 72 |         }
 73 |
 74 |         if self == applyingTransform(.toLatin, reverse: false) {
    |                                       `- error: cannot infer contextual base in reference to member 'toLatin'
 75 |             return self
 76 |         }
[65/154] Emitting module SwiftSyntax509
[66/154] Compiling SwiftSyntax509 Empty.swift
[69/157] Compiling SwiftSyntax600 Empty.swift
[70/157] Emitting module SwiftSyntax600
[71/157] Compiling SwiftSyntax601 Empty.swift
[74/161] Emitting module SwiftSyntax510
[75/161] Compiling SwiftSyntax510 Empty.swift
[77/164] Compiling SwiftSyntax509 Empty.swift
[78/164] Emitting module SwiftSyntax509
[80/254] Emitting module Documentation
[81/254] Compiling Documentation EmptyFile.swift
[83/319] Compiling TestUtil expectEqual.swift
[84/319] Emitting module TestUtil
[86/320] Emitting module Strix
[87/324] Compiling XCResourceUtil URL+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/324] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[89/324] Emitting module XCResourceUtil
/host/spi-builder-workspace/Sources/XCResourceUtil/String+.swift:74:20: error: cannot find 'applyingTransform' in scope
 72 |         }
 73 |
 74 |         if self == applyingTransform(.toLatin, reverse: false) {
    |                    `- error: cannot find 'applyingTransform' in scope
 75 |             return self
 76 |         }
/host/spi-builder-workspace/Sources/XCResourceUtil/String+.swift:74:39: error: cannot infer contextual base in reference to member 'toLatin'
 72 |         }
 73 |
 74 |         if self == applyingTransform(.toLatin, reverse: false) {
    |                                       `- error: cannot infer contextual base in reference to member 'toLatin'
 75 |             return self
 76 |         }
[90/324] Compiling Strix SequenceParsers.swift
[91/324] Compiling Strix StringParsers.swift
[92/324] Compiling XCResourceUtil FileManager+.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/FileManager+.swift:22:17: error: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been renamed to 'replaceItem(at:withItemAt:backupItemName:options:)': Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.
20 |             try removeItem(at: newItemURL)
21 |         } else {
22 |             try replaceItem(at: originalItemURL,
   |                 `- error: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been renamed to 'replaceItem(at:withItemAt:backupItemName:options:)': Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.
23 |                             withItemAt: newItemURL,
24 |                             backupItemName: nil,
Foundation.FileManager.replaceItem:3:15: note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
1 | class FileManager {
2 | @available(*, unavailable, renamed: "replaceItem(at:withItemAt:backupItemName:options:)", message: "Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.")
3 |   public func replaceItem(at originalItemURL: URL, withItemAt newItemURL: URL, backupItemName: String?, options: FileManager.ItemReplacementOptions = [], resultingItemURL resultingURL: UnsafeMutablePointer<NSURL?>?) throws}
  |               `- note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
4 |
[93/324] Compiling SwiftSyntax AbsolutePosition.swift
[94/324] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[95/324] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[96/324] Compiling SwiftSyntax RawSyntaxTokenView.swift
[97/324] Compiling SwiftSyntax SourceEdit.swift
[98/324] Compiling SwiftSyntax SourceLength.swift
[99/324] Compiling SwiftSyntax SourceLocation.swift
[100/324] Compiling SwiftSyntax Identifier.swift
[101/324] Compiling SwiftSyntax MemoryLayout.swift
[102/324] Compiling SwiftSyntax MissingNodeInitializers.swift
[103/324] Compiling SwiftSyntax RawSyntax.swift
[104/324] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[105/324] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[106/324] Compiling SwiftSyntax Assert.swift
[107/324] Compiling SwiftSyntax BumpPtrAllocator.swift
[108/324] Compiling SwiftSyntax CommonAncestor.swift
[109/324] Compiling SwiftSyntax Convenience.swift
[110/324] Compiling SwiftSyntax CustomTraits.swift
[111/324] Compiling SwiftSyntax EditorPlaceholder.swift
[113/339] Compiling XCResourceUtil Tree.swift
[114/339] Compiling XCResourceUtil TextFileOutputStream.swift
[115/339] Emitting module ArgumentParserToolInfo
[116/339] Compiling ArgumentParserToolInfo ToolInfo.swift
[118/342] Compiling StrixParsers ASCIIPlist.swift
[119/342] Compiling StrixParsers ASCIIPlistParser.swift
[120/342] Compiling StrixParsers CSVParser.swift
[121/342] Compiling StrixParsers Calculator.swift
[122/342] Compiling StrixParsers Data+.swift
[123/342] Compiling StrixParsers String+.swift
[124/342] Compiling StrixParsers JSON.swift
[125/342] Compiling StrixParsers JSONConvertibleValue.swift
[126/342] Compiling StrixParsers FormatPlaceholder.swift
[127/351] Compiling StrixParsers JSONParser.swift
[130/352] Emitting module StrixParsers
[137/352] Compiling StrixParsers PrattParser.swift
[138/352] Emitting module SampleData
[139/352] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[143/352] Compiling StrixParsers FormatSpecifier.swift
[144/352] Compiling StrixParsers FormatSpecifierParser.swift
[145/352] Compiling StrixParsers Indent.swift
[173/352] Compiling XCResourceUtil FileManager+.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/FileManager+.swift:22:17: error: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been renamed to 'replaceItem(at:withItemAt:backupItemName:options:)': Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.
20 |             try removeItem(at: newItemURL)
21 |         } else {
22 |             try replaceItem(at: originalItemURL,
   |                 `- error: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been renamed to 'replaceItem(at:withItemAt:backupItemName:options:)': Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.
23 |                             withItemAt: newItemURL,
24 |                             backupItemName: nil,
Foundation.FileManager.replaceItem:3:15: note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
1 | class FileManager {
2 | @available(*, unavailable, renamed: "replaceItem(at:withItemAt:backupItemName:options:)", message: "Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.")
3 |   public func replaceItem(at originalItemURL: URL, withItemAt newItemURL: URL, backupItemName: String?, options: FileManager.ItemReplacementOptions = [], resultingItemURL resultingURL: UnsafeMutablePointer<NSURL?>?) throws}
  |               `- note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
4 |
[174/361] Compiling XCResourceUtil Tree.swift
[175/361] Compiling XCResourceUtil TextFileOutputStream.swift
[176/361] Compiling XCResourceUtil URL+.swift
[179/361] Compiling SampleData resource_bundle_accessor.swift
[180/361] Compiling SampleData BundleAccessor.swift
[191/416] Wrapping AST for SwiftSyntax601 for debugging
[192/416] Wrapping AST for SwiftSyntax600 for debugging
[193/416] Wrapping AST for SwiftSyntax510 for debugging
[195/416] Emitting module ArgumentParserToolInfo
[196/416] Compiling ArgumentParserToolInfo ToolInfo.swift
[196/417] Wrapping AST for SwiftSyntax509 for debugging
[198/417] Wrapping AST for Strix for debugging
[199/417] Wrapping AST for StrixParsers for debugging
[200/445] Wrapping AST for ArgumentParserToolInfo for debugging
[201/455] Wrapping AST for SwiftSyntax601 for debugging
[202/455] Wrapping AST for SwiftSyntax600 for debugging
[203/455] Wrapping AST for SwiftSyntax510 for debugging
[204/455] Wrapping AST for SwiftSyntax509 for debugging
[205/455] Wrapping AST for Strix for debugging
[206/455] Wrapping AST for ArgumentParserToolInfo for debugging
[208/455] Compiling StrixParsers JSONParser.swift
[209/456] Compiling ArgumentParser Argument.swift
[210/456] Compiling ArgumentParser ArgumentHelp.swift
[211/456] Compiling ArgumentParser FishCompletionsGenerator.swift
[212/456] Compiling ArgumentParser ZshCompletionsGenerator.swift
[213/456] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/FormatPlaceholder.swift:138:40: error: cannot find 'quad_t' in scope
136 |             case .long:         return CLong.self
137 |             case .longLong:     return CLongLong.self
138 |             case .quadword:     return quad_t.self
    |                                        `- error: cannot find 'quad_t' in scope
139 |             case .longDouble:   return CInt.self // invalid length
140 |             case .size:         return ssize_t.self
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/FormatPlaceholder.swift:151:40: error: cannot find 'u_quad_t' in scope
149 |             case .long:         return CUnsignedLong.self
150 |             case .longLong:     return CUnsignedLongLong.self
151 |             case .quadword:     return u_quad_t.self
    |                                        `- error: cannot find 'u_quad_t' in scope
152 |             case .longDouble:   return CUnsignedInt.self // invalid length
153 |             case .size:         return size_t.self
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/FormatPlaceholder.swift:162:40: error: cannot find 'CLongDouble' in scope
160 |             case nil:           return CDouble.self
161 |             case .long:         return CDouble.self
162 |             case .longDouble:   return CLongDouble.self
    |                                        `- error: cannot find 'CLongDouble' in scope
163 |             default:            return CDouble.self // invalid length
164 |             }
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/FormatPlaceholder.swift:172:61: error: cannot find type 'quad_t' in scope
170 |             case .long:         return UnsafeMutablePointer<CLong>.self
171 |             case .longLong:     return UnsafeMutablePointer<CLongLong>.self
172 |             case .quadword:     return UnsafeMutablePointer<quad_t>.self
    |                                                             `- error: cannot find type 'quad_t' in scope
173 |             case .longDouble:   return UnsafeMutablePointer<CInt>.self // invalid length
174 |             case .size:         return UnsafeMutablePointer<ssize_t>.self
[214/456] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/FormatPlaceholder.swift:138:40: error: cannot find 'quad_t' in scope
136 |             case .long:         return CLong.self
137 |             case .longLong:     return CLongLong.self
138 |             case .quadword:     return quad_t.self
    |                                        `- error: cannot find 'quad_t' in scope
139 |             case .longDouble:   return CInt.self // invalid length
140 |             case .size:         return ssize_t.self
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/FormatPlaceholder.swift:151:40: error: cannot find 'u_quad_t' in scope
149 |             case .long:         return CUnsignedLong.self
150 |             case .longLong:     return CUnsignedLongLong.self
151 |             case .quadword:     return u_quad_t.self
    |                                        `- error: cannot find 'u_quad_t' in scope
152 |             case .longDouble:   return CUnsignedInt.self // invalid length
153 |             case .size:         return size_t.self
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/FormatPlaceholder.swift:162:40: error: cannot find 'CLongDouble' in scope
160 |             case nil:           return CDouble.self
161 |             case .long:         return CDouble.self
162 |             case .longDouble:   return CLongDouble.self
    |                                        `- error: cannot find 'CLongDouble' in scope
163 |             default:            return CDouble.self // invalid length
164 |             }
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/FormatPlaceholder.swift:172:61: error: cannot find type 'quad_t' in scope
170 |             case .long:         return UnsafeMutablePointer<CLong>.self
171 |             case .longLong:     return UnsafeMutablePointer<CLongLong>.self
172 |             case .quadword:     return UnsafeMutablePointer<quad_t>.self
    |                                                             `- error: cannot find type 'quad_t' in scope
173 |             case .longDouble:   return UnsafeMutablePointer<CInt>.self // invalid length
174 |             case .size:         return UnsafeMutablePointer<ssize_t>.self
[215/456] Compiling ArgumentParser Errors.swift
[216/456] Compiling ArgumentParser Flag.swift
[217/456] Emitting module StrixParsers
[218/456] Compiling StrixParsers PrattParser.swift
[219/456] Compiling ArgumentParser BashCompletionsGenerator.swift
[220/456] Compiling ArgumentParser CompletionsGenerator.swift
[221/456] Compiling ArgumentParser NameSpecification.swift
[222/456] Compiling ArgumentParser Option.swift
[223/456] Compiling ArgumentParser DumpHelpGenerator.swift
[224/456] Compiling ArgumentParser HelpCommand.swift
[225/456] Compiling ArgumentParser HelpGenerator.swift
[226/456] Compiling ArgumentParser MessageInfo.swift
[227/456] Compiling ArgumentParser UsageGenerator.swift
[228/456] Compiling ArgumentParser Name.swift
[229/456] Compiling ArgumentParser Parsed.swift
[230/456] Compiling ArgumentParser ParsedValues.swift
[231/456] Compiling ArgumentParser ParserError.swift
[232/456] Compiling XCResourceUtil SettableByKeyPath.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/String+.swift:74:20: error: cannot find 'applyingTransform' in scope
 72 |         }
 73 |
 74 |         if self == applyingTransform(.toLatin, reverse: false) {
    |                    `- error: cannot find 'applyingTransform' in scope
 75 |             return self
 76 |         }
/host/spi-builder-workspace/Sources/XCResourceUtil/String+.swift:74:20: error: cannot find 'applyingTransform' in scope
 72 |         }
 73 |
 74 |         if self == applyingTransform(.toLatin, reverse: false) {
    |                    `- error: cannot find 'applyingTransform' in scope
 75 |             return self
 76 |         }
BUILD FAILURE 6.2 android