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

Failed to build GeneralAgentsKit, reference main (71f29b), with Swift 6.0 for Linux on 3 Apr 2025 08:23:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/GeneralAgentsKit.git
Reference: main
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/m1guelpf/GeneralAgentsKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 71f29b5 init
Cloned https://github.com/m1guelpf/GeneralAgentsKit.git
Revision (git rev-parse @):
71f29b5b84ae2adafd2c0a20088ae18a46e6c19c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/GeneralAgentsKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/m1guelpf/GeneralAgentsKit.git
https://github.com/m1guelpf/GeneralAgentsKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GeneralAgentsKit",
  "name" : "GeneralAgentsKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "GeneralAgentsKit",
      "targets" : [
        "GeneralAgentsKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeneralAgentsKit",
      "module_type" : "SwiftTarget",
      "name" : "GeneralAgentsKit",
      "path" : "src",
      "product_memberships" : [
        "GeneralAgentsKit"
      ],
      "sources" : [
        "Agent.swift",
        "Computer.swift",
        "Extensions/CGImage+toPng.swift",
        "Models/Action.swift",
        "Models/Coordinate.swift",
        "Models/KeyboardKey.swift",
        "Models/Model.swift",
        "Models/PredictRequest.swift",
        "Models/PredictResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling GeneralAgentsKit Action.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[4/15] Compiling GeneralAgentsKit PredictRequest.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[5/15] Compiling GeneralAgentsKit Model.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[6/15] Compiling GeneralAgentsKit CGImage+toPng.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Emitting module GeneralAgentsKit
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[8/15] Compiling GeneralAgentsKit Agent.swift
/host/spi-builder-workspace/src/Agent.swift:66:4: error: unexpected ',' separator
 64 | 				temperature: temperature,
 65 | 				allowedActionKinds: allowedActions,
 66 | 			))
    |    `- error: unexpected ',' separator
 67 |
 68 | 			let (data, res) = try await URLSession.shared.data(for: request)
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[9/15] Compiling GeneralAgentsKit Computer.swift
/host/spi-builder-workspace/src/Agent.swift:66:4: error: unexpected ',' separator
 64 | 				temperature: temperature,
 65 | 				allowedActionKinds: allowedActions,
 66 | 			))
    |    `- error: unexpected ',' separator
 67 |
 68 | 			let (data, res) = try await URLSession.shared.data(for: request)
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[10/15] Compiling GeneralAgentsKit PredictResponse.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[11/15] Compiling GeneralAgentsKit KeyboardKey.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[12/15] Compiling GeneralAgentsKit Coordinate.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling GeneralAgentsKit PredictRequest.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[3/13] Compiling GeneralAgentsKit Model.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[4/14] Compiling GeneralAgentsKit Coordinate.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[5/14] Compiling GeneralAgentsKit KeyboardKey.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[6/14] Compiling GeneralAgentsKit Action.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/14] Emitting module GeneralAgentsKit
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[8/14] Compiling GeneralAgentsKit CGImage+toPng.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[9/14] Compiling GeneralAgentsKit Agent.swift
/host/spi-builder-workspace/src/Agent.swift:66:4: error: unexpected ',' separator
 64 | 				temperature: temperature,
 65 | 				allowedActionKinds: allowedActions,
 66 | 			))
    |    `- error: unexpected ',' separator
 67 |
 68 | 			let (data, res) = try await URLSession.shared.data(for: request)
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[10/14] Compiling GeneralAgentsKit Computer.swift
/host/spi-builder-workspace/src/Agent.swift:66:4: error: unexpected ',' separator
 64 | 				temperature: temperature,
 65 | 				allowedActionKinds: allowedActions,
 66 | 			))
    |    `- error: unexpected ',' separator
 67 |
 68 | 			let (data, res) = try await URLSession.shared.data(for: request)
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
[11/14] Compiling GeneralAgentsKit PredictResponse.swift
/host/spi-builder-workspace/src/Agent.swift:1:8: error: no such module 'ImageIO'
  1 | import ImageIO
    |        `- error: no such module 'ImageIO'
  2 | import Foundation
  3 |
BUILD FAILURE 6.0 linux