Build Information
Failed to build TelegramBot, reference 0.5.0 (bccf35
), with Swift 6.1 for Android on 27 May 2025 20:22:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Boilertalk/telegrambot.swift.git
Reference: 0.5.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Boilertalk/telegrambot.swift
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at bccf350 Remove warnings
Cloned https://github.com/Boilertalk/telegrambot.swift.git
Revision (git rev-parse @):
bccf35093f989c429b7074b514bb1b6658f02e08
SUCCESS checkout https://github.com/Boilertalk/telegrambot.swift.git at 0.5.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Boilertalk/telegrambot.swift.git
https://github.com/Boilertalk/telegrambot.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "8.0.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
},
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
},
{
"identity" : "promisekit",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/PromiseKit.git"
}
],
"manifest_display_name" : "TelegramBot",
"name" : "TelegramBot",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "TelegramBot",
"targets" : [
"TelegramBot"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TelegramBotVapor",
"targets" : [
"TelegramBotVapor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TelegramBotPromiseKit",
"targets" : [
"TelegramBotPromiseKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TelegramBotVapor",
"module_type" : "SwiftTarget",
"name" : "TelegramBotVapor",
"path" : "Sources/TelegramBotVapor",
"product_dependencies" : [
"Vapor"
],
"product_memberships" : [
"TelegramBotVapor"
],
"sources" : [
"Exports+Vapor.swift"
],
"target_dependencies" : [
"TelegramBot"
],
"type" : "library"
},
{
"c99name" : "TelegramBotTests",
"module_type" : "SwiftTarget",
"name" : "TelegramBotTests",
"path" : "Tests/TelegramBotTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"AppTests.swift"
],
"target_dependencies" : [
"TelegramBot"
],
"type" : "test"
},
{
"c99name" : "TelegramBotPromiseKit",
"module_type" : "SwiftTarget",
"name" : "TelegramBotPromiseKit",
"path" : "Sources/TelegramBotPromiseKit",
"product_dependencies" : [
"PromiseKit"
],
"product_memberships" : [
"TelegramBotPromiseKit"
],
"sources" : [
"TelegramSendApi+PromiseKit.swift"
],
"target_dependencies" : [
"TelegramBot"
],
"type" : "library"
},
{
"c99name" : "TelegramBot",
"module_type" : "SwiftTarget",
"name" : "TelegramBot",
"path" : "Sources/TelegramBot",
"product_memberships" : [
"TelegramBot",
"TelegramBotVapor",
"TelegramBotPromiseKit"
],
"sources" : [
"Json/CallbackApi/Keyboard/TelegramCallbackGame.swift",
"Json/CallbackApi/Keyboard/TelegramForceReply.swift",
"Json/CallbackApi/Keyboard/TelegramInlineKeyboardButton.swift",
"Json/CallbackApi/Keyboard/TelegramInlineKeyboardMarkup.swift",
"Json/CallbackApi/Keyboard/TelegramKeyboardButton.swift",
"Json/CallbackApi/Keyboard/TelegramReplyKeyboardMarkup.swift",
"Json/CallbackApi/Keyboard/TelegramReplyKeyboardRemove.swift",
"Json/CallbackApi/TelegramAnimation.swift",
"Json/CallbackApi/TelegramAudio.swift",
"Json/CallbackApi/TelegramCallbackQuery.swift",
"Json/CallbackApi/TelegramChat.swift",
"Json/CallbackApi/TelegramChatMember.swift",
"Json/CallbackApi/TelegramChatPhoto.swift",
"Json/CallbackApi/TelegramChosenInlineResult.swift",
"Json/CallbackApi/TelegramContact.swift",
"Json/CallbackApi/TelegramDocument.swift",
"Json/CallbackApi/TelegramEncryptedCredentials.swift",
"Json/CallbackApi/TelegramEncryptedPassportElement.swift",
"Json/CallbackApi/TelegramFile.swift",
"Json/CallbackApi/TelegramGame.swift",
"Json/CallbackApi/TelegramInlineQuery.swift",
"Json/CallbackApi/TelegramInvoice.swift",
"Json/CallbackApi/TelegramLocation.swift",
"Json/CallbackApi/TelegramMaskPosition.swift",
"Json/CallbackApi/TelegramMessage.swift",
"Json/CallbackApi/TelegramMessageEntity.swift",
"Json/CallbackApi/TelegramOrderInfo.swift",
"Json/CallbackApi/TelegramPassportData.swift",
"Json/CallbackApi/TelegramPassportFile.swift",
"Json/CallbackApi/TelegramPhotoSize.swift",
"Json/CallbackApi/TelegramPreCheckoutQuery.swift",
"Json/CallbackApi/TelegramShippingAddress.swift",
"Json/CallbackApi/TelegramShippingQuery.swift",
"Json/CallbackApi/TelegramSticker.swift",
"Json/CallbackApi/TelegramSuccessfulPayment.swift",
"Json/CallbackApi/TelegramUpdate.swift",
"Json/CallbackApi/TelegramUser.swift",
"Json/CallbackApi/TelegramUserProfilePhotos.swift",
"Json/CallbackApi/TelegramVenue.swift",
"Json/CallbackApi/TelegramVideo.swift",
"Json/CallbackApi/TelegramVideoNote.swift",
"Json/CallbackApi/TelegramVoice.swift",
"Json/SendApi/TelegramSendAnswerCallbackQuery.swift",
"Json/SendApi/TelegramSendChatIdentifier.swift",
"Json/SendApi/TelegramSendEditMessageReplyMarkup.swift",
"Json/SendApi/TelegramSendForwardMessage.swift",
"Json/SendApi/TelegramSendMessage.swift",
"Json/SendApi/TelegramSendPhoto.swift",
"TelegramReceiveApi.swift",
"TelegramSendApi.swift",
"Toolbox/Router.swift",
"Toolbox/TelegramApiHttpProvider.swift",
"Toolbox/TelegramApiProvider.swift",
"Toolbox/TelegramApiResponse.swift",
"Toolbox/TelegramSendApi+HTTPInitializer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mxcl/PromiseKit.git
[1/17186] Fetching promisekit
[173/31941] Fetching promisekit, quick
[7425/51525] Fetching promisekit, quick, nimble
[15355/125903] Fetching promisekit, quick, nimble, vapor
Fetched https://github.com/Quick/Quick.git from cache (1.55s)
[101479/111148] Fetching promisekit, nimble, vapor
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.57s)
[87268/93962] Fetching nimble, vapor
Fetched https://github.com/Quick/Nimble.git from cache (1.78s)
Fetched https://github.com/vapor/vapor.git from cache (2.37s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (2.95s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.54s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.61s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (0.57s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/websocket-kit.git
[1/3319] Fetching multipart-kit
[831/5928] Fetching multipart-kit, websocket-kit
[1311/10902] Fetching multipart-kit, websocket-kit, swift-distributed-tracing
[2653/11965] Fetching multipart-kit, websocket-kit, swift-distributed-tracing, swift-service-context
[4149/17924] Fetching multipart-kit, websocket-kit, swift-distributed-tracing, swift-service-context, swift-algorithms
[6957/19634] Fetching multipart-kit, websocket-kit, swift-distributed-tracing, swift-service-context, swift-algorithms, swift-atomics
Fetched https://github.com/vapor/websocket-kit.git from cache (0.44s)
[9957/17025] Fetching multipart-kit, swift-distributed-tracing, swift-service-context, swift-algorithms, swift-atomics
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.72s)
Fetching https://github.com/apple/swift-log.git
[9829/14257] Fetching multipart-kit, swift-service-context, swift-algorithms, swift-atomics, swift-metrics
[12035/18093] Fetching multipart-kit, swift-service-context, swift-algorithms, swift-atomics, swift-metrics, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (0.52s)
[10711/15887] Fetching multipart-kit, swift-service-context, swift-algorithms, swift-atomics, swift-log
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-log.git from cache (0.41s)
Fetching https://github.com/apple/swift-nio-http2.git
[9829/17965] Fetching multipart-kit, swift-service-context, swift-algorithms, swift-atomics, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.43s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/11527] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-service-context.git from cache (1.68s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.68s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.68s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (1.74s)
Fetching https://github.com/vapor/console-kit.git
[11528/32254] Fetching swift-nio-http2, routing-kit
[14638/47097] Fetching swift-nio-http2, routing-kit, swift-nio-ssl
[16061/52674] Fetching swift-nio-http2, routing-kit, swift-nio-ssl, console-kit
[20459/66610] Fetching swift-nio-http2, routing-kit, swift-nio-ssl, console-kit, swift-crypto
[29856/142665] Fetching swift-nio-http2, routing-kit, swift-nio-ssl, console-kit, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.25s)
[31988/131138] Fetching routing-kit, swift-nio-ssl, console-kit, swift-crypto, swift-nio
Fetched https://github.com/vapor/console-kit.git from cache (0.65s)
[26559/125561] Fetching routing-kit, swift-nio-ssl, swift-crypto, swift-nio
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/swift-server/async-http-client.git
[52033/127931] Fetching routing-kit, swift-nio-ssl, swift-crypto, swift-nio, async-kit
[65553/141945] Fetching routing-kit, swift-nio-ssl, swift-crypto, swift-nio, async-kit, async-http-client
Fetched https://github.com/vapor/async-kit.git from cache (0.48s)
[67494/139575] Fetching routing-kit, swift-nio-ssl, swift-crypto, swift-nio, async-http-client
Fetched https://github.com/vapor/routing-kit.git from cache (1.31s)
[61478/118848] Fetching swift-nio-ssl, swift-crypto, swift-nio, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.34s)
[78976/104834] Fetching swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.72s)
[69455/89991] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (6.93s)
Fetched https://github.com/apple/swift-nio.git from cache (6.99s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (10.70s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.47s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.84s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.60s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.40s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[2680/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.32s)
Fetched https://github.com/apple/swift-collections.git from cache (1.36s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (2.02s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (3.05s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.47s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.37s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (0.80s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.65s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.89s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
[1/2426] Fetching swift-service-lifecycle
[171/4016] Fetching swift-service-lifecycle, swift-asn1
[1606/9001] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms
[4540/10142] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-http-structured-headers
[5753/16297] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-http-structured-headers, swift-certificates
[6708/17201] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-http-structured-headers, swift-certificates, swift-http-types
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.45s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.50s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.51s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.51s)
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.02s)
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.64s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.56s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.51s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.61s)
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.57s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.72s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (2.49s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.91s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.74s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.75s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.59s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (1.15s)
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/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/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.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.3.2
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.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.27.1
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.36.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.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.26.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.0
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.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.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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.0.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Building for debugging...
[0/834] Write sources
[41/834] Compiling CNIOWindows WSAStartup.c
[41/834] Compiling CNIOWindows shim.c
[41/834] Write sources
[44/834] Compiling CNIOWASI CNIOWASI.c
[45/834] Write sources
[52/834] Compiling _NumericsShims _NumericsShims.c
[53/834] Compiling CNIOLinux liburing_shims.c
[54/834] Compiling _AtomicsShims.c
[55/834] Compiling CVaporBcrypt blf.c
[56/834] Compiling CSystem shims.c
[57/834] Compiling CNIOSHA1 c_nio_sha1.c
[58/834] Compiling CNIOLinux shim.c
[59/834] Compiling CNIOLLHTTP c_nio_http.c
[60/834] Compiling CNIODarwin shim.c
[61/834] Compiling CNIOExtrasZlib empty.c
[62/834] Compiling CNIOLLHTTP c_nio_api.c
[63/834] Compiling fiat_p256_adx_sqr.S
[64/834] Compiling fiat_p256_adx_mul.S
[65/834] Compiling fiat_curve25519_adx_square.S
[66/834] Compiling fiat_curve25519_adx_mul.S
[67/834] Compiling CVaporBcrypt bcrypt.c
[68/834] Write swift-version-24593BA9C3E375BF.txt
[69/834] Compiling CNIOLLHTTP c_nio_llhttp.c
[70/834] Compiling CNIOBoringSSLShims shims.c
[72/840] Emitting module _NIOBase64
[72/840] Compiling tls_method.cc
[73/840] Compiling tls13_both.cc
[74/840] Compiling tls13_client.cc
[75/840] Compiling tls13_server.cc
[76/845] Compiling tls_record.cc
[77/875] Compiling tls13_enc.cc
[79/934] Emitting module ServiceContextModule
[80/952] Emitting module Logging
[81/952] Compiling TelegramBot TelegramMessage.swift
[82/952] Compiling TelegramBot TelegramMessageEntity.swift
[83/952] Compiling TelegramBot TelegramOrderInfo.swift
[84/952] Compiling _NIOBase64 Base64.swift
[85/956] Compiling _NIODataStructures _TinyArray.swift
[86/956] Compiling _NIODataStructures PriorityQueue.swift
[87/956] Emitting module SystemPackage
[88/956] Compiling PromiseKit CustomStringConvertible.swift
[89/956] Compiling PromiseKit Error.swift
[90/957] Compiling PromiseKit LogEvent.swift
[91/957] Compiling PromiseKit Promise.swift
[92/957] Compiling PromiseKit Resolver.swift
[93/957] Compiling PromiseKit Thenable.swift
[94/957] Compiling RealModule Float80+Real.swift
[95/957] Compiling ServiceContextModule ServiceContextKey.swift
[96/957] Compiling RealModule Real.swift
[97/957] Emitting module RealModule
[98/957] Compiling PromiseKit Combine.swift
[99/957] Compiling PromiseKit Configuration.swift
[100/957] Compiling ServiceContextModule ServiceContext.swift
[102/958] Compiling RealModule ElementaryFunctions.swift
[103/958] Compiling RealModule Float16+Real.swift
[104/958] Compiling RealModule Float+Real.swift
[105/958] Compiling PromiseKit Async.swift
[106/958] Compiling PromiseKit Box.swift
[107/958] Compiling PromiseKit Catchable.swift
[108/958] Compiling PromiseKit Guarantee.swift
[109/958] Emitting module _NIODataStructures
[110/958] Compiling _NIODataStructures Heap.swift
[115/959] Compiling RealModule RealFunctions.swift
[119/982] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[120/984] Compiling SystemPackage Util+StringArray.swift
[121/984] Compiling SystemPackage Util.swift
[122/984] Compiling SystemPackage UtilConsumers.swift
[123/984] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[124/984] Compiling InternalCollectionsUtilities UInt+reversed.swift
[125/984] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[126/984] Compiling InternalCollectionsUtilities Debugging.swift
[127/984] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[128/984] Compiling InternalCollectionsUtilities Descriptions.swift
[129/984] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[130/984] Emitting module Instrumentation
[131/984] Compiling Instrumentation NoOpInstrument.swift
[132/984] Compiling Instrumentation Instrument.swift
[133/984] Compiling Instrumentation InstrumentationSystem.swift
[134/984] Compiling Instrumentation MultiplexInstrument.swift
[135/984] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[136/984] Compiling InternalCollectionsUtilities _SortedCollection.swift
[137/984] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[138/984] Compiling InternalCollectionsUtilities Integer rank.swift
[139/984] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[140/984] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[141/984] Emitting module InternalCollectionsUtilities
[143/985] Emitting module PromiseKit
[143/987] Compiling t1_enc.cc
[145/987] Compiling CoreMetrics Metrics.swift
[146/1055] Compiling Instrumentation Locks.swift
[147/1056] Compiling Logging LogHandler.swift
[148/1056] Compiling Logging Logging.swift
[149/1056] Compiling _RopeModule BigString+Append.swift
[150/1056] Compiling _RopeModule BigString+Initializers.swift
[151/1056] Compiling _RopeModule BigString+Insert.swift
[152/1056] Compiling _RopeModule BigString+Managing Breaks.swift
[153/1056] Emitting module CoreMetrics
[154/1056] Compiling CoreMetrics Locks.swift
[155/1056] Compiling Logging MetadataProvider.swift
[156/1056] Compiling Logging Locks.swift
[157/1058] Compiling _RopeModule BigString+Iterators.swift
[158/1058] Compiling _RopeModule BigString+Metrics.swift
[159/1058] Compiling _RopeModule BigString+Summary.swift
[160/1058] Compiling _RopeModule BigString.swift
[161/1058] Compiling _RopeModule BigString+Debugging.swift
[162/1058] Compiling _RopeModule BigString+Index.swift
[163/1058] Compiling _RopeModule BigString+Ingester.swift
[164/1058] Compiling _RopeModule BigString+Invariants.swift
[169/1069] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[170/1069] Compiling _RopeModule BigString+Chunk+Breaks.swift
[171/1069] Compiling _RopeModule BigString+Chunk+Counts.swift
[172/1069] Compiling _RopeModule BigString+Chunk+Description.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[173/1069] Emitting module TelegramBot
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[174/1123] Compiling OrderedCollections _Hashtable+Header.swift
[175/1123] Compiling OrderedCollections OrderedSet+Initializers.swift
[176/1129] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[177/1129] Compiling OrderedCollections _HashTable.swift
[178/1130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[179/1130] Compiling OrderedCollections _HashTable+Testing.swift
[180/1136] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[181/1136] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[182/1136] Compiling OrderedCollections OrderedDictionary+Elements.swift
[183/1136] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[184/1136] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[185/1136] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[186/1136] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[187/1136] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[188/1136] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[189/1136] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[190/1136] Compiling OrderedCollections _HashTable+BucketIterator.swift
[191/1136] Compiling OrderedCollections _HashTable+Constants.swift
[192/1136] Compiling OrderedCollections OrderedDictionary+Values.swift
[193/1136] Compiling OrderedCollections _HashTable+Bucket.swift
[197/1137] Compiling OrderedCollections OrderedSet+Insertions.swift
[198/1137] Compiling OrderedCollections OrderedSet+Invariants.swift
[199/1137] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[200/1137] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[201/1137] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[202/1137] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[203/1137] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[204/1137] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[215/1137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[216/1137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[217/1137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[218/1137] Compiling OrderedCollections OrderedDictionary.swift
[219/1137] Compiling OrderedCollections OrderedSet+Codable.swift
[220/1137] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[221/1137] Compiling OrderedCollections OrderedSet+Descriptions.swift
[222/1137] Compiling OrderedCollections OrderedSet+Diffing.swift
[223/1137] Compiling OrderedCollections OrderedSet+Equatable.swift
[224/1137] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[225/1137] Compiling OrderedCollections OrderedSet+Hashable.swift
[226/1137] Compiling OrderedCollections OrderedDictionary+Codable.swift
[227/1137] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[228/1137] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[230/1137] Emitting module Tracing
[231/1137] Emitting module Metrics
[232/1137] Compiling Metrics Metrics.swift
[233/1138] Compiling RoutingKit PathComponent.swift
[233/1138] Compiling ssl_x509.cc
[235/1138] Compiling RoutingKit AnyRouter.swift
[236/1138] Compiling Tracing TracingTime.swift
[237/1138] Compiling Tracing TracerProtocol.swift
[238/1138] Compiling RoutingKit Parameters.swift
[239/1138] Compiling RoutingKit Router.swift
[240/1138] Emitting module RoutingKit
[241/1138] Compiling RoutingKit TrieRouter.swift
[242/1138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[243/1138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[244/1138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[245/1138] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[246/1138] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[247/1138] Compiling TelegramBot TelegramSendApi+HTTPInitializer.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[249/1146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[250/1146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[251/1146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[252/1146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[253/1146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[254/1146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[255/1146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[257/1147] Compiling Tracing Tracer.swift
[258/1147] Compiling Tracing SpanProtocol.swift
[259/1147] Compiling Tracing NoOpTracer.swift
[260/1147] Compiling Tracing InstrumentationSystem+Tracing.swift
[261/1147] Compiling Tracing TracerProtocol+Legacy.swift
[269/1200] Compiling HeapModule Heap.swift
[270/1200] Compiling HeapModule Heap+Descriptions.swift
[271/1200] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[272/1200] Compiling HeapModule _HeapNode.swift
[272/1202] Compiling ssl_versions.cc
[273/1202] Compiling HeapModule Heap+Invariants.swift
[279/1207] Compiling OrderedCollections OrderedSet+Sendable.swift
[280/1207] Compiling OrderedCollections OrderedSet+SubSequence.swift
[281/1207] Compiling OrderedCollections OrderedSet+Testing.swift
[282/1207] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[283/1207] Compiling HashTreeCollections _HashNode+Invariants.swift
[284/1207] Compiling HashTreeCollections _HashNode+Lookups.swift
[285/1207] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[286/1207] Compiling HashTreeCollections TreeDictionary.swift
[287/1207] Compiling HashTreeCollections TreeSet+Codable.swift
[288/1207] Compiling HashTreeCollections TreeSet+Collection.swift
[289/1207] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[290/1207] Compiling HashTreeCollections TreeSet+Debugging.swift
[291/1207] Compiling HashTreeCollections TreeSet+Descriptions.swift
[292/1207] Compiling HashTreeCollections TreeSet+Equatable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/755] Write sources
[1/756] Compiling fiat_p256_adx_mul.S
[2/756] Compiling md5-x86_64-linux.S
[3/756] Compiling fiat_curve25519_adx_mul.S
[4/756] Compiling md5-x86_64-apple.S
[5/756] Compiling fiat_curve25519_adx_square.S
[6/756] Compiling fiat_p256_adx_sqr.S
[7/756] Compiling CCryptoBoringSSLShims shims.c
[8/756] Compiling ssl_versions.cc
[9/756] Write swift-version-24593BA9C3E375BF.txt
[10/756] Compiling ssl_transcript.cc
[11/756] Compiling ssl_session.cc
[12/756] Compiling ssl_stat.cc
[13/756] Compiling ssl_privkey.cc
[14/840] Compiling ssl_key_share.cc
[16/840] Compiling _NIODataStructures Heap.swift
[17/843] Emitting module _NIODataStructures
[18/843] Compiling ServiceContextModule ServiceContextKey.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/843] Emitting module TelegramBot
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[19/849] Compiling ssl_lib.cc
[21/849] Compiling _NIOBase64 Base64.swift
[22/849] Emitting module _NIOBase64
[23/849] Compiling TelegramBot TelegramSendApi.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[24/849] Compiling TelegramBot Router.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[25/849] Compiling TelegramBot TelegramApiHttpProvider.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[26/849] Compiling TelegramBot TelegramApiProvider.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[27/849] Compiling TelegramBot TelegramApiResponse.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[28/849] Compiling TelegramBot TelegramSendApi+HTTPInitializer.swift
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:21:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let queue: DispatchQueue
20 |
21 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | static let headers = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:52: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:30:79: error: cannot infer contextual base in reference to member 'default'
28 | public let url: String
29 |
30 | public init(url: String, session: URLSession = URLSession(configuration: .default)) {
| `- error: cannot infer contextual base in reference to member 'default'
31 | let encoder = JSONEncoder()
32 | encoder.keyEncodingStrategy = .convertToSnakeCase
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiHttpProvider.swift:63:23: error: cannot find 'URLRequest' in scope
61 | }
62 |
63 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | req.httpMethod = "POST"
65 | req.httpBody = body
/host/spi-builder-workspace/Sources/TelegramBot/Toolbox/TelegramApiProvider.swift:27:24: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct TelegramResponse<Result: Codable> {
| `- note: 'Result' previously declared here
18 |
19 | public enum Error: Swift.Error {
:
25 | }
26 |
27 | public enum Status<Result> {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | case success(Result)
29 | case failure(Swift.Error)
[30/850] Compiling _NIODataStructures PriorityQueue.swift
[31/850] Compiling _NIODataStructures _TinyArray.swift
[32/851] Emitting module ServiceContextModule
[33/851] Compiling ServiceContextModule ServiceContext.swift
[36/878] Compiling RealModule Real.swift
[37/879] Compiling RealModule RealFunctions.swift
[38/882] Compiling RealModule Float80+Real.swift
[39/884] Emitting module PromiseKit
[40/900] Compiling PromiseKit when.swift
[41/900] Compiling TelegramBot TelegramEncryptedPassportElement.swift
[42/900] Compiling TelegramBot TelegramFile.swift
[43/900] Compiling TelegramBot TelegramGame.swift
[44/900] Compiling TelegramBot TelegramInlineQuery.swift
[45/900] Compiling TelegramBot TelegramInvoice.swift
[46/900] Compiling TelegramBot TelegramLocation.swift
[47/900] Compiling TelegramBot TelegramMaskPosition.swift
[48/900] Compiling TelegramBot TelegramMessage.swift
[49/900] Compiling TelegramBot TelegramMessageEntity.swift
[50/900] Compiling TelegramBot TelegramOrderInfo.swift
[51/903] Compiling PromiseKit Catchable.swift
[52/903] Compiling PromiseKit firstly.swift
[53/903] Compiling PromiseKit hang.swift
[54/903] Compiling PromiseKit race.swift
[55/903] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[55/904] Compiling ssl_file.cc
[57/904] Compiling RealModule ElementaryFunctions.swift
[58/904] Compiling RealModule Float+Real.swift
[59/904] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[60/904] Compiling InternalCollectionsUtilities Debugging.swift
[61/904] Compiling InternalCollectionsUtilities Descriptions.swift
[62/904] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[63/904] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[64/904] Compiling InternalCollectionsUtilities UInt+reversed.swift
[67/904] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[68/904] Compiling InternalCollectionsUtilities Integer rank.swift
[73/904] Compiling Logging MetadataProvider.swift
[74/904] Compiling RealModule Float16+Real.swift
[77/904] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[78/904] Compiling InternalCollectionsUtilities _SortedCollection.swift
[79/904] Emitting module Logging
[80/904] Compiling Logging Locks.swift
[81/904] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[82/907] Emitting module RealModule
[83/911] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[84/911] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[94/911] Compiling SystemPackage Util.swift
[95/911] Compiling SystemPackage UtilConsumers.swift
[96/911] Compiling TelegramBot TelegramUserProfilePhotos.swift
[97/911] Compiling TelegramBot TelegramVenue.swift
[98/911] Compiling TelegramBot TelegramVideo.swift
[99/911] Compiling TelegramBot TelegramVideoNote.swift
[100/911] Compiling TelegramBot TelegramVoice.swift
[101/911] Compiling TelegramBot TelegramPassportFile.swift
[102/911] Compiling TelegramBot TelegramPhotoSize.swift
[103/911] Compiling TelegramBot TelegramPreCheckoutQuery.swift
[104/911] Compiling TelegramBot TelegramShippingAddress.swift
[105/911] Compiling TelegramBot TelegramShippingQuery.swift
[106/911] Compiling TelegramBot TelegramSticker.swift
[107/911] Compiling TelegramBot TelegramSuccessfulPayment.swift
[108/911] Compiling TelegramBot TelegramSendAnswerCallbackQuery.swift
[109/911] Compiling TelegramBot TelegramSendChatIdentifier.swift
[110/911] Compiling TelegramBot TelegramSendEditMessageReplyMarkup.swift
[111/911] Compiling TelegramBot TelegramSendForwardMessage.swift
[112/911] Compiling TelegramBot TelegramSendMessage.swift
[113/911] Compiling TelegramBot TelegramSendPhoto.swift
[114/911] Compiling TelegramBot TelegramReceiveApi.swift
[122/911] Emitting module Instrumentation
[123/911] Compiling Instrumentation NoOpInstrument.swift
[124/911] Compiling Instrumentation MultiplexInstrument.swift
[138/911] Compiling SystemPackage Util+StringArray.swift
[139/911] Compiling Instrumentation Instrument.swift
[143/911] Compiling Instrumentation InstrumentationSystem.swift
[144/911] Compiling Instrumentation Locks.swift
[145/912] Emitting module InternalCollectionsUtilities
[166/913] Emitting module SystemPackage
[170/913] Compiling ssl_credential.cc
[173/917] Compiling ssl_cipher.cc
BUILD FAILURE 6.1 android