The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ICloudDocuments, reference main (c75d14), with Swift 6.1 for Android on 2 Jun 2025 09:17:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/VolkovsaVSA/ICloudDocuments.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/VolkovsaVSA/ICloudDocuments
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c75d149 Merge pull request #2 from VolkovsaVSA/v1-2-1-async-fix
Cloned https://github.com/VolkovsaVSA/ICloudDocuments.git
Revision (git rev-parse @):
c75d1491b8dd242e7dadf58f3be8d96ef3cdb729
SUCCESS checkout https://github.com/VolkovsaVSA/ICloudDocuments.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/VolkovsaVSA/ICloudDocuments.git
https://github.com/VolkovsaVSA/ICloudDocuments.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ICloudDocuments
<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
/host/spi-builder-workspace/Sources/ICloudDocuments/ICloudDocuments.swift:6:31: error: cannot find type 'ObservableObject' in scope
  4 | import Foundation
  5 |
  6 | public class ICloudDocuments: ObservableObject {
    |                               `- error: cannot find type 'ObservableObject' in scope
  7 |     /// A single class instance initializer. Pass the desired parameters for the container configuration.
  8 |     ///
[4/4] Compiling ICloudDocuments ICloudDocuments.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
/host/spi-builder-workspace/Sources/ICloudDocuments/ICloudDocuments.swift:6:31: error: cannot find type 'ObservableObject' in scope
  4 | import Foundation
  5 |
  6 | public class ICloudDocuments: ObservableObject {
    |                               `- error: cannot find type 'ObservableObject' in scope
  7 |     /// A single class instance initializer. Pass the desired parameters for the container configuration.
  8 |     ///
/host/spi-builder-workspace/Sources/ICloudDocuments/ICloudDocuments.swift:30:18: error: value of type 'FileManager' has no member 'containerURL'
 28 |         if let groupNameUnwrap = groupName {
 29 |             fileManager
 30 |                 .containerURL(forSecurityApplicationGroupIdentifier: groupNameUnwrap)?
    |                  `- error: value of type 'FileManager' has no member 'containerURL'
 31 |                 .appendingPathComponent(iCloudFolder.rawValue)
 32 |         } else {
/host/spi-builder-workspace/Sources/ICloudDocuments/ICloudDocuments.swift:131:29: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
129 |
130 |         do {
131 |             try fileManager.startDownloadingUbiquitousItem(at: container)
    |                             `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
132 |             completion(nil)
133 |         } catch {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module ICloudDocuments
/host/spi-builder-workspace/Sources/ICloudDocuments/ICloudDocuments.swift:6:31: error: cannot find type 'ObservableObject' in scope
  4 | import Foundation
  5 |
  6 | public class ICloudDocuments: ObservableObject {
    |                               `- error: cannot find type 'ObservableObject' in scope
  7 |     /// A single class instance initializer. Pass the desired parameters for the container configuration.
  8 |     ///
[3/3] Compiling ICloudDocuments ICloudDocuments.swift
/host/spi-builder-workspace/Sources/ICloudDocuments/ICloudDocuments.swift:6:31: error: cannot find type 'ObservableObject' in scope
  4 | import Foundation
  5 |
  6 | public class ICloudDocuments: ObservableObject {
    |                               `- error: cannot find type 'ObservableObject' in scope
  7 |     /// A single class instance initializer. Pass the desired parameters for the container configuration.
  8 |     ///
/host/spi-builder-workspace/Sources/ICloudDocuments/ICloudDocuments.swift:30:18: error: value of type 'FileManager' has no member 'containerURL'
 28 |         if let groupNameUnwrap = groupName {
 29 |             fileManager
 30 |                 .containerURL(forSecurityApplicationGroupIdentifier: groupNameUnwrap)?
    |                  `- error: value of type 'FileManager' has no member 'containerURL'
 31 |                 .appendingPathComponent(iCloudFolder.rawValue)
 32 |         } else {
/host/spi-builder-workspace/Sources/ICloudDocuments/ICloudDocuments.swift:131:29: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
129 |
130 |         do {
131 |             try fileManager.startDownloadingUbiquitousItem(at: container)
    |                             `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
132 |             completion(nil)
133 |         } catch {
BUILD FAILURE 6.1 android