The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MockDuck, reference main (4729d1), with Swift 6.1 for Android on 27 May 2025 18:14:46 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.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/buzzfeed/MockDuck.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/buzzfeed/MockDuck
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4729d15 Merge pull request #32 from buzzfeed/feature/update-installation-readme
Cloned https://github.com/buzzfeed/MockDuck.git
Revision (git rev-parse @):
4729d150c199f6920219c1ea969d54dcd0efe943
SUCCESS checkout https://github.com/buzzfeed/MockDuck.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/buzzfeed/MockDuck.git
https://github.com/buzzfeed/MockDuck.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MockDuck",
  "name" : "MockDuck",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "MockDuck",
      "targets" : [
        "MockDuck"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MockDuckTests",
      "module_type" : "SwiftTarget",
      "name" : "MockDuckTests",
      "path" : "MockDuckTests/Sources",
      "sources" : [
        "CryptoTests.swift",
        "MockBundleTests.swift",
        "MockDuckTests.swift",
        "MockURLProtocolTests.swift",
        "RequestHandlerTests.swift",
        "RequestHashTests.swift"
      ],
      "target_dependencies" : [
        "MockDuck"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MockDuck",
      "module_type" : "SwiftTarget",
      "name" : "MockDuck",
      "path" : "MockDuck/Sources",
      "product_memberships" : [
        "MockDuck"
      ],
      "sources" : [
        "MockBundle.swift",
        "MockDataTask.swift",
        "MockDuck.swift",
        "MockRequest.swift",
        "MockRequestResponse.swift",
        "MockResponse.swift",
        "MockSession.swift",
        "MockURLProtocol.swift",
        "RequestResponseCommonProtocol.swift",
        "Utilities/CryptoUtils.swift",
        "Utilities/EncodingUtils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[3/13] Compiling MockDuck RequestResponseCommonProtocol.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[4/14] Compiling MockDuck MockURLProtocol.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[5/14] Compiling MockDuck MockRequestResponse.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[6/14] Compiling MockDuck MockResponse.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[7/14] Compiling MockDuck MockSession.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[8/14] Compiling MockDuck CryptoUtils.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/14] Emitting module MockDuck
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[10/14] Compiling MockDuck MockDuck.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[11/14] Compiling MockDuck MockRequest.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[12/14] Compiling MockDuck MockBundle.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[13/14] Compiling MockDuck MockDataTask.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[14/14] Compiling MockDuck EncodingUtils.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[2/12] Compiling MockDuck RequestResponseCommonProtocol.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[3/12] Compiling MockDuck CryptoUtils.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[4/13] Compiling MockDuck MockRequestResponse.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[5/13] Compiling MockDuck MockResponse.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Emitting module MockDuck
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[7/13] Compiling MockDuck MockURLProtocol.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[8/13] Compiling MockDuck EncodingUtils.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[9/13] Compiling MockDuck MockSession.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[10/13] Compiling MockDuck MockDuck.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[11/13] Compiling MockDuck MockRequest.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[12/13] Compiling MockDuck MockBundle.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
[13/13] Compiling MockDuck MockDataTask.swift
/host/spi-builder-workspace/MockDuck/Sources/MockBundle.swift:10:8: error: no such module 'os'
  8 |
  9 | import Foundation
 10 | import os
    |        `- error: no such module 'os'
 11 |
 12 | /// MockBundle is responsible for loading requests from disk and optionally persisting them when
BUILD FAILURE 6.1 android