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 FoundationPlus, reference 0.2.2 (012a2f), with Swift 6.1 for Android on 30 May 2025 05:56:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/Star-Lord-PHB/foundation-plus.git
Reference: 0.2.2
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/Star-Lord-PHB/foundation-plus
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at 012a2f2 Merge branch 'main' of https://github.com/Star-Lord-PHB/FoundationPlus
Cloned https://github.com/Star-Lord-PHB/foundation-plus.git
Revision (git rev-parse @):
012a2f2b2b26414674194c8a6ceb1729876980f7
SUCCESS checkout https://github.com/Star-Lord-PHB/foundation-plus.git at 0.2.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Star-Lord-PHB/foundation-plus.git
https://github.com/Star-Lord-PHB/foundation-plus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    }
  ],
  "manifest_display_name" : "FoundationPlus",
  "name" : "FoundationPlus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FoundationPlus",
      "targets" : [
        "FoundationPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlibcInterop",
      "module_type" : "ClangTarget",
      "name" : "GlibcInterop",
      "path" : "Sources/GlibcInterop",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "FSIOC.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FoundationPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlusTests",
      "path" : "Tests/FoundationPlusTests",
      "sources" : [
        "CollectionTest/CollectionPerformanceTest.swift",
        "CollectionTest/CollectionTest.swift",
        "CollectionTest/NonBidirectionalCollection.swift",
        "CollectionTest/NonBidirectionalCollectionTest.swift",
        "DateTest/CreateDateTest.swift",
        "DateTest/DateArithmeticTest.swift",
        "DateTest/DateComparisonTest.swift",
        "DateTest/DateComponentsTest.swift",
        "DateTest/DateQuickAccessorTest.swift",
        "DateTest/DateTest.swift",
        "DurationCompatTest.swift",
        "ExecuteTest.swift",
        "FileManagerTest/CopyFileTest.swift",
        "FileManagerTest/CreateFileTest.swift",
        "FileManagerTest/FileInfoTest.swift",
        "FileManagerTest/FileManagerTest.swift",
        "FileManagerTest/Helpers.swift",
        "FileManagerTest/MoveFileTest.swift",
        "FileManagerTest/PathTest.swift",
        "FileManagerTest/ReadHandleCreationTest.swift",
        "FileManagerTest/ReadWriteTest.swift",
        "FileManagerTest/RemoveFileTest.swift",
        "FileManagerTest/SymbolicLinkTest.swift",
        "FileManagerTest/WriteHandleCreationTest.swift",
        "LaunchTaskTest.swift",
        "TaskExecutorTest.swift"
      ],
      "target_dependencies" : [
        "FoundationPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FoundationPlusEssential",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlusEssential",
      "path" : "Sources/Essential",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "ArithmeticOperator.swift",
        "Canceller.swift",
        "Clock.swift",
        "Collection/BidirectionalCollection.swift",
        "Collection/Collection.swift",
        "Collection/MutableCollection.swift",
        "Collection/RangeReplaceableCollection.swift",
        "Collection/Sequence.swift",
        "Duration/Duration.swift",
        "Duration/DurationCompat+DurationProtocol.swift",
        "Duration/DurationCompat.swift",
        "Export.swift",
        "Numeric.swift",
        "String.swift",
        "URL.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "ConcurrencyPlus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FoundationPlus",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlus",
      "path" : "Sources/FoundationPlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Export.swift"
      ],
      "target_dependencies" : [
        "FoundationPlusEssential",
        "FileManagerPlus",
        "ConcurrencyPlus",
        "DatePlus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FileManagerPlus",
      "module_type" : "SwiftTarget",
      "name" : "FileManagerPlus",
      "path" : "Sources/FileManagerPlus",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "CocoaError+FileError.swift",
        "Data.swift",
        "Export.swift",
        "FileHandle+Async.swift",
        "FileHandle+FilePath.swift",
        "FileInfo/FileManager+FileInfo.swift",
        "FileInfo/FileManager+FileInfoOperations.swift",
        "FileInfo/FileTimeStamp.swift",
        "FileManager+CreateFileHandle.swift",
        "FileManager+CreateItem.swift",
        "FileManager+FileAttributesWrapper.swift",
        "FileManager+Link.swift",
        "FileManager+MoveCopy.swift",
        "FileManager+Paths.swift",
        "FileManager+ReadWrite.swift",
        "FileManager+Remove.swift",
        "FileManager+Utils.swift",
        "Platform/FileManager+POSIXPermission.swift",
        "Platform/POSIXError+errno.swift",
        "Platform/PlatformFileFlags+Darwin.swift",
        "Platform/PlatformFileFlags+Linux.swift",
        "Platform/PlatformFileFlags+Windows.swift",
        "Platform/PlatformFileFlags.swift",
        "Platform/PosixFileType.swift",
        "Platform/PosixTimeSpec.swift",
        "Platform/WindowsError.swift",
        "Platform/WindowsFileAccessMode.swift",
        "Platform/WindowsFileTime.swift",
        "Platform/WindowsFileUtils.swift",
        "Platform/WindowsString.swift",
        "URL+filePath.swift"
      ],
      "target_dependencies" : [
        "ConcurrencyPlus",
        "FoundationPlusEssential",
        "GlibcInterop"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DatePlus",
      "module_type" : "SwiftTarget",
      "name" : "DatePlus",
      "path" : "Sources/DatePlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Calendar+MeasurableComponent.swift",
        "Date+Arithmetic.swift",
        "Date+Comparison.swift",
        "Date+Components.swift",
        "Date+Parsing.swift",
        "Date+QuickAccessor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ConcurrencyPlus",
      "module_type" : "SwiftTarget",
      "name" : "ConcurrencyPlus",
      "path" : "Sources/ConcurrencyPlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Task.swift",
        "TaskExecutor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 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/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.96s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Building for debugging...
[0/9] Write sources
[6/9] Compiling CSystem shims.c
/host/spi-builder-workspace/Sources/GlibcInterop/FSIOC.c:95:38: error: use of undeclared identifier 'UTIME_OMIT'
   95 | const long long UTIME_OMIT_INTEROP = UTIME_OMIT;
      |                                      ^
/host/spi-builder-workspace/Sources/GlibcInterop/FSIOC.c:96:37: error: use of undeclared identifier 'UTIME_NOW'
   96 | const long long UTIME_NOW_INTEROP = UTIME_NOW;
      |                                     ^
2 errors generated.
[7/9] Compiling GlibcInterop FSIOC.c
[7/9] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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...
/host/spi-builder-workspace/Sources/GlibcInterop/FSIOC.c:95:38: error: use of undeclared identifier 'UTIME_OMIT'
   95 | const long long UTIME_OMIT_INTEROP = UTIME_OMIT;
      |                                      ^
/host/spi-builder-workspace/Sources/GlibcInterop/FSIOC.c:96:37: error: use of undeclared identifier 'UTIME_NOW'
   96 | const long long UTIME_NOW_INTEROP = UTIME_NOW;
      |                                     ^
2 errors generated.
[0/2] Compiling GlibcInterop FSIOC.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android