The Swift Package Index logo.Swift Package Index

Build Information

Failed to build media-generation-kit, reference main (ee4117), with Swift 6.1 for Android on 9 Apr 2026 22:45:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drawthingsai/media-generation-kit.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/drawthingsai/media-generation-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ee41179 MGKCLI will print edit compute units
Cloned https://github.com/drawthingsai/media-generation-kit.git
Revision (git rev-parse @):
ee41179f1c21853e2cf3ccb9b4d63a4f0fe9d352
SUCCESS checkout https://github.com/drawthingsai/media-generation-kit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/drawthingsai/media-generation-kit.git
https://github.com/drawthingsai/media-generation-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "draw-things-community",
      "requirement" : {
        "revision" : [
          "d473a2f148b3e7dc9b90d0b7cfccc5cda999eb66"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drawthingsai/draw-things-community.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "media-generation-kit",
  "name" : "media-generation-kit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "MediaGenerationKit",
      "targets" : [
        "MediaGenerationKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "media-generation-kit-cli",
      "targets" : [
        "MediaGenerationKitCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MediaGenerationKitCLI",
      "module_type" : "SwiftTarget",
      "name" : "MediaGenerationKitCLI",
      "path" : "Sources/MediaGenerationKitCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "media-generation-kit-cli"
      ],
      "sources" : [
        "MediaGenerationKitCLI.swift"
      ],
      "target_dependencies" : [
        "MediaGenerationKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MediaGenerationKit",
      "module_type" : "SwiftTarget",
      "name" : "MediaGenerationKit",
      "path" : "Sources/MediaGenerationKit",
      "product_dependencies" : [
        "_MediaGenerationKit"
      ],
      "product_memberships" : [
        "MediaGenerationKit",
        "media-generation-kit-cli"
      ],
      "sources" : [
        "Exports.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/drawthingsai/draw-things-community.git
[1/16420] Fetching draw-things-community
Fetched https://github.com/drawthingsai/draw-things-community.git from cache (6.83s)
Fetching https://github.com/liuliu/ccv.git
[1/39546] Fetching ccv
Fetched https://github.com/liuliu/ccv.git from cache (52.07s)
Fetching https://github.com/liuliu/s4nnc.git
[1/7706] Fetching s4nnc
Fetched https://github.com/liuliu/s4nnc.git from cache (1.07s)
Fetching https://github.com/liuliu/dflat.git
[1/4475] Fetching dflat
Fetched https://github.com/liuliu/dflat.git from cache (0.69s)
Fetching https://github.com/liuliu/swift-fickling.git
[1/153] Fetching swift-fickling
Fetched https://github.com/liuliu/swift-fickling.git from cache (2.16s)
Fetching https://github.com/liuliu/swift-sentencepiece
[1/118] Fetching swift-sentencepiece
Fetched https://github.com/liuliu/swift-sentencepiece from cache (0.24s)
Fetching https://github.com/kelvin13/swift-png
[1/7465] Fetching swift-png
Fetched https://github.com/kelvin13/swift-png from cache (7.43s)
Fetching https://github.com/weiyanlin117/swift-fpzip-support.git
[1/135] Fetching swift-fpzip-support
Fetched https://github.com/weiyanlin117/swift-fpzip-support.git from cache (0.49s)
Fetching https://github.com/apple/swift-protobuf.git
[1/43253] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (8.47s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Fetching https://github.com/google/flatbuffers.git
[1/98852] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (8.18s)
Fetching https://github.com/weiyanlin117/swift-package-support-sentencepiece
[1/6025] Fetching swift-package-support-sentencepiece
Fetched https://github.com/weiyanlin117/swift-package-support-sentencepiece from cache (3.69s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/grpc/grpc-swift.git
[1/119] Fetching swift-sqlite3-support
[67/1939] Fetching swift-sqlite3-support, swift-atomics
[759/7997] Fetching swift-sqlite3-support, swift-atomics, swift-algorithms
[1705/14413] Fetching swift-sqlite3-support, swift-atomics, swift-algorithms, swift-numerics
[5306/37936] Fetching swift-sqlite3-support, swift-atomics, swift-algorithms, swift-numerics, swift-collections
[7345/89444] Fetching swift-sqlite3-support, swift-atomics, swift-algorithms, swift-numerics, swift-collections, grpc-swift
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
Fetching https://github.com/jagreenwood/swift-log-datadog.git
[18353/87624] Fetching swift-sqlite3-support, swift-algorithms, swift-numerics, swift-collections, grpc-swift
[32026/87919] Fetching swift-sqlite3-support, swift-algorithms, swift-numerics, swift-collections, grpc-swift, swift-log-datadog
Fetched https://github.com/jagreenwood/swift-log-datadog.git from cache (0.33s)
[37950/87624] Fetching swift-sqlite3-support, swift-algorithms, swift-numerics, swift-collections, grpc-swift
Fetching https://github.com/apple/swift-crypto.git
[55175/104955] Fetching swift-sqlite3-support, swift-algorithms, swift-numerics, swift-collections, grpc-swift, swift-crypto
Fetched https://github.com/apple/swift-numerics.git from cache (2.09s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/apple/swift-collections.git from cache (2.15s)
Fetching https://github.com/apple/swift-log.git
[59419/75016] Fetching swift-sqlite3-support, swift-algorithms, grpc-swift, swift-crypto
[62712/92528] Fetching swift-sqlite3-support, swift-algorithms, grpc-swift, swift-crypto, swift-argument-parser
[64628/98991] Fetching swift-sqlite3-support, swift-algorithms, grpc-swift, swift-crypto, swift-argument-parser, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.93s)
[85596/92528] Fetching swift-sqlite3-support, swift-algorithms, grpc-swift, swift-crypto, swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-algorithms.git from cache (3.16s)
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (3.17s)
Fetched https://github.com/grpc/grpc-swift.git from cache (3.23s)
[29298/34843] Fetching swift-crypto, swift-argument-parser
[33978/37114] Fetching swift-crypto, swift-argument-parser, swift-docc-plugin
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.54s)
[19421/19602] Fetching swift-crypto, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.69s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.20s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (4.90s)
Computing version for https://github.com/jagreenwood/swift-log-datadog.git
Computed https://github.com/jagreenwood/swift-log-datadog.git at 0.3.0 (0.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.61s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.26s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.97s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.57s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.5 (6.80s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
[1/6510] Fetching swift-nio-extras
[522/9353] Fetching swift-nio-extras, swift-nio-transport-services
[3616/21455] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2
[11533/36873] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.76s)
[10594/34030] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
[10749/117131] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.92s)
[4394/110621] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.99s)
[53653/95203] Fetching swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (9.33s)
Fetched https://github.com/apple/swift-nio.git from cache (9.45s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (10.19s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (0.68s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (3.50s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1242] Fetching swift-http-structured-headers
[14/3038] Fetching swift-http-structured-headers, swift-asn1
[82/4051] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
[1204/6770] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle
[5276/13915] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle, swift-certificates
[7017/20139] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (3.45s)
Fetched https://github.com/apple/swift-http-types.git from cache (3.45s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (3.45s)
Fetched https://github.com/apple/swift-asn1.git from cache (3.45s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (3.46s)
Fetched https://github.com/apple/swift-certificates.git from cache (3.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (5.03s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (2.65s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (1.99s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (2.21s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.93s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (1.15s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.38s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/liuliu/swift-sqlite3-support.git
Working copy of https://github.com/liuliu/swift-sqlite3-support.git resolved at 3.47.1
Creating working copy for https://github.com/weiyanlin117/swift-fpzip-support.git
Working copy of https://github.com/weiyanlin117/swift-fpzip-support.git resolved at 0ec6d4668c9c83bc3da0f8b2d6dfc46da0b98609
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.5
Creating working copy for https://github.com/kelvin13/swift-png
Working copy of https://github.com/kelvin13/swift-png resolved at 075dfb248ae327822635370e9d4f94a5d3fe93b2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at c92e78a9f841a6110ec27180d68d1f7f2afda21d
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.33.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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.42.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/liuliu/swift-sentencepiece
Working copy of https://github.com/liuliu/swift-sentencepiece resolved at 8d17bf2e017c97563e8805545d676be9739b6c0e
Creating working copy for https://github.com/weiyanlin117/swift-package-support-sentencepiece
Working copy of https://github.com/weiyanlin117/swift-package-support-sentencepiece resolved at a39a5be0b3e3ad9bcb19b085af7dd891c00aa3d2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at d57a5aecf24a25b32ec4a74be2f5d0a995a47c4b
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/liuliu/s4nnc.git
Working copy of https://github.com/liuliu/s4nnc.git resolved at e3a83b351b84a7917fefd28366a3b9417fee3b2e
Creating working copy for https://github.com/drawthingsai/draw-things-community.git
Working copy of https://github.com/drawthingsai/draw-things-community.git resolved at d473a2f148b3e7dc9b90d0b7cfccc5cda999eb66
Creating working copy for https://github.com/jagreenwood/swift-log-datadog.git
Working copy of https://github.com/jagreenwood/swift-log-datadog.git resolved at 0.3.0
Creating working copy for https://github.com/liuliu/dflat.git
Working copy of https://github.com/liuliu/dflat.git resolved at 73925e51e4f44add842177a229f9990cb13711ff
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at fbd61a676d79cbde05cd4fda3cc46e94d6b8f0eb
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/liuliu/ccv.git
Working copy of https://github.com/liuliu/ccv.git resolved at ae1de9962437c14ff7d84af9bac66305e7ce5927
Creating working copy for https://github.com/liuliu/swift-fickling.git
Working copy of https://github.com/liuliu/swift-fickling.git resolved at 5c982bf479c4cdf8c7f72002cd79ec88b553ab34
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
[5/5] Compiling plugin GRPCSwiftPlugin
[6/6] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[6/1336] Write sources
[13/1336] Compiling ghash-ssse3-x86-apple.S
[14/1336] Compiling _AtomicsShims.c
[15/1336] Compiling _SQLiteDflatOSShim os.c
[16/1336] Compiling cpu_aarch64_linux.cc
[17/1336] Compiling cpu_aarch64_openbsd.cc
[18/1336] Write swift-version-24593BA9C3E375BF.txt
[19/1336] Compiling x509_att.cc
[20/1336] Compiling zero_copy_stream.cc
[21/1336] Compiling zero_copy_stream_impl.cc
[22/1336] Compiling zero_copy_stream_impl_lite.cc
[23/1373] Compiling time.cc
[24/1373] Compiling wire_format_lite.cc
[25/1373] Compiling stringprintf.cc
[26/1373] Compiling structurally_valid.cc
[27/1373] Compiling strutil.cc
[28/1373] Compiling stringpiece.cc
[30/1373] Emitting module Atomics
[30/1375] Compiling statusor.cc
[31/1375] Compiling io_win32.cc
[32/1375] Compiling status.cc
[34/1375] Compiling Atomics ManagedAtomic.swift
[35/1375] Compiling Atomics ManagedAtomicLazyReference.swift
[36/1375] Compiling Atomics AtomicMemoryOrderings.swift
[37/1375] Compiling Atomics DoubleWord.swift
[38/1375] Compiling Atomics AtomicStorage.swift
[39/1375] Compiling Atomics AtomicValue.swift
[40/1375] Compiling Atomics UnsafeAtomic.swift
[41/1375] Compiling Atomics UnsafeAtomicLazyReference.swift
[42/1375] Compiling Atomics AtomicInteger.swift
[43/1375] Compiling Atomics AtomicOptionalWrappable.swift
[44/1375] Compiling Atomics AtomicReference.swift
[45/1375] Compiling Atomics IntegerOperations.swift
[46/1375] Compiling Atomics Unmanaged extensions.swift
[47/1375] Compiling Atomics IntegerConformances.swift
[48/1375] Compiling Atomics PointerConformances.swift
[49/1375] Compiling Atomics Primitives.native.swift
[50/1375] Compiling Atomics OptionalRawRepresentable.swift
[51/1375] Compiling Atomics RawRepresentable.swift
[52/1375] Compiling Atomics AtomicBool.swift
[53/1376] Compiling message_lite.cc
[54/1376] Compiling parse_context.cc
[55/1376] Compiling repeated_field.cc
[56/1376] Compiling int128.cc
[57/1376] Compiling implicit_weak_message.cc
[58/1376] Compiling generated_enum_util.cc
[59/1376] Compiling generated_message_util.cc
[60/1376] Compiling common.cc
[61/1376] Compiling generated_message_table_driven_lite.cc
[62/1376] Compiling SQLite3 sqlite3.c
[63/1376] Compiling coded_stream.cc
[64/1376] Compiling extension_set.cc
[70/1378] Compiling log.cc
[85/1378] Emitting module FlatBuffers
[85/1378] Compiling bytestream.cc
[87/1378] Compiling FlatBuffers Verifiable.swift
[88/1378] Compiling FlatBuffers Verifier.swift
[88/1379] Compiling arena.cc
[90/1379] Compiling arenastring.cc
[91/1379] Compiling util.cc
[92/1417] Compiling flag.cc
[93/1417] Compiling word_model.cc
[95/1417] Compiling Dflat SQLiteAnd.swift
[96/1417] Compiling Dflat SQLiteEqualTo.swift
[97/1417] Compiling Dflat SQLiteField.swift
[98/1417] Compiling Dflat SQLiteIn.swift
[99/1417] Compiling Dflat SQLiteIsNotNull.swift
[100/1417] Compiling Dflat SQLiteIsNull.swift
[101/1417] Compiling Dflat SQLiteLessThan.swift
[102/1417] Compiling Dflat SQLiteLessThanOrEqualTo.swift
[103/1417] Compiling Dflat SQLiteMod.swift
[104/1417] Compiling Dflat SQLiteNot.swift
[104/1417] Compiling word_model_trainer.cc
[106/1422] Compiling Dflat NotIn.swift
[107/1422] Compiling Dflat Or.swift
[108/1422] Compiling Dflat Subtraction.swift
[109/1422] Compiling Dflat Value.swift
[110/1422] Compiling Dflat SQLiteAddition.swift
[111/1422] Compiling Dflat LessThan.swift
[112/1422] Compiling Dflat LessThanOrEqualTo.swift
[113/1422] Compiling Dflat Mod.swift
[114/1422] Compiling Dflat Not.swift
[115/1422] Compiling Dflat NotEqualTo.swift
[116/1422] Compiling Dflat EqualTo.swift
[117/1422] Compiling Dflat Field.swift
[118/1422] Compiling Dflat In.swift
[119/1422] Compiling Dflat IsNotNull.swift
[120/1422] Compiling Dflat IsNull.swift
[121/1422] Compiling Dflat SQLiteNotEqualTo.swift
[122/1422] Compiling Dflat SQLiteNotIn.swift
[123/1422] Compiling Dflat SQLiteOr.swift
[124/1422] Compiling Dflat SQLiteSubtraction.swift
[125/1422] Compiling Dflat SQLiteValue.swift
[126/1422] Compiling Dflat Atom.swift
[127/1422] Compiling Dflat ChangeRequest.swift
[128/1422] Compiling Dflat Expr.swift
[129/1422] Compiling Dflat FetchedResult.swift
[130/1422] Compiling Dflat FlatBuffersCodable.swift
[131/1422] Compiling Dflat Publisher.swift
[132/1422] Compiling Dflat QueryBuilder.swift
[133/1422] Compiling Dflat SQLiteExpr.swift
[134/1422] Compiling Dflat TransactionContext.swift
[135/1422] Compiling Dflat Workspace.swift
[136/1422] Compiling Dflat Addition.swift
[137/1422] Compiling Dflat And.swift
[138/1422] Emitting module Dflat
[139/1423] Compiling unicode_script.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[141/1444] Emitting module SQLiteDflat
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:23:21: error: cannot find type 'os_unfair_lock_s' in scope
21 |   private let flowControl: DispatchSemaphore
22 |   private let capacity: Int
23 |   private var lock: os_unfair_lock_s
   |                     `- error: cannot find type 'os_unfair_lock_s' in scope
24 |   private var shutdown: Bool
25 |   init(capacity: Int, filePath: String) {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:21:22: error: cannot find type 'os_unfair_lock_s' in scope
19 |   private var connection: SQLiteConnection? = nil
20 |   private var _shutdown: Bool = false
21 |   private var _lock: os_unfair_lock_s = os_unfair_lock()
   |                      `- error: cannot find type 'os_unfair_lock_s' in scope
22 |   init(queue: DispatchQueue) {
23 |     self.queue = queue
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:6:22: error: cannot find 'os_unfair_lock' in scope
 4 | // This is a state shared for a workspace.
 5 | final class SQLiteWorkspaceState {
 6 |   private var lock = os_unfair_lock()
   |                      `- error: cannot find 'os_unfair_lock' in scope
 7 |   private var tableTimestamps = [ObjectIdentifier: Int64]()
 8 |   var changesTimestamp = UnsafeAtomic<Int64>.Storage(0)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:14:37: error: cannot find type 'os_unfair_lock_s' in scope
  12 |     static let size = 12
  13 |     let namespace: String
  14 |     var locks: UnsafeMutablePointer<os_unfair_lock_s>
     |                                     `- error: cannot find type 'os_unfair_lock_s' in scope
  15 |     var dictionaries: [[String: Any]]
  16 |     var subscriptions: [[String: [ObjectIdentifier: (Any?) -> Void]]]
[142/1446] Compiling SQLiteDflat SQLiteConnectionPool.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:23:21: error: cannot find type 'os_unfair_lock_s' in scope
21 |   private let flowControl: DispatchSemaphore
22 |   private let capacity: Int
23 |   private var lock: os_unfair_lock_s
   |                     `- error: cannot find type 'os_unfair_lock_s' in scope
24 |   private var shutdown: Bool
25 |   init(capacity: Int, filePath: String) {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:29:12: error: cannot find 'os_unfair_lock' in scope
27 |     self.filePath = filePath
28 |     flowControl = DispatchSemaphore(value: capacity)
29 |     lock = os_unfair_lock()
   |            `- error: cannot find 'os_unfair_lock' in scope
30 |     shutdown = false
31 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:33:5: error: cannot find 'os_unfair_lock_lock' in scope
31 |   }
32 |   func drain() {
33 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:35:5: error: cannot find 'os_unfair_lock_unlock' in scope
33 |     os_unfair_lock_lock(&lock)
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
36 |     // Simply wait out any and every connection we give out.
37 |     for _ in 0..<capacity {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:51:5: error: cannot find 'os_unfair_lock_lock' in scope
49 |   func borrow() -> Borrowed {
50 |     flowControl.wait()
51 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:54:7: error: cannot find 'os_unfair_lock_unlock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
54 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
55 |       flowControl.signal()
56 |       return Borrowed(pointee: nil, pool: nil)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:61:7: error: cannot find 'os_unfair_lock_unlock' in scope
59 |     if let connection = pool.last {
60 |       pool.removeLast()
61 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:64:5: error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
64 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:67:7: error: cannot find 'os_unfair_lock_lock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
   |       `- error: cannot find 'os_unfair_lock_lock' in scope
68 |       os_unfair_lock_unlock(&lock)
69 |       flowControl.signal()
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:68:7: error: cannot find 'os_unfair_lock_unlock' in scope
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
68 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
69 |       flowControl.signal()
70 |       return Borrowed(pointee: pointee, pool: nil)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:76:5: error: cannot find 'os_unfair_lock_lock' in scope
74 |   }
75 |   fileprivate func add(_ connection: SQLiteConnection) {
76 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:78:5: error: cannot find 'os_unfair_lock_unlock' in scope
76 |     os_unfair_lock_lock(&lock)
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
79 |     flowControl.signal()
80 |   }
[143/1446] Compiling SQLiteDflat SQLiteExpr.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:23:21: error: cannot find type 'os_unfair_lock_s' in scope
21 |   private let flowControl: DispatchSemaphore
22 |   private let capacity: Int
23 |   private var lock: os_unfair_lock_s
   |                     `- error: cannot find type 'os_unfair_lock_s' in scope
24 |   private var shutdown: Bool
25 |   init(capacity: Int, filePath: String) {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:29:12: error: cannot find 'os_unfair_lock' in scope
27 |     self.filePath = filePath
28 |     flowControl = DispatchSemaphore(value: capacity)
29 |     lock = os_unfair_lock()
   |            `- error: cannot find 'os_unfair_lock' in scope
30 |     shutdown = false
31 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:33:5: error: cannot find 'os_unfair_lock_lock' in scope
31 |   }
32 |   func drain() {
33 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:35:5: error: cannot find 'os_unfair_lock_unlock' in scope
33 |     os_unfair_lock_lock(&lock)
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
36 |     // Simply wait out any and every connection we give out.
37 |     for _ in 0..<capacity {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:51:5: error: cannot find 'os_unfair_lock_lock' in scope
49 |   func borrow() -> Borrowed {
50 |     flowControl.wait()
51 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:54:7: error: cannot find 'os_unfair_lock_unlock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
54 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
55 |       flowControl.signal()
56 |       return Borrowed(pointee: nil, pool: nil)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:61:7: error: cannot find 'os_unfair_lock_unlock' in scope
59 |     if let connection = pool.last {
60 |       pool.removeLast()
61 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:64:5: error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
64 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:67:7: error: cannot find 'os_unfair_lock_lock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
   |       `- error: cannot find 'os_unfair_lock_lock' in scope
68 |       os_unfair_lock_unlock(&lock)
69 |       flowControl.signal()
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:68:7: error: cannot find 'os_unfair_lock_unlock' in scope
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
68 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
69 |       flowControl.signal()
70 |       return Borrowed(pointee: pointee, pool: nil)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:76:5: error: cannot find 'os_unfair_lock_lock' in scope
74 |   }
75 |   fileprivate func add(_ connection: SQLiteConnection) {
76 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:78:5: error: cannot find 'os_unfair_lock_unlock' in scope
76 |     os_unfair_lock_lock(&lock)
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
79 |     flowControl.signal()
80 |   }
[144/1446] Compiling SQLiteDflat SQLiteFetchedResult.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:23:21: error: cannot find type 'os_unfair_lock_s' in scope
21 |   private let flowControl: DispatchSemaphore
22 |   private let capacity: Int
23 |   private var lock: os_unfair_lock_s
   |                     `- error: cannot find type 'os_unfair_lock_s' in scope
24 |   private var shutdown: Bool
25 |   init(capacity: Int, filePath: String) {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:29:12: error: cannot find 'os_unfair_lock' in scope
27 |     self.filePath = filePath
28 |     flowControl = DispatchSemaphore(value: capacity)
29 |     lock = os_unfair_lock()
   |            `- error: cannot find 'os_unfair_lock' in scope
30 |     shutdown = false
31 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:33:5: error: cannot find 'os_unfair_lock_lock' in scope
31 |   }
32 |   func drain() {
33 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:35:5: error: cannot find 'os_unfair_lock_unlock' in scope
33 |     os_unfair_lock_lock(&lock)
34 |     shutdown = true
35 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
36 |     // Simply wait out any and every connection we give out.
37 |     for _ in 0..<capacity {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:51:5: error: cannot find 'os_unfair_lock_lock' in scope
49 |   func borrow() -> Borrowed {
50 |     flowControl.wait()
51 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:54:7: error: cannot find 'os_unfair_lock_unlock' in scope
52 |     // If we shutdown, give out nil.
53 |     if shutdown {
54 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
55 |       flowControl.signal()
56 |       return Borrowed(pointee: nil, pool: nil)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:61:7: error: cannot find 'os_unfair_lock_unlock' in scope
59 |     if let connection = pool.last {
60 |       pool.removeLast()
61 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:64:5: error: cannot find 'os_unfair_lock_unlock' in scope
62 |       return Borrowed(pointee: connection, pool: self)
63 |     }
64 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:67:7: error: cannot find 'os_unfair_lock_lock' in scope
65 |     let pointee = SQLiteConnection(filePath: filePath, createIfMissing: false, readOnly: true)
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
   |       `- error: cannot find 'os_unfair_lock_lock' in scope
68 |       os_unfair_lock_unlock(&lock)
69 |       flowControl.signal()
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:68:7: error: cannot find 'os_unfair_lock_unlock' in scope
66 |     if pointee == nil {  // This is unusual, but we give out a nil.
67 |       os_unfair_lock_lock(&lock)
68 |       os_unfair_lock_unlock(&lock)
   |       `- error: cannot find 'os_unfair_lock_unlock' in scope
69 |       flowControl.signal()
70 |       return Borrowed(pointee: pointee, pool: nil)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:76:5: error: cannot find 'os_unfair_lock_lock' in scope
74 |   }
75 |   fileprivate func add(_ connection: SQLiteConnection) {
76 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteConnectionPool.swift:78:5: error: cannot find 'os_unfair_lock_unlock' in scope
76 |     os_unfair_lock_lock(&lock)
77 |     pool.append(connection)
78 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
79 |     flowControl.signal()
80 |   }
[145/1446] Compiling SQLiteDflat SQLiteObjectRepository.swift
[146/1446] Compiling SQLiteDflat SQLitePersistenceToolbox.swift
[147/1446] Compiling SQLiteDflat SQLitePublisher.swift
[148/1446] Compiling SQLiteDflat OSShim.swift
[149/1446] Compiling SQLiteDflat SQLiteAtom.swift
[150/1446] Compiling SQLiteDflat SQLiteConnection.swift
[151/1446] Compiling SQLiteDflat SQLiteQueryBuilder.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:21:22: error: cannot find type 'os_unfair_lock_s' in scope
19 |   private var connection: SQLiteConnection? = nil
20 |   private var _shutdown: Bool = false
21 |   private var _lock: os_unfair_lock_s = os_unfair_lock()
   |                      `- error: cannot find type 'os_unfair_lock_s' in scope
22 |   init(queue: DispatchQueue) {
23 |     self.queue = queue
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:37:5: error: cannot find 'os_unfair_lock_lock' in scope
35 |   }
36 |   func lock() {
37 |     os_unfair_lock_lock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
38 |   }
39 |   func unlock() {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:40:5: error: cannot find 'os_unfair_lock_unlock' in scope
38 |   }
39 |   func unlock() {
40 |     os_unfair_lock_unlock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
41 |   }
42 |   func resume() {
[152/1446] Compiling SQLiteDflat SQLiteResultPublisher.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:21:22: error: cannot find type 'os_unfair_lock_s' in scope
19 |   private var connection: SQLiteConnection? = nil
20 |   private var _shutdown: Bool = false
21 |   private var _lock: os_unfair_lock_s = os_unfair_lock()
   |                      `- error: cannot find type 'os_unfair_lock_s' in scope
22 |   init(queue: DispatchQueue) {
23 |     self.queue = queue
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:37:5: error: cannot find 'os_unfair_lock_lock' in scope
35 |   }
36 |   func lock() {
37 |     os_unfair_lock_lock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
38 |   }
39 |   func unlock() {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:40:5: error: cannot find 'os_unfair_lock_unlock' in scope
38 |   }
39 |   func unlock() {
40 |     os_unfair_lock_unlock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
41 |   }
42 |   func resume() {
[153/1446] Compiling SQLiteDflat SQLiteTableSpace.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:21:22: error: cannot find type 'os_unfair_lock_s' in scope
19 |   private var connection: SQLiteConnection? = nil
20 |   private var _shutdown: Bool = false
21 |   private var _lock: os_unfair_lock_s = os_unfair_lock()
   |                      `- error: cannot find type 'os_unfair_lock_s' in scope
22 |   init(queue: DispatchQueue) {
23 |     self.queue = queue
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:37:5: error: cannot find 'os_unfair_lock_lock' in scope
35 |   }
36 |   func lock() {
37 |     os_unfair_lock_lock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
38 |   }
39 |   func unlock() {
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteTableSpace.swift:40:5: error: cannot find 'os_unfair_lock_unlock' in scope
38 |   }
39 |   func unlock() {
40 |     os_unfair_lock_unlock(&_lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
41 |   }
42 |   func resume() {
[154/1446] Compiling SQLiteDflat dict_mutating_generated.swift
[155/1446] Compiling SQLiteDflat dict_query_generated.swift
[156/1446] Compiling SQLiteDflat dict_data_model_generated.swift
[157/1446] Compiling SQLiteDflat dict_generated.swift
[157/1446] Compiling trainer_factory.cc
[158/1446] Compiling unigram_model.cc
[160/1446] Compiling SQLiteDflat SQLiteTableState.swift
[161/1446] Compiling SQLiteDflat SQLiteTransactionContext.swift
[162/1446] Compiling SQLiteDflat SQLiteValue.swift
[163/1446] Compiling SQLiteDflat SQLiteWorkspace.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:6:22: error: cannot find 'os_unfair_lock' in scope
 4 | // This is a state shared for a workspace.
 5 | final class SQLiteWorkspaceState {
 6 |   private var lock = os_unfair_lock()
   |                      `- error: cannot find 'os_unfair_lock' in scope
 7 |   private var tableTimestamps = [ObjectIdentifier: Int64]()
 8 |   var changesTimestamp = UnsafeAtomic<Int64>.Storage(0)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:14:37: error: cannot find type 'os_unfair_lock_s' in scope
  12 |     static let size = 12
  13 |     let namespace: String
  14 |     var locks: UnsafeMutablePointer<os_unfair_lock_s>
     |                                     `- error: cannot find type 'os_unfair_lock_s' in scope
  15 |     var dictionaries: [[String: Any]]
  16 |     var subscriptions: [[String: [ObjectIdentifier: (Any?) -> Void]]]
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:20:15: error: generic parameter 'Pointee' could not be inferred
  18 |     init(namespace: String) {
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
     |               |- error: generic parameter 'Pointee' could not be inferred
     |               `- note: explicitly specify the generic arguments to fix this issue
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:21:31: error: cannot find 'os_unfair_lock' in scope
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
     |                               `- error: cannot find 'os_unfair_lock' in scope
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
  23 |       subscriptions = Array(
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:638:5: error: cannot find 'os_unfair_lock_lock' in scope
 636 |     key.hash(into: &hasher)
 637 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 638 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 639 |     return (dictionaries[hashValue][key], hashValue)
 640 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:646:5: error: cannot find 'os_unfair_lock_lock' in scope
 644 |     key.hash(into: &hasher)
 645 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 646 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 647 |     return hashValue
 648 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:654:5: error: cannot find 'os_unfair_lock_lock' in scope
 652 |     key.hash(into: &hasher)
 653 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 654 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 655 |     let oldValue = dictionaries[hashValue].updateValue(value, forKey: key)
 656 |     return (oldValue, hashValue)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:693:5: error: cannot find 'os_unfair_lock_lock' in scope
 691 |   @inline(__always)
 692 |   func lock(_ hashValue: Int) {
 693 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 694 |   }
 695 |   @inline(__always)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:697:5: error: cannot find 'os_unfair_lock_unlock' in scope
 695 |   @inline(__always)
 696 |   func unlock(_ hashValue: Int) {
 697 |     os_unfair_lock_unlock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_unlock' in scope
 698 |   }
 699 | }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:12:5: error: cannot find 'os_unfair_lock_lock' in scope
10 |
11 |   func serial<T>(_ closure: () -> T) -> T {
12 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:14:5: error: cannot find 'os_unfair_lock_unlock' in scope
12 |     os_unfair_lock_lock(&lock)
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
15 |     return retval
16 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:20:5: error: cannot find 'os_unfair_lock_lock' in scope
18 |   func setTableTimestamp<S: Sequence>(_ timestamp: Int64, for identifiers: S)
19 |   where S.Element == ObjectIdentifier {
20 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
21 |     for identifier in identifiers {
22 |       tableTimestamps[identifier] = timestamp
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:24:5: error: cannot find 'os_unfair_lock_unlock' in scope
22 |       tableTimestamps[identifier] = timestamp
23 |     }
24 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
25 |   }
26 |
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:28:5: error: cannot find 'os_unfair_lock_lock' in scope
26 |
27 |   func tableTimestamp(for identifier: ObjectIdentifier) -> Int64 {
28 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:30:5: error: cannot find 'os_unfair_lock_unlock' in scope
28 |     os_unfair_lock_lock(&lock)
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
31 |     return tableTimestamp
32 |   }
[164/1446] Compiling SQLiteDflat SQLiteWorkspaceDictionary.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:6:22: error: cannot find 'os_unfair_lock' in scope
 4 | // This is a state shared for a workspace.
 5 | final class SQLiteWorkspaceState {
 6 |   private var lock = os_unfair_lock()
   |                      `- error: cannot find 'os_unfair_lock' in scope
 7 |   private var tableTimestamps = [ObjectIdentifier: Int64]()
 8 |   var changesTimestamp = UnsafeAtomic<Int64>.Storage(0)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:14:37: error: cannot find type 'os_unfair_lock_s' in scope
  12 |     static let size = 12
  13 |     let namespace: String
  14 |     var locks: UnsafeMutablePointer<os_unfair_lock_s>
     |                                     `- error: cannot find type 'os_unfair_lock_s' in scope
  15 |     var dictionaries: [[String: Any]]
  16 |     var subscriptions: [[String: [ObjectIdentifier: (Any?) -> Void]]]
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:20:15: error: generic parameter 'Pointee' could not be inferred
  18 |     init(namespace: String) {
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
     |               |- error: generic parameter 'Pointee' could not be inferred
     |               `- note: explicitly specify the generic arguments to fix this issue
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:21:31: error: cannot find 'os_unfair_lock' in scope
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
     |                               `- error: cannot find 'os_unfair_lock' in scope
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
  23 |       subscriptions = Array(
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:638:5: error: cannot find 'os_unfair_lock_lock' in scope
 636 |     key.hash(into: &hasher)
 637 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 638 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 639 |     return (dictionaries[hashValue][key], hashValue)
 640 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:646:5: error: cannot find 'os_unfair_lock_lock' in scope
 644 |     key.hash(into: &hasher)
 645 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 646 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 647 |     return hashValue
 648 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:654:5: error: cannot find 'os_unfair_lock_lock' in scope
 652 |     key.hash(into: &hasher)
 653 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 654 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 655 |     let oldValue = dictionaries[hashValue].updateValue(value, forKey: key)
 656 |     return (oldValue, hashValue)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:693:5: error: cannot find 'os_unfair_lock_lock' in scope
 691 |   @inline(__always)
 692 |   func lock(_ hashValue: Int) {
 693 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 694 |   }
 695 |   @inline(__always)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:697:5: error: cannot find 'os_unfair_lock_unlock' in scope
 695 |   @inline(__always)
 696 |   func unlock(_ hashValue: Int) {
 697 |     os_unfair_lock_unlock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_unlock' in scope
 698 |   }
 699 | }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:12:5: error: cannot find 'os_unfair_lock_lock' in scope
10 |
11 |   func serial<T>(_ closure: () -> T) -> T {
12 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:14:5: error: cannot find 'os_unfair_lock_unlock' in scope
12 |     os_unfair_lock_lock(&lock)
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
15 |     return retval
16 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:20:5: error: cannot find 'os_unfair_lock_lock' in scope
18 |   func setTableTimestamp<S: Sequence>(_ timestamp: Int64, for identifiers: S)
19 |   where S.Element == ObjectIdentifier {
20 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
21 |     for identifier in identifiers {
22 |       tableTimestamps[identifier] = timestamp
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:24:5: error: cannot find 'os_unfair_lock_unlock' in scope
22 |       tableTimestamps[identifier] = timestamp
23 |     }
24 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
25 |   }
26 |
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:28:5: error: cannot find 'os_unfair_lock_lock' in scope
26 |
27 |   func tableTimestamp(for identifier: ObjectIdentifier) -> Int64 {
28 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:30:5: error: cannot find 'os_unfair_lock_unlock' in scope
28 |     os_unfair_lock_lock(&lock)
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
31 |     return tableTimestamp
32 |   }
[165/1446] Compiling SQLiteDflat SQLiteWorkspaceState.swift
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:6:22: error: cannot find 'os_unfair_lock' in scope
 4 | // This is a state shared for a workspace.
 5 | final class SQLiteWorkspaceState {
 6 |   private var lock = os_unfair_lock()
   |                      `- error: cannot find 'os_unfair_lock' in scope
 7 |   private var tableTimestamps = [ObjectIdentifier: Int64]()
 8 |   var changesTimestamp = UnsafeAtomic<Int64>.Storage(0)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:14:37: error: cannot find type 'os_unfair_lock_s' in scope
  12 |     static let size = 12
  13 |     let namespace: String
  14 |     var locks: UnsafeMutablePointer<os_unfair_lock_s>
     |                                     `- error: cannot find type 'os_unfair_lock_s' in scope
  15 |     var dictionaries: [[String: Any]]
  16 |     var subscriptions: [[String: [ObjectIdentifier: (Any?) -> Void]]]
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:20:15: error: generic parameter 'Pointee' could not be inferred
  18 |     init(namespace: String) {
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
     |               |- error: generic parameter 'Pointee' could not be inferred
     |               `- note: explicitly specify the generic arguments to fix this issue
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:21:31: error: cannot find 'os_unfair_lock' in scope
  19 |       self.namespace = namespace
  20 |       locks = UnsafeMutablePointer.allocate(capacity: Self.size)
  21 |       locks.assign(repeating: os_unfair_lock(), count: Self.size)
     |                               `- error: cannot find 'os_unfair_lock' in scope
  22 |       dictionaries = Array(repeating: [String: Any](), count: Self.size)
  23 |       subscriptions = Array(
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:638:5: error: cannot find 'os_unfair_lock_lock' in scope
 636 |     key.hash(into: &hasher)
 637 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 638 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 639 |     return (dictionaries[hashValue][key], hashValue)
 640 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:646:5: error: cannot find 'os_unfair_lock_lock' in scope
 644 |     key.hash(into: &hasher)
 645 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 646 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 647 |     return hashValue
 648 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:654:5: error: cannot find 'os_unfair_lock_lock' in scope
 652 |     key.hash(into: &hasher)
 653 |     let hashValue = Int(UInt(bitPattern: hasher.finalize()) % UInt(Self.size))
 654 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 655 |     let oldValue = dictionaries[hashValue].updateValue(value, forKey: key)
 656 |     return (oldValue, hashValue)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:693:5: error: cannot find 'os_unfair_lock_lock' in scope
 691 |   @inline(__always)
 692 |   func lock(_ hashValue: Int) {
 693 |     os_unfair_lock_lock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_lock' in scope
 694 |   }
 695 |   @inline(__always)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceDictionary.swift:697:5: error: cannot find 'os_unfair_lock_unlock' in scope
 695 |   @inline(__always)
 696 |   func unlock(_ hashValue: Int) {
 697 |     os_unfair_lock_unlock(locks + hashValue)
     |     `- error: cannot find 'os_unfair_lock_unlock' in scope
 698 |   }
 699 | }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:12:5: error: cannot find 'os_unfair_lock_lock' in scope
10 |
11 |   func serial<T>(_ closure: () -> T) -> T {
12 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:14:5: error: cannot find 'os_unfair_lock_unlock' in scope
12 |     os_unfair_lock_lock(&lock)
13 |     let retval = closure()
14 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
15 |     return retval
16 |   }
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:20:5: error: cannot find 'os_unfair_lock_lock' in scope
18 |   func setTableTimestamp<S: Sequence>(_ timestamp: Int64, for identifiers: S)
19 |   where S.Element == ObjectIdentifier {
20 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
21 |     for identifier in identifiers {
22 |       tableTimestamps[identifier] = timestamp
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:24:5: error: cannot find 'os_unfair_lock_unlock' in scope
22 |       tableTimestamps[identifier] = timestamp
23 |     }
24 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
25 |   }
26 |
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:28:5: error: cannot find 'os_unfair_lock_lock' in scope
26 |
27 |   func tableTimestamp(for identifier: ObjectIdentifier) -> Int64 {
28 |     os_unfair_lock_lock(&lock)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
/host/spi-builder-workspace/.build/checkouts/dflat/src/sqlite/SQLiteWorkspaceState.swift:30:5: error: cannot find 'os_unfair_lock_unlock' in scope
28 |     os_unfair_lock_lock(&lock)
29 |     let tableTimestamp = tableTimestamps[identifier] ?? -1
30 |     os_unfair_lock_unlock(&lock)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
31 |     return tableTimestamp
32 |   }
[165/1446] Compiling normalizer.cc
[165/1446] Compiling model_interface.cc
[165/1446] Compiling sentencepiece_processor.cc
[165/1446] Compiling pretokenizer_for_training.cc
[165/1446] Compiling trainer_interface.cc
[165/1446] Compiling sentencepiece_trainer.cc
[165/1446] Compiling unigram_model_trainer.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
[5/5] Compiling plugin GRPCSwiftPlugin
[6/6] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[6/1287] Write sources
[10/1288] Compiling pretokenizer_for_training.cc
[11/1288] Compiling model_factory.cc
[12/1288] Compiling normalizer.cc
[13/1288] Compiling model_interface.cc
[14/1288] Compiling sentencepiece_trainer.cc
[15/1288] Compiling init.cc
[16/1288] Compiling error.cc
[17/1288] Compiling sentencepiece_processor.cc
[18/1288] Compiling trainer_interface.cc
[19/1288] Compiling filesystem.cc
[20/1288] Compiling unigram_model_trainer.cc
[21/1288] Compiling char_model_trainer.cc
[22/1288] Compiling siphash siphash24.c
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_palettize.m:1:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_mps.h:43:9: fatal error: 'Metal/Metal.h' file not found
   43 | #import <Metal/Metal.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[23/1288] Compiling lib_nnc_mps_compat ccv_nnc_palettize.m
[23/1288] Compiling sentencepiece.pb.cc
[23/1288] Compiling bpe_model.cc
[23/1288] Compiling bpe_model_trainer.cc
[23/1288] Write swift-version-24593BA9C3E375BF.txt
[23/1288] Compiling builder.cc
[23/1288] Compiling sentencepiece_model.pb.cc
[23/1288] Compiling char_model.cc
BUILD FAILURE 6.1 android