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 HAP, reference 0.7.0 (f0ffaa), with Swift 6.1 for Android on 27 May 2025 07:56:00 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/bouke/hap.git
Reference: 0.7.0
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/bouke/hap
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at f0ffaa2 Changelog updated for 0.7.0
Cloned https://github.com/bouke/hap.git
Revision (git rev-parse @):
f0ffaa2f3a0cd364ade2b33263ca7a3f21ab3834
SUCCESS checkout https://github.com/bouke/hap.git at 0.7.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bouke/hap.git
https://github.com/bouke/hap.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "srp",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Bouke/SRP.git"
    },
    {
      "identity" : "hkdf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Bouke/HKDF.git"
    },
    {
      "identity" : "bluecryptor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.21",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/BlueCryptor.git"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/crossroadlabs/Regex.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "netservice",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Bouke/NetService.git"
    }
  ],
  "manifest_display_name" : "HAP",
  "name" : "HAP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HAP",
      "targets" : [
        "HAP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "hap-server",
      "targets" : [
        "hap-server"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "hap_server",
      "module_type" : "SwiftTarget",
      "name" : "hap-server",
      "path" : "Sources/hap-server",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "hap-server"
      ],
      "sources" : [
        "FoundationCompat.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "HAP"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HTTP",
      "module_type" : "SwiftTarget",
      "name" : "HTTP",
      "path" : "Sources/HTTP",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOFoundationCompat"
      ],
      "product_memberships" : [
        "HAP",
        "hap-server"
      ],
      "sources" : [
        "Body/HTTPBody.swift",
        "Body/HTTPBodyRepresentable.swift",
        "Body/HTTPBodyStorage.swift",
        "Exports.swift",
        "Message/HTTPHeaderName.swift",
        "Message/HTTPHeaders.swift",
        "Message/HTTPMessage.swift",
        "Message/HTTPRequest.swift",
        "Message/HTTPResponse.swift",
        "Responder/HTTPServerResponder.swift",
        "Utilities/Debug.swift",
        "Utilities/RFC1123.swift",
        "Utilities/RequestHandler.swift"
      ],
      "target_dependencies" : [
        "COperatingSystem"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HAPTests",
      "module_type" : "SwiftTarget",
      "name" : "HAPTests",
      "path" : "Tests/HAPTests",
      "sources" : [
        "AccessoriesTests.swift",
        "CharacteristicTests.swift",
        "DeviceTests.swift",
        "EndpointTests.swift",
        "PairSetupControllerTests.swift",
        "PairVerifyControllerTests.swift",
        "PairingsEndpointTests.swift",
        "Server/CryptographerTests.swift",
        "StorageTests.swift",
        "TLV8Tests.swift",
        "Utils/MockContext.swift"
      ],
      "target_dependencies" : [
        "HAP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HAP",
      "module_type" : "SwiftTarget",
      "name" : "HAP",
      "path" : "Sources/HAP",
      "product_dependencies" : [
        "SRP",
        "Cryptor",
        "Logging",
        "HKDF",
        "Regex",
        "NetService"
      ],
      "product_memberships" : [
        "HAP",
        "hap-server"
      ],
      "sources" : [
        "Accessories/AirQualitySensor.swift",
        "Accessories/BatteryService.swift",
        "Accessories/BridgingState.swift",
        "Accessories/ContactSensor.swift",
        "Accessories/Door.swift",
        "Accessories/Fan.swift",
        "Accessories/GarageDoorOpener.swift",
        "Accessories/HumiditySensor.swift",
        "Accessories/LightSensor.swift",
        "Accessories/Lightbulb.swift",
        "Accessories/LockMechanism.swift",
        "Accessories/MotionSensor.swift",
        "Accessories/OccupancySensor.swift",
        "Accessories/Outlet.swift",
        "Accessories/SecuritySystem.swift",
        "Accessories/SmokeSensor.swift",
        "Accessories/Switch.swift",
        "Accessories/Television.swift",
        "Accessories/Thermometer.swift",
        "Accessories/Thermostat.swift",
        "Accessories/Window.swift",
        "Accessories/WindowCovering.swift",
        "Base/Accessory.swift",
        "Base/Characteristic.swift",
        "Base/CharacteristicValueType.swift",
        "Base/Constants.swift",
        "Base/Generated.swift",
        "Base/Info.swift",
        "Base/Service.swift",
        "Controllers/PairSetupController.swift",
        "Controllers/PairVerifyController.swift",
        "Controllers/PairingsController.swift",
        "Endpoints/HTTPExtensions.swift",
        "Endpoints/Protocol.swift",
        "Endpoints/accessories().swift",
        "Endpoints/characteristics().swift",
        "Endpoints/identify().swift",
        "Endpoints/pairSetup().swift",
        "Endpoints/pairVerify().swift",
        "Endpoints/pairings().swift",
        "Endpoints/root().swift",
        "Security/ChaCha20Poly1305.swift",
        "Security/Cryptographer.swift",
        "Security/Ed25519.swift",
        "Server/ChannelHandlers.swift",
        "Server/Configuration.swift",
        "Server/Device.SetupCode.swift",
        "Server/Device.swift",
        "Server/DeviceDelegate.swift",
        "Server/JSON.swift",
        "Server/Pairing.swift",
        "Server/Server.swift",
        "Server/Storage.swift",
        "Utils/ByteBuffer+Extensions.swift",
        "Utils/Crypto.swift",
        "Utils/Data+Extensions.swift",
        "Utils/DataScanner.swift",
        "Utils/Event.swift",
        "Utils/FileManager+Extensions.swift",
        "Utils/Integer+Data.swift",
        "Utils/QRCode.swift",
        "Utils/Random.swift",
        "Utils/Sequence+Extensions.swift",
        "Utils/String+padLeft.swift",
        "Utils/TLV8.swift",
        "Utils/WeakObjectSet.swift"
      ],
      "target_dependencies" : [
        "CQRCode",
        "HTTP",
        "CLibSodium"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CQRCode",
      "module_type" : "ClangTarget",
      "name" : "CQRCode",
      "path" : "Sources/CQRCode",
      "product_memberships" : [
        "HAP",
        "hap-server"
      ],
      "sources" : [
        "qrcode.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "COperatingSystem",
      "module_type" : "SwiftTarget",
      "name" : "COperatingSystem",
      "path" : "Sources/COperatingSystem",
      "product_memberships" : [
        "HAP",
        "hap-server"
      ],
      "sources" : [
        "libc.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLibSodium",
      "module_type" : "SystemLibraryTarget",
      "name" : "CLibSodium",
      "path" : "Sources/CLibSodium",
      "product_memberships" : [
        "HAP",
        "hap-server"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.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 -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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Bouke/HKDF.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/Bouke/NetService.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1296] Fetching regex
[157/5132] Fetching regex, swift-log
[223/5266] Fetching regex, swift-log, hkdf
[730/6920] Fetching regex, swift-log, hkdf, bluecryptor
[3118/7788] Fetching regex, swift-log, hkdf, bluecryptor, netservice
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.31s)
Fetching https://github.com/Bouke/SRP.git
Fetched https://github.com/Bouke/NetService.git from cache (0.32s)
[1/633] Fetching srp
[634/76670] Fetching srp, swift-nio
Fetched https://github.com/Bouke/SRP.git from cache (0.60s)
[22812/76037] Fetching swift-nio
Fetched https://github.com/Bouke/HKDF.git from cache (3.76s)
Fetched https://github.com/crossroadlabs/Regex.git from cache (3.76s)
Fetched https://github.com/apple/swift-log.git from cache (3.76s)
Fetched https://github.com/apple/swift-nio.git from cache (3.84s)
Computing version for https://github.com/Bouke/HKDF.git
Computed https://github.com/Bouke/HKDF.git at 3.1.0 (5.98s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.48s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.78s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (0.47s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-crypto.git
[1/4776] Fetching bigint
[3775/18712] Fetching bigint, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (1.37s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.39s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (1.91s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.2 (0.43s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.52s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.25s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.69s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[309/20982] Fetching swift-system, swift-collections
[3476/22692] Fetching swift-system, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
[8871/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.05s)
Fetched https://github.com/apple/swift-collections.git from cache (1.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/Bouke/NetService.git
Working copy of https://github.com/Bouke/NetService.git resolved at 0.8.1
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.2
Creating working copy for https://github.com/Bouke/HKDF.git
Working copy of https://github.com/Bouke/HKDF.git resolved at 3.1.0
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/Bouke/SRP.git
Working copy of https://github.com/Bouke/SRP.git resolved at 3.2.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
Building for debugging...
[0/469] Write sources
[15/469] Compiling ghash-x86_64.linux.x86_64.S
[15/469] Write sources
[23/469] Compiling p256-x86_64-asm.linux.x86_64.S
[24/469] Compiling ghash-x86.windows.x86.S
[25/469] Compiling _AtomicsShims.c
[26/469] Compiling CNIOWindows shim.c
[27/469] Compiling CNIOWindows WSAStartup.c
[28/469] Compiling CNIOWASI CNIOWASI.c
[29/469] Compiling polyval.c
[30/469] Compiling CNIOLinux liburing_shims.c
[31/469] Compiling CNIOLLHTTP c_nio_http.c
[32/469] Compiling CNIODarwin shim.c
[33/469] Compiling voprf.c
[34/469] Compiling CNIOLLHTTP c_nio_api.c
[35/469] Compiling CNIOLinux shim.c
[36/469] Write swift-version-24593BA9C3E375BF.txt
[37/469] Compiling CQRCode qrcode.c
[38/469] Compiling v3_skey.c
[39/469] Compiling v3_purp.c
[40/469] Compiling v3_utl.c
[41/469] Compiling CNIOLLHTTP c_nio_llhttp.c
[42/475] Compiling CCryptoBoringSSLShims shims.c
[44/510] Emitting module InternalCollectionsUtilities
[45/511] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[46/511] Compiling InternalCollectionsUtilities Debugging.swift
[47/511] Compiling _NIODataStructures _TinyArray.swift
[48/511] Compiling _NIOBase64 Base64.swift
[49/511] Emitting module _NIOBase64
[50/511] Compiling InternalCollectionsUtilities Descriptions.swift
[51/511] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[52/511] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/512] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[54/512] Compiling InternalCollectionsUtilities Integer rank.swift
[55/512] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[56/512] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[57/512] Emitting module _NIODataStructures
[58/512] Compiling _NIODataStructures Heap.swift
[59/512] Compiling _NIODataStructures PriorityQueue.swift
[60/512] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[62/513] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[63/513] Compiling InternalCollectionsUtilities _SortedCollection.swift
[64/513] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[65/513] Compiling InternalCollectionsUtilities UInt+reversed.swift
[66/514] Compiling NetService Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
 13 | import struct Foundation.TimeInterval
 14 |
 15 | import Cdns_sd
    |        `- error: could not build C module 'Cdns_sd'
 16 |
 17 | private let _registerCallback: DNSServiceRegisterReply = { (_, flags, errorCode, name, _, _, context) in
[67/514] Compiling Regex String+Regex.swift
[70/526] Compiling NetService ServiceFlags.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
 13 | import struct Foundation.TimeInterval
 14 |
 15 | import Cdns_sd
    |        `- error: could not build C module 'Cdns_sd'
 16 |
 17 | private let _registerCallback: DNSServiceRegisterReply = { (_, flags, errorCode, name, _, _, context) in
[70/526] Wrapping AST for _NIODataStructures for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/528] Emitting module COperatingSystem
/host/spi-builder-workspace/Sources/COperatingSystem/libc.swift:4:23: error: no such module 'Darwin.C'
  2 |     @_exported import Glibc
  3 | #else
  4 |     @_exported import Darwin.C
    |                       `- error: no such module 'Darwin.C'
  5 | #endif
  6 |
[73/528] Compiling COperatingSystem libc.swift
/host/spi-builder-workspace/Sources/COperatingSystem/libc.swift:4:23: error: no such module 'Darwin.C'
  2 |     @_exported import Glibc
  3 | #else
  4 |     @_exported import Darwin.C
    |                       `- error: no such module 'Darwin.C'
  5 | #endif
  6 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                       `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                                           `- error: argument passed to call that takes no arguments
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 |         if self.status != .success {
   |                            `- error: cannot infer contextual base in reference to member 'success'
44 |    	        return nil
45 |        	}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                   `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                    `- error: missing argument for parameter 'from' in call
64 | 		if self.status != .success {
65 | 			return nil
[73/528] Compiling c-nioatomics.c
[73/528] Compiling c-atomics.c
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
[0/1] Planning build
Building for debugging...
[0/425] Write sources
[2/427] Compiling v3_pmaps.c
[3/427] Compiling v3_pcia.c
[4/427] Compiling v3_prn.c
[5/427] Compiling v3_pcons.c
[6/427] Compiling v3_ocsp.c
[7/427] Write swift-version-24593BA9C3E375BF.txt
[8/427] Compiling v3_pci.c
[9/427] Compiling v3_lib.c
[10/427] Compiling v3_int.c
[11/427] Compiling v3_info.c
[12/427] Compiling v3_ncons.c
[13/454] Compiling v3_ia5.c
[15/454] Compiling NetService Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
 13 | import struct Foundation.TimeInterval
 14 |
 15 | import Cdns_sd
    |        `- error: could not build C module 'Cdns_sd'
 16 |
 17 | private let _registerCallback: DNSServiceRegisterReply = { (_, flags, errorCode, name, _, _, context) in
[16/454] Compiling Logging LogHandler.swift
[17/454] Compiling NetService FoundationCompat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
 13 | import struct Foundation.TimeInterval
 14 |
 15 | import Cdns_sd
    |        `- error: could not build C module 'Cdns_sd'
 16 |
 17 | private let _registerCallback: DNSServiceRegisterReply = { (_, flags, errorCode, name, _, _, context) in
[18/454] Compiling NetService ServiceFlags.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
 13 | import struct Foundation.TimeInterval
 14 |
 15 | import Cdns_sd
    |        `- error: could not build C module 'Cdns_sd'
 16 |
 17 | private let _registerCallback: DNSServiceRegisterReply = { (_, flags, errorCode, name, _, _, context) in
[19/465] Compiling Regex String+Regex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/469] Emitting module NetService
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
 13 | import struct Foundation.TimeInterval
 14 |
 15 | import Cdns_sd
    |        `- error: could not build C module 'Cdns_sd'
 16 |
 17 | private let _registerCallback: DNSServiceRegisterReply = { (_, flags, errorCode, name, _, _, context) in
[21/469] Compiling _NIODataStructures PriorityQueue.swift
[22/469] Compiling _NIODataStructures _TinyArray.swift
[23/469] Compiling _NIOBase64 Base64.swift
[24/469] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/469] Compiling _NIODataStructures Heap.swift
[26/470] Emitting module _NIOBase64
[27/471] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[28/471] Compiling InternalCollectionsUtilities Debugging.swift
[29/471] Compiling InternalCollectionsUtilities Descriptions.swift
[30/471] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[31/471] Emitting module _NIODataStructures
[34/476] Compiling Cryptor Crypto.swift
[35/476] Compiling Cryptor Cryptor.swift
[36/480] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[37/484] Emitting module InternalCollectionsUtilities
[38/484] Compiling Cryptor Digest.swift
[39/484] Compiling Cryptor HMAC.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/484] Emitting module COperatingSystem
/host/spi-builder-workspace/Sources/COperatingSystem/libc.swift:4:23: error: no such module 'Darwin.C'
  2 |     @_exported import Glibc
  3 | #else
  4 |     @_exported import Darwin.C
    |                       `- error: no such module 'Darwin.C'
  5 | #endif
  6 |
[41/484] Compiling COperatingSystem libc.swift
/host/spi-builder-workspace/Sources/COperatingSystem/libc.swift:4:23: error: no such module 'Darwin.C'
  2 |     @_exported import Glibc
  3 | #else
  4 |     @_exported import Darwin.C
    |                       `- error: no such module 'Darwin.C'
  5 | #endif
  6 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
[41/484] Compiling c-nioatomics.c
[41/484] Compiling c-atomics.c
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:239:12: error: cannot find 'kCCBlockSizeAES128' in scope
237 |
238 |             case .aes, .aes128, .aes192, .aes256:
239 | 				return kCCBlockSizeAES128
    |            `- error: cannot find 'kCCBlockSizeAES128' in scope
240 |
241 |             case .des:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:242:12: error: cannot find 'kCCBlockSizeDES' in scope
240 |
241 |             case .des:
242 | 				return kCCBlockSizeDES
    |            `- error: cannot find 'kCCBlockSizeDES' in scope
243 |
244 |             case .tripleDes:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:245:12: error: cannot find 'kCCBlockSize3DES' in scope
243 |
244 |             case .tripleDes:
245 | 				return kCCBlockSize3DES
    |            `- error: cannot find 'kCCBlockSize3DES' in scope
246 |
247 |             case .cast:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:248:12: error: cannot find 'kCCBlockSizeCAST' in scope
246 |
247 |             case .cast:
248 | 				return kCCBlockSizeCAST
    |            `- error: cannot find 'kCCBlockSizeCAST' in scope
249 |
250 |             case .rc2:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:251:12: error: cannot find 'kCCBlockSizeRC2' in scope
249 |
250 |             case .rc2:
251 | 				return kCCBlockSizeRC2
    |            `- error: cannot find 'kCCBlockSizeRC2' in scope
252 |
253 |             case .blowfish:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:254:12: error: cannot find 'kCCBlockSizeBlowfish' in scope
252 |
253 |             case .blowfish:
254 | 				return kCCBlockSizeBlowfish
    |            `- error: cannot find 'kCCBlockSizeBlowfish' in scope
255 |             }
256 |         }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:263:12: error: cannot find 'kCCKeySizeAES128' in scope
261 |
262 | 			case .aes, .aes128:
263 | 				return kCCKeySizeAES128
    |            `- error: cannot find 'kCCKeySizeAES128' in scope
264 |
265 | 			case .aes192:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:266:12: error: cannot find 'kCCKeySizeAES192' in scope
264 |
265 | 			case .aes192:
266 | 				return kCCKeySizeAES192
    |            `- error: cannot find 'kCCKeySizeAES192' in scope
267 |
268 | 			case .aes256:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:269:12: error: cannot find 'kCCKeySizeAES256' in scope
267 |
268 | 			case .aes256:
269 | 				return kCCKeySizeAES256
    |            `- error: cannot find 'kCCKeySizeAES256' in scope
270 |
271 | 			case .des:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:272:12: error: cannot find 'kCCKeySizeDES' in scope
270 |
271 | 			case .des:
272 | 				return kCCKeySizeDES
    |            `- error: cannot find 'kCCKeySizeDES' in scope
273 |
274 | 			case .tripleDes:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:275:12: error: cannot find 'kCCKeySize3DES' in scope
273 |
274 | 			case .tripleDes:
275 | 				return kCCKeySize3DES
    |            `- error: cannot find 'kCCKeySize3DES' in scope
276 |
277 | 			case .cast:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:278:12: error: cannot find 'kCCKeySizeMinCAST' in scope
276 |
277 | 			case .cast:
278 | 				return kCCKeySizeMinCAST
    |            `- error: cannot find 'kCCKeySizeMinCAST' in scope
279 |
280 | 			case .rc2:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:281:12: error: cannot find 'kCCKeySizeMinRC2' in scope
279 |
280 | 			case .rc2:
281 | 				return kCCKeySizeMinRC2
    |            `- error: cannot find 'kCCKeySizeMinRC2' in scope
282 |
283 | 			case .blowfish:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:284:12: error: cannot find 'kCCKeySizeMinBlowfish' in scope
282 |
283 | 			case .blowfish:
284 | 				return kCCKeySizeMinBlowfish
    |            `- error: cannot find 'kCCKeySizeMinBlowfish' in scope
285 | 			}
286 | 		}
BUILD FAILURE 6.1 android