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 Pelican, reference master (acb0ce), with Swift 6.1 for Linux on 25 Apr 2025 12:08:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/takanu/pelican.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/takanu/pelican
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at acb0cea Fixed Schedule unwrapping issue
Cloned https://github.com/takanu/pelican.git
Revision (git rev-parse @):
acb0cea3bb5b98721496fcb2f7c81c18c6e785bf
SUCCESS checkout https://github.com/takanu/pelican.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/takanu/pelican.git
https://github.com/takanu/pelican.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftyjson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "17.0.0",
            "upper_bound" : "18.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/SwiftyJSON.git"
    }
  ],
  "manifest_display_name" : "Pelican",
  "name" : "Pelican",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Pelican",
      "targets" : [
        "Pelican"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Pelican",
      "module_type" : "SwiftTarget",
      "name" : "Pelican",
      "path" : "Sources/Pelican",
      "product_dependencies" : [
        "SwiftyJSON"
      ],
      "product_memberships" : [
        "Pelican"
      ],
      "sources" : [
        "API/Request/Codable+String.swift",
        "API/Request/Request+Admin.swift",
        "API/Request/Request+Answer.swift",
        "API/Request/Request+Basic.swift",
        "API/Request/Request+Chat.swift",
        "API/Request/Request+EditMessage.swift",
        "API/Request/Request+Game.swift",
        "API/Request/Request+Payments.swift",
        "API/Request/Request+Stickers.swift",
        "API/Request/TelegramRequest.swift",
        "API/Response/TelegramResponse.swift",
        "API/Response/TelegramResponseError.swift",
        "API/Types/Albums/InputMedia.swift",
        "API/Types/Albums/InputMediaPhoto.swift",
        "API/Types/Albums/InputMediaVideo.swift",
        "API/Types/Callback/CallbackQuery.swift",
        "API/Types/Chat/Chat.swift",
        "API/Types/Chat/ChatAction.swift",
        "API/Types/Chat/ChatMember.swift",
        "API/Types/Chat/ChatPhoto.swift",
        "API/Types/FileDownload.swift",
        "API/Types/Game/Animation.swift",
        "API/Types/Game/Game.swift",
        "API/Types/Game/GameHighScore.swift",
        "API/Types/Inline/ChosenInlineResult.swift",
        "API/Types/Inline/InlineQuery.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultArticle.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultAudio.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultContact.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultDocument.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultGame.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultGif.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultLocation.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultMpeg4Gif.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultPhoto.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultSticker.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultVenue.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultVideo.swift",
        "API/Types/Inline/InlineQueryResult/InlineResultVoice.swift",
        "API/Types/Inline/InlineResult.swift",
        "API/Types/Inline/InlineResultAny.swift",
        "API/Types/Inline/InlineResultType.swift",
        "API/Types/Inline/InputMessageContent/InputMessageContent.swift",
        "API/Types/Inline/InputMessageContent/InputMessageContentType.swift",
        "API/Types/Inline/InputMessageContent/InputMessageContent_Any.swift",
        "API/Types/Inline/InputMessageContent/InputMessageContent_Contact.swift",
        "API/Types/Inline/InputMessageContent/InputMessageContent_Location.swift",
        "API/Types/Inline/InputMessageContent/InputMessageContent_Text.swift",
        "API/Types/Inline/InputMessageContent/InputMessageContent_Venue.swift",
        "API/Types/Markup/ForceReply.swift",
        "API/Types/Markup/Inline/InlineKey.swift",
        "API/Types/Markup/Inline/InlineKeyType.swift",
        "API/Types/Markup/Inline/InlineKeyboard.swift",
        "API/Types/Markup/Keyboard/Keyboard.swift",
        "API/Types/Markup/Keyboard/KeyboardKey.swift",
        "API/Types/Markup/Keyboard/KeyboardRemove.swift",
        "API/Types/Markup/MarkupType.swift",
        "API/Types/Message Content/Audio.swift",
        "API/Types/Message Content/Contact.swift",
        "API/Types/Message Content/Document.swift",
        "API/Types/Message Content/Location.swift",
        "API/Types/Message Content/Photo.swift",
        "API/Types/Message Content/Venue.swift",
        "API/Types/Message Content/Video.swift",
        "API/Types/Message Content/VideoNote.swift",
        "API/Types/Message Content/Voice.swift",
        "API/Types/Message/Message.swift",
        "API/Types/Message/MessageEntity.swift",
        "API/Types/Message/MessageParseMode.swift",
        "API/Types/Message/MessageType.swift",
        "API/Types/Payments/Invoice.swift",
        "API/Types/Payments/LabeledPrice.swift",
        "API/Types/Payments/OrderInfo.swift",
        "API/Types/Payments/PreCheckoutQuery.swift",
        "API/Types/Payments/ShippingAddress.swift",
        "API/Types/Payments/ShippingOption.swift",
        "API/Types/Payments/ShippingQuery.swift",
        "API/Types/Payments/SuccessfulPayment.swift",
        "API/Types/Stickers/MaskPosition.swift",
        "API/Types/Stickers/MaskPositionPoint.swift",
        "API/Types/Stickers/Sticker.swift",
        "API/Types/Stickers/StickerSet.swift",
        "API/Types/Type+Custom.swift",
        "API/Types/Type+Error.swift",
        "API/Types/Type+Extensions.swift",
        "API/Types/Type+Protocols.swift",
        "API/Types/Type+Standard.swift",
        "API/Types/User/User.swift",
        "API/Types/User/UserProfilePhotos.swift",
        "HTTP/Status.swift",
        "HTTP/Version.swift",
        "Pelican/Client/Client.swift",
        "Pelican/Client/ClientConnection+Error.swift",
        "Pelican/Client/ClientConnection.swift",
        "Pelican/Client/Portal.swift",
        "Pelican/Client/Result.swift",
        "Pelican/Files/Cache+Error.swift",
        "Pelican/Files/CacheFile.swift",
        "Pelican/Files/CacheManager.swift",
        "Pelican/Log/Log+Debug.swift",
        "Pelican/Log/Log+Enum.swift",
        "Pelican/Log/Log+Prints.swift",
        "Pelican/Log/Log.swift",
        "Pelican/Log/LogLevel.swift",
        "Pelican/Moderator/Moderator.swift",
        "Pelican/Pelican+Delegates.swift",
        "Pelican/Pelican+Errors.swift",
        "Pelican/Pelican+Files.swift",
        "Pelican/Pelican.swift",
        "Pelican/Queues/LoopQueue.swift",
        "Pelican/Schedule/Duration.swift",
        "Pelican/Schedule/Schedule.swift",
        "Pelican/Schedule/ScheduleEvent.swift",
        "Pelican/Session Handling/SessionBuilder.swift",
        "Pelican/Session Handling/SessionManager.swift",
        "Pelican/Session Handling/Spawn.swift",
        "Pelican/Update/Update.swift",
        "Pelican/Update/UpdateType.swift",
        "Session/Core/Session.swift",
        "Session/Core/SessionDelegate.swift",
        "Session/Core/SessionIDType.swift",
        "Session/Core/SessionTag.swift",
        "Session/Modules/API Request/Async/Async+Admin.swift",
        "Session/Modules/API Request/Async/Async+Answer.swift",
        "Session/Modules/API Request/Async/Async+Basic.swift",
        "Session/Modules/API Request/Async/Async+Edit.swift",
        "Session/Modules/API Request/Async/Async+Stickers.swift",
        "Session/Modules/API Request/Async/MethodRequestAsync.swift",
        "Session/Modules/API Request/MethodRequest.swift",
        "Session/Modules/API Request/Sync/MethodRequestSync.swift",
        "Session/Modules/API Request/Sync/Sync+Admin.swift",
        "Session/Modules/API Request/Sync/Sync+Answer.swift",
        "Session/Modules/API Request/Sync/Sync+Basic.swift",
        "Session/Modules/API Request/Sync/Sync+Edit.swift",
        "Session/Modules/API Request/Sync/Sync+Payments.swift",
        "Session/Modules/API Request/Sync/Sync+Stickers.swift",
        "Session/Modules/DispatchQueue/SessionDispatchQueue.swift",
        "Session/Modules/Event/SessionEvent.swift",
        "Session/Modules/Filter/UpdateFilter.swift",
        "Session/Modules/Moderator/SessionModerator.swift",
        "Session/Modules/Monitor/FloodMonitor.swift",
        "Session/Modules/Monitor/TimeoutMonitor.swift",
        "Session/Modules/Router/Route.swift",
        "Session/Modules/Router/Types/RouteCommand.swift",
        "Session/Modules/Router/Types/RouteListen.swift",
        "Session/Modules/Router/Types/RouteManual.swift",
        "Session/Modules/Router/Types/RoutePass.swift",
        "Session/Modules/ScheduleQueue/Queue.swift",
        "Session/Modules/Session Request/SessionRequest.swift",
        "Session/Types/ChatSession.swift",
        "Session/Types/UserSession.swift",
        "Utilities/CasedEnum.swift",
        "Utilities/CwlRandom.swift",
        "Utilities/SynchronisedArray.swift",
        "Utilities/SynchronisedDictionary.swift",
        "Utilities/Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
[1/2687] Fetching swiftyjson
Fetched https://github.com/IBM-Swift/SwiftyJSON.git from cache (0.34s)
Computing version for https://github.com/IBM-Swift/SwiftyJSON.git
Computed https://github.com/IBM-Swift/SwiftyJSON.git at 17.0.5 (3.48s)
Creating working copy for https://github.com/IBM-Swift/SwiftyJSON.git
Working copy of https://github.com/IBM-Swift/SwiftyJSON.git resolved at 17.0.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Emitting module SwiftyJSON
[5/6] Compiling SwiftyJSON LclJSONSerialization.swift
[6/6] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:301:10: error: cannot find 'kCFNumberFloat32Type' in scope
 299 |     let type = CFNumberGetType(unsafeBitCast(number, to: CFNumber.self))
 300 |     switch(type) {
 301 |     case kCFNumberFloat32Type:
     |          `- error: cannot find 'kCFNumberFloat32Type' in scope
 302 |     return String(number.floatValue)
 303 |     case kCFNumberFloat64Type:
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:303:10: error: cannot find 'kCFNumberFloat64Type' in scope
 301 |     case kCFNumberFloat32Type:
 302 |     return String(number.floatValue)
 303 |     case kCFNumberFloat64Type:
     |          `- error: cannot find 'kCFNumberFloat64Type' in scope
 304 |     return String(number.doubleValue)
 305 |     default:
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:1567:29: error: cannot find 'kCFNumberSInt8Type' in scope
1565 |             #if os(Linux)
1566 |                 let type = CFNumberGetType(unsafeBitCast(self, to: CFNumber.self))
1567 |                 if  type == kCFNumberSInt8Type  &&
     |                             `- error: cannot find 'kCFNumberSInt8Type' in scope
1568 |                     (self.compare(trueNumber) == ComparisonResult.orderedSame  ||
1569 |                         self.compare(falseNumber) == ComparisonResult.orderedSame){
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:301:10: error: cannot find 'kCFNumberFloat32Type' in scope
 299 |     let type = CFNumberGetType(unsafeBitCast(number, to: CFNumber.self))
 300 |     switch(type) {
 301 |     case kCFNumberFloat32Type:
     |          `- error: cannot find 'kCFNumberFloat32Type' in scope
 302 |     return String(number.floatValue)
 303 |     case kCFNumberFloat64Type:
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:303:10: error: cannot find 'kCFNumberFloat64Type' in scope
 301 |     case kCFNumberFloat32Type:
 302 |     return String(number.floatValue)
 303 |     case kCFNumberFloat64Type:
     |          `- error: cannot find 'kCFNumberFloat64Type' in scope
 304 |     return String(number.doubleValue)
 305 |     default:
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:1567:29: error: cannot find 'kCFNumberSInt8Type' in scope
1565 |             #if os(Linux)
1566 |                 let type = CFNumberGetType(unsafeBitCast(self, to: CFNumber.self))
1567 |                 if  type == kCFNumberSInt8Type  &&
     |                             `- error: cannot find 'kCFNumberSInt8Type' in scope
1568 |                     (self.compare(trueNumber) == ComparisonResult.orderedSame  ||
1569 |                         self.compare(falseNumber) == ComparisonResult.orderedSame){
[3/4] Emitting module SwiftyJSON
[4/4] Compiling SwiftyJSON LclJSONSerialization.swift
BUILD FAILURE 6.1 linux