The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build TelegramBot, reference master (bccf35), with Swift 6.1 for Android on 27 May 2025 20:21:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-0":/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/Quick/Nimble.git
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/vapor/vapor.git
[1/14755] Fetching quick
[2215/31941] Fetching quick, promisekit
[16474/51525] Fetching quick, promisekit, nimble
[18023/125903] Fetching quick, promisekit, nimble, vapor
Fetched https://github.com/Quick/Quick.git from cache (1.30s)
[92554/111148] Fetching promisekit, nimble, vapor
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.32s)
[77599/93962] Fetching nimble, vapor
Fetched https://github.com/Quick/Nimble.git from cache (2.19s)
Fetched https://github.com/vapor/vapor.git from cache (2.21s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (2.73s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.49s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.52s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (2.77s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/2609] Fetching websocket-kit
[2610/7583] Fetching websocket-kit, swift-distributed-tracing
[4053/8646] Fetching websocket-kit, swift-distributed-tracing, swift-service-context
[4054/11965] Fetching websocket-kit, swift-distributed-tracing, swift-service-context, multipart-kit
[8699/13675] Fetching websocket-kit, swift-distributed-tracing, swift-service-context, multipart-kit, swift-atomics
[11369/19634] Fetching websocket-kit, swift-distributed-tracing, swift-service-context, multipart-kit, swift-atomics, swift-algorithms
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.52s)
Fetching https://github.com/apple/swift-metrics.git
[12969/16866] Fetching websocket-kit, swift-service-context, multipart-kit, swift-atomics, swift-algorithms, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.30s)
Fetching https://github.com/apple/swift-log.git
[13001/14660] Fetching websocket-kit, swift-service-context, multipart-kit, swift-atomics, swift-algorithms
[14661/18496] Fetching websocket-kit, swift-service-context, multipart-kit, swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-service-context.git from cache (1.79s)
Fetched https://github.com/vapor/websocket-kit.git from cache (1.80s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.80s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.80s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (1.84s)
Fetching https://github.com/apple/swift-crypto.git
[1/5914] Fetching swift-nio-extras
[297/26641] Fetching swift-nio-extras, routing-kit
[8227/38168] Fetching swift-nio-extras, routing-kit, swift-nio-http2
[24411/52104] Fetching swift-nio-extras, routing-kit, swift-nio-http2, swift-crypto
[29986/66947] Fetching swift-nio-extras, routing-kit, swift-nio-http2, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.00s)
[40201/61033] Fetching routing-kit, swift-nio-http2, swift-crypto, swift-nio-ssl
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/routing-kit.git from cache (1.21s)
Fetching https://github.com/vapor/async-kit.git
[27065/40306] Fetching swift-nio-http2, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.31s)
Fetching https://github.com/swift-server/async-http-client.git
[17089/28779] Fetching swift-crypto, swift-nio-ssl
[18790/34356] Fetching swift-crypto, swift-nio-ssl, console-kit
[25404/36726] Fetching swift-crypto, swift-nio-ssl, console-kit, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.39s)
Fetched https://github.com/vapor/console-kit.git from cache (0.62s)
[1/14014] Fetching async-http-client
Fetched https://github.com/apple/swift-crypto.git from cache (2.08s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.33s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.13s)
[1/76055] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (9.63s)
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.45s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.42s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.59s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.14s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[3822/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.33s)
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 (1.99s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.63s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.46s)
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.35s)
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.94s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.61s)
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.78s)
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-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/2426] Fetching swift-service-lifecycle
[123/4016] Fetching swift-service-lifecycle, swift-asn1
[1257/9001] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms
[5797/15156] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.59s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.66s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.66s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.68s)
[1/1141] Fetching swift-http-structured-headers
[1142/2045] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.34s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.36s)
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.79s)
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.82s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.71s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.36s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.90s)
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.57s)
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.77s)
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.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.73s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.57s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.62s)
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.79s)
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.72s)
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 (2.86s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.44s)
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/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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-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/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-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-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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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/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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
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
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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/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/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-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-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-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/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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.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/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Building for debugging...
[0/834] Write sources
[43/834] Compiling CNIOWindows WSAStartup.c
[44/834] Compiling CVaporBcrypt bcrypt.c
[45/834] Write sources
[46/834] Compiling CNIOWASI CNIOWASI.c
[46/834] Compiling CNIOSHA1 c_nio_sha1.c
[46/834] Write sources
[55/834] Compiling _AtomicsShims.c
[55/834] Compiling CVaporBcrypt blf.c
[57/834] Compiling CNIOWindows shim.c
[58/834] Compiling _NumericsShims _NumericsShims.c
[59/834] Compiling CNIOLinux liburing_shims.c
[60/834] Compiling CNIOLinux shim.c
[61/834] Compiling CSystem shims.c
[62/834] Compiling CNIODarwin shim.c
[63/834] Compiling CNIOLLHTTP c_nio_http.c
[64/834] Compiling CNIOExtrasZlib empty.c
[65/834] Compiling CNIOLLHTTP c_nio_api.c
[66/834] Compiling fiat_p256_adx_sqr.S
[67/834] Write swift-version-24593BA9C3E375BF.txt
[68/834] Compiling fiat_curve25519_adx_square.S
[69/834] Compiling fiat_p256_adx_mul.S
[70/834] Compiling fiat_curve25519_adx_mul.S
[71/834] Compiling CNIOLLHTTP c_nio_llhttp.c
[72/841] Compiling CNIOBoringSSLShims shims.c
[73/921] Compiling tls_method.cc
[74/921] Compiling tls13_server.cc
[75/947] Compiling tls_record.cc
[77/952] Emitting module RealModule
[78/953] Emitting module Logging
[79/953] Compiling RealModule RealFunctions.swift
[80/953] Compiling SystemPackage MachPort.swift
[81/953] Compiling SystemPackage PlatformString.swift
[82/953] Compiling SystemPackage SystemString.swift
[83/956] Compiling RealModule Float80+Real.swift
[84/956] Compiling RealModule Real.swift
[85/956] Compiling ServiceContextModule ServiceContextKey.swift
[86/956] Compiling PromiseKit Error.swift
[87/956] Compiling PromiseKit Guarantee.swift
[88/956] Compiling PromiseKit LogEvent.swift
[89/956] Compiling PromiseKit Promise.swift
[90/956] Compiling PromiseKit Resolver.swift
[91/956] Compiling PromiseKit Thenable.swift
[92/956] Compiling PromiseKit after.swift
[93/956] Compiling PromiseKit firstly.swift
[94/956] Compiling RealModule Float16+Real.swift
[95/956] Compiling _NIODataStructures _TinyArray.swift
[96/956] Emitting module ServiceContextModule
[97/956] Compiling ServiceContextModule ServiceContext.swift
[98/956] Emitting module _NIOBase64
[99/956] Compiling _NIOBase64 Base64.swift
[100/957] Compiling RealModule AlgebraicField.swift
[101/957] Compiling RealModule ApproximateEquality.swift
[102/957] Compiling RealModule AugmentedArithmetic.swift
[103/957] Compiling PromiseKit CustomStringConvertible.swift
[104/957] Emitting module SystemPackage
[109/958] Compiling _NIODataStructures Heap.swift
[110/958] Emitting module _NIODataStructures
[111/958] Compiling _NIODataStructures PriorityQueue.swift
[112/959] Compiling RealModule ElementaryFunctions.swift
[113/959] Compiling RealModule Float+Real.swift
[118/983] Compiling SystemPackage Util+StringArray.swift
[119/983] Compiling SystemPackage Util.swift
[120/983] Compiling SystemPackage UtilConsumers.swift
[121/983] Emitting module PromiseKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[122/985] 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)
[123/991] Compiling Instrumentation NoOpInstrument.swift
[124/991] Emitting module Instrumentation
[125/991] Compiling Instrumentation MultiplexInstrument.swift
[126/991] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[127/992] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[128/992] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[129/992] Compiling InternalCollectionsUtilities Debugging.swift
[130/992] Compiling InternalCollectionsUtilities Descriptions.swift
[131/992] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[132/992] Compiling Instrumentation Instrument.swift
[133/992] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[134/992] Compiling InternalCollectionsUtilities UInt+reversed.swift
[135/992] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[136/992] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[137/992] Compiling InternalCollectionsUtilities _SortedCollection.swift
[138/992] Emitting module InternalCollectionsUtilities
[139/992] Compiling CoreMetrics Metrics.swift
[139/992] Compiling tls13_enc.cc
[142/992] Compiling InternalCollectionsUtilities Integer rank.swift
[145/992] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[146/992] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[147/993] Compiling tls13_client.cc
[148/993] Compiling tls13_both.cc
[150/1109] Emitting module CoreMetrics
[151/1109] Compiling CoreMetrics Locks.swift
[152/1117] Compiling Instrumentation InstrumentationSystem.swift
[153/1117] Compiling Instrumentation Locks.swift
[154/1117] Compiling Logging MetadataProvider.swift
[155/1117] Compiling Logging Locks.swift
[156/1118] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[157/1118] Compiling OrderedCollections OrderedDictionary+Elements.swift
[158/1118] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[159/1118] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[160/1118] Compiling OrderedCollections OrderedSet+Diffing.swift
[161/1118] Compiling OrderedCollections OrderedSet+Equatable.swift
[162/1118] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[163/1118] Compiling OrderedCollections OrderedSet+Hashable.swift
[164/1118] Compiling OrderedCollections OrderedDictionary.swift
[165/1118] Compiling OrderedCollections OrderedSet+Codable.swift
[166/1118] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[167/1118] Compiling OrderedCollections OrderedSet+Descriptions.swift
[169/1119] Compiling Logging LogHandler.swift
[170/1119] Compiling Logging Logging.swift
[174/1127] 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)
[175/1127] 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)
[176/1127] 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)
[177/1127] 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)
[178/1127] 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)
[179/1127] Compiling _RopeModule Rope+Extract.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)
[180/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[181/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[182/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[183/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[184/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[185/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[186/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[189/1129] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[190/1129] Compiling OrderedCollections _HashTable.swift
[191/1129] Compiling OrderedCollections _Hashtable+Header.swift
[192/1129] Compiling OrderedCollections OrderedDictionary+Codable.swift
[193/1129] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[194/1129] Compiling OrderedCollections _HashTable+Testing.swift
[195/1129] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[196/1129] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[197/1129] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[198/1129] Compiling OrderedCollections OrderedDictionary+Values.swift
[199/1129] Compiling OrderedCollections OrderedSet+Initializers.swift
[200/1129] Compiling OrderedCollections OrderedSet+Insertions.swift
[201/1129] Compiling OrderedCollections OrderedSet+Invariants.swift
[202/1129] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[203/1129] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[204/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[205/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[206/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[207/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[208/1129] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[209/1131] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[210/1131] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[213/1133] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[215/1140] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[216/1141] Compiling HeapModule Heap+Descriptions.swift
[231/1151] Compiling OrderedCollections _HashTable+Bucket.swift
[232/1151] Compiling OrderedCollections _HashTable+BucketIterator.swift
[233/1151] Compiling OrderedCollections _HashTable+Constants.swift
[248/1151] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[249/1151] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[250/1151] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[251/1151] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[259/1151] Compiling HeapModule Heap.swift
[261/1151] Emitting module Metrics
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[2/756] Compiling fiat_p256_adx_sqr.S
[3/756] Compiling fiat_curve25519_adx_mul.S
[4/756] Compiling fiat_p256_adx_mul.S
[5/756] Compiling md5-x86_64-linux.S
[6/756] Compiling md5-x86_64-apple.S
[7/756] Compiling fiat_curve25519_adx_square.S
[8/756] Compiling md5-586-linux.S
[9/756] Write swift-version-24593BA9C3E375BF.txt
[10/756] Compiling CCryptoBoringSSLShims shims.c
[12/760] Emitting module _NIODataStructures
[13/760] Compiling _NIODataStructures PriorityQueue.swift
[14/760] Compiling _NIODataStructures _TinyArray.swift
[15/760] Compiling _NIODataStructures Heap.swift
[15/760] Compiling ssl_privkey.cc
[17/763] Compiling ssl_versions.cc
[18/763] Compiling ssl_transcript.cc
[19/763] Compiling t1_enc.cc
[20/837] Compiling ssl_x509.cc
[22/854] Compiling ServiceContextModule ServiceContextKey.swift
[22/854] Compiling ssl_stat.cc
[24/854] Compiling _NIOBase64 Base64.swift
[25/854] Emitting module _NIOBase64
[25/855] Compiling ssl_session.cc
[28/876] Compiling PromiseKit Async.swift
[29/876] Compiling PromiseKit Box.swift
[30/876] Compiling RealModule Float80+Real.swift
[31/876] Compiling RealModule Real.swift
[32/877] Compiling RealModule Float16+Real.swift
[33/877] Compiling PromiseKit Catchable.swift
[34/877] Compiling PromiseKit Combine.swift
[35/877] Compiling RealModule Float+Real.swift
[36/877] Compiling RealModule ElementaryFunctions.swift
[37/877] Emitting module ServiceContextModule
[38/877] Compiling ServiceContextModule ServiceContext.swift
[40/878] Compiling RealModule RealFunctions.swift
[41/892] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/892] Compiling InternalCollectionsUtilities Descriptions.swift
[43/892] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[44/892] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[45/892] Compiling InternalCollectionsUtilities Debugging.swift
[46/893] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/894] 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)
[49/903] Compiling Logging MetadataProvider.swift
[50/903] Compiling PromiseKit firstly.swift
[51/903] Compiling PromiseKit hang.swift
[52/924] Compiling Atomics OptionalRawRepresentable.swift
[53/924] Compiling Atomics RawRepresentable.swift
[54/924] Compiling Logging Locks.swift
[55/929] Emitting module Logging
[56/930] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[57/930] Compiling Atomics Primitives.shims.swift
[58/930] Compiling Atomics AtomicInteger.swift
[59/930] Compiling Atomics AtomicOptionalWrappable.swift
[60/930] Compiling Atomics AtomicReference.swift
[61/930] Compiling Atomics AtomicStorage.swift
[62/930] Compiling Atomics AtomicValue.swift
[63/930] Compiling Atomics AtomicMemoryOrderings.swift
[64/930] Compiling Atomics DoubleWord.swift
[65/930] Compiling Atomics ManagedAtomic.swift
[66/930] Compiling Atomics ManagedAtomicLazyReference.swift
[67/930] 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)
[68/930] 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)
[69/930] 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)
[70/930] 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)
[71/930] 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)
[72/930] 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)
[73/930] Compiling Instrumentation NoOpInstrument.swift
[74/930] Emitting module SystemPackage
[76/933] Compiling Atomics UnsafeAtomic.swift
[77/933] Compiling Atomics UnsafeAtomicLazyReference.swift
[78/933] Compiling Atomics IntegerConformances.swift
[81/935] Compiling Atomics AtomicBool.swift
[83/935] Compiling SystemPackage Util.swift
[84/935] Compiling SystemPackage UtilConsumers.swift
[85/935] Compiling TelegramBot TelegramPreCheckoutQuery.swift
[86/935] Compiling TelegramBot TelegramShippingAddress.swift
[87/935] Compiling TelegramBot TelegramShippingQuery.swift
[88/935] Compiling TelegramBot TelegramSticker.swift
[89/935] Compiling TelegramBot TelegramSuccessfulPayment.swift
[92/935] Emitting module Instrumentation
[93/935] Compiling Instrumentation Instrument.swift
[94/935] Emitting module PromiseKit
[98/935] Compiling SystemPackage Mocking.swift
[99/935] Compiling SystemPackage RawBuffer.swift
[100/935] Compiling SystemPackage Syscalls.swift
[101/935] Compiling SystemPackage WindowsSyscallAdapters.swift
[102/935] Compiling Atomics PointerConformances.swift
[103/935] Compiling Atomics Primitives.native.swift
[104/935] Compiling Atomics IntegerOperations.swift
[105/935] Compiling Atomics Unmanaged extensions.swift
[106/935] Compiling SystemPackage MachPort.swift
[107/935] Compiling SystemPackage PlatformString.swift
[108/935] Compiling SystemPackage SystemString.swift
[109/935] Compiling Instrumentation MultiplexInstrument.swift
[114/935] Emitting module InternalCollectionsUtilities
[115/936] Compiling TelegramBot TelegramSendAnswerCallbackQuery.swift
[116/936] Compiling TelegramBot TelegramSendChatIdentifier.swift
[117/936] Compiling TelegramBot TelegramSendEditMessageReplyMarkup.swift
[118/936] Compiling TelegramBot TelegramSendForwardMessage.swift
[119/936] Compiling TelegramBot TelegramSendMessage.swift
[120/936] Compiling TelegramBot TelegramSendPhoto.swift
[121/936] Compiling TelegramBot TelegramReceiveApi.swift
[122/936] Compiling TelegramBot TelegramUpdate.swift
[123/936] Compiling TelegramBot TelegramUser.swift
[124/936] Compiling TelegramBot TelegramUserProfilePhotos.swift
[125/936] Compiling TelegramBot TelegramVenue.swift
[126/936] Compiling TelegramBot TelegramVideo.swift
[127/936] Compiling TelegramBot TelegramVideoNote.swift
[128/936] Compiling TelegramBot TelegramVoice.swift
[132/936] Compiling Instrumentation InstrumentationSystem.swift
[133/936] Compiling Instrumentation Locks.swift
[177/938] Compiling SystemPackage Util+StringArray.swift
[185/938] Compiling ssl_lib.cc
[189/938] Compiling CoreMetrics Locks.swift
[190/938] Emitting module CoreMetrics
BUILD FAILURE 6.1 android