The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of TelegramBotSDK, reference v2.1.3 (7b1144), with Swift 5.9 for macOS (SPM) on 17 Mar 2025 22:39:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rapierorg/telegram-bot-swift.git
Reference: v2.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rapierorg/telegram-bot-swift
 * tag               v2.1.3     -> FETCH_HEAD
HEAD is now at 7b1144b Merge pull request #130 from fannur/master
Cloned https://github.com/rapierorg/telegram-bot-swift.git
Revision (git rev-parse @):
7b1144b867ca962e10b1de21c32ab7156e4a83ce
SUCCESS checkout https://github.com/rapierorg/telegram-bot-swift.git at v2.1.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/rapierorg/telegram-bot-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Compiling CCurl shim.c
[2/42] Emitting module TelegramBotSDK
[3/46] Compiling TelegramBotSDK InputFileOrString.swift
[4/46] Compiling TelegramBotSDK InputMedia.swift
[5/46] Compiling TelegramBotSDK InputMessageContent.swift
[6/46] Compiling TelegramBotSDK Message+Command.swift
[7/46] Compiling TelegramBotSDK Scanner+Compatibility.swift
[8/46] Compiling TelegramBotSDK Scanner+Utils.swift
[9/46] Compiling TelegramBotSDK String+ExtractBotCommand.swift
[10/46] Compiling TelegramBotSDK String+HTTP.swift
[11/46] Compiling TelegramBotSDK String+Trim.swift
[12/46] Compiling TelegramBotSDK Context.swift
[13/46] Compiling TelegramBotSDK Router+Helpers.swift
[14/46] Compiling TelegramBotSDK Router.swift
[15/46] Compiling TelegramBotSDK TaskAssociatedData.swift
[16/46] Compiling TelegramBotSDK BotName.swift
[17/46] Compiling TelegramBotSDK DataTaskError.swift
[18/46] Compiling TelegramBotSDK DictionaryUtils.swift
[19/46] Compiling TelegramBotSDK NSRunLoop+Utils.swift
[20/46] Compiling TelegramBotSDK Optional+Unwrap.swift
[21/46] Compiling TelegramBotSDK MessageEntity+Utils.swift
[22/46] Compiling TelegramBotSDK MessageOrBool.swift
[23/46] Compiling TelegramBotSDK ParseMode.swift
[24/46] Compiling TelegramBotSDK PollType.swift
[25/46] Compiling TelegramBotSDK ChatMember+Status.swift
[26/46] Compiling TelegramBotSDK ChatType.swift
[27/46] Compiling TelegramBotSDK InlineQueryResult.swift
[28/46] Compiling TelegramBotSDK InputFile.swift
[29/46] Compiling TelegramBotSDK TelegramBot+sendChatAction+Utils.swift
[30/46] Compiling TelegramBotSDK MimeTypes.swift
[31/46] Compiling TelegramBotSDK Arguments.swift
[32/46] Compiling TelegramBotSDK Command.swift
[33/46] Compiling TelegramBotSDK ContentType.swift
[34/46] Compiling TelegramBotSDK TelegramBot+Requests.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
        curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
                                                          ^
[35/46] Compiling TelegramBotSDK TelegramBot+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
        curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
                                                          ^
[36/46] Compiling TelegramBotSDK TelegramBot.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
        curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
                                                          ^
[37/46] Compiling TelegramBotSDK ChatId.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
        curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
                                                          ^
[38/46] Compiling TelegramBotSDK ReplyMarkup.swift
[39/46] Compiling TelegramBotSDK Response.swift
[40/46] Compiling TelegramBotSDK Utils.swift
[41/46] Compiling TelegramBotSDK WriteCallbackData.swift
[42/46] Compiling TelegramBotSDK String+Utils.swift
[43/46] Compiling TelegramBotSDK Methods.swift
[44/46] Compiling TelegramBotSDK Types.swift
[45/46] Compiling TelegramBotSDK HTTPUtils.swift
[46/46] Compiling TelegramBotSDK TelegramBot+getUpdates+Utils.swift
Build complete! (8.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TelegramBotSDK",
  "name" : "TelegramBotSDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CCurl",
      "targets" : [
        "CCurl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TelegramBotSDK",
      "targets" : [
        "TelegramBotSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TelegramBotSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "TelegramBotSDKTests",
      "path" : "Tests/TelegramBotSDKTests",
      "sources" : [
        "BlockingServerTests.swift",
        "RequestTests.swift",
        "RouterTests.swift",
        "TelegramBotTests.swift",
        "UrlencodeTests.swift"
      ],
      "target_dependencies" : [
        "TelegramBotSDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TelegramBotSDK",
      "module_type" : "SwiftTarget",
      "name" : "TelegramBotSDK",
      "path" : "Sources/TelegramBotSDK",
      "product_memberships" : [
        "TelegramBotSDK"
      ],
      "sources" : [
        "BotName.swift",
        "DataTaskError.swift",
        "DictionaryUtils.swift",
        "Extensions/NSRunLoop+Utils.swift",
        "Extensions/Optional+Unwrap.swift",
        "Extensions/Scanner+Compatibility.swift",
        "Extensions/Scanner+Utils.swift",
        "Extensions/String+ExtractBotCommand.swift",
        "Extensions/String+HTTP.swift",
        "Extensions/String+Trim.swift",
        "Extensions/String+Utils.swift",
        "Generated/Methods.swift",
        "Generated/Types.swift",
        "HTTPUtils.swift",
        "Methods/TelegramBot+getUpdates+Utils.swift",
        "Methods/TelegramBot+sendChatAction+Utils.swift",
        "MimeTypes.swift",
        "Router/Arguments.swift",
        "Router/Command.swift",
        "Router/ContentType.swift",
        "Router/Context.swift",
        "Router/Router+Helpers.swift",
        "Router/Router.swift",
        "TaskAssociatedData.swift",
        "TelegramBot+Requests.swift",
        "TelegramBot+Utils.swift",
        "TelegramBot.swift",
        "Types/ChatId.swift",
        "Types/ChatMember+Status.swift",
        "Types/ChatType.swift",
        "Types/InlineQueryResult.swift",
        "Types/InputFile.swift",
        "Types/InputFileOrString.swift",
        "Types/InputMedia.swift",
        "Types/InputMessageContent.swift",
        "Types/Message+Command.swift",
        "Types/MessageEntity+Utils.swift",
        "Types/MessageOrBool.swift",
        "Types/ParseMode.swift",
        "Types/PollType.swift",
        "Types/ReplyMarkup.swift",
        "Types/Response.swift",
        "Utils.swift",
        "WriteCallbackData.swift"
      ],
      "target_dependencies" : [
        "CCurl"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CCurl",
      "module_type" : "ClangTarget",
      "name" : "CCurl",
      "path" : "Sources/CCurl",
      "product_memberships" : [
        "CCurl",
        "TelegramBotSDK"
      ],
      "sources" : [
        "shim.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.