The Swift Package Index logo.Swift Package Index

Build Information

Failed to build container, reference 1.7.1 (a15b46), with Swift 6.3 for Android on 7 Nov 2026 08:29:12 UTC.

Build Command

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

Build Log

[130504/143074] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.89s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.99s)
Computing version for https://github.com/mattt/swift-configuration-toml
Computed https://github.com/mattt/swift-configuration-toml at 2.0.0 (14.17s)
Fetching https://github.com/apple/swift-metrics
[1/3615] Fetching swift-metrics
Fetched https://github.com/apple/swift-metrics from cache (0.56s)
Computing version for https://github.com/apple/containerization.git
Computed https://github.com/apple/containerization.git at 0.54.0 (1.03s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/18924] Fetching swift-crypto
[1894/35818] Fetching swift-crypto, swift-nio-ssl
[7652/122339] Fetching swift-crypto, swift-nio-ssl, zstd
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.34s)
[52668/105445] Fetching swift-crypto, zstd
Fetched https://github.com/apple/swift-crypto.git from cache (5.79s)
Fetched https://github.com/facebook/zstd.git from cache (5.83s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (7.27s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.2 (0.26s)
Computing version for https://github.com/mattt/swift-toml.git
Computed https://github.com/mattt/swift-toml.git at 2.1.0 (0.30s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.5.0 (0.33s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.39.0 (0.33s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.4.4 (0.32s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.12.0 (0.36s)
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-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/2881] Fetching swift-nio-transport-services
[2882/4946] Fetching swift-nio-transport-services, swift-asn1
[3936/12579] Fetching swift-nio-transport-services, swift-asn1, swift-certificates
[8764/24898] Fetching swift-nio-transport-services, swift-asn1, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git from cache (0.76s)
[9381/17265] Fetching swift-nio-transport-services, swift-asn1, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.32s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.32s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.33s)
[1/6717] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.63s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (2.27s)
Fetching https://github.com/apple/swift-atomics.git
[1/1926] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (1.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.24s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.13.0 (0.29s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.37s)
Computing version for https://github.com/apple/swift-configuration
Computed https://github.com/apple/swift-configuration at 1.5.0 (0.39s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2892] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.55s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.89s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6825] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.73s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (1.09s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (0.36s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3864] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.05s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.35s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.36s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.41s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.40s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.48s)
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-algorithms.git
[1/1967] Fetching swift-http-types
[1895/3251] Fetching swift-http-types, swift-http-structured-headers
[2058/9410] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.62s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.62s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.63s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.99s)
Fetching https://github.com/apple/swift-numerics.git
[1/6849] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.97s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.34s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.32s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.37.0 (0.35s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[16/1546] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.44s)
[1/6701] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.65s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.97s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (0.34s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.2
Creating working copy for https://github.com/apple/containerization.git
Working copy of https://github.com/apple/containerization.git resolved at 0.54.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
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.28.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-configuration
Working copy of https://github.com/apple/swift-configuration resolved at 1.5.0
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.8.0
Creating working copy for https://github.com/mattt/swift-toml.git
Working copy of https://github.com/mattt/swift-toml.git resolved at 2.1.0
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.7.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
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.7
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
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.8.2
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.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.35.2
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.4.4
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.5.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.46.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.13.0
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.12.0
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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.6
Creating working copy for https://github.com/mattt/swift-configuration-toml
Working copy of https://github.com/mattt/swift-configuration-toml resolved at 2.0.0
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.37.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.17.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.39.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin generate-grpc-code-from-protos
[4/4] Compiling plugin GRPCProtobufGenerator
[5/5] Compiling plugin SwiftProtobufPlugin
[6/6] Compiling plugin GenerateManual
[7/7] Compiling plugin GenerateDoccReference
Building for debugging...
[7/1115] Write sources
[14/1115] Write swift-version-272D24FF697CF451.txt
[15/1115] Compiling huf_decompress_amd64.S
[16/1115] Compiling divsufsort.c
[17/1117] Compiling zstd_ddict.c
[18/1117] Compiling fastcover.c
[19/1117] Compiling cover.c
[20/1117] Compiling zdict.c
[21/1117] Compiling zstd_decompress.c
[22/1117] Compiling zstd_decompress_block.c
[23/1117] Compiling huf_decompress.c
[24/1117] Compiling zstd_preSplit.c
[25/1117] Compiling zstdmt_compress.c
[26/1117] Compiling zstd_ldm.c
[27/1117] Compiling zstd_opt.c
[28/1117] Compiling zstd_compress_superblock.c
[29/1117] Compiling zstd_compress_sequences.c
[30/1117] Compiling zstd_compress_literals.c
[31/1117] Compiling zstd_fast.c
[32/1117] Compiling zstd_double_fast.c
[33/1117] Compiling xxhash.c
[34/1117] Compiling threading.c
[35/1117] Compiling hist.c
[36/1117] Compiling fse_compress.c
[37/1117] Compiling zstd_common.c
[38/1117] Compiling huf_compress.c
[39/1117] Compiling debug.c
[40/1117] Write sources
[47/1117] Compiling pool.c
[48/1117] Write sources
[51/1117] Compiling _NumericsShims _NumericsShims.c
[52/1117] Compiling fse_decompress.c
[53/1117] Write sources
[55/1123] Compiling _AtomicsShims.c
[56/1123] Compiling error_private.c
[57/1124] Write sources
[59/1124] Compiling entropy_common.c
[60/1125] Write sources
[69/1142] Compiling zstd_compress.c
[70/1142] Write sources
[76/1143] Emitting module _NIOBase64
[76/1237] Compiling zstd_lazy.c
[77/1237] Write sources
[101/1248] Compiling SwiftProtobuf BinaryDelimited.swift
[102/1248] Compiling SwiftProtobuf BinaryEncoder.swift
[103/1248] Compiling SwiftProtobuf BinaryEncodingError.swift
[104/1250] Emitting module SwiftASN1
[105/1250] Compiling _NIODataStructures PriorityQueue.swift
[106/1250] Compiling Logging LoggingSystem.swift
[107/1250] Compiling RealModule RealFunctions.swift
[108/1252] Compiling Logging LogEvent.swift
[109/1252] Compiling Logging LogHandler.swift
[110/1252] Compiling _NIOBase64 Base64.swift
[111/1253] Compiling RealModule RelaxedArithmetic.swift
[113/1253] Compiling _NIODataStructures _TinyArray.swift
[114/1253] Compiling Logging Logger+Attributes.swift
[115/1253] Compiling RealModule Float16+Real.swift
[116/1253] Compiling RealModule Float80+Real.swift
[117/1253] Compiling RealModule Real.swift
[118/1253] Compiling Logging MultiplexLogHandler.swift
[119/1253] Compiling Logging StreamLogHandler.swift
[124/1253] Compiling Logging SwiftLogNoOpLogHandler.swift
[125/1253] Compiling Logging Locks.swift
[126/1253] Emitting module _CertificateInternals
[127/1253] Compiling _CertificateInternals _TinyArray.swift
[130/1266] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[131/1266] Compiling InternalCollectionsUtilities MutableRef.swift
[132/1266] Emitting module RealModule
[133/1279] Emitting module _NIODataStructures
[134/1283] Compiling _NIODataStructures Heap.swift
[137/1284] Wrapping AST for _NIOBase64 for debugging
[139/1284] Emitting module SwiftProtobuf
[140/1290] Compiling Logging Logger+With.swift
[141/1293] Compiling Logging Logger.swift
[141/1295] Wrapping AST for RealModule for debugging
[142/1295] Wrapping AST for _CertificateInternals for debugging
[143/1295] Write sources
[149/1295] Wrapping AST for _NIODataStructures for debugging
[150/1295] Write sources
[173/1310] Compiling CoreMetrics WithMetricsFactory.swift
[174/1310] Emitting module ContainerRuntimeLinuxClient
[175/1310] Compiling Instrumentation MultiplexInstrument.swift
[176/1310] Compiling Instrumentation NoOpInstrument.swift
[177/1310] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[178/1310] Compiling InternalCollectionsUtilities String+Padding.swift
[179/1310] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[180/1310] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[181/1310] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[182/1310] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[183/1310] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[184/1313] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[185/1313] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[186/1313] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[187/1313] Compiling InternalCollectionsUtilities _SortedCollection.swift
[188/1313] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[189/1313] Compiling Instrumentation Instrument.swift
[190/1313] Emitting module Instrumentation
[191/1313] Compiling Instrumentation InstrumentationContextKey.swift
[192/1313] Compiling Instrumentation InstrumentationContext.swift
[193/1313] Compiling Instrumentation InstrumentationSystem.swift
[194/1313] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[195/1313] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[198/1313] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[199/1313] Compiling InternalCollectionsUtilities Integer rank.swift
[200/1313] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[201/1313] Compiling InternalCollectionsUtilities UInt+reversed.swift
[202/1313] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[203/1313] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[204/1313] Compiling InternalCollectionsUtilities Debugging.swift
[205/1313] Compiling InternalCollectionsUtilities Descriptions.swift
[206/1313] Emitting module InternalCollectionsUtilities
[207/1313] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[208/1313] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[209/1313] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[210/1313] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[213/1313] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[214/1313] Compiling InternalCollectionsUtilities Span+Extras.swift
[215/1314] Compiling CoreMetrics Metrics.swift
[216/1314] Compiling CoreMetrics MappingMetricsFactory.swift
[217/1314] Write sources
[219/1384] Compiling Instrumentation Locks.swift
[220/1385] Compiling Logging MetadataProvider.swift
[221/1385] Compiling _RopeModule BigString+Builder.swift
[222/1385] Compiling _RopeModule BigString+Contents.swift
[223/1385] Compiling _RopeModule BigString+Ingester.swift
[224/1385] Compiling _RopeModule BigString+Invariants.swift
[225/1385] Emitting module Logging
[228/1386] Compiling CoreMetrics Locks.swift
[229/1386] Emitting module CoreMetrics
[230/1387] Compiling _RopeModule BigString+Initializers.swift
[231/1387] Compiling _RopeModule BigString+Insert.swift
[232/1387] Compiling _RopeModule BigString+Managing Breaks.swift
[233/1387] Compiling _RopeModule BigString+TextOutputStream.swift
[234/1387] Compiling _RopeModule BigString+Append.swift
[235/1387] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[236/1387] Compiling _RopeModule BigString+Sequence.swift
[238/1392] Compiling _RopeModule _RopePath.swift
[239/1392] Compiling _RopeModule BigString+UTF16View.swift
[240/1392] Compiling _RopeModule BigString+UTF8View.swift
[241/1392] Compiling _RopeModule BigString+UnicodeScalarView.swift
[242/1392] Compiling _RopeModule BigSubstring+UTF16View.swift
[243/1392] Compiling _RopeModule BigSubstring+UTF8View.swift
[244/1392] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[245/1392] Compiling _RopeModule BigSubstring.swift
[246/1392] Compiling _RopeModule Rope+Builder.swift
[247/1392] Compiling _RopeModule Rope+Debugging.swift
[248/1392] Compiling _RopeModule Rope+Invariants.swift
[249/1392] Compiling _RopeModule BigString+Chunk.swift
[250/1393] Compiling _RopeModule BigString+BidirectionalCollection.swift
[251/1393] Compiling _RopeModule BigString+Comparable.swift
[252/1393] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[253/1393] Compiling _RopeModule BigString+CustomStringConvertible.swift
[254/1393] Compiling _RopeModule BigString+Equatable.swift
[255/1393] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[256/1393] Compiling _RopeModule BigString+Hashing.swift
[257/1393] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[258/1393] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[259/1393] Compiling SwiftProtobuf WireFormat.swift
[260/1393] Compiling SwiftProtobuf ZigZag.swift
[262/1449] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[263/1449] Compiling SpanPreview InputSpan.swift
[264/1449] Emitting module SpanPreview
[265/1449] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[266/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[267/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[268/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[269/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[270/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[271/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[272/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[273/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[274/1452] Compiling OrderedCollections OrderedDictionary+Values.swift
[275/1452] Compiling OrderedCollections OrderedDictionary.swift
[276/1452] Compiling OrderedCollections OrderedSet+Codable.swift
[277/1452] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[278/1452] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[279/1452] Compiling SwiftProtobuf Message+FieldMask.swift
[280/1452] Compiling SwiftProtobuf Message+JSONAdditions.swift
[281/1452] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[282/1452] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[283/1452] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[285/1452] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[286/1452] Compiling SwiftProtobuf Message.swift
[287/1452] Compiling SwiftProtobuf MessageExtension.swift
[288/1452] Compiling SwiftProtobuf NameMap.swift
[289/1452] Compiling SwiftProtobuf PathDecoder.swift
[290/1452] Compiling SwiftProtobuf PathVisitor.swift
[291/1452] Compiling OrderedCollections OrderedSet+Descriptions.swift
[292/1452] Compiling OrderedCollections OrderedSet+Diffing.swift
[293/1452] Compiling OrderedCollections OrderedSet+Equatable.swift
[294/1452] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[295/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[296/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[297/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[298/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[299/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[300/1452] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[301/1452] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[302/1452] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[303/1459] Compiling ServiceContextModule ServiceContextModule.swift
[304/1459] Emitting module ServiceContextModule
[306/1463] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[307/1463] Compiling OrderedCollections OrderedDictionary+Elements.swift
[308/1463] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[309/1463] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[310/1463] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[311/1463] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[312/1463] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[313/1463] Compiling OrderedCollections OrderedDictionary+Move.swift
[314/1463] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[315/1463] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[316/1463] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[317/1463] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[318/1463] Emitting module ContainerizationError
[319/1463] Compiling ContainerizationError ContainerizationError.swift
[320/1463] Compiling ContainerRuntimeLinuxClient LinuxRuntimeData.swift
[321/1465] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[322/1465] Compiling HeapModule Heap+Invariants.swift
[325/1465] Compiling HeapModule Heap+Descriptions.swift
[326/1466] Emitting module Metrics
[327/1542] Compiling Metrics Metrics.swift
[329/1552] Compiling ServiceContextModuleCompatibility Reexport.swift
[330/1552] Emitting module ServiceContextModuleCompatibility
[331/1552] Compiling HeapModule _HeapNode.swift
[332/1553] Compiling HashTreeCollections TreeDictionary+Merge.swift
[333/1553] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[334/1553] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[335/1553] Compiling HashTreeCollections TreeDictionary+Values.swift
[336/1553] Compiling HashTreeCollections _HashTreeIterator.swift
[337/1553] Compiling HashTreeCollections _HashTreeStatistics.swift
[338/1553] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[339/1553] Compiling HashTreeCollections _RawHashNode.swift
[340/1559] Compiling HeapModule Heap.swift
[342/1561] Compiling HashTreeCollections _AncestorHashSlots.swift
[343/1561] Compiling HashTreeCollections _Bitmap.swift
[344/1561] Compiling HashTreeCollections _Bucket.swift
[345/1561] Compiling HashTreeCollections _Hash.swift
[346/1561] Compiling HashTreeCollections _HashLevel.swift
[347/1561] Compiling HashTreeCollections _HashNode+Builder.swift
[348/1561] Compiling HashTreeCollections _HashNode+Debugging.swift
[349/1561] Compiling HashTreeCollections _HashNode+Initializers.swift
[350/1561] Compiling HashTreeCollections _HashNode+Invariants.swift
[351/1561] Compiling HashTreeCollections _HashNode+Lookups.swift
[352/1561] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[353/1561] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[354/1583] Compiling Tracing InstrumentationSystem+Tracing.swift
[355/1600] Emitting module HeapModule
[355/1603] Wrapping AST for SwiftASN1 for debugging
[357/1603] Compiling HeapModule Heap+Testing.swift
[358/1603] Compiling HeapModule Heap+UnsafeHandle.swift
[359/1604] Compiling Tracing TracingTime.swift
[360/1604] Wrapping AST for SpanPreview for debugging
[361/1604] Wrapping AST for ServiceContextModuleCompatibility for debugging
[363/1604] Compiling Tracing WithTracer.swift
[363/1604] Wrapping AST for ServiceContextModule for debugging
[365/1604] Compiling Tracing TracerProtocol.swift
[366/1604] Emitting module Tracing
[366/1604] Wrapping AST for Metrics for debugging
[368/1604] Compiling Tracing TracerProtocol+Legacy.swift
[368/1604] Wrapping AST for Logging for debugging
[370/1604] Compiling DequeModule RigidDeque+ContainerOperations.swift
[371/1604] Compiling DequeModule RigidDeque+Deprecations.swift
[372/1604] Compiling DequeModule RigidDeque+Prepend.swift
[373/1604] Compiling DequeModule RigidDeque+Removals.swift
[374/1604] Compiling DequeModule RigidDeque+Replacements.swift
[375/1604] Compiling DequeModule RigidDeque+Testing.swift
[376/1604] Compiling DequeModule RigidDeque.swift
[377/1604] Compiling DequeModule UniqueDeque+Append.swift
[378/1604] Compiling Tracing Tracer.swift
[378/1604] Wrapping AST for Instrumentation for debugging
[379/1604] Wrapping AST for InternalCollectionsUtilities for debugging
[381/1604] Compiling DequeModule UniqueDeque+Consumption.swift
[382/1604] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[383/1604] Compiling DequeModule UniqueDeque+Deprecations.swift
[384/1604] Compiling DequeModule UniqueDeque+Descriptions.swift
[385/1604] Compiling DequeModule UniqueDeque+Equatable.swift
[386/1604] Compiling DequeModule UniqueDeque+Hashable.swift
[386/1609] Wrapping AST for HeapModule for debugging
[388/1609] Compiling DequeModule RigidDeque+Descriptions.swift
[389/1609] Compiling DequeModule RigidDeque+Equatable.swift
[390/1609] Compiling DequeModule RigidDeque+Hashable.swift
[391/1609] Compiling DequeModule RigidDeque+Initializers.swift
[392/1609] Compiling DequeModule RigidDeque+Insertions.swift
[393/1609] Compiling DequeModule RigidDeque+Iterable.swift
[395/1609] Wrapping AST for CoreMetrics for debugging
[406/1618] Compiling DequeModule UniqueDeque+Prepend.swift
[407/1618] Compiling DequeModule UniqueDeque+Removals.swift
[408/1618] Compiling DequeModule UniqueDeque+Replacements.swift
[409/1618] Compiling DequeModule UniqueDeque.swift
[410/1618] Compiling DequeModule _DequeSlot.swift
[411/1618] Compiling DequeModule _UnsafeDequeHandle.swift
[412/1618] Compiling DequeModule _UnsafeDequeSegments.swift
[415/1618] Compiling HashTreeCollections _UnmanagedHashNode.swift
[415/1618] Wrapping AST for ContainerizationError for debugging
[416/1618] Write sources
[423/1618] Wrapping AST for ContainerRuntimeLinuxClient for debugging
[424/1618] Write sources
[439/1618] Compiling writer.c
[441/1621] Compiling DequeModule UniqueDeque+Initializers.swift
[442/1621] Compiling DequeModule UniqueDeque+Insertions.swift
[443/1621] Compiling DequeModule UniqueDeque+Iterable.swift
[446/1621] Compiling Tracing SpanProtocol.swift
[447/1621] Compiling Tracing NoOpTracer.swift
[448/1621] Compiling DequeModule Deque+Testing.swift
[449/1621] Compiling DequeModule Deque._Storage.swift
[450/1621] Compiling DequeModule Deque._UnsafeHandle.swift
[451/1621] Compiling DequeModule Deque.swift
[452/1621] Compiling DequeModule _DequeBuffer.swift
[453/1621] Compiling DequeModule _DequeBufferHeader.swift
[454/1621] Compiling DequeModule RigidDeque+Append.swift
[455/1621] Compiling DequeModule RigidDeque+Consumption.swift
[472/1622] Compiling scanner.c
[474/1622] Compiling ConcurrencyHelpers LockedValueBox.swift
[474/1622] Compiling reader.c
[475/1622] Wrapping AST for Tracing for debugging
[476/1622] Compiling parser.c
[478/1622] Emitting module ConcurrencyHelpers
[492/1622] Compiling HashTreeCollections _UnsafePath.swift
[493/1622] Compiling HashTreeCollections TreeDictionary+Codable.swift
[494/1622] Compiling HashTreeCollections TreeDictionary+Collection.swift
[495/1622] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[496/1622] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[497/1622] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[498/1622] Compiling HashTreeCollections TreeSet+Hashable.swift
[507/1622] Compiling DequeModule Deque+Codable.swift
[508/1622] Compiling DequeModule Deque+Collection.swift
[509/1622] Compiling DequeModule Deque+CustomReflectable.swift
[510/1622] Compiling DequeModule Deque+Descriptions.swift
[511/1622] Compiling DequeModule Deque+Equatable.swift
[512/1622] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[513/1622] Compiling DequeModule Deque+Extras.swift
[514/1622] Compiling DequeModule Deque+Hashable.swift
[526/1622] Compiling ConcurrencyHelpers Lock.swift
[526/1633] Compiling api.c
[527/1633] Compiling emitter.c
[529/1633] Compiling CXKCPShims shims.c
[530/1633] Compiling SimpleFIPS202.c
[531/1643] Wrapping AST for ConcurrencyHelpers for debugging
[533/1648] Compiling Yams AliasDereferencingStrategy.swift
[534/1648] Compiling Yams Anchor.swift
[535/1648] Compiling Yams Constructor.swift
[536/1648] Compiling Yams Mark.swift
[537/1648] Compiling Yams Node.Alias.swift
[538/1648] Compiling Yams Node.Mapping.swift
[539/1648] Compiling Yams Node.Scalar.swift
[540/1648] Compiling Yams Node.Sequence.swift
[541/1648] Compiling Yams Node.swift
[542/1648] Compiling Yams Parser.swift
[542/1656] Compiling KeccakSponge.c
[544/1656] Emitting module _RopeModule
[545/1656] Compiling Yams RedundancyAliasingStrategy.swift
[546/1656] Compiling Yams Representer.swift
[547/1656] Compiling Yams Decoder.swift
[548/1656] Compiling Yams Emitter.swift
[549/1656] Compiling Yams Encoder.swift
[550/1656] Compiling Yams Resolver.swift
[551/1656] Compiling Yams String+Yams.swift
[552/1656] Compiling Yams Tag.swift
[553/1656] Compiling Yams YamlAnchorProviding.swift
[555/1656] Compiling OrderedCollections OrderedSet+Sendable.swift
[556/1656] Compiling OrderedCollections OrderedSet+SubSequence.swift
[557/1656] Compiling OrderedCollections OrderedSet+Testing.swift
[558/1656] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[559/1656] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[560/1656] Compiling OrderedCollections OrderedSet.swift
[561/1656] Compiling OrderedCollections UnsafeBitset.swift
[573/1656] Compiling KeccakP-1600-opt64.c
[574/1656] Compiling KeccakHash.c
[576/1656] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[577/1656] Compiling UnixSignals UnixSignalsSequence.swift
[578/1656] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[579/1656] Compiling UnixSignals UnixSignal.swift
[580/1656] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[581/1656] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[582/1656] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[583/1656] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[584/1656] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[585/1656] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[586/1656] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[587/1656] Compiling HashTreeCollections TreeSet.swift
[588/1656] Emitting module UnixSignals
[588/1656] Compiling CVersion Version.c
[590/1656] Compiling HashTreeCollections TreeDictionary.swift
[591/1656] Compiling HashTreeCollections TreeSet+Codable.swift
[592/1656] Compiling HashTreeCollections TreeSet+Collection.swift
[593/1656] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[594/1656] Compiling _RopeModule Rope+Join.swift
[595/1656] Compiling _RopeModule Rope+MutatingForEach.swift
[596/1656] Compiling _RopeModule Rope+Remove.swift
[597/1656] Compiling _RopeModule Rope+RemoveSubrange.swift
[598/1656] Compiling _RopeModule Rope+Split.swift
[599/1656] Compiling _RopeModule Optional Utilities.swift
[608/1656] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[609/1656] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[652/1657] Compiling CSystem shims.c
[653/1657] Wrapping AST for UnixSignals for debugging
[655/1657] Emitting module OrderedCollections
[667/1695] Compiling CShim vsock.c
[668/1695] Wrapping AST for OrderedCollections for debugging
[669/1695] Compiling CShim socket_helpers.c
[670/1695] Compiling CShim prctl.c
[671/1695] Compiling CShim openat2.c
[673/1695] Compiling SystemPackage IOCompletion.swift
[674/1695] Compiling SystemPackage IORequest.swift
[675/1695] Compiling SystemPackage IORing+Util.swift
[676/1695] Compiling SystemPackage IORing.swift
[677/1695] Compiling SystemPackage RawIORequest.swift
[686/1700] Compiling CShim exec_command.c
[688/1701] Compiling SystemPackage CInterop.swift
[689/1701] Compiling SystemPackage Constants.swift
[690/1701] Compiling SystemPackage Exports.swift
[691/1701] Compiling SystemPackage Mocking.swift
[692/1701] Compiling SystemPackage RawBuffer.swift
[693/1701] Compiling SystemPackage Syscalls.swift
[694/1701] Compiling SystemPackage WindowsSyscallAdapters.swift
[695/1701] Compiling SystemPackage MachPort.swift
[696/1701] Compiling SystemPackage PlatformString.swift
[697/1701] Compiling SystemPackage FilePathTemp.swift
[698/1701] Compiling SystemPackage FilePathTempPosix.swift
[699/1701] Compiling CShim cz_tap.c
[700/1701] Compiling CShim capability.c
[701/1701] Compiling CNIOWindows shim.c
[702/1701] Compiling CNIOWindows WSAStartup.c
[703/1701] Compiling CNIOWASI CNIOWASI.c
[704/1701] Wrapping AST for _RopeModule for debugging
[705/1701] Compiling CNIOPosix event_loop_id.c
[706/1701] Compiling CNIOOpenBSD shim.c
[707/1701] Compiling CNIOLinux liburing_shims.c
[708/1701] Compiling CNIOLinux shim.c
[709/1701] Compiling CNIOLLHTTP c_nio_http.c
[710/1701] Compiling CNIOLLHTTP c_nio_api.c
[711/1701] Compiling CNIOFreeBSD shim.c
[712/1701] Compiling CNIOExtrasZlib zutil.c
[713/1701] Compiling CNIOExtrasZlib trees.c
[715/1701] Compiling SystemPackage FileFlags.swift
[716/1701] Compiling SystemPackage FileMode.swift
[717/1701] Compiling SystemPackage FileType.swift
[718/1701] Compiling SystemPackage Identifiers.swift
[719/1701] Compiling SystemPackage Stat.swift
[719/1701] Compiling CNIOExtrasZlib inftrees.c
[721/1701] Emitting module SystemPackage
[721/1701] Compiling CNIOLLHTTP c_nio_llhttp.c
[722/1701] Compiling CNIOExtrasZlib inflate.c
[723/1701] Compiling CNIOExtrasZlib inffast.c
[724/1701] Compiling CNIOExtrasZlib deflate.c
[726/1701] Emitting module DequeModule
[726/1701] Compiling CNIOExtrasZlib crc32.c
[727/1701] Compiling CNIOExtrasZlib adler32.c
[728/1701] Compiling CNIODarwin shim.c
[729/1701] Compiling fiat_p256_adx_sqr.S
[731/1701] Emitting module HashTreeCollections
[732/1702] Compiling fiat_p256_adx_mul.S
[734/1702] Compiling SystemPackage Backcompat.swift
[746/1702] Compiling SystemPackage FilePathTempWindows.swift
[747/1702] Compiling SystemPackage FilePathWindows.swift
[748/1702] Compiling SystemPackage FilePermissions.swift
[749/1702] Compiling SystemPackage Errno.swift
[750/1702] Compiling SystemPackage ErrnoWindows.swift
[751/1702] Compiling SystemPackage FileDescriptor.swift
[752/1702] Compiling SystemPackage FileHelpers.swift
[753/1702] Compiling SystemPackage FileOperations.swift
[754/1702] Compiling SystemPackage FilePath.swift
[754/1702] Compiling fiat_curve25519_adx_square.S
[755/1702] Compiling fiat_curve25519_adx_mul.S
[757/1702] Compiling SystemPackage SystemString.swift
[759/1702] Compiling SystemPackage Util+StringArray.swift
[760/1702] Compiling SystemPackage Util.swift
[762/1702] Compiling SystemPackage UtilConsumers.swift
[765/1702] Compiling SystemPackage WinSDK+Overlay.swift
[766/1703] Wrapping AST for HashTreeCollections for debugging
[768/1703] Compiling CNIOBoringSSLShims shims.c
[770/1758] Compiling GRPCCore ClientRPCExecutor.swift
[771/1758] Compiling GRPCCore ClientRequest+Convenience.swift
[772/1758] Compiling GRPCCore ClientResponse+Convenience.swift
[773/1758] Compiling GRPCCore ClientStreamExecutor.swift
[774/1758] Compiling GRPCCore RetryDelaySequence.swift
[775/1759] Wrapping AST for DequeModule for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[777/1788] Emitting module ContainerizationOS
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/File.swift:67:26: error: cannot find type 'stat' in scope
 65 | /// for a file.
 66 | public struct FileInfo: Sendable {
 67 |     private let _stat_t: stat
    |                          `- error: cannot find type 'stat' in scope
 68 |     private let _path: String
 69 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/File.swift:70:32: error: cannot find type 'stat' in scope
 68 |     private let _path: String
 69 |
 70 |     init(_ path: String, stat: stat) {
    |                                `- error: cannot find type 'stat' in scope
 71 |         self._path = path
 72 |         self._stat_t = stat
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/File.swift:76:22: error: cannot find type 'mode_t' in scope
 74 |
 75 |     /// mode_t for the file.
 76 |     public var mode: mode_t {
    |                      `- error: cannot find type 'mode_t' in scope
 77 |         self._stat_t.st_mode
 78 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/FileDescriptorOps.swift:618:49: error: cannot find type 'mode_t' in scope
616 |     }
617 |
618 |     private static func entryType(forMode mode: mode_t) -> EntryType {
    |                                                 `- error: cannot find type 'mode_t' in scope
619 |         switch mode & os_S_IFMT {
620 |         case os_S_IFREG: return .regular
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/FileDescriptorOps.swift:627:48: error: cannot find type 'stat' in scope
625 |     }
626 |
627 |     private static func fileStatus(from stbuf: stat) -> FileStatus {
    |                                                `- error: cannot find type 'stat' in scope
628 |         #if canImport(Darwin)
629 |         let mtime = stbuf.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no exact matches in reference to global function 'ioctl'
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no exact matches in reference to global function 'ioctl'
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:39:23: error: cannot find type 'mode_t' in scope
 37 |
 38 |     public let path: String
 39 |     public let perms: mode_t?
    |                       `- error: cannot find type 'mode_t' in scope
 40 |     private let _addr: sockaddr_un
 41 |     private let _unlinkExisting: Bool
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:40:24: error: cannot find type 'sockaddr_un' in scope
 38 |     public let path: String
 39 |     public let perms: mode_t?
 40 |     private let _addr: sockaddr_un
    |                        `- error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:43:28: error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
 43 |     private init(sockaddr: sockaddr_un) {
    |                            `- error: cannot find type 'sockaddr_un' in scope
 44 |         let pathname: String = withUnsafePointer(to: sockaddr.sun_path) { ptr in
 45 |             let charPtr = UnsafeRawPointer(ptr).assumingMemoryBound(to: CChar.self)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:57:16: error: cannot find type 'mode_t' in scope
 55 |     public init(
 56 |         path: String,
 57 |         perms: mode_t? = nil,
    |                `- error: cannot find type 'mode_t' in scope
 58 |         unlinkExisting: Bool = false
 59 |     ) throws {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:132:56: error: cannot find type 'sockaddr' in scope
130 |     }
131 |
132 |     public func withSockAddr(_ closure: (UnsafePointer<sockaddr>, UInt32) throws -> Void) throws {
    |                                                        `- error: cannot find type 'sockaddr' in scope
133 |         var addr = self._addr
134 |         try withUnsafePointer(to: &addr) {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:21:28: error: cannot find type 'termios' in scope
 19 | /// `Terminal` provides a clean interface to deal with terminal interactions on Unix platforms.
 20 | public struct Terminal: Sendable {
 21 |     private let initState: termios?
    |                            `- error: cannot find type 'termios' in scope
 22 |
 23 |     private var descriptor: Int32 {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:44:19: error: cannot find type 'winsize' in scope
 42 |     /// The winsize for a pty.
 43 |     public struct Size: Sendable {
 44 |         let size: winsize
    |                   `- error: cannot find type 'winsize' in scope
 45 |
 46 |         /// The width or `col` of the pty.
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:55:22: error: cannot find type 'winsize' in scope
 53 |         }
 54 |
 55 |         init(_ size: winsize) {
    |                      `- error: cannot find type 'winsize' in scope
 56 |             self.size = size
 57 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:167:56: error: cannot find type 'termios' in scope
165 |     }
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
    |                                                        `- error: cannot find type 'termios' in scope
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
[778/1791] Compiling ContainerizationOS Stat.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:33:29: error: cannot find 'errno' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                             `- error: cannot find 'errno' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:33:38: error: cannot find 'EINTR' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                                      `- error: cannot find 'EINTR' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:21:28: error: cannot find type 'termios' in scope
 19 | /// `Terminal` provides a clean interface to deal with terminal interactions on Unix platforms.
 20 | public struct Terminal: Sendable {
 21 |     private let initState: termios?
    |                            `- error: cannot find type 'termios' in scope
 22 |
 23 |     private var descriptor: Int32 {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:44:19: error: cannot find type 'winsize' in scope
 42 |     /// The winsize for a pty.
 43 |     public struct Size: Sendable {
 44 |         let size: winsize
    |                   `- error: cannot find type 'winsize' in scope
 45 |
 46 |         /// The width or `col` of the pty.
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:55:22: error: cannot find type 'winsize' in scope
 53 |         }
 54 |
 55 |         init(_ size: winsize) {
    |                      `- error: cannot find type 'winsize' in scope
 56 |             self.size = size
 57 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:167:56: error: cannot find type 'termios' in scope
165 |     }
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
    |                                                        `- error: cannot find type 'termios' in scope
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:61:25: error: cannot find 'winsize' in scope
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
    |                         `- error: cannot find 'winsize' in scope
 62 |         }
 63 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:23: error: cannot find 'STDERR_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                       `- error: cannot find 'STDERR_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:38: error: cannot find 'STDOUT_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                      `- error: cannot find 'STDOUT_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:53: error: cannot find 'STDIN_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                                     `- error: cannot find 'STDIN_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:80:22: error: cannot find 'winsize' in scope
 78 |     public var size: Size {
 79 |         get throws {
 80 |             var ws = winsize()
    |                      `- error: cannot find 'winsize' in scope
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:81:29: error: cannot find 'ioctl' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                             `- error: cannot find 'ioctl' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:81:52: error: cannot find 'TIOCGWINSZ' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                                                    `- error: cannot find 'TIOCGWINSZ' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:82:25: error: missing argument label 'width:' in call
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                         `- error: missing argument label 'width:' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:82:27: error: missing argument for parameter 'height' in call
 58 |
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
    |                `- note: 'init(width:height:)' declared here
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
 62 |         }
    :
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                           `- error: missing argument for parameter 'height' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:25: error: cannot find 'openpty' in scope
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                         `- error: cannot find 'openpty' in scope
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:50: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                  `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:55: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                       `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:122:25: error: cannot find 'ioctl' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
123 |     }
124 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:122:48: error: cannot find 'TIOCSWINSZ' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
123 |     }
124 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:129:25: error: cannot find 'ioctl' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
130 |     }
131 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:129:48: error: cannot find 'TIOCSWINSZ' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
130 |     }
131 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:137:25: error: cannot find 'ioctl' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
138 |     }
139 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:137:48: error: cannot find 'TIOCSWINSZ' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
138 |     }
139 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:145:9: error: cannot find 'cfmakeraw' in scope
143 |     public func setraw() throws {
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
    |         `- error: cannot find 'cfmakeraw' in scope
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:146:39: error: cannot find 'tcflag_t' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                       `- error: cannot find 'tcflag_t' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:146:48: error: cannot find 'OPOST' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                                `- error: cannot find 'OPOST' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:147:25: error: cannot find 'tcsetattr' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
148 |     }
149 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:147:47: error: cannot find 'TCSANOW' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
148 |     }
149 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:154:26: error: cannot find 'tcflag_t' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                          `- error: cannot find 'tcflag_t' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:154:35: error: cannot find 'ICRNL' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                                   `- error: cannot find 'ICRNL' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:26: error: cannot find 'tcflag_t' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:35: error: cannot find 'ICANON' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                   `- error: cannot find 'ICANON' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:44: error: cannot find 'ECHO' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                            `- error: cannot find 'ECHO' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:156:25: error: cannot find 'tcsetattr' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
157 |     }
158 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:156:47: error: cannot find 'TCSANOW' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
157 |     }
158 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:163:26: error: cannot find 'tcflag_t' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:163:35: error: cannot find 'ECHO' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                                   `- error: cannot find 'ECHO' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:164:25: error: cannot find 'tcsetattr' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
165 |     }
166 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:164:47: error: cannot find 'TCSANOW' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
165 |     }
166 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:168:20: error: cannot find 'termios' in scope
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
    |                    `- error: cannot find 'termios' in scope
169 |         try fromSyscall(tcgetattr(fd, &attr))
170 |         return attr
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:169:25: error: cannot find 'tcgetattr' in scope
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
    |                         `- error: cannot find 'tcgetattr' in scope
170 |         return attr
171 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:194:29: error: cannot find 'tcsetattr' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                             `- error: cannot find 'tcsetattr' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:194:51: error: cannot find 'TCSANOW' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                                   `- error: cannot find 'TCSANOW' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:207:42: error: cannot find 'errno' in scope
205 | private func fromSyscall(_ status: Int32) throws {
206 |     guard status == 0 else {
207 |         throw POSIXError(.init(rawValue: errno)!)
    |                                          `- error: cannot find 'errno' in scope
208 |     }
209 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[779/1791] Compiling ContainerizationOS Syscall.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:33:29: error: cannot find 'errno' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                             `- error: cannot find 'errno' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:33:38: error: cannot find 'EINTR' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                                      `- error: cannot find 'EINTR' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:21:28: error: cannot find type 'termios' in scope
 19 | /// `Terminal` provides a clean interface to deal with terminal interactions on Unix platforms.
 20 | public struct Terminal: Sendable {
 21 |     private let initState: termios?
    |                            `- error: cannot find type 'termios' in scope
 22 |
 23 |     private var descriptor: Int32 {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:44:19: error: cannot find type 'winsize' in scope
 42 |     /// The winsize for a pty.
 43 |     public struct Size: Sendable {
 44 |         let size: winsize
    |                   `- error: cannot find type 'winsize' in scope
 45 |
 46 |         /// The width or `col` of the pty.
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:55:22: error: cannot find type 'winsize' in scope
 53 |         }
 54 |
 55 |         init(_ size: winsize) {
    |                      `- error: cannot find type 'winsize' in scope
 56 |             self.size = size
 57 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:167:56: error: cannot find type 'termios' in scope
165 |     }
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
    |                                                        `- error: cannot find type 'termios' in scope
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:61:25: error: cannot find 'winsize' in scope
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
    |                         `- error: cannot find 'winsize' in scope
 62 |         }
 63 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:23: error: cannot find 'STDERR_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                       `- error: cannot find 'STDERR_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:38: error: cannot find 'STDOUT_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                      `- error: cannot find 'STDOUT_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:53: error: cannot find 'STDIN_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                                     `- error: cannot find 'STDIN_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:80:22: error: cannot find 'winsize' in scope
 78 |     public var size: Size {
 79 |         get throws {
 80 |             var ws = winsize()
    |                      `- error: cannot find 'winsize' in scope
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:81:29: error: cannot find 'ioctl' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                             `- error: cannot find 'ioctl' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:81:52: error: cannot find 'TIOCGWINSZ' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                                                    `- error: cannot find 'TIOCGWINSZ' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:82:25: error: missing argument label 'width:' in call
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                         `- error: missing argument label 'width:' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:82:27: error: missing argument for parameter 'height' in call
 58 |
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
    |                `- note: 'init(width:height:)' declared here
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
 62 |         }
    :
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                           `- error: missing argument for parameter 'height' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:25: error: cannot find 'openpty' in scope
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                         `- error: cannot find 'openpty' in scope
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:50: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                  `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:55: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                       `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:122:25: error: cannot find 'ioctl' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
123 |     }
124 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:122:48: error: cannot find 'TIOCSWINSZ' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
123 |     }
124 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:129:25: error: cannot find 'ioctl' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
130 |     }
131 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:129:48: error: cannot find 'TIOCSWINSZ' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
130 |     }
131 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:137:25: error: cannot find 'ioctl' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
138 |     }
139 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:137:48: error: cannot find 'TIOCSWINSZ' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
138 |     }
139 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:145:9: error: cannot find 'cfmakeraw' in scope
143 |     public func setraw() throws {
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
    |         `- error: cannot find 'cfmakeraw' in scope
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:146:39: error: cannot find 'tcflag_t' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                       `- error: cannot find 'tcflag_t' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:146:48: error: cannot find 'OPOST' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                                `- error: cannot find 'OPOST' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:147:25: error: cannot find 'tcsetattr' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
148 |     }
149 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:147:47: error: cannot find 'TCSANOW' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
148 |     }
149 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:154:26: error: cannot find 'tcflag_t' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                          `- error: cannot find 'tcflag_t' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:154:35: error: cannot find 'ICRNL' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                                   `- error: cannot find 'ICRNL' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:26: error: cannot find 'tcflag_t' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:35: error: cannot find 'ICANON' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                   `- error: cannot find 'ICANON' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:44: error: cannot find 'ECHO' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                            `- error: cannot find 'ECHO' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:156:25: error: cannot find 'tcsetattr' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
157 |     }
158 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:156:47: error: cannot find 'TCSANOW' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
157 |     }
158 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:163:26: error: cannot find 'tcflag_t' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:163:35: error: cannot find 'ECHO' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                                   `- error: cannot find 'ECHO' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:164:25: error: cannot find 'tcsetattr' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
165 |     }
166 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:164:47: error: cannot find 'TCSANOW' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
165 |     }
166 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:168:20: error: cannot find 'termios' in scope
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
    |                    `- error: cannot find 'termios' in scope
169 |         try fromSyscall(tcgetattr(fd, &attr))
170 |         return attr
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:169:25: error: cannot find 'tcgetattr' in scope
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
    |                         `- error: cannot find 'tcgetattr' in scope
170 |         return attr
171 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:194:29: error: cannot find 'tcsetattr' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                             `- error: cannot find 'tcsetattr' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:194:51: error: cannot find 'TCSANOW' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                                   `- error: cannot find 'TCSANOW' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:207:42: error: cannot find 'errno' in scope
205 | private func fromSyscall(_ status: Int32) throws {
206 |     guard status == 0 else {
207 |         throw POSIXError(.init(rawValue: errno)!)
    |                                          `- error: cannot find 'errno' in scope
208 |     }
209 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[780/1791] Compiling ContainerizationOS Sysctl.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:33:29: error: cannot find 'errno' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                             `- error: cannot find 'errno' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:33:38: error: cannot find 'EINTR' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                                      `- error: cannot find 'EINTR' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:21:28: error: cannot find type 'termios' in scope
 19 | /// `Terminal` provides a clean interface to deal with terminal interactions on Unix platforms.
 20 | public struct Terminal: Sendable {
 21 |     private let initState: termios?
    |                            `- error: cannot find type 'termios' in scope
 22 |
 23 |     private var descriptor: Int32 {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:44:19: error: cannot find type 'winsize' in scope
 42 |     /// The winsize for a pty.
 43 |     public struct Size: Sendable {
 44 |         let size: winsize
    |                   `- error: cannot find type 'winsize' in scope
 45 |
 46 |         /// The width or `col` of the pty.
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:55:22: error: cannot find type 'winsize' in scope
 53 |         }
 54 |
 55 |         init(_ size: winsize) {
    |                      `- error: cannot find type 'winsize' in scope
 56 |             self.size = size
 57 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:167:56: error: cannot find type 'termios' in scope
165 |     }
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
    |                                                        `- error: cannot find type 'termios' in scope
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:61:25: error: cannot find 'winsize' in scope
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
    |                         `- error: cannot find 'winsize' in scope
 62 |         }
 63 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:23: error: cannot find 'STDERR_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                       `- error: cannot find 'STDERR_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:38: error: cannot find 'STDOUT_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                      `- error: cannot find 'STDOUT_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:53: error: cannot find 'STDIN_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                                     `- error: cannot find 'STDIN_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:80:22: error: cannot find 'winsize' in scope
 78 |     public var size: Size {
 79 |         get throws {
 80 |             var ws = winsize()
    |                      `- error: cannot find 'winsize' in scope
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:81:29: error: cannot find 'ioctl' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                             `- error: cannot find 'ioctl' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:81:52: error: cannot find 'TIOCGWINSZ' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                                                    `- error: cannot find 'TIOCGWINSZ' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:82:25: error: missing argument label 'width:' in call
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                         `- error: missing argument label 'width:' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:82:27: error: missing argument for parameter 'height' in call
 58 |
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
    |                `- note: 'init(width:height:)' declared here
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
 62 |         }
    :
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                           `- error: missing argument for parameter 'height' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:25: error: cannot find 'openpty' in scope
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                         `- error: cannot find 'openpty' in scope
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:50: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                  `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:55: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                       `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:122:25: error: cannot find 'ioctl' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
123 |     }
124 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:122:48: error: cannot find 'TIOCSWINSZ' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
123 |     }
124 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:129:25: error: cannot find 'ioctl' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
130 |     }
131 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:129:48: error: cannot find 'TIOCSWINSZ' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
130 |     }
131 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:137:25: error: cannot find 'ioctl' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
138 |     }
139 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:137:48: error: cannot find 'TIOCSWINSZ' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
138 |     }
139 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:145:9: error: cannot find 'cfmakeraw' in scope
143 |     public func setraw() throws {
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
    |         `- error: cannot find 'cfmakeraw' in scope
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:146:39: error: cannot find 'tcflag_t' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                       `- error: cannot find 'tcflag_t' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:146:48: error: cannot find 'OPOST' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                                `- error: cannot find 'OPOST' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:147:25: error: cannot find 'tcsetattr' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
148 |     }
149 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:147:47: error: cannot find 'TCSANOW' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
148 |     }
149 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:154:26: error: cannot find 'tcflag_t' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                          `- error: cannot find 'tcflag_t' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:154:35: error: cannot find 'ICRNL' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                                   `- error: cannot find 'ICRNL' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:26: error: cannot find 'tcflag_t' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:35: error: cannot find 'ICANON' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                   `- error: cannot find 'ICANON' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:44: error: cannot find 'ECHO' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                            `- error: cannot find 'ECHO' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:156:25: error: cannot find 'tcsetattr' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
157 |     }
158 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:156:47: error: cannot find 'TCSANOW' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
157 |     }
158 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:163:26: error: cannot find 'tcflag_t' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:163:35: error: cannot find 'ECHO' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                                   `- error: cannot find 'ECHO' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:164:25: error: cannot find 'tcsetattr' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
165 |     }
166 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:164:47: error: cannot find 'TCSANOW' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
165 |     }
166 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:168:20: error: cannot find 'termios' in scope
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
    |                    `- error: cannot find 'termios' in scope
169 |         try fromSyscall(tcgetattr(fd, &attr))
170 |         return attr
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:169:25: error: cannot find 'tcgetattr' in scope
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
    |                         `- error: cannot find 'tcgetattr' in scope
170 |         return attr
171 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:194:29: error: cannot find 'tcsetattr' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                             `- error: cannot find 'tcsetattr' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:194:51: error: cannot find 'TCSANOW' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                                   `- error: cannot find 'TCSANOW' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:207:42: error: cannot find 'errno' in scope
205 | private func fromSyscall(_ status: Int32) throws {
206 |     guard status == 0 else {
207 |         throw POSIXError(.init(rawValue: errno)!)
    |                                          `- error: cannot find 'errno' in scope
208 |     }
209 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[781/1791] Compiling ContainerizationOS Terminal.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:33:29: error: cannot find 'errno' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                             `- error: cannot find 'errno' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:33:38: error: cannot find 'EINTR' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                                      `- error: cannot find 'EINTR' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:21:28: error: cannot find type 'termios' in scope
 19 | /// `Terminal` provides a clean interface to deal with terminal interactions on Unix platforms.
 20 | public struct Terminal: Sendable {
 21 |     private let initState: termios?
    |                            `- error: cannot find type 'termios' in scope
 22 |
 23 |     private var descriptor: Int32 {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:44:19: error: cannot find type 'winsize' in scope
 42 |     /// The winsize for a pty.
 43 |     public struct Size: Sendable {
 44 |         let size: winsize
    |                   `- error: cannot find type 'winsize' in scope
 45 |
 46 |         /// The width or `col` of the pty.
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:55:22: error: cannot find type 'winsize' in scope
 53 |         }
 54 |
 55 |         init(_ size: winsize) {
    |                      `- error: cannot find type 'winsize' in scope
 56 |             self.size = size
 57 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:167:56: error: cannot find type 'termios' in scope
165 |     }
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
    |                                                        `- error: cannot find type 'termios' in scope
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:61:25: error: cannot find 'winsize' in scope
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
    |                         `- error: cannot find 'winsize' in scope
 62 |         }
 63 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:23: error: cannot find 'STDERR_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                       `- error: cannot find 'STDERR_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:38: error: cannot find 'STDOUT_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                      `- error: cannot find 'STDOUT_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:68:53: error: cannot find 'STDIN_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                                     `- error: cannot find 'STDIN_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:80:22: error: cannot find 'winsize' in scope
 78 |     public var size: Size {
 79 |         get throws {
 80 |             var ws = winsize()
    |                      `- error: cannot find 'winsize' in scope
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:81:29: error: cannot find 'ioctl' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                             `- error: cannot find 'ioctl' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:81:52: error: cannot find 'TIOCGWINSZ' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                                                    `- error: cannot find 'TIOCGWINSZ' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:82:25: error: missing argument label 'width:' in call
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                         `- error: missing argument label 'width:' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:82:27: error: missing argument for parameter 'height' in call
 58 |
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
    |                `- note: 'init(width:height:)' declared here
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
 62 |         }
    :
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                           `- error: missing argument for parameter 'height' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:25: error: cannot find 'openpty' in scope
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                         `- error: cannot find 'openpty' in scope
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:50: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                  `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:94:55: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                       `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:122:25: error: cannot find 'ioctl' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
123 |     }
124 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:122:48: error: cannot find 'TIOCSWINSZ' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
123 |     }
124 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:129:25: error: cannot find 'ioctl' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
130 |     }
131 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:129:48: error: cannot find 'TIOCSWINSZ' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
130 |     }
131 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:137:25: error: cannot find 'ioctl' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
138 |     }
139 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:137:48: error: cannot find 'TIOCSWINSZ' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
138 |     }
139 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:145:9: error: cannot find 'cfmakeraw' in scope
143 |     public func setraw() throws {
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
    |         `- error: cannot find 'cfmakeraw' in scope
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:146:39: error: cannot find 'tcflag_t' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                       `- error: cannot find 'tcflag_t' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:146:48: error: cannot find 'OPOST' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                                `- error: cannot find 'OPOST' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:147:25: error: cannot find 'tcsetattr' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
148 |     }
149 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:147:47: error: cannot find 'TCSANOW' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
148 |     }
149 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:154:26: error: cannot find 'tcflag_t' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                          `- error: cannot find 'tcflag_t' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:154:35: error: cannot find 'ICRNL' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                                   `- error: cannot find 'ICRNL' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:26: error: cannot find 'tcflag_t' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:35: error: cannot find 'ICANON' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                   `- error: cannot find 'ICANON' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:155:44: error: cannot find 'ECHO' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                            `- error: cannot find 'ECHO' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:156:25: error: cannot find 'tcsetattr' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
157 |     }
158 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:156:47: error: cannot find 'TCSANOW' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
157 |     }
158 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:163:26: error: cannot find 'tcflag_t' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:163:35: error: cannot find 'ECHO' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                                   `- error: cannot find 'ECHO' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:164:25: error: cannot find 'tcsetattr' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
165 |     }
166 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:164:47: error: cannot find 'TCSANOW' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
165 |     }
166 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:168:20: error: cannot find 'termios' in scope
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
    |                    `- error: cannot find 'termios' in scope
169 |         try fromSyscall(tcgetattr(fd, &attr))
170 |         return attr
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:169:25: error: cannot find 'tcgetattr' in scope
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
    |                         `- error: cannot find 'tcgetattr' in scope
170 |         return attr
171 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:194:29: error: cannot find 'tcsetattr' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                             `- error: cannot find 'tcsetattr' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:194:51: error: cannot find 'TCSANOW' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                                   `- error: cannot find 'TCSANOW' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Terminal.swift:207:42: error: cannot find 'errno' in scope
205 | private func fromSyscall(_ status: Int32) throws {
206 |     guard status == 0 else {
207 |         throw POSIXError(.init(rawValue: errno)!)
    |                                          `- error: cannot find 'errno' in scope
208 |     }
209 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[782/1791] Compiling ContainerizationOS RegistryInfo.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
[783/1791] Compiling ContainerizationOS Binfmt.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
[784/1791] Compiling ContainerizationOS Capabilities.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
[785/1791] Compiling ContainerizationOS Epoll.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
[786/1791] Compiling ContainerizationOS ProcNetSnmp.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/POSIXError+Helpers.swift:33:29: error: cannot find 'POSIXErrorCode' in scope
31 | extension POSIXError {
32 |     public static func fromErrno() -> POSIXError {
33 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                             `- error: cannot find 'POSIXErrorCode' in scope
34 |             fatalError("failed to convert errno to POSIXErrorCode")
35 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/POSIXError+Helpers.swift:33:54: error: cannot find 'errno' in scope
31 | extension POSIXError {
32 |     public static func fromErrno() -> POSIXError {
33 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                                                      `- error: cannot find 'errno' in scope
34 |             fatalError("failed to convert errno to POSIXErrorCode")
35 |         }
[787/1791] Compiling ContainerizationOS Mount.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/POSIXError+Helpers.swift:33:29: error: cannot find 'POSIXErrorCode' in scope
31 | extension POSIXError {
32 |     public static func fromErrno() -> POSIXError {
33 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                             `- error: cannot find 'POSIXErrorCode' in scope
34 |             fatalError("failed to convert errno to POSIXErrorCode")
35 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/POSIXError+Helpers.swift:33:54: error: cannot find 'errno' in scope
31 | extension POSIXError {
32 |     public static func fromErrno() -> POSIXError {
33 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                                                      `- error: cannot find 'errno' in scope
34 |             fatalError("failed to convert errno to POSIXErrorCode")
35 |         }
[788/1791] Compiling ContainerizationOS POSIXError+Helpers.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/POSIXError+Helpers.swift:33:29: error: cannot find 'POSIXErrorCode' in scope
31 | extension POSIXError {
32 |     public static func fromErrno() -> POSIXError {
33 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                             `- error: cannot find 'POSIXErrorCode' in scope
34 |             fatalError("failed to convert errno to POSIXErrorCode")
35 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/POSIXError+Helpers.swift:33:54: error: cannot find 'errno' in scope
31 | extension POSIXError {
32 |     public static func fromErrno() -> POSIXError {
33 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                                                      `- error: cannot find 'errno' in scope
34 |             fatalError("failed to convert errno to POSIXErrorCode")
35 |         }
[789/1791] Compiling ContainerizationOS Path.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/POSIXError+Helpers.swift:33:29: error: cannot find 'POSIXErrorCode' in scope
31 | extension POSIXError {
32 |     public static func fromErrno() -> POSIXError {
33 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                             `- error: cannot find 'POSIXErrorCode' in scope
34 |             fatalError("failed to convert errno to POSIXErrorCode")
35 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/POSIXError+Helpers.swift:33:54: error: cannot find 'errno' in scope
31 | extension POSIXError {
32 |     public static func fromErrno() -> POSIXError {
33 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                                                      `- error: cannot find 'errno' in scope
34 |             fatalError("failed to convert errno to POSIXErrorCode")
35 |         }
[790/1791] Emitting module Yams
[791/1793] Compiling ContainerizationOS URL+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:61:18: error: cannot find 'stat' in scope
59 |
60 |     public var isDirectory: Bool {
61 |         var st = stat()
   |                  `- error: cannot find 'stat' in scope
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:62:15: error: cannot find 'stat' in scope
60 |     public var isDirectory: Bool {
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
   |               `- error: cannot find 'stat' in scope
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
64 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:63:30: error: cannot find 'S_IFMT' in scope
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
   |                              `- error: cannot find 'S_IFMT' in scope
64 |     }
65 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:63:41: error: cannot find 'S_IFDIR' in scope
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
   |                                         `- error: cannot find 'S_IFDIR' in scope
64 |     }
65 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:67:18: error: cannot find 'stat' in scope
65 |
66 |     public var isSymlink: Bool {
67 |         var st = stat()
   |                  `- error: cannot find 'stat' in scope
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:68:15: error: cannot find 'lstat' in scope
66 |     public var isSymlink: Bool {
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
   |               `- error: cannot find 'lstat' in scope
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
70 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:69:30: error: cannot find 'S_IFMT' in scope
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
   |                              `- error: cannot find 'S_IFMT' in scope
70 |     }
71 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:69:41: error: cannot find 'S_IFLNK' in scope
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
   |                                         `- error: cannot find 'S_IFLNK' in scope
70 |     }
71 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/VolumeSubpath.swift:65:83: error: cannot find 'strerror' in scope
 63 |                 return "a subpath needs a non-recursive bind mount"
 64 |             case .resolve(let subpath, let code):
 65 |                 return "subpath '\(subpath)': cannot be opened: \(String(cString: strerror(code)))"
    |                                                                                   `- error: cannot find 'strerror' in scope
 66 |             }
 67 |         }
[792/1793] Compiling ContainerizationOS User.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:61:18: error: cannot find 'stat' in scope
59 |
60 |     public var isDirectory: Bool {
61 |         var st = stat()
   |                  `- error: cannot find 'stat' in scope
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:62:15: error: cannot find 'stat' in scope
60 |     public var isDirectory: Bool {
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
   |               `- error: cannot find 'stat' in scope
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
64 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:63:30: error: cannot find 'S_IFMT' in scope
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
   |                              `- error: cannot find 'S_IFMT' in scope
64 |     }
65 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:63:41: error: cannot find 'S_IFDIR' in scope
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
   |                                         `- error: cannot find 'S_IFDIR' in scope
64 |     }
65 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:67:18: error: cannot find 'stat' in scope
65 |
66 |     public var isSymlink: Bool {
67 |         var st = stat()
   |                  `- error: cannot find 'stat' in scope
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:68:15: error: cannot find 'lstat' in scope
66 |     public var isSymlink: Bool {
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
   |               `- error: cannot find 'lstat' in scope
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
70 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:69:30: error: cannot find 'S_IFMT' in scope
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
   |                              `- error: cannot find 'S_IFMT' in scope
70 |     }
71 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:69:41: error: cannot find 'S_IFLNK' in scope
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
   |                                         `- error: cannot find 'S_IFLNK' in scope
70 |     }
71 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/VolumeSubpath.swift:65:83: error: cannot find 'strerror' in scope
 63 |                 return "a subpath needs a non-recursive bind mount"
 64 |             case .resolve(let subpath, let code):
 65 |                 return "subpath '\(subpath)': cannot be opened: \(String(cString: strerror(code)))"
    |                                                                                   `- error: cannot find 'strerror' in scope
 66 |             }
 67 |         }
[793/1793] Compiling ContainerizationOS VolumeSubpath.swift
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:61:18: error: cannot find 'stat' in scope
59 |
60 |     public var isDirectory: Bool {
61 |         var st = stat()
   |                  `- error: cannot find 'stat' in scope
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:62:15: error: cannot find 'stat' in scope
60 |     public var isDirectory: Bool {
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
   |               `- error: cannot find 'stat' in scope
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
64 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:63:30: error: cannot find 'S_IFMT' in scope
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
   |                              `- error: cannot find 'S_IFMT' in scope
64 |     }
65 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:63:41: error: cannot find 'S_IFDIR' in scope
61 |         var st = stat()
62 |         guard stat(self.path, &st) == 0 else { return false }
63 |         return (st.st_mode & S_IFMT) == S_IFDIR
   |                                         `- error: cannot find 'S_IFDIR' in scope
64 |     }
65 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:67:18: error: cannot find 'stat' in scope
65 |
66 |     public var isSymlink: Bool {
67 |         var st = stat()
   |                  `- error: cannot find 'stat' in scope
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:68:15: error: cannot find 'lstat' in scope
66 |     public var isSymlink: Bool {
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
   |               `- error: cannot find 'lstat' in scope
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
70 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:69:30: error: cannot find 'S_IFMT' in scope
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
   |                              `- error: cannot find 'S_IFMT' in scope
70 |     }
71 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/URL+Extensions.swift:69:41: error: cannot find 'S_IFLNK' in scope
67 |         var st = stat()
68 |         guard lstat(self.path, &st) == 0 else { return false }
69 |         return (st.st_mode & S_IFMT) == S_IFLNK
   |                                         `- error: cannot find 'S_IFLNK' in scope
70 |     }
71 | }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/VolumeSubpath.swift:65:83: error: cannot find 'strerror' in scope
 63 |                 return "a subpath needs a non-recursive bind mount"
 64 |             case .resolve(let subpath, let code):
 65 |                 return "subpath '\(subpath)': cannot be opened: \(String(cString: strerror(code)))"
    |                                                                                   `- error: cannot find 'strerror' in scope
 66 |             }
 67 |         }
[794/1793] Compiling ContainerizationOS KeychainQuery.swift
[795/1793] Compiling ContainerizationOS AsyncSignalHandler.swift
[796/1793] Compiling ContainerizationOS BinaryInteger+Extensions.swift
[796/1793] Compiling tls_record.cc
[797/1793] Compiling tls_method.cc
[798/1793] Compiling CTomlPlusPlus ctoml.cpp
[800/1797] Compiling ContainerizationOS FileDescriptorOps+Composite.swift
[801/1797] Compiling ContainerizationOS FileDescriptorOps.swift
[802/1797] Compiling ContainerizationOS FilePathOps.swift
[803/1802] Compiling GRPCCore Metadata+GRPC.swift
[804/1802] Compiling GRPCCore MethodConfigs.swift
[805/1802] Compiling GRPCCore Result+Catching.swift
[806/1802] Compiling GRPCCore String+Extensions.swift
[807/1802] Compiling GRPCCore TaskGroup+CancellableTask.swift
[808/1802] Compiling GRPCCore Metadata.swift
[809/1802] Compiling GRPCCore MethodDescriptor.swift
[810/1802] Compiling GRPCCore RPCError.swift
[811/1802] Compiling ContainerizationOS Command.swift
[812/1802] Compiling ContainerizationOS File.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[814/1852] Emitting module ContainerLog
/host/spi-builder-workspace/Sources/ContainerLog/OSLogHandler.swift:19:8: error: no such module 'os'
17 | import Foundation
18 | import Logging
19 | import os
   |        `- error: no such module 'os'
20 |
21 | import struct Logging.Logger
[815/1852] Compiling Configuration MultiProvider.swift
[816/1852] Compiling Configuration CLIArgumentParser.swift
[817/1852] Emitting module GRPCCore
[817/1852] Compiling tls13_server.cc
[819/1852] Compiling ContainerLog ServiceLogger.swift
/host/spi-builder-workspace/Sources/ContainerLog/OSLogHandler.swift:19:8: error: no such module 'os'
17 | import Foundation
18 | import Logging
19 | import os
   |        `- error: no such module 'os'
20 |
21 | import struct Logging.Logger
[820/1852] Compiling ContainerLog StderrLogHandler.swift
/host/spi-builder-workspace/Sources/ContainerLog/OSLogHandler.swift:19:8: error: no such module 'os'
17 | import Foundation
18 | import Logging
19 | import os
   |        `- error: no such module 'os'
20 |
21 | import struct Logging.Logger
[821/1852] Compiling ContainerVersion Bundle+AppBundle.swift
/host/spi-builder-workspace/Sources/ContainerVersion/Bundle+AppBundle.swift:17:8: error: no such module 'Darwin'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Darwin
   |        `- error: no such module 'Darwin'
18 | import Foundation
19 | import SystemPackage
error: emit-module command failed with exit code 1 (use -v to see invocation)
[822/1852] Emitting module ContainerVersion
/host/spi-builder-workspace/Sources/ContainerVersion/Bundle+AppBundle.swift:17:8: error: no such module 'Darwin'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Darwin
   |        `- error: no such module 'Darwin'
18 | import Foundation
19 | import SystemPackage
[823/1852] Compiling ContainerLog OSLogHandler.swift
/host/spi-builder-workspace/Sources/ContainerLog/OSLogHandler.swift:19:8: error: no such module 'os'
17 | import Foundation
18 | import Logging
19 | import os
   |        `- error: no such module 'os'
20 |
21 | import struct Logging.Logger
[824/1858] Compiling ContainerLog FileLogHandler.swift
/host/spi-builder-workspace/Sources/ContainerLog/OSLogHandler.swift:19:8: error: no such module 'os'
17 | import Foundation
18 | import Logging
19 | import os
   |        `- error: no such module 'os'
20 |
21 | import struct Logging.Logger
[825/1858] Compiling ContainerVersion ReleaseVersion.swift
/host/spi-builder-workspace/Sources/ContainerVersion/Bundle+AppBundle.swift:17:8: error: no such module 'Darwin'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Darwin
   |        `- error: no such module 'Darwin'
18 | import Foundation
19 | import SystemPackage
[826/1858] Compiling ContainerVersion CommandLine+Executable.swift
/host/spi-builder-workspace/Sources/ContainerVersion/Bundle+AppBundle.swift:17:8: error: no such module 'Darwin'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Darwin
   |        `- error: no such module 'Darwin'
18 | import Foundation
19 | import SystemPackage
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no exact matches in reference to global function 'ioctl'
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no exact matches in reference to global function 'ioctl'
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:90:86: error: cannot find 'errno' in scope
 88 |         let sockFD = sysSocket(type.domain, type.type, 0)
 89 |         if sockFD < 0 {
 90 |             throw SocketError.withErrno("failed to create socket: \(sockFD)", errno: errno)
    |                                                                                      `- error: cannot find 'errno' in scope
 91 |         }
 92 |         self.init(fd: sockFD, type: type, closeOnDeinit: closeOnDeinit)
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:130:55: error: cannot find 'errno' in scope
128 | extension Socket {
129 |     static func errnoToError(msg: String) -> SocketError {
130 |         SocketError.withErrno("\(msg) (\(_errnoString(errno)))", errno: errno)
    |                                                       `- error: cannot find 'errno' in scope
131 |     }
132 |
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:130:73: error: cannot find 'errno' in scope
128 | extension Socket {
129 |     static func errnoToError(msg: String) -> SocketError {
130 |         SocketError.withErrno("\(msg) (\(_errnoString(errno)))", errno: errno)
    |                                                                         `- error: cannot find 'errno' in scope
131 |     }
132 |
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:466:44: error: cannot find 'errno' in scope
464 |
465 |     static func _errnoString(_ err: Int32?) -> String {
466 |         String(validatingCString: strerror(errno)) ?? "error: \(errno)"
    |                                            `- error: cannot find 'errno' in scope
467 |     }
468 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/Socket.swift:466:65: error: cannot find 'errno' in scope
464 |
465 |     static func _errnoString(_ err: Int32?) -> String {
466 |         String(validatingCString: strerror(errno)) ?? "error: \(errno)"
    |                                                                 `- error: cannot find 'errno' in scope
467 |     }
468 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:39:23: error: cannot find type 'mode_t' in scope
 37 |
 38 |     public let path: String
 39 |     public let perms: mode_t?
    |                       `- error: cannot find type 'mode_t' in scope
 40 |     private let _addr: sockaddr_un
 41 |     private let _unlinkExisting: Bool
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:40:24: error: cannot find type 'sockaddr_un' in scope
 38 |     public let path: String
 39 |     public let perms: mode_t?
 40 |     private let _addr: sockaddr_un
    |                        `- error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:43:28: error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
 43 |     private init(sockaddr: sockaddr_un) {
    |                            `- error: cannot find type 'sockaddr_un' in scope
 44 |         let pathname: String = withUnsafePointer(to: sockaddr.sun_path) { ptr in
 45 |             let charPtr = UnsafeRawPointer(ptr).assumingMemoryBound(to: CChar.self)
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:57:16: error: cannot find type 'mode_t' in scope
 55 |     public init(
 56 |         path: String,
 57 |         perms: mode_t? = nil,
    |                `- error: cannot find type 'mode_t' in scope
 58 |         unlinkExisting: Bool = false
 59 |     ) throws {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:132:56: error: cannot find type 'sockaddr' in scope
130 |     }
131 |
132 |     public func withSockAddr(_ closure: (UnsafePointer<sockaddr>, UInt32) throws -> Void) throws {
    |                                                        `- error: cannot find type 'sockaddr' in scope
133 |         var addr = self._addr
134 |         try withUnsafePointer(to: &addr) {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:32:32: error: cannot find 'AF_UNIX' in scope
 30 | /// Unix domain socket variant of `SocketType`.
 31 | public struct UnixType: SocketType, Sendable, CustomStringConvertible {
 32 |     public var domain: Int32 { AF_UNIX }
    |                                `- error: cannot find 'AF_UNIX' in scope
 33 |     public var type: Int32 { _SOCK_STREAM }
 34 |     public var description: String {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:33:30: error: cannot find '_SOCK_STREAM' in scope
 31 | public struct UnixType: SocketType, Sendable, CustomStringConvertible {
 32 |     public var domain: Int32 { AF_UNIX }
 33 |     public var type: Int32 { _SOCK_STREAM }
    |                              `- error: cannot find '_SOCK_STREAM' in scope
 34 |     public var description: String {
 35 |         path
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:63:20: error: cannot find 'sockaddr_un' in scope
 61 |         self.perms = perms
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
    |                    `- error: cannot find 'sockaddr_un' in scope
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
 65 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:64:27: error: cannot find 'sa_family_t' in scope
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
    |                           `- error: cannot find 'sa_family_t' in scope
 65 |
 66 |         let socketName = path
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:64:39: error: cannot find 'AF_UNIX' in scope
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
    |                                       `- error: cannot find 'AF_UNIX' in scope
 65 |
 66 |         let socketName = path
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:75:38: error: cannot find 'strncpy' in scope
 73 |
 74 |         _ = withUnsafeMutablePointer(to: &addr.sun_path.0) { ptr in
 75 |             socketName.withCString { strncpy(ptr, $0, nameLength) }
    |                                      `- error: cannot find 'strncpy' in scope
 76 |         }
 77 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:86:20: error: cannot find 'sockaddr_un' in scope
 84 |     public func accept(fd: Int32) throws -> (Int32, SocketType) {
 85 |         var clientFD: Int32 = -1
 86 |         var addr = sockaddr_un()
    |                    `- error: cannot find 'sockaddr_un' in scope
 87 |
 88 |         clientFD = Syscall.retrying {
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:89:24: error: cannot find 'socklen_t' in scope
 87 |
 88 |         clientFD = Syscall.retrying {
 89 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
    |                        `- error: cannot find 'socklen_t' in scope
 90 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 91 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:89:47: error: cannot find type 'sockaddr_un' in scope
 87 |
 88 |         clientFD = Syscall.retrying {
 89 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
    |                                               `- error: cannot find type 'sockaddr_un' in scope
 90 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 91 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:91:47: error: cannot find 'sockaddr' in scope
 89 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
 90 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 91 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
    |                                               `- error: cannot find 'sockaddr' in scope
 92 |                     sysAccept(fd, pointer, &size)
 93 |                 }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:116:27: error: cannot find 'errno' in scope
114 |         if self._unlinkExisting {
115 |             rc = sysUnlink(self.path)
116 |             if rc != 0 && errno != ENOENT {
    |                           `- error: cannot find 'errno' in scope
117 |                 throw Socket.errnoToError(msg: "failed to remove old socket at \(self.path)")
118 |             }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:116:36: error: cannot find 'ENOENT' in scope
114 |         if self._unlinkExisting {
115 |             rc = sysUnlink(self.path)
116 |             if rc != 0 && errno != ENOENT {
    |                                    `- error: cannot find 'ENOENT' in scope
117 |                 throw Socket.errnoToError(msg: "failed to remove old socket at \(self.path)")
118 |             }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:135:74: error: cannot find 'sockaddr' in scope
133 |         var addr = self._addr
134 |         try withUnsafePointer(to: &addr) {
135 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
    |                                                                          `- error: cannot find 'sockaddr' in scope
136 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
137 |         }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:136:56: error: cannot find type 'sockaddr_un' in scope
134 |         try withUnsafePointer(to: &addr) {
135 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
136 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
    |                                                        `- error: cannot find type 'sockaddr_un' in scope
137 |         }
138 |     }
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/UnixType.swift:135:50: error: generic parameter 'T' could not be inferred
133 |         var addr = self._addr
134 |         try withUnsafePointer(to: &addr) {
135 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
    |                                                  `- error: generic parameter 'T' could not be inferred
136 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
137 |         }
Swift.UnsafeRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafePointer<T> where T : ~Copyable}
  |             `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:32:30: error: cannot find '_SOCK_STREAM' in scope
 30 | public struct VsockType: SocketType, Sendable {
 31 |     public var domain: Int32 { AF_VSOCK }
 32 |     public var type: Int32 { _SOCK_STREAM }
    |                              `- error: cannot find '_SOCK_STREAM' in scope
 33 |     public var description: String {
 34 |         "\(cid):\(port)"
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/ContainerizationOS/Socket/VsockType.swift:94:32: error: cannot find 'errno' in scope
 92 |                 }
 93 |             }
 94 |             if clientFD < 0 && errno != EINTR {
    |                                `- error: cannot find 'errno' in scope
 95 |                 throw Socket.errnoToError(msg: "accept failed")
 96 |             }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
BUILD FAILURE 6.3 android