Build Information
Failed to build AIChatKitMLX, reference main (79d40d), with Swift 6.4 for Linux on 9 Oct 2026 10:40:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NerdSnipe-Inc/AIChatKitMLX.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/NerdSnipe-Inc/AIChatKitMLX
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 79d40d6 Report adapter status and allow retry; tolerate a stray string delimiter in Gemma tool calls (1.5.0)
Cloned https://github.com/NerdSnipe-Inc/AIChatKitMLX.git
Revision (git rev-parse @):
79d40d626eb354b4eb1ae893be0ba22a451cf126
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NerdSnipe-Inc/AIChatKitMLX.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/NerdSnipe-Inc/AIChatKitMLX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/223] Fetching swift-json-schema
Fetched https://github.com/kevinhermawan/swift-json-schema.git (0.39s)
[1/2967] Fetching swift-huggingface
[1604/10051] Fetching swift-huggingface, swift-transformers
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/NerdSnipe-Inc/AIChatKit.git
Fetched https://github.com/huggingface/swift-transformers.git (0.74s)
[3/298] Fetching aichatkit
Fetched https://github.com/huggingface/swift-huggingface.git (0.96s)
Fetched https://github.com/NerdSnipe-Inc/AIChatKit.git (0.44s)
[1/17084] Fetching mlx-swift
[17085/39597] Fetching mlx-swift, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift (1.38s)
[1126/22513] Fetching mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift-lm.git (2.95s)
Computing version for https://github.com/kevinhermawan/swift-json-schema.git
Computed https://github.com/kevinhermawan/swift-json-schema.git at 2.0.1 (3.11s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 3.31.4 (0.20s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80403] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (4.93s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (5.24s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/6717] Fetching swift-numerics
[6718/25813] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (1.26s)
Fetched https://github.com/apple/swift-argument-parser (1.26s)
Computing version for https://github.com/NerdSnipe-Inc/AIChatKit.git
Computed https://github.com/NerdSnipe-Inc/AIChatKit.git at 2.0.0 (1.43s)
Fetching https://github.com/JohnSundell/Splash.git
Fetching https://github.com/gonzalezreal/swift-markdown-ui.git
[1/2180] Fetching splash
[2181/10702] Fetching splash, swift-markdown-ui
Fetched https://github.com/JohnSundell/Splash.git (0.39s)
[341/8522] Fetching swift-markdown-ui
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git (1.62s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (1.81s)
Computing version for https://github.com/gonzalezreal/swift-markdown-ui.git
Computed https://github.com/gonzalezreal/swift-markdown-ui.git at 2.4.1 (0.18s)
Fetching https://github.com/gonzalezreal/NetworkImage
Fetching https://github.com/swiftlang/swift-cmark
[1/1072] Fetching networkimage
[1052/19687] Fetching networkimage, swift-cmark
Fetched https://github.com/swiftlang/swift-cmark (1.45s)
Fetched https://github.com/gonzalezreal/NetworkImage (1.45s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (1.62s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.27s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.3.4 (0.18s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
[1/1376] Fetching swift-jinja
[29/19979] Fetching swift-jinja, swift-crypto
[2680/48670] Fetching swift-jinja, swift-crypto, swift-collections
[2681/53750] Fetching swift-jinja, swift-crypto, swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git (1.82s)
Fetched https://github.com/apple/swift-collections.git (1.83s)
Fetched https://github.com/huggingface/swift-jinja.git (1.97s)
Fetched https://github.com/apple/swift-crypto.git (1.99s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.17s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.14s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.15s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.13.0 (0.16s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.36s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.9.0 (0.54s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.25s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.04s)
Fetching https://github.com/apple/swift-asn1.git
[1/1995] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.65s)
Creating working copy for https://github.com/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.9.0
Creating working copy for https://github.com/NerdSnipe-Inc/AIChatKit.git
Working copy of https://github.com/NerdSnipe-Inc/AIChatKit.git resolved at 2.0.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.3.4
Creating working copy for https://github.com/kevinhermawan/swift-json-schema.git
Working copy of https://github.com/kevinhermawan/swift-json-schema.git resolved at 2.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/ml-explore/mlx-swift-lm.git
Working copy of https://github.com/ml-explore/mlx-swift-lm.git resolved at 3.31.4
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/gonzalezreal/swift-markdown-ui.git
Working copy of https://github.com/gonzalezreal/swift-markdown-ui.git resolved at 2.4.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.1
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.6
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.19s)
Building for debugging...
[Computing dependencies]
[Provisioning 9 / 57]
[Pre-planning 1 / 1134]
[Planning 759 / 1134]
[Planning deferred tasks]
[Constructing 390 / 3162]
[Starting]
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/arg_reduce.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/conv.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/gemv.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/layer_norm.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/random.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rms_norm.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rope.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal' of type 'sourcecode.metal' for architecture 'x86_64'
[195 / 1117]
[212 / 1155] RealModule
[213 / 1164] JSONSchema
[215 / 1164] yyjson
[222 / 1164] yyjson
[224 / 1164] InternalCollectionsUtilities
[231 / 1164] EventSource
[240 / 1164] JSONSchema
[241 / 1164] MLXHuggingFaceMacros
[249 / 1165] RealModule
[253 / 1165] MLXHuggingFaceMacros
[255 / 1165] MLXHuggingFaceMacros
[257 / 1165] JSONSchema-product
[261 / 1166] RealModule
[263 / 1166] RealModule
[269 / 1166] InternalCollectionsUtilities
[273 / 1167] JSONSchema
[275 / 1167] JSONSchema
[279 / 1168] EventSource
[281 / 1168] CryptoBoringWrapper
[282 / 1168] InternalCollectionsUtilities
[289 / 1170]
[297 / 1179] OrderedCollections
[299 / 1188] OrderedCollections
[300 / 1189] OrderedCollections
[302 / 1190] CXKCP
[305 / 1190] InternalCollectionsUtilities
[310 / 1190] Crypto
[312 / 1190] InternalCollectionsUtilities
[314 / 1190] Crypto
[318 / 1191] OrderedCollections
[329 / 1191] OrderedCollections
[333 / 1194] ArgumentParserToolInfo
[334 / 1194] CCryptoBoringSSL
[337 / 1194] CCryptoBoringSSL
[340 / 1194] ArgumentParserToolInfo
[345 / 1194] CCryptoBoringSSL
[347 / 1194] CCryptoBoringSSL
[349 / 1194] CCryptoBoringSSL
[352 / 1194] CCryptoBoringSSL
[353 / 1194] CCryptoBoringSSL
[360 / 1194] CCryptoBoringSSL
[362 / 1194] CCryptoBoringSSL
[364 / 1194] CCryptoBoringSSL
[366 / 1194] CCryptoBoringSSL
[368 / 1194] CCryptoBoringSSL
[370 / 1194] CCryptoBoringSSL
[374 / 1195] CCryptoBoringSSL
[376 / 1195] CCryptoBoringSSL
[378 / 1195] CCryptoBoringSSL
[382 / 1195] CCryptoBoringSSL
[390 / 1195] CCryptoBoringSSL
[391 / 1195] CCryptoBoringSSL
[394 / 1195] CCryptoBoringSSL
[395 / 1195] CCryptoBoringSSL
[400 / 1195] CCryptoBoringSSL
[401 / 1195] CCryptoBoringSSL
[405 / 1195] CCryptoBoringSSL
[410 / 1195] CCryptoBoringSSL
[412 / 1195] CCryptoBoringSSL
[415 / 1195] CCryptoBoringSSL
[417 / 1195] CCryptoBoringSSL
[422 / 1195] CCryptoBoringSSL
[425 / 1195] CCryptoBoringSSL
[428 / 1195] CCryptoBoringSSL
[430 / 1195] CCryptoBoringSSL
[432 / 1195] CCryptoBoringSSL
[434 / 1195] CCryptoBoringSSL
[436 / 1195] CCryptoBoringSSL
[440 / 1195] CCryptoBoringSSL
[447 / 1195] CCryptoBoringSSL
[458 / 1195] CCryptoBoringSSL
[470 / 1195] CCryptoBoringSSL
[473 / 1195] CCryptoBoringSSL
[475 / 1195] CCryptoBoringSSL
[476 / 1195] CCryptoBoringSSL
[478 / 1195] CCryptoBoringSSL
[483 / 1195] CCryptoBoringSSL
[486 / 1195] CCryptoBoringSSL
[489 / 1195] CCryptoBoringSSL
[491 / 1195] CCryptoBoringSSL
[493 / 1195] CCryptoBoringSSL
[495 / 1195] CCryptoBoringSSL
[498 / 1195] CCryptoBoringSSL
[501 / 1195] CCryptoBoringSSL
[504 / 1195] CCryptoBoringSSL
[510 / 1195] CCryptoBoringSSL
[513 / 1195] CCryptoBoringSSL
[515 / 1195] CCryptoBoringSSL
[517 / 1195] CCryptoBoringSSL
[522 / 1195] CCryptoBoringSSL
[531 / 1195] CCryptoBoringSSL
[532 / 1195] CCryptoBoringSSL
[539 / 1195] CCryptoBoringSSL
[542 / 1195] CCryptoBoringSSL
[544 / 1195] CCryptoBoringSSL
[549 / 1195] CCryptoBoringSSL
[558 / 1195] CCryptoBoringSSL
[569 / 1195] CCryptoBoringSSL
[572 / 1195] CCryptoBoringSSL
[575 / 1195] CCryptoBoringSSL
[578 / 1195] CCryptoBoringSSL
[583 / 1195] CCryptoBoringSSL
[585 / 1195] CCryptoBoringSSL
[588 / 1195] CCryptoBoringSSL
[590 / 1195] CCryptoBoringSSL
[594 / 1195] CCryptoBoringSSL
[596 / 1195] CCryptoBoringSSL
[597 / 1195] CCryptoBoringSSL
[600 / 1195] CCryptoBoringSSL
[606 / 1195] CCryptoBoringSSL
[608 / 1195] CCryptoBoringSSL
[611 / 1195] CCryptoBoringSSL
[614 / 1195] CCryptoBoringSSL
[617 / 1195] CCryptoBoringSSL
[620 / 1195] CCryptoBoringSSL
[626 / 1195] CCryptoBoringSSL
[632 / 1195] CCryptoBoringSSL
[642 / 1195] CCryptoBoringSSL
[646 / 1195] CCryptoBoringSSL
[651 / 1195] CCryptoBoringSSL
[657 / 1195] CCryptoBoringSSL
[658 / 1195] CCryptoBoringSSL
[660 / 1195] CCryptoBoringSSL
[664 / 1195] CCryptoBoringSSL
[667 / 1195] CCryptoBoringSSL
[671 / 1195] CCryptoBoringSSL
[675 / 1195] CCryptoBoringSSL
[677 / 1195] CCryptoBoringSSL
[684 / 1195] CCryptoBoringSSL
[689 / 1195] CCryptoBoringSSL
[691 / 1195] CCryptoBoringSSL
[693 / 1195] CCryptoBoringSSL
[695 / 1195] CCryptoBoringSSL
[696 / 1195] CCryptoBoringSSL
[698 / 1195] CCryptoBoringSSL
[699 / 1195] CCryptoBoringSSL
[702 / 1195] CCryptoBoringSSL
[705 / 1195] ArgumentParser
[708 / 1205] CCryptoBoringSSL
[711 / 1205] ComplexModule
[712 / 1205] ComplexModule
[714 / 1205] ComplexModule
[716 / 1205]
[724 / 1226] Jinja
[726 / 1227] Jinja
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatProvider.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile ChatProvider.swift
/host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatLog.swift:2:8: [1;31merror: [1;39mno such module 'os'[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m import os
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'os'[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Logging facility shared by every AIChatKit module.
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/BalancedEmitter.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatError.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatLog.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatMessage.swift -primary-file /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatProvider.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatRequestOptions.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatStreamEvent.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/SSEParser.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/Objects-normal/x86_64/ChatProvider.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/Objects-normal/x86_64/ChatProvider.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/Objects-normal/x86_64/ChatProvider.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/Objects-normal/x86_64/ChatProvider.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AIChatCore -package-name aichatkit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/Objects-normal/x86_64/AIChatCore_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/Objects-normal/x86_64/ChatProvider.o -index-unit-output-path /AIChatKit.build/Debug-linux-x86_64/AIChatCore-t.build/Objects-normal/x86_64/ChatProvider.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux