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 AppIconSetGen, reference 0.0.2 (858437), with Swift 6.1 for Linux on 25 Apr 2025 12:54:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/abeintopalo/appiconsetgen.git
Reference: 0.0.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/abeintopalo/appiconsetgen
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 858437d Bump up version -> 0.0.2
Cloned https://github.com/abeintopalo/appiconsetgen.git
Revision (git rev-parse @):
858437d3f84bdb3858eb41e267c7cea5de42e506
SUCCESS checkout https://github.com/abeintopalo/appiconsetgen.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/abeintopalo/appiconsetgen.git
https://github.com/abeintopalo/appiconsetgen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    }
  ],
  "manifest_display_name" : "AppIconSetGen",
  "name" : "AppIconSetGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AppIconSetGen",
      "targets" : [
        "AppIconSetGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AppIconSetGenCore",
      "targets" : [
        "AppIconSetGenCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppIconSetGenCore",
      "module_type" : "SwiftTarget",
      "name" : "AppIconSetGenCore",
      "path" : "Sources/AppIconSetGenCore",
      "product_dependencies" : [
        "Commander",
        "PathKit"
      ],
      "product_memberships" : [
        "AppIconSetGen",
        "AppIconSetGenCore"
      ],
      "sources" : [
        "AppIconSet.swift",
        "IconInfo.swift",
        "NSImage+Extensions.swift",
        "Utils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppIconSetGen",
      "module_type" : "SwiftTarget",
      "name" : "AppIconSetGen",
      "path" : "Sources/AppIconSetGen",
      "product_memberships" : [
        "AppIconSetGen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "AppIconSetGenCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/kylef/Commander.git
Fetching https://github.com/kylef/PathKit.git
[1/1588] Fetching commander
[287/2999] Fetching commander, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.97s)
Fetched https://github.com/kylef/Commander.git from cache (0.97s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.47s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.40s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.47s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (3.29s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/22] Emitting module Commander
[7/23] Compiling Commander Group.swift
[8/23] Compiling Commander Command.swift
[9/23] Compiling Commander ArgumentConvertible.swift
[10/23] Compiling Commander ArgumentDescription.swift
[11/23] Compiling Commander CommandRunner.swift
[12/23] Compiling Commander ArgumentParser.swift
[13/23] Compiling Commander Commands.swift
[14/23] Compiling PathKit PathKit.swift
[15/23] Emitting module PathKit
[17/24] Compiling Commander CommandType.swift
[18/24] Compiling Commander Error.swift
[19/25] Wrapping AST for PathKit for debugging
[20/25] Wrapping AST for Commander for debugging
[22/30] Compiling AppIconSetGenCore NSImage+Extensions.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
[23/30] Compiling AppIconSetGenCore Utils.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/30] Emitting module AppIconSetGenCore
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
[25/30] Compiling AppIconSetGenCore AppIconSet.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
[26/30] Compiling AppIconSetGenCore IconInfo.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/7] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling Commander Error.swift
[3/19] Compiling Commander Command.swift
[4/19] Emitting module Commander
[5/19] Compiling Commander ArgumentParser.swift
[6/19] Compiling Commander Group.swift
[7/19] Emitting module PathKit
[8/19] Compiling PathKit PathKit.swift
[9/20] Compiling Commander ArgumentConvertible.swift
[10/20] Compiling Commander ArgumentDescription.swift
[11/20] Wrapping AST for PathKit for debugging
[13/20] Compiling Commander CommandType.swift
[14/20] Compiling Commander CommandRunner.swift
[15/20] Compiling Commander Commands.swift
[16/21] Wrapping AST for Commander for debugging
[18/26] Compiling AppIconSetGenCore Utils.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
[19/26] Compiling AppIconSetGenCore NSImage+Extensions.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/26] Emitting module AppIconSetGenCore
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
[21/26] Compiling AppIconSetGenCore AppIconSet.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
[22/26] Compiling AppIconSetGenCore IconInfo.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
 7 | //
 8 |
 9 | import Cocoa
   |        `- error: no such module 'Cocoa'
10 | import Foundation
11 | import PathKit
BUILD FAILURE 6.1 linux