The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TelegramBotSDK with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rapierorg/telegram-bot-swift.git
Reference: v2.1.2
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/rapierorg/telegram-bot-swift
 * tag               v2.1.2     -> FETCH_HEAD
HEAD is now at c03186f Make explanation optional in Poll
Cloned https://github.com/rapierorg/telegram-bot-swift.git
Revision (git rev-parse @):
c03186fdbde69be648be33c57793a2d83c5a8256
SUCCESS checkout https://github.com/rapierorg/telegram-bot-swift.git at v2.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/rapierorg/telegram-bot-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/3] Write sources
[1/3] Compiling CCurl shim.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/43] Compiling TelegramBotSDK TelegramBot+Requests.swift
/host/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)
                                                          ^
[5/43] Compiling TelegramBotSDK TelegramBot+Utils.swift
/host/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)
                                                          ^
[6/43] Compiling TelegramBotSDK TelegramBot.swift
/host/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)
                                                          ^
[7/43] Compiling TelegramBotSDK ChatId.swift
/host/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)
                                                          ^
[8/43] Compiling TelegramBotSDK ChatMember+Status.swift
/host/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)
                                                          ^
[9/48] Compiling TelegramBotSDK BotName.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
            run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
            ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
        return scanCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: note: use 'scanCharacters(from:)' instead
        return scanCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~
               scanCharacters        from:
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: warning: 'scanUpToCharactersFromSet' is deprecated: renamed to 'scanUpToCharacters(from:)'
        return scanUpToCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: note: use 'scanUpToCharacters(from:)' instead
        return scanUpToCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~~~~~
               scanUpToCharacters        from:
[10/48] Compiling TelegramBotSDK DataTaskError.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
            run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
            ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
        return scanCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: note: use 'scanCharacters(from:)' instead
        return scanCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~
               scanCharacters        from:
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: warning: 'scanUpToCharactersFromSet' is deprecated: renamed to 'scanUpToCharacters(from:)'
        return scanUpToCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: note: use 'scanUpToCharacters(from:)' instead
        return scanUpToCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~~~~~
               scanUpToCharacters        from:
[11/48] Compiling TelegramBotSDK DictionaryUtils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
            run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
            ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
        return scanCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: note: use 'scanCharacters(from:)' instead
        return scanCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~
               scanCharacters        from:
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: warning: 'scanUpToCharactersFromSet' is deprecated: renamed to 'scanUpToCharacters(from:)'
        return scanUpToCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: note: use 'scanUpToCharacters(from:)' instead
        return scanUpToCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~~~~~
               scanUpToCharacters        from:
[12/48] Compiling TelegramBotSDK NSRunLoop+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
            run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
            ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
        return scanCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: note: use 'scanCharacters(from:)' instead
        return scanCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~
               scanCharacters        from:
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: warning: 'scanUpToCharactersFromSet' is deprecated: renamed to 'scanUpToCharacters(from:)'
        return scanUpToCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: note: use 'scanUpToCharacters(from:)' instead
        return scanUpToCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~~~~~
               scanUpToCharacters        from:
[13/48] Compiling TelegramBotSDK Optional+Unwrap.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
            run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
            ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
        return scanCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: note: use 'scanCharacters(from:)' instead
        return scanCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~
               scanCharacters        from:
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: warning: 'scanUpToCharactersFromSet' is deprecated: renamed to 'scanUpToCharacters(from:)'
        return scanUpToCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: note: use 'scanUpToCharacters(from:)' instead
        return scanUpToCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~~~~~
               scanUpToCharacters        from:
[14/48] Compiling TelegramBotSDK Scanner+Compatibility.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
            run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
            ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: warning: 'scanCharactersFromSet' is deprecated: renamed to 'scanCharacters(from:)'
        return scanCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:72:16: note: use 'scanCharacters(from:)' instead
        return scanCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~
               scanCharacters        from:
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: warning: 'scanUpToCharactersFromSet' is deprecated: renamed to 'scanUpToCharacters(from:)'
        return scanUpToCharactersFromSet(set)
               ^
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Compatibility.swift:99:16: note: use 'scanUpToCharacters(from:)' instead
        return scanUpToCharactersFromSet(set)
               ^~~~~~~~~~~~~~~~~~~~~~~~~
               scanUpToCharacters        from:
[15/48] Compiling TelegramBotSDK InputMessageContent.swift
[16/48] Compiling TelegramBotSDK Message+Command.swift
[17/48] Compiling TelegramBotSDK MessageEntity+Utils.swift
[18/48] Compiling TelegramBotSDK MessageOrBool.swift
[19/48] Compiling TelegramBotSDK ParseMode.swift
[20/48] Compiling TelegramBotSDK Command.swift
[21/48] Compiling TelegramBotSDK ContentType.swift
[22/48] Compiling TelegramBotSDK Context.swift
[23/48] Compiling TelegramBotSDK Router+Helpers.swift
[24/48] Compiling TelegramBotSDK Router.swift
[25/48] Compiling TelegramBotSDK TaskAssociatedData.swift
[26/48] Compiling TelegramBotSDK ChatType.swift
[27/48] Compiling TelegramBotSDK InlineQueryResult.swift
[28/48] Compiling TelegramBotSDK InputFile.swift
[29/48] Compiling TelegramBotSDK InputFileOrString.swift
[30/48] Compiling TelegramBotSDK InputMedia.swift
[31/48] Emitting module TelegramBotSDK
[32/48] Compiling TelegramBotSDK PollType.swift
[33/48] Compiling TelegramBotSDK ReplyMarkup.swift
[34/48] Compiling TelegramBotSDK Response.swift
[35/48] Compiling TelegramBotSDK Utils.swift
[36/48] Compiling TelegramBotSDK WriteCallbackData.swift
[37/48] Compiling TelegramBotSDK Types.swift
[38/48] Compiling TelegramBotSDK HTTPUtils.swift
[39/48] Compiling TelegramBotSDK TelegramBot+getUpdates+Utils.swift
[40/48] Compiling TelegramBotSDK TelegramBot+sendChatAction+Utils.swift
[41/48] Compiling TelegramBotSDK MimeTypes.swift
[42/48] Compiling TelegramBotSDK Arguments.swift
[43/48] Compiling TelegramBotSDK Scanner+Utils.swift
[44/48] Compiling TelegramBotSDK String+ExtractBotCommand.swift
[45/48] Compiling TelegramBotSDK String+HTTP.swift
[46/48] Compiling TelegramBotSDK String+Trim.swift
[47/48] Compiling TelegramBotSDK String+Utils.swift
[48/48] Compiling TelegramBotSDK Methods.swift
Build complete! (18.89s)
Build complete.
Done.

Build Machine: Linux 1