The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Core, reference 3.10.1 (89c698), with Swift 6.1 for Android on 28 May 2025 01:52:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/vapor/core.git
Reference: 3.10.1
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/vapor/core
 * tag               3.10.1     -> FETCH_HEAD
HEAD is now at 89c6989 Fix compilation error in Xcode 13
Cloned https://github.com/vapor/core.git
Revision (git rev-parse @):
89c6989fd8b1e08acfd198afba1c38971bb814b2
SUCCESS checkout https://github.com/vapor/core.git at 3.10.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/core.git
https://github.com/vapor/core.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.14.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "Core",
  "name" : "Core",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Async",
      "targets" : [
        "Async"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Bits",
      "targets" : [
        "Bits"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Core",
      "targets" : [
        "Core"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "COperatingSystem",
      "targets" : [
        "COperatingSystem"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Debugging",
      "targets" : [
        "Debugging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DebuggingTests",
      "module_type" : "SwiftTarget",
      "name" : "DebuggingTests",
      "path" : "Tests/DebuggingTests",
      "sources" : [
        "FooError.swift",
        "FooErrorTests.swift",
        "GeneralTests.swift",
        "MinimumError.swift",
        "TestError.swift",
        "TraceableTests.swift"
      ],
      "target_dependencies" : [
        "Debugging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Debugging",
      "module_type" : "SwiftTarget",
      "name" : "Debugging",
      "path" : "Sources/Debugging",
      "product_memberships" : [
        "Bits",
        "Core",
        "Debugging"
      ],
      "sources" : [
        "Debuggable.swift",
        "Demangler.swift",
        "SourceLocation.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreTests",
      "path" : "Tests/CoreTests",
      "sources" : [
        "CoreTests.swift",
        "ReflectableTests.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Core",
      "module_type" : "SwiftTarget",
      "name" : "Core",
      "path" : "Sources/Core",
      "product_dependencies" : [
        "NIOFoundationCompat"
      ],
      "product_memberships" : [
        "Core"
      ],
      "sources" : [
        "BasicKey.swift",
        "CaseInsensitiveString.swift",
        "CodableReflection/Decodable+Reflectable.swift",
        "CodableReflection/ReflectionDecodable.swift",
        "CodableReflection/ReflectionDecoders.swift",
        "CoreError.swift",
        "Data+Base64URL.swift",
        "Data+Hex.swift",
        "DataCoders.swift",
        "Deprecated.swift",
        "DirectoryConfig.swift",
        "Exports.swift",
        "File.swift",
        "Future+Unwrap.swift",
        "FutureEncoder.swift",
        "HeaderValue.swift",
        "LosslessDataConvertible.swift",
        "MediaType.swift",
        "NestedData.swift",
        "NotFound.swift",
        "OptionalType.swift",
        "Process+Execute.swift",
        "Reflectable.swift",
        "String+Utilities.swift",
        "Thread+Async.swift"
      ],
      "target_dependencies" : [
        "Async",
        "Bits",
        "COperatingSystem",
        "Debugging"
      ],
      "type" : "library"
    },
    {
      "c99name" : "COperatingSystem",
      "module_type" : "SwiftTarget",
      "name" : "COperatingSystem",
      "path" : "Sources/COperatingSystem",
      "product_memberships" : [
        "Core",
        "COperatingSystem"
      ],
      "sources" : [
        "libc.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BitsTests",
      "module_type" : "SwiftTarget",
      "name" : "BitsTests",
      "path" : "Tests/BitsTests",
      "product_dependencies" : [
        "NIO"
      ],
      "sources" : [
        "ByteBufferPeekTests.swift",
        "ByteBufferRequireTests.swift"
      ],
      "target_dependencies" : [
        "Bits"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Bits",
      "module_type" : "SwiftTarget",
      "name" : "Bits",
      "path" : "Sources/Bits",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "Bits",
        "Core"
      ],
      "sources" : [
        "BitsError.swift",
        "Byte+Alphabet.swift",
        "Byte+Control.swift",
        "Byte+Digit.swift",
        "ByteBuffer+binaryFloatingPointOperations.swift",
        "ByteBuffer+peek.swift",
        "ByteBuffer+require.swift",
        "ByteBuffer+string.swift",
        "Bytes.swift",
        "Data+Bytes.swift",
        "Data+Strings.swift",
        "Deprecated.swift"
      ],
      "target_dependencies" : [
        "Debugging"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AsyncTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncTests",
      "path" : "Tests/AsyncTests",
      "sources" : [
        "AsyncTests.swift"
      ],
      "target_dependencies" : [
        "Async"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Async",
      "module_type" : "SwiftTarget",
      "name" : "Async",
      "path" : "Sources/Async",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "Async",
        "Core"
      ],
      "sources" : [
        "Async+NIO.swift",
        "AsyncError.swift",
        "Collection+Future.swift",
        "Deprecated.swift",
        "Exports.swift",
        "Future+DoCatch.swift",
        "Future+Flatten.swift",
        "Future+Global.swift",
        "Future+Map.swift",
        "Future+Transform.swift",
        "Future+Variadic.swift",
        "Future+Void.swift",
        "FutureType.swift",
        "QueueHandler.swift",
        "Worker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/apple/swift-nio.git
[1/76055] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (6.05s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.34s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.25s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/15] Write sources
[9/15] Compiling CNIODarwin shim.c
[10/15] Compiling CNIOSHA1 c_nio_sha1.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:50:16: error: call to undeclared function 'TEMP_FAILURE_RETRY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   50 |         return TEMP_FAILURE_RETRY(prctl(PR_GET_NAME, name)) == -1 ? -1 : 0;
      |                ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:55:14: error: call to undeclared function 'TEMP_FAILURE_RETRY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   55 |     int fd = TEMP_FAILURE_RETRY(open(comm_name, O_CLOEXEC | O_RDONLY));
      |              ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:59:36: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   59 |     ssize_t n = TEMP_FAILURE_RETRY(read(fd, name, len));
      |                                    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:59:36: note: did you mean 'fread'?
/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:116:8: note: 'fread' declared here
  116 | size_t fread(void* _Nonnull __buf, size_t __size, size_t __count, FILE* _Nonnull __fp);
      |        ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:60:5: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   60 |     close(fd);
      |     ^
4 errors generated.
[11/15] Compiling CNIOLinux shim.c
[12/15] Compiling c-atomics.c
[12/15] Compiling CNIOLinux ifaddrs-android.c
[12/15] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/5] Compiling CNIOLinux ifaddrs-android.c
[1/5] Compiling CNIOSHA1 c_nio_sha1.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:50:16: error: call to undeclared function 'TEMP_FAILURE_RETRY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   50 |         return TEMP_FAILURE_RETRY(prctl(PR_GET_NAME, name)) == -1 ? -1 : 0;
      |                ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:55:14: error: call to undeclared function 'TEMP_FAILURE_RETRY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   55 |     int fd = TEMP_FAILURE_RETRY(open(comm_name, O_CLOEXEC | O_RDONLY));
      |              ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:59:36: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   59 |     ssize_t n = TEMP_FAILURE_RETRY(read(fd, name, len));
      |                                    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:59:36: note: did you mean 'fread'?
/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:116:8: note: 'fread' declared here
  116 | size_t fread(void* _Nonnull __buf, size_t __size, size_t __count, FILE* _Nonnull __fp);
      |        ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:60:5: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   60 |     close(fd);
      |     ^
4 errors generated.
[2/5] Compiling CNIOLinux shim.c
[2/5] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling c-atomics.c
BUILD FAILURE 6.1 android