The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stubby, reference main (888b26), with Swift 6.1 for Android on 12 Nov 2025 08:32:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdbergeron/Stubby.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/bdbergeron/Stubby
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 888b26e Update to Swift 6, iOS 16, macOS 13 and improve concurrency safety (#15)
Cloned https://github.com/bdbergeron/Stubby.git
Revision (git rev-parse @):
888b26e2b4dac4731b6c23102480daf3a7ba2241
SUCCESS checkout https://github.com/bdbergeron/Stubby.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bdbergeron/Stubby.git
https://github.com/bdbergeron/Stubby.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "Stubby",
  "name" : "Stubby",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Stubby",
      "targets" : [
        "Stubby"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StubbyMacros",
      "targets" : [
        "StubbyMacros"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StubbyMacrosPlugin",
      "targets" : [
        "StubbyMacrosPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "StubbyTests",
      "module_type" : "SwiftTarget",
      "name" : "StubbyTests",
      "path" : "Tests/StubbyTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport",
        "MacroTesting"
      ],
      "sources" : [
        "Helpers/CaseIterable+URL.swift",
        "Helpers/URL+ExpressibleByStringLiteral.swift",
        "StubbyTests.swift",
        "TestResponseProviders.swift"
      ],
      "target_dependencies" : [
        "Stubby",
        "StubbyMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StubbyMacrosPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "StubbyMacrosPluginTests",
      "path" : "Tests/StubbyMacrosPluginTests",
      "product_dependencies" : [
        "MacroTesting",
        "SwiftCompilerPlugin"
      ],
      "sources" : [
        "StubMacroTest.swift"
      ],
      "target_dependencies" : [
        "StubbyMacros",
        "StubbyMacrosPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StubbyMacrosPlugin",
      "module_type" : "SwiftTarget",
      "name" : "StubbyMacrosPlugin",
      "path" : "Sources/StubbyMacrosPlugin",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "StubbyMacros",
        "StubbyMacrosPlugin"
      ],
      "sources" : [
        "Plugins.swift",
        "StubMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "StubbyMacros",
      "module_type" : "SwiftTarget",
      "name" : "StubbyMacros",
      "path" : "Sources/StubbyMacros",
      "product_memberships" : [
        "StubbyMacros"
      ],
      "sources" : [
        "Macros.swift"
      ],
      "target_dependencies" : [
        "Stubby",
        "StubbyMacrosPlugin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Stubby",
      "module_type" : "SwiftTarget",
      "name" : "Stubby",
      "path" : "Sources/Stubby",
      "product_memberships" : [
        "Stubby",
        "StubbyMacros"
      ],
      "sources" : [
        "StubbyResponse.swift",
        "StubbyURLProtocol.swift",
        "URLSession+Stubbed.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax
[1/2160] Fetching swift-docc-plugin
[174/3077] Fetching swift-docc-plugin, swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (0.43s)
[1426/2160] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.59s)
[1/72738] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.92s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (11.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3577] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.92s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (1.49s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15599] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.88s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (4.70s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.71s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4601] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.36s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.99s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5555] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.77s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.68s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (0.79s)
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/44] Write sources
[23/44] Compiling _SwiftSyntaxCShims PlatformMutex.c
[24/44] Write swift-version-24593BA9C3E375BF.txt
[26/62] Emitting module SwiftSyntax602
[27/62] Compiling SwiftSyntax602 Empty.swift
[28/62] Compiling SwiftSyntax509 Empty.swift
[29/62] Emitting module SwiftSyntax509
[30/64] Compiling SwiftSyntax510 Empty.swift
[31/64] Emitting module SwiftSyntax510
[32/65] Emitting module SwiftSyntax601
[33/65] Compiling SwiftSyntax601 Empty.swift
[34/65] Emitting module SwiftSyntax600
[35/66] Compiling SwiftSyntax600 Empty.swift
[40/67] Wrapping AST for SwiftSyntax509 for debugging
[41/67] Wrapping AST for SwiftSyntax602 for debugging
[42/67] Wrapping AST for SwiftSyntax510 for debugging
[43/67] Wrapping AST for SwiftSyntax600 for debugging
[44/67] Wrapping AST for SwiftSyntax601 for debugging
[46/130] Compiling Stubby StubbyURLProtocol.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[47/130] Compiling Stubby URLSession+Stubbed.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/130] Emitting module Stubby
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[49/130] Compiling Stubby StubbyResponse.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/22] Write swift-version-24593BA9C3E375BF.txt
[4/40] Compiling SwiftSyntax602 Empty.swift
[5/40] Compiling SwiftSyntax509 Empty.swift
[6/40] Emitting module SwiftSyntax509
[7/41] Emitting module SwiftSyntax510
[8/41] Compiling SwiftSyntax510 Empty.swift
[9/41] Emitting module SwiftSyntax601
[10/42] Compiling Stubby URLSession+Stubbed.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[11/42] Compiling Stubby StubbyURLProtocol.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[12/42] Compiling Stubby StubbyResponse.swift
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
[14/42] Compiling SwiftSyntax600 Empty.swift
[15/42] Compiling SwiftSyntax601 Empty.swift
[16/42] Emitting module SwiftSyntax602
[17/43] Emitting module SwiftSyntax600
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/45] Emitting module Stubby
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/Stubby/URLSession+Stubbed.swift:4:8: error: no such module 'os'
  2 |
  3 | import Foundation
  4 | import os
    |        `- error: no such module 'os'
  5 |
  6 | extension URLSession {
BUILD FAILURE 6.1 android