The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ZEGBot, reference develop (a2308c), with Swift 6.4 for Linux on 18 Sep 2026 20:17:00 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shaneqi/zegbot.git
Reference: develop
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/shaneqi/zegbot
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at a2308c9 Merge branch 'release/4.2.8' into develop
Cloned https://github.com/shaneqi/zegbot.git
Revision (git rev-parse @):
a2308c974db45846b42f1f615d1531358e4d4162
SUCCESS checkout https://github.com/shaneqi/zegbot.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/shaneqi/zegbot.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
[32 / 44] ZEGBot
[40 / 47] ZEGBotExample-product
[44 / 48] ZEGBot
/host/spi-builder-workspace/Sources/ZEGBot.swift:37:6: warning: mutation of captured var 'encounterError' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
35 | 			with: URL(string: urlPrefix + "getupdates?timeout=60&offset=\(offset)")!) { data, _, error in
36 | 				guard let data = data else {
37 | 					encounterError = error!
   |      `- warning: mutation of captured var 'encounterError' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
38 | 					semaphore.signal()
39 | 					return
/host/spi-builder-workspace/Sources/ZEGBot.swift:50:8: warning: mutation of captured var 'offset' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
48 | 								.callbackQuery(updateId: let updateId, _),
49 | 								.unimplemented(updateId: let updateId):
50 | 							offset = updateId + 1
   |        `- warning: mutation of captured var 'offset' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
51 | 						}
52 | 					}
/host/spi-builder-workspace/Sources/ZEGBot.swift:55:6: warning: mutation of captured var 'encounterError' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
53 | 					handler(updates, self)
54 | 				case .failure(let error):
55 | 					encounterError = error
   |      `- warning: mutation of captured var 'encounterError' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
56 | 				}
57 | 				semaphore.signal()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/Network.swift:49:5: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 47 | 		let task = URLSession(configuration: .default).dataTask(with: request) { data, _, error in
 48 | 			if let data = data {
 49 | 				result = Result<Output>.decode(from: data)
    |     `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 50 | 			} else {
 51 | 				result = .failure(error!)
/host/spi-builder-workspace/Sources/Network.swift:51:5: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 49 | 				result = Result<Output>.decode(from: data)
 50 | 			} else {
 51 | 				result = .failure(error!)
    |     `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 52 | 			}
 53 | 			semaphore.signal()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[49 / 49] ZEGBotExample-product
Build complete! (5.35 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ZEGBot",
  "name" : "ZEGBot",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ZEGBot",
      "targets" : [
        "ZEGBot"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ZEGBotExample",
      "targets" : [
        "ZEGBotExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ZEGBotTests",
      "module_type" : "SwiftTarget",
      "name" : "ZEGBotTests",
      "path" : "Tests/ZEGBotTests",
      "sources" : [
        "ZEGBotTests.swift"
      ],
      "target_dependencies" : [
        "ZEGBot"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ZEGBotExample",
      "module_type" : "SwiftTarget",
      "name" : "ZEGBotExample",
      "path" : "Example",
      "product_memberships" : [
        "ZEGBotExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ZEGBot"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ZEGBot",
      "module_type" : "SwiftTarget",
      "name" : "ZEGBot",
      "path" : "Sources",
      "product_memberships" : [
        "ZEGBot",
        "ZEGBotExample"
      ],
      "sources" : [
        "Extensions.swift",
        "HelperTypes.swift",
        "Methods.swift",
        "Network.swift",
        "Sending.swift",
        "Types.swift",
        "Updating.swift",
        "Utilities.swift",
        "ZEGBot.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.