Build Information
Failed to build containerization, reference 0.7.1 (5fbae0
), with Swift 6.2 (beta) for Linux on 12 Sep 2025 21:39:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/containerization.git
Reference: 0.7.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/apple/containerization
* tag 0.7.1 -> FETCH_HEAD
HEAD is now at 5fbae0e feat: add proxy utility (#288)
Cloned https://github.com/apple/containerization.git
Revision (git rev-parse @):
5fbae0e5906d4970316ea889edfccfe4b91d58bd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/containerization.git at 0.7.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/containerization.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-system.git
[1/2094] Fetching swift-docc-plugin
[253/7031] Fetching swift-docc-plugin, swift-system
[5477/58328] Fetching swift-docc-plugin, swift-system, grpc-swift
[8058/72587] Fetching swift-docc-plugin, swift-system, grpc-swift, async-http-client
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
[17719/67650] Fetching swift-docc-plugin, grpc-swift, async-http-client
Fetching https://github.com/apple/swift-crypto.git
[18290/145730] Fetching swift-docc-plugin, grpc-swift, async-http-client, swift-nio
[35961/162640] Fetching swift-docc-plugin, grpc-swift, async-http-client, swift-nio, swift-crypto
[61284/202818] Fetching swift-docc-plugin, grpc-swift, async-http-client, swift-nio, swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git from cache (3.28s)
Fetching https://github.com/apple/swift-collections.git
[179882/185908] Fetching swift-docc-plugin, grpc-swift, async-http-client, swift-nio, swift-protobuf
[184704/203368] Fetching swift-docc-plugin, grpc-swift, async-http-client, swift-nio, swift-protobuf, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.90s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15957] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.36s)
Fetching https://github.com/apple/swift-log.git
[1/3903] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.17s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (13.09s)
Fetched https://github.com/swift-server/async-http-client.git from cache (13.12s)
Fetched https://github.com/grpc/grpc-swift.git from cache (13.16s)
Fetched https://github.com/apple/swift-protobuf.git from cache (13.25s)
Fetched https://github.com/apple/swift-nio.git from cache (13.30s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (18.51s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2718] Fetching swift-nio-transport-services
[409/4532] Fetching swift-nio-transport-services, swift-atomics
[2340/16193] Fetching swift-nio-transport-services, swift-atomics, swift-nio-http2
[2711/22320] Fetching swift-nio-transport-services, swift-atomics, swift-nio-http2, swift-nio-extras
[2852/37395] Fetching swift-nio-transport-services, swift-atomics, swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.42s)
[26085/34677] Fetching swift-atomics, swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.61s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.62s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.65s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.19s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.54s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (1.49s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.09s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.94s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.59s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.91s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2470] Fetching swift-service-lifecycle
[76/3646] Fetching swift-service-lifecycle, swift-http-structured-headers
[1142/5275] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-asn1
[2509/11858] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-asn1, swift-certificates
[4520/17843] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-asn1, swift-certificates, swift-algorithms
[7531/23234] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-asn1, swift-certificates, swift-algorithms, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.55s)
[16310/20764] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-algorithms, swift-async-algorithms
Fetching https://github.com/apple/swift-http-types.git
[18704/19135] Fetching swift-http-structured-headers, swift-certificates, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.61s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.86s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.86s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.87s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.88s)
[1/923] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.42s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.57s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.54s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.43s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.64s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.69s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.59s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.72s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.88s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.51s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.47s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.70s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.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.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
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.29.0
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.28.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.6.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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.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.34.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.38.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.4.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.1
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.25.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.0
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.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[4125/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.26s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GRPCSwiftPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/896] Write sources
[22/896] Copying PrivacyInfo.xcprivacy
[23/896] Write sources
[49/896] Compiling _NumericsShims _NumericsShims.c
[50/896] Compiling CNIOWindows shim.c
[51/896] Compiling _AtomicsShims.c
[52/896] Compiling CNIOWindows WSAStartup.c
[53/896] Compiling CArchive archive_swift_bridge.c
[54/896] Compiling CNIOWASI CNIOWASI.c
[55/896] Compiling CNIOPosix event_loop_id.c
[56/896] Compiling CShim vsock.c
[57/896] Write swift-version-24593BA9C3E375BF.txt
[58/896] Compiling CSystem shims.c
[58/896] Compiling CNIOLinux liburing_shims.c
[60/896] Compiling CShim exec_command.c
[61/896] Compiling CNIOExtrasZlib empty.c
[62/896] Compiling CNIOLLHTTP c_nio_http.c
[63/896] Compiling CNIOLinux shim.c
[64/949] Compiling CNIOLLHTTP c_nio_api.c
[65/1048] Compiling CNIOLLHTTP c_nio_llhttp.c
[67/1050] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[68/1051] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[69/1051] Compiling InternalCollectionsUtilities Integer rank.swift
[70/1052] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[71/1052] Compiling InternalCollectionsUtilities UInt+reversed.swift
[72/1052] Compiling RealModule RelaxedArithmetic.swift
[73/1052] Emitting module SystemPackage
[74/1052] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[75/1052] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[81/1052] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[82/1052] Compiling InternalCollectionsUtilities _SortedCollection.swift
[83/1052] Compiling InternalCollectionsUtilities Descriptions.swift
[84/1052] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[85/1052] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[86/1052] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[90/1052] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[91/1052] Compiling InternalCollectionsUtilities Debugging.swift
[94/1056] Emitting module ContainerizationError
[95/1056] Compiling ContainerizationError ContainerizationError.swift
[96/1057] Compiling RealModule RealFunctions.swift
[100/1057] Emitting module InternalCollectionsUtilities
[103/1057] Emitting module _NIOBase64
[104/1057] Compiling _NIOBase64 Base64.swift
[105/1058] Compiling RealModule Float80+Real.swift
[106/1058] Compiling RealModule Real.swift
[106/1058] Compiling CNIODarwin shim.c
[108/1058] Compiling RealModule Float16+Real.swift
[109/1058] Emitting module RealModule
[115/1059] Wrapping AST for ContainerizationError for debugging
[116/1059] Wrapping AST for _NIOBase64 for debugging
[117/1059] Wrapping AST for RealModule for debugging
[118/1059] Compiling fiat_p256_adx_sqr.S
[120/1059] Compiling _NIODataStructures PriorityQueue.swift
[121/1059] Compiling _NIODataStructures _TinyArray.swift
[121/1059] Compiling fiat_p256_adx_mul.S
[122/1059] Compiling fiat_curve25519_adx_square.S
[124/1059] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[124/1060] Compiling fiat_curve25519_adx_mul.S
[126/1128] Compiling CNIOBoringSSLShims shims.c
[128/1183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[129/1183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[130/1183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[131/1183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[132/1183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[133/1183] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[134/1183] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[135/1190] Compiling Logging Locks.swift
[136/1190] Compiling Logging MetadataProvider.swift
[137/1190] Compiling _NIODataStructures Heap.swift
[138/1190] Emitting module _NIODataStructures
[140/1191] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[141/1191] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[142/1191] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[143/1191] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[144/1191] Compiling OrderedCollections _HashTable.swift
[145/1191] Compiling OrderedCollections _Hashtable+Header.swift
[146/1191] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[147/1191] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[148/1191] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[149/1191] Compiling OrderedCollections OrderedDictionary+Values.swift
[150/1191] Compiling OrderedCollections OrderedDictionary.swift
[151/1191] Compiling OrderedCollections OrderedSet+Codable.swift
[152/1191] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[153/1191] Compiling OrderedCollections OrderedSet+Descriptions.swift
[154/1191] Compiling OrderedCollections OrderedSet+Diffing.swift
[155/1191] Compiling OrderedCollections OrderedSet+Equatable.swift
[156/1198] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[157/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[158/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[159/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[160/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[161/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[162/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[163/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[164/1198] Compiling HeapModule Heap+Descriptions.swift
[165/1198] Compiling HeapModule _HeapNode.swift
[166/1198] Compiling HeapModule Heap.swift
[167/1198] Compiling OrderedCollections OrderedSet+Initializers.swift
[168/1198] Compiling OrderedCollections OrderedSet+Insertions.swift
[169/1198] Compiling OrderedCollections OrderedSet+Invariants.swift
[170/1198] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[171/1198] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[172/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[173/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[174/1198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[175/1198] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[176/1198] Compiling OrderedCollections OrderedSet+Hashable.swift
[179/1198] Compiling HeapModule Heap+Invariants.swift
[180/1198] Compiling HeapModule Heap+UnsafeHandle.swift
[190/1199] Emitting module HeapModule
[192/1200] Compiling Logging LogHandler.swift
[193/1200] Emitting module Logging
[194/1200] Compiling Logging Logging.swift
[204/1240] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[205/1240] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[206/1240] Compiling HashTreeCollections _HashNode+Storage.swift
[207/1240] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[208/1240] Compiling HashTreeCollections _HashNode+Structural filter.swift
[209/1240] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[210/1240] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[211/1240] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[212/1313] Compiling ContainerizationOS Command.swift
[213/1313] Compiling ContainerizationOS File.swift
[214/1315] Compiling ContainerizationOS Pipe+Close.swift
[215/1315] Compiling ContainerizationOS Reaper.swift
[216/1315] Compiling HashTreeCollections TreeDictionary.swift
[217/1315] Compiling HashTreeCollections TreeSet+Codable.swift
[218/1315] Compiling HashTreeCollections TreeSet+Collection.swift
[219/1315] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[220/1315] Compiling HashTreeCollections TreeSet+Debugging.swift
[221/1315] Compiling HashTreeCollections TreeSet+Descriptions.swift
[222/1315] Compiling HashTreeCollections TreeSet+Equatable.swift
[226/1315] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[227/1315] Compiling HashTreeCollections TreeSet+Extras.swift
[228/1315] Compiling HashTreeCollections TreeSet+Filter.swift
[229/1315] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[230/1315] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[231/1315] Compiling HashTreeCollections TreeDictionary+Filter.swift
[232/1324] Compiling ContainerizationOS POSIXError+Helpers.swift
[233/1324] Compiling ContainerizationOS Path.swift
[236/1324] Compiling ContainerizationOS Sysctl.swift
[237/1324] Compiling ContainerizationOS Terminal.swift
[238/1324] Compiling DequeModule _DequeSlot.swift
[239/1324] Compiling DequeModule _UnsafeWrappedBuffer.swift
[240/1324] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[241/1324] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[242/1324] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[243/1324] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[244/1324] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[248/1324] Compiling tls_record.cc
[250/1324] Compiling ContainerizationOS KeychainQuery.swift
[251/1324] Compiling ContainerizationOS Binfmt.swift
[251/1324] Compiling tls_method.cc
[252/1324] Wrapping AST for _NIODataStructures for debugging
[253/1324] Wrapping AST for SystemPackage for debugging
[261/1324] Compiling ContainerizationOS SocketType.swift
[262/1324] Compiling ContainerizationOS UnixType.swift
[263/1324] Compiling ContainerizationOS VsockType.swift
[264/1324] Compiling ContainerizationOS Syscall.swift
[265/1324] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[266/1324] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[267/1324] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[268/1324] Compiling HashTreeCollections _AncestorHashSlots.swift
[269/1324] Compiling HashTreeCollections _Bitmap.swift
[270/1324] Compiling HashTreeCollections _Bucket.swift
[271/1324] Compiling HashTreeCollections _Hash.swift
[272/1324] Compiling HashTreeCollections _HashLevel.swift
[273/1324] Compiling HashTreeCollections _HashNode+Builder.swift
[274/1324] Compiling HashTreeCollections _HashNode+Debugging.swift
[274/1324] Wrapping AST for InternalCollectionsUtilities for debugging
[276/1324] Compiling HashTreeCollections TreeSet+Hashable.swift
[277/1324] Compiling HashTreeCollections TreeSet+Sendable.swift
[278/1324] Compiling HashTreeCollections TreeSet+Sequence.swift
[279/1324] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[280/1324] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[285/1324] Wrapping AST for Logging for debugging
[288/1334] Wrapping AST for HeapModule for debugging
[303/1334] Compiling _RopeModule Rope+Join.swift
[304/1334] Compiling _RopeModule Rope+MutatingForEach.swift
[305/1334] Compiling _RopeModule Rope+Remove.swift
[306/1334] Compiling _RopeModule Rope+RemoveSubrange.swift
[307/1334] Compiling _RopeModule Rope+Split.swift
[308/1334] Compiling _RopeModule Optional Utilities.swift
[309/1334] Compiling _RopeModule String Utilities.swift
[310/1334] Compiling _RopeModule String.Index+ABI.swift
[315/1334] Compiling HashTreeCollections _HashNode+Initializers.swift
[316/1334] Compiling HashTreeCollections _HashNode+Invariants.swift
[317/1334] Compiling HashTreeCollections _HashNode+Lookups.swift
[318/1334] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[335/1345] Emitting module OrderedCollections
[336/1346] Compiling ContainerizationOS Epoll.swift
[337/1346] Compiling ContainerizationOS Mount.swift
[342/1346] Compiling ContainerizationOS AsyncSignalHandler.swift
[343/1346] Compiling ContainerizationOS BinaryInteger+Extensions.swift
[362/1346] Compiling HashTreeCollections _HashSlot.swift
[363/1346] Compiling HashTreeCollections _HashStack.swift
[364/1346] Compiling HashTreeCollections _HashTreeIterator.swift
[365/1346] Compiling HashTreeCollections _HashTreeStatistics.swift
[367/1346] Emitting module DequeModule
[375/1347] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[376/1347] Compiling HashTreeCollections _RawHashNode.swift
[377/1347] Compiling HashTreeCollections _UnmanagedHashNode.swift
[378/1347] Compiling HashTreeCollections _UnsafePath.swift
[379/1347] Compiling HashTreeCollections TreeDictionary+Codable.swift
[380/1347] Compiling HashTreeCollections TreeDictionary+Collection.swift
[380/1347] Wrapping AST for OrderedCollections for debugging
[382/1347] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[383/1347] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[384/1347] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[385/1347] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[386/1347] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[387/1347] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[388/1347] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[389/1347] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[390/1347] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[391/1347] Compiling SwiftProtobuf api.pb.swift
[391/1347] Wrapping AST for DequeModule for debugging
[435/1347] Emitting module _RopeModule
[438/1349] Compiling tls13_server.cc
[451/1349] Compiling tls13_enc.cc
[465/1350] Compiling ContainerizationOS URL+Extensions.swift
[466/1350] Compiling ContainerizationOS User.swift
[500/1350] Compiling tls13_client.cc
[501/1350] Compiling tls13_both.cc
[502/1350] Wrapping AST for _RopeModule for debugging
[504/1350] Emitting module SwiftProtobuf
[516/1350] Compiling t1_enc.cc
[517/1350] Compiling ssl_transcript.cc
[519/1350] Emitting module HashTreeCollections
[519/1351] Compiling ssl_stat.cc
[520/1351] Compiling ssl_versions.cc
[522/1351] Wrapping AST for HashTreeCollections for debugging
[523/1351] Compiling ssl_x509.cc
[524/1351] Compiling ssl_session.cc
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:23: error: cannot find 'EPOLLIN' in scope
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: cannot find 'EPOLLIN' in scope
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:33: error: cannot find 'EPOLLOUT' in scope
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: cannot find 'EPOLLOUT' in scope
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:31: error: default argument value of type 'UInt8' cannot be converted to type 'Int32'
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: default argument value of type 'UInt8' cannot be converted to type 'Int32'
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:41:19: error: cannot find 'epoll_create1' in scope
39 |
40 | public init() throws {
41 | let efd = epoll_create1(EPOLL_CLOEXEC)
| `- error: cannot find 'epoll_create1' in scope
42 | guard efd > 0 else {
43 | throw POSIXError.fromErrno()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:41:33: error: cannot find 'EPOLL_CLOEXEC' in scope
39 |
40 | public init() throws {
41 | let efd = epoll_create1(EPOLL_CLOEXEC)
| `- error: cannot find 'EPOLL_CLOEXEC' in scope
42 | guard efd > 0 else {
43 | throw POSIXError.fromErrno()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:58:22: error: cannot find 'EPOLLET' in scope
56 | }
57 |
58 | let events = EPOLLET | UInt32(bitPattern: mask)
| `- error: cannot find 'EPOLLET' in scope
59 |
60 | var event = epoll_event()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:60:21: error: cannot find 'epoll_event' in scope
58 | let events = EPOLLET | UInt32(bitPattern: mask)
59 |
60 | var event = epoll_event()
| `- error: cannot find 'epoll_event' in scope
61 | event.events = events
62 | event.data.fd = fd
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:66:20: error: cannot find 'epoll_ctl' in scope
64 | try withUnsafeMutablePointer(to: &event) { ptr in
65 | while true {
66 | if epoll_ctl(self.epollFD, EPOLL_CTL_ADD, fd, ptr) == -1 {
| `- error: cannot find 'epoll_ctl' in scope
67 | if errno == EAGAIN || errno == EINTR {
68 | continue
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:66:44: error: cannot find 'EPOLL_CTL_ADD' in scope
64 | try withUnsafeMutablePointer(to: &event) { ptr in
65 | while true {
66 | if epoll_ctl(self.epollFD, EPOLL_CTL_ADD, fd, ptr) == -1 {
| `- error: cannot find 'EPOLL_CTL_ADD' in scope
67 | if errno == EAGAIN || errno == EINTR {
68 | continue
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:86:22: error: cannot find type 'epoll_event' in scope
84 | /// 0 means return immediately if no events.
85 | public func run(maxEvents: Int = 128, timeout: Int32 = -1) throws {
86 | var events: [epoll_event] = .init(
| `- error: cannot find type 'epoll_event' in scope
87 | repeating: epoll_event(),
88 | count: maxEvents
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:92:21: error: cannot find 'epoll_wait' in scope
90 |
91 | while true {
92 | let n = epoll_wait(self.epollFD, &events, Int32(events.count), timeout)
| `- error: cannot find 'epoll_wait' in scope
93 | guard n >= 0 else {
94 | if errno == EINTR || errno == EAGAIN {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:123:21: error: cannot find 'epoll_event' in scope
121 | /// Remove the provided fd from the monitored collection.
122 | public func delete(_ fd: Int32) throws {
123 | var event = epoll_event()
| `- error: cannot find 'epoll_event' in scope
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:125:13: error: cannot find 'epoll_ctl' in scope
123 | var event = epoll_event()
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
| `- error: cannot find 'epoll_ctl' in scope
126 | }
127 | if result != 0 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:125:37: error: cannot find 'EPOLL_CTL_DEL' in scope
123 | var event = epoll_event()
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
| `- error: cannot find 'EPOLL_CTL_DEL' in scope
126 | }
127 | if result != 0 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:18: error: cannot find 'EPOLLHUP' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLHUP' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:29: error: cannot find 'EPOLLERR' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLERR' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:40: error: cannot find 'EPOLLRDHUP' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLRDHUP' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:176:17: error: cannot find 'EPOLLIN' in scope
174 |
175 | public var readyToRead: Bool {
176 | (self & EPOLLIN) != 0
| `- error: cannot find 'EPOLLIN' in scope
177 | }
178 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:180:17: error: cannot find 'EPOLLOUT' in scope
178 |
179 | public var readyToWrite: Bool {
180 | (self & EPOLLOUT) != 0
| `- error: cannot find 'EPOLLOUT' in scope
181 | }
182 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:65:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
63 | #if os(Linux)
64 | internal static let flagsDictionary: [String: FlagBehavior] = [
65 | "async": .init(true, MS_SYNCHRONOUS),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
66 | "atime": .init(true, MS_NOATIME),
67 | "bind": .init(false, MS_BIND),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:66:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
64 | internal static let flagsDictionary: [String: FlagBehavior] = [
65 | "async": .init(true, MS_SYNCHRONOUS),
66 | "atime": .init(true, MS_NOATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
67 | "bind": .init(false, MS_BIND),
68 | "defaults": .init(false, 0),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:67:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
65 | "async": .init(true, MS_SYNCHRONOUS),
66 | "atime": .init(true, MS_NOATIME),
67 | "bind": .init(false, MS_BIND),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:69:28: error: cannot convert value of type 'Int' to expected argument type 'Int32'
67 | "bind": .init(false, MS_BIND),
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:70:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
70 | "diratime": .init(true, MS_NODIRATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:71:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
69 | "dev": .init(true, MS_NODEV),
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:72:29: error: cannot convert value of type 'Int' to expected argument type 'Int32'
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:73:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:74:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:75:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:76:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:77:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:78:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:79:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:80:38: error: cannot convert value of type 'Int' to expected argument type 'Int32'
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:81:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:82:39: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:83:34: error: cannot convert value of type 'Int' to expected argument type 'Int32'
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:84:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:85:28: error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:86:27: error: cannot convert value of type 'Int' to expected argument type 'Int32'
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:87:37: error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
88 | "suid": .init(true, MS_NOSUID),
89 | "sync": .init(false, MS_SYNCHRONOUS),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:88:29: error: cannot convert value of type 'Int' to expected argument type 'Int32'
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
89 | "sync": .init(false, MS_SYNCHRONOUS),
90 | ]
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:89:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
89 | "sync": .init(false, MS_SYNCHRONOUS),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
90 | ]
91 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:130:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
128 |
129 | private func mountToTarget(target: String, createWithPerms: Int16?) throws {
130 | let pageSize = sysconf(_SC_PAGESIZE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
131 |
132 | let opts = parseMountOptions()
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:138:73: error: cannot convert value of type 'Int' to specified type 'Int32'
136 | }
137 |
138 | let propagationTypes: Int32 = MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE
| `- error: cannot convert value of type 'Int' to specified type 'Int32'
139 |
140 | // Ensure propagation type change flags aren't included in other calls.
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:150:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
148 | try mkdirAll(target, 0o755)
149 |
150 | if opts.flags & MS_REMOUNT == 0 || !dataString.isEmpty {
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
151 | guard _mount(self.source, target, self.type, UInt(originalFlags), dataString) == 0 else {
152 | throw Error.errno(
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:161:26: error: cannot convert value of type 'Int32' to expected argument type 'Int'
159 | if opts.flags & propagationTypes != 0 {
160 | // Change the propagation type.
161 | let pflags = propagationTypes | MS_REC | MS_SILENT
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
162 | guard _mount("", target, "", UInt(opts.flags & pflags), "") == 0 else {
163 | throw Error.errno(errno, "failed propagation change mount")
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:168:26: error: binary operator '&' cannot be applied to operands of type 'Int32' and 'Int'
166 |
167 | let bindReadOnlyFlags = MS_BIND | MS_RDONLY
168 | if originalFlags & bindReadOnlyFlags == bindReadOnlyFlags {
| |- error: binary operator '&' cannot be applied to operands of type 'Int32' and 'Int'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int, Int), (Int32, Int32)
169 | guard _mount("", target, "", UInt(originalFlags | MS_REMOUNT), "") == 0 else {
170 | throw Error.errno(errno, "failed bind mount")
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:169:61: error: binary operator '|' cannot be applied to operands of type 'Int32' and 'Int'
167 | let bindReadOnlyFlags = MS_BIND | MS_RDONLY
168 | if originalFlags & bindReadOnlyFlags == bindReadOnlyFlags {
169 | guard _mount("", target, "", UInt(originalFlags | MS_REMOUNT), "") == 0 else {
| |- error: binary operator '|' cannot be applied to operands of type 'Int32' and 'Int'
| `- note: overloads for '|' exist with these partially matching parameter lists: (Int, Int), (Int32, Int32)
170 | throw Error.errno(errno, "failed bind mount")
171 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:23: error: cannot find 'EPOLLIN' in scope
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: cannot find 'EPOLLIN' in scope
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:33: error: cannot find 'EPOLLOUT' in scope
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: cannot find 'EPOLLOUT' in scope
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:31: error: default argument value of type 'UInt8' cannot be converted to type 'Int32'
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: default argument value of type 'UInt8' cannot be converted to type 'Int32'
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:41:19: error: cannot find 'epoll_create1' in scope
39 |
40 | public init() throws {
41 | let efd = epoll_create1(EPOLL_CLOEXEC)
| `- error: cannot find 'epoll_create1' in scope
42 | guard efd > 0 else {
43 | throw POSIXError.fromErrno()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:41:33: error: cannot find 'EPOLL_CLOEXEC' in scope
39 |
40 | public init() throws {
41 | let efd = epoll_create1(EPOLL_CLOEXEC)
| `- error: cannot find 'EPOLL_CLOEXEC' in scope
42 | guard efd > 0 else {
43 | throw POSIXError.fromErrno()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:58:22: error: cannot find 'EPOLLET' in scope
56 | }
57 |
58 | let events = EPOLLET | UInt32(bitPattern: mask)
| `- error: cannot find 'EPOLLET' in scope
59 |
60 | var event = epoll_event()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:60:21: error: cannot find 'epoll_event' in scope
58 | let events = EPOLLET | UInt32(bitPattern: mask)
59 |
60 | var event = epoll_event()
| `- error: cannot find 'epoll_event' in scope
61 | event.events = events
62 | event.data.fd = fd
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:66:20: error: cannot find 'epoll_ctl' in scope
64 | try withUnsafeMutablePointer(to: &event) { ptr in
65 | while true {
66 | if epoll_ctl(self.epollFD, EPOLL_CTL_ADD, fd, ptr) == -1 {
| `- error: cannot find 'epoll_ctl' in scope
67 | if errno == EAGAIN || errno == EINTR {
68 | continue
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:66:44: error: cannot find 'EPOLL_CTL_ADD' in scope
64 | try withUnsafeMutablePointer(to: &event) { ptr in
65 | while true {
66 | if epoll_ctl(self.epollFD, EPOLL_CTL_ADD, fd, ptr) == -1 {
| `- error: cannot find 'EPOLL_CTL_ADD' in scope
67 | if errno == EAGAIN || errno == EINTR {
68 | continue
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:86:22: error: cannot find type 'epoll_event' in scope
84 | /// 0 means return immediately if no events.
85 | public func run(maxEvents: Int = 128, timeout: Int32 = -1) throws {
86 | var events: [epoll_event] = .init(
| `- error: cannot find type 'epoll_event' in scope
87 | repeating: epoll_event(),
88 | count: maxEvents
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:92:21: error: cannot find 'epoll_wait' in scope
90 |
91 | while true {
92 | let n = epoll_wait(self.epollFD, &events, Int32(events.count), timeout)
| `- error: cannot find 'epoll_wait' in scope
93 | guard n >= 0 else {
94 | if errno == EINTR || errno == EAGAIN {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:123:21: error: cannot find 'epoll_event' in scope
121 | /// Remove the provided fd from the monitored collection.
122 | public func delete(_ fd: Int32) throws {
123 | var event = epoll_event()
| `- error: cannot find 'epoll_event' in scope
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:125:13: error: cannot find 'epoll_ctl' in scope
123 | var event = epoll_event()
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
| `- error: cannot find 'epoll_ctl' in scope
126 | }
127 | if result != 0 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:125:37: error: cannot find 'EPOLL_CTL_DEL' in scope
123 | var event = epoll_event()
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
| `- error: cannot find 'EPOLL_CTL_DEL' in scope
126 | }
127 | if result != 0 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:18: error: cannot find 'EPOLLHUP' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLHUP' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:29: error: cannot find 'EPOLLERR' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLERR' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:40: error: cannot find 'EPOLLRDHUP' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLRDHUP' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:176:17: error: cannot find 'EPOLLIN' in scope
174 |
175 | public var readyToRead: Bool {
176 | (self & EPOLLIN) != 0
| `- error: cannot find 'EPOLLIN' in scope
177 | }
178 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:180:17: error: cannot find 'EPOLLOUT' in scope
178 |
179 | public var readyToWrite: Bool {
180 | (self & EPOLLOUT) != 0
| `- error: cannot find 'EPOLLOUT' in scope
181 | }
182 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:65:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
63 | #if os(Linux)
64 | internal static let flagsDictionary: [String: FlagBehavior] = [
65 | "async": .init(true, MS_SYNCHRONOUS),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
66 | "atime": .init(true, MS_NOATIME),
67 | "bind": .init(false, MS_BIND),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:66:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
64 | internal static let flagsDictionary: [String: FlagBehavior] = [
65 | "async": .init(true, MS_SYNCHRONOUS),
66 | "atime": .init(true, MS_NOATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
67 | "bind": .init(false, MS_BIND),
68 | "defaults": .init(false, 0),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:67:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
65 | "async": .init(true, MS_SYNCHRONOUS),
66 | "atime": .init(true, MS_NOATIME),
67 | "bind": .init(false, MS_BIND),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:69:28: error: cannot convert value of type 'Int' to expected argument type 'Int32'
67 | "bind": .init(false, MS_BIND),
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:70:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
70 | "diratime": .init(true, MS_NODIRATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:71:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
69 | "dev": .init(true, MS_NODEV),
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:72:29: error: cannot convert value of type 'Int' to expected argument type 'Int32'
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:73:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:74:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:75:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:76:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:77:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:78:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:79:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:80:38: error: cannot convert value of type 'Int' to expected argument type 'Int32'
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:81:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:82:39: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:83:34: error: cannot convert value of type 'Int' to expected argument type 'Int32'
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:84:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:85:28: error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:86:27: error: cannot convert value of type 'Int' to expected argument type 'Int32'
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:87:37: error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
88 | "suid": .init(true, MS_NOSUID),
89 | "sync": .init(false, MS_SYNCHRONOUS),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:88:29: error: cannot convert value of type 'Int' to expected argument type 'Int32'
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
89 | "sync": .init(false, MS_SYNCHRONOUS),
90 | ]
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:89:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
89 | "sync": .init(false, MS_SYNCHRONOUS),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
90 | ]
91 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:130:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
128 |
129 | private func mountToTarget(target: String, createWithPerms: Int16?) throws {
130 | let pageSize = sysconf(_SC_PAGESIZE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
131 |
132 | let opts = parseMountOptions()
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:138:73: error: cannot convert value of type 'Int' to specified type 'Int32'
136 | }
137 |
138 | let propagationTypes: Int32 = MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE
| `- error: cannot convert value of type 'Int' to specified type 'Int32'
139 |
140 | // Ensure propagation type change flags aren't included in other calls.
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:150:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
148 | try mkdirAll(target, 0o755)
149 |
150 | if opts.flags & MS_REMOUNT == 0 || !dataString.isEmpty {
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
151 | guard _mount(self.source, target, self.type, UInt(originalFlags), dataString) == 0 else {
152 | throw Error.errno(
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:161:26: error: cannot convert value of type 'Int32' to expected argument type 'Int'
159 | if opts.flags & propagationTypes != 0 {
160 | // Change the propagation type.
161 | let pflags = propagationTypes | MS_REC | MS_SILENT
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
162 | guard _mount("", target, "", UInt(opts.flags & pflags), "") == 0 else {
163 | throw Error.errno(errno, "failed propagation change mount")
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:168:26: error: binary operator '&' cannot be applied to operands of type 'Int32' and 'Int'
166 |
167 | let bindReadOnlyFlags = MS_BIND | MS_RDONLY
168 | if originalFlags & bindReadOnlyFlags == bindReadOnlyFlags {
| |- error: binary operator '&' cannot be applied to operands of type 'Int32' and 'Int'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int, Int), (Int32, Int32)
169 | guard _mount("", target, "", UInt(originalFlags | MS_REMOUNT), "") == 0 else {
170 | throw Error.errno(errno, "failed bind mount")
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:169:61: error: binary operator '|' cannot be applied to operands of type 'Int32' and 'Int'
167 | let bindReadOnlyFlags = MS_BIND | MS_RDONLY
168 | if originalFlags & bindReadOnlyFlags == bindReadOnlyFlags {
169 | guard _mount("", target, "", UInt(originalFlags | MS_REMOUNT), "") == 0 else {
| |- error: binary operator '|' cannot be applied to operands of type 'Int32' and 'Int'
| `- note: overloads for '|' exist with these partially matching parameter lists: (Int, Int), (Int32, Int32)
170 | throw Error.errno(errno, "failed bind mount")
171 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:23: error: cannot find 'EPOLLIN' in scope
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: cannot find 'EPOLLIN' in scope
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:33: error: cannot find 'EPOLLOUT' in scope
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: cannot find 'EPOLLOUT' in scope
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:31: error: default argument value of type 'UInt8' cannot be converted to type 'Int32'
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: default argument value of type 'UInt8' cannot be converted to type 'Int32'
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:41:19: error: cannot find 'epoll_create1' in scope
39 |
40 | public init() throws {
41 | let efd = epoll_create1(EPOLL_CLOEXEC)
| `- error: cannot find 'epoll_create1' in scope
42 | guard efd > 0 else {
43 | throw POSIXError.fromErrno()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:41:33: error: cannot find 'EPOLL_CLOEXEC' in scope
39 |
40 | public init() throws {
41 | let efd = epoll_create1(EPOLL_CLOEXEC)
| `- error: cannot find 'EPOLL_CLOEXEC' in scope
42 | guard efd > 0 else {
43 | throw POSIXError.fromErrno()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:58:22: error: cannot find 'EPOLLET' in scope
56 | }
57 |
58 | let events = EPOLLET | UInt32(bitPattern: mask)
| `- error: cannot find 'EPOLLET' in scope
59 |
60 | var event = epoll_event()
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:60:21: error: cannot find 'epoll_event' in scope
58 | let events = EPOLLET | UInt32(bitPattern: mask)
59 |
60 | var event = epoll_event()
| `- error: cannot find 'epoll_event' in scope
61 | event.events = events
62 | event.data.fd = fd
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:66:20: error: cannot find 'epoll_ctl' in scope
64 | try withUnsafeMutablePointer(to: &event) { ptr in
65 | while true {
66 | if epoll_ctl(self.epollFD, EPOLL_CTL_ADD, fd, ptr) == -1 {
| `- error: cannot find 'epoll_ctl' in scope
67 | if errno == EAGAIN || errno == EINTR {
68 | continue
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:66:44: error: cannot find 'EPOLL_CTL_ADD' in scope
64 | try withUnsafeMutablePointer(to: &event) { ptr in
65 | while true {
66 | if epoll_ctl(self.epollFD, EPOLL_CTL_ADD, fd, ptr) == -1 {
| `- error: cannot find 'EPOLL_CTL_ADD' in scope
67 | if errno == EAGAIN || errno == EINTR {
68 | continue
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:86:22: error: cannot find type 'epoll_event' in scope
84 | /// 0 means return immediately if no events.
85 | public func run(maxEvents: Int = 128, timeout: Int32 = -1) throws {
86 | var events: [epoll_event] = .init(
| `- error: cannot find type 'epoll_event' in scope
87 | repeating: epoll_event(),
88 | count: maxEvents
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:92:21: error: cannot find 'epoll_wait' in scope
90 |
91 | while true {
92 | let n = epoll_wait(self.epollFD, &events, Int32(events.count), timeout)
| `- error: cannot find 'epoll_wait' in scope
93 | guard n >= 0 else {
94 | if errno == EINTR || errno == EAGAIN {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:123:21: error: cannot find 'epoll_event' in scope
121 | /// Remove the provided fd from the monitored collection.
122 | public func delete(_ fd: Int32) throws {
123 | var event = epoll_event()
| `- error: cannot find 'epoll_event' in scope
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:125:13: error: cannot find 'epoll_ctl' in scope
123 | var event = epoll_event()
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
| `- error: cannot find 'epoll_ctl' in scope
126 | }
127 | if result != 0 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:125:37: error: cannot find 'EPOLL_CTL_DEL' in scope
123 | var event = epoll_event()
124 | let result = withUnsafeMutablePointer(to: &event) { ptr in
125 | epoll_ctl(self.epollFD, EPOLL_CTL_DEL, fd, ptr)
| `- error: cannot find 'EPOLL_CTL_DEL' in scope
126 | }
127 | if result != 0 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:18: error: cannot find 'EPOLLHUP' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLHUP' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:29: error: cannot find 'EPOLLERR' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLERR' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:172:40: error: cannot find 'EPOLLRDHUP' in scope
170 | extension Epoll.Mask {
171 | public var isHangup: Bool {
172 | (self & (EPOLLHUP | EPOLLERR | EPOLLRDHUP)) != 0
| `- error: cannot find 'EPOLLRDHUP' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:176:17: error: cannot find 'EPOLLIN' in scope
174 |
175 | public var readyToRead: Bool {
176 | (self & EPOLLIN) != 0
| `- error: cannot find 'EPOLLIN' in scope
177 | }
178 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:180:17: error: cannot find 'EPOLLOUT' in scope
178 |
179 | public var readyToWrite: Bool {
180 | (self & EPOLLOUT) != 0
| `- error: cannot find 'EPOLLOUT' in scope
181 | }
182 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:65:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
63 | #if os(Linux)
64 | internal static let flagsDictionary: [String: FlagBehavior] = [
65 | "async": .init(true, MS_SYNCHRONOUS),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
66 | "atime": .init(true, MS_NOATIME),
67 | "bind": .init(false, MS_BIND),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:66:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
64 | internal static let flagsDictionary: [String: FlagBehavior] = [
65 | "async": .init(true, MS_SYNCHRONOUS),
66 | "atime": .init(true, MS_NOATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
67 | "bind": .init(false, MS_BIND),
68 | "defaults": .init(false, 0),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:67:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
65 | "async": .init(true, MS_SYNCHRONOUS),
66 | "atime": .init(true, MS_NOATIME),
67 | "bind": .init(false, MS_BIND),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:69:28: error: cannot convert value of type 'Int' to expected argument type 'Int32'
67 | "bind": .init(false, MS_BIND),
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:70:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
70 | "diratime": .init(true, MS_NODIRATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:71:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
69 | "dev": .init(true, MS_NODEV),
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:72:29: error: cannot convert value of type 'Int' to expected argument type 'Int32'
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:73:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:74:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:75:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:76:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:77:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:78:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:79:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:80:38: error: cannot convert value of type 'Int' to expected argument type 'Int32'
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:81:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:82:39: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:83:34: error: cannot convert value of type 'Int' to expected argument type 'Int32'
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:84:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:85:28: error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:86:27: error: cannot convert value of type 'Int' to expected argument type 'Int32'
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:87:37: error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
88 | "suid": .init(true, MS_NOSUID),
89 | "sync": .init(false, MS_SYNCHRONOUS),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:88:29: error: cannot convert value of type 'Int' to expected argument type 'Int32'
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
89 | "sync": .init(false, MS_SYNCHRONOUS),
90 | ]
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:89:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
89 | "sync": .init(false, MS_SYNCHRONOUS),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
90 | ]
91 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:130:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
128 |
129 | private func mountToTarget(target: String, createWithPerms: Int16?) throws {
130 | let pageSize = sysconf(_SC_PAGESIZE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
131 |
132 | let opts = parseMountOptions()
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:138:73: error: cannot convert value of type 'Int' to specified type 'Int32'
136 | }
137 |
138 | let propagationTypes: Int32 = MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE
| `- error: cannot convert value of type 'Int' to specified type 'Int32'
139 |
140 | // Ensure propagation type change flags aren't included in other calls.
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:150:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
148 | try mkdirAll(target, 0o755)
149 |
150 | if opts.flags & MS_REMOUNT == 0 || !dataString.isEmpty {
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
151 | guard _mount(self.source, target, self.type, UInt(originalFlags), dataString) == 0 else {
152 | throw Error.errno(
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:161:26: error: cannot convert value of type 'Int32' to expected argument type 'Int'
159 | if opts.flags & propagationTypes != 0 {
160 | // Change the propagation type.
161 | let pflags = propagationTypes | MS_REC | MS_SILENT
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
162 | guard _mount("", target, "", UInt(opts.flags & pflags), "") == 0 else {
163 | throw Error.errno(errno, "failed propagation change mount")
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:168:26: error: binary operator '&' cannot be applied to operands of type 'Int32' and 'Int'
166 |
167 | let bindReadOnlyFlags = MS_BIND | MS_RDONLY
168 | if originalFlags & bindReadOnlyFlags == bindReadOnlyFlags {
| |- error: binary operator '&' cannot be applied to operands of type 'Int32' and 'Int'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int, Int), (Int32, Int32)
169 | guard _mount("", target, "", UInt(originalFlags | MS_REMOUNT), "") == 0 else {
170 | throw Error.errno(errno, "failed bind mount")
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:169:61: error: binary operator '|' cannot be applied to operands of type 'Int32' and 'Int'
167 | let bindReadOnlyFlags = MS_BIND | MS_RDONLY
168 | if originalFlags & bindReadOnlyFlags == bindReadOnlyFlags {
169 | guard _mount("", target, "", UInt(originalFlags | MS_REMOUNT), "") == 0 else {
| |- error: binary operator '|' cannot be applied to operands of type 'Int32' and 'Int'
| `- note: overloads for '|' exist with these partially matching parameter lists: (Int, Int), (Int32, Int32)
170 | throw Error.errno(errno, "failed bind mount")
171 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[537/1351] Emitting module ContainerizationOS
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:23: error: cannot find 'EPOLLIN' in scope
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: cannot find 'EPOLLIN' in scope
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:33: error: cannot find 'EPOLLOUT' in scope
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: cannot find 'EPOLLOUT' in scope
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Linux/Epoll.swift:51:31: error: default argument value of type 'UInt8' cannot be converted to type 'Int32'
49 | public func add(
50 | _ fd: Int32,
51 | mask: Int32 = EPOLLIN | EPOLLOUT, // HUP is always added
| `- error: default argument value of type 'UInt8' cannot be converted to type 'Int32'
52 | handler: @escaping Handler
53 | ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:65:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
63 | #if os(Linux)
64 | internal static let flagsDictionary: [String: FlagBehavior] = [
65 | "async": .init(true, MS_SYNCHRONOUS),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
66 | "atime": .init(true, MS_NOATIME),
67 | "bind": .init(false, MS_BIND),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:66:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
64 | internal static let flagsDictionary: [String: FlagBehavior] = [
65 | "async": .init(true, MS_SYNCHRONOUS),
66 | "atime": .init(true, MS_NOATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
67 | "bind": .init(false, MS_BIND),
68 | "defaults": .init(false, 0),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:67:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
65 | "async": .init(true, MS_SYNCHRONOUS),
66 | "atime": .init(true, MS_NOATIME),
67 | "bind": .init(false, MS_BIND),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:69:28: error: cannot convert value of type 'Int' to expected argument type 'Int32'
67 | "bind": .init(false, MS_BIND),
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:70:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
68 | "defaults": .init(false, 0),
69 | "dev": .init(true, MS_NODEV),
70 | "diratime": .init(true, MS_NODIRATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:71:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
69 | "dev": .init(true, MS_NODEV),
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:72:29: error: cannot convert value of type 'Int' to expected argument type 'Int32'
70 | "diratime": .init(true, MS_NODIRATIME),
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:73:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
71 | "dirsync": .init(false, MS_DIRSYNC),
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:74:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
72 | "exec": .init(true, MS_NOEXEC),
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:75:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
73 | "mand": .init(false, MS_MANDLOCK),
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:76:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
74 | "noatime": .init(false, MS_NOATIME),
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:77:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
75 | "nodev": .init(false, MS_NODEV),
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:78:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
76 | "nodiratime": .init(false, MS_NODIRATIME),
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:79:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
77 | "noexec": .init(false, MS_NOEXEC),
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:80:38: error: cannot convert value of type 'Int' to expected argument type 'Int32'
78 | "nomand": .init(true, MS_MANDLOCK),
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:81:32: error: cannot convert value of type 'Int' to expected argument type 'Int32'
79 | "norelatime": .init(true, MS_RELATIME),
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:82:39: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | "nostrictatime": .init(true, MS_STRICTATIME),
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:83:34: error: cannot convert value of type 'Int' to expected argument type 'Int32'
81 | "nosuid": .init(false, MS_NOSUID),
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:84:33: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | "rbind": .init(false, MS_BIND | MS_REC),
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:85:28: error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | "relatime": .init(false, MS_RELATIME),
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:86:27: error: cannot convert value of type 'Int' to expected argument type 'Int32'
84 | "remount": .init(false, MS_REMOUNT),
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:87:37: error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | "ro": .init(false, MS_RDONLY),
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
88 | "suid": .init(true, MS_NOSUID),
89 | "sync": .init(false, MS_SYNCHRONOUS),
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:88:29: error: cannot convert value of type 'Int' to expected argument type 'Int32'
86 | "rw": .init(true, MS_RDONLY),
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
89 | "sync": .init(false, MS_SYNCHRONOUS),
90 | ]
/host/spi-builder-workspace/Sources/ContainerizationOS/Mount/Mount.swift:89:30: error: cannot convert value of type 'Int' to expected argument type 'Int32'
87 | "strictatime": .init(false, MS_STRICTATIME),
88 | "suid": .init(true, MS_NOSUID),
89 | "sync": .init(false, MS_SYNCHRONOUS),
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
90 | ]
91 |
[540/1351] Compiling ssl_lib.cc
[540/1351] Compiling ssl_cipher.cc
[540/1351] Compiling ssl_key_share.cc
[540/1351] Compiling ssl_privkey.cc
[540/1351] Compiling ssl_credential.cc
[540/1351] Compiling ssl_file.cc
BUILD FAILURE 6.2 linux