The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DrawingTools, reference 2.1.1 (0d05ae), with Swift 6.1 for Wasm on 28 May 2025 01:00:29 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-Drawing-Tools.git
Reference: 2.1.1
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/RougeWare/Swift-Drawing-Tools
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 0d05ae2 Merge pull request #11 from RougeWare/feature/Update/RectangleTools/2.10.1
Cloned https://github.com/RougeWare/Swift-Drawing-Tools.git
Revision (git rev-parse @):
0d05ae2e0479111cd4d81f3e19149a4e91ce888e
SUCCESS checkout https://github.com/RougeWare/Swift-Drawing-Tools.git at 2.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Drawing-Tools.git
https://github.com/RougeWare/Swift-Drawing-Tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-rectangle-tools",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Rectangle-Tools.git"
    },
    {
      "identity" : "swift-cross-kit-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Cross-Kit-Types.git"
    },
    {
      "identity" : "swift-optional-tools",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Optional-Tools.git"
    },
    {
      "identity" : "swift-image",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/koher/swift-image.git"
    }
  ],
  "manifest_display_name" : "DrawingTools",
  "name" : "DrawingTools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "DrawingTools",
      "targets" : [
        "DrawingTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DrawingToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "DrawingToolsTests",
      "path" : "Tests/DrawingToolsTests",
      "product_dependencies" : [
        "SwiftImage"
      ],
      "sources" : [
        "Swift_Drawing_ToolsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DrawingTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DrawingTools",
      "module_type" : "SwiftTarget",
      "name" : "DrawingTools",
      "path" : "Sources/DrawingTools",
      "product_dependencies" : [
        "RectangleTools",
        "CrossKitTypes",
        "OptionalTools"
      ],
      "product_memberships" : [
        "DrawingTools"
      ],
      "sources" : [
        "GraphicsContext.swift",
        "NativeImage Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/koher/swift-image.git
Fetching https://github.com/RougeWare/Swift-Cross-Kit-Types.git
Fetching https://github.com/RougeWare/Swift-Rectangle-Tools.git
Fetching https://github.com/RougeWare/Swift-Optional-Tools.git
[1/707] Fetching swift-rectangle-tools
[355/4058] Fetching swift-rectangle-tools, swift-image
[1279/4112] Fetching swift-rectangle-tools, swift-image, swift-cross-kit-types
[2150/4185] Fetching swift-rectangle-tools, swift-image, swift-cross-kit-types, swift-optional-tools
Fetched https://github.com/RougeWare/Swift-Rectangle-Tools.git from cache (0.48s)
Fetched https://github.com/RougeWare/Swift-Cross-Kit-Types.git from cache (0.48s)
Fetched https://github.com/RougeWare/Swift-Optional-Tools.git from cache (0.48s)
Fetched https://github.com/koher/swift-image.git from cache (0.48s)
Computing version for https://github.com/RougeWare/Swift-Cross-Kit-Types.git
Computed https://github.com/RougeWare/Swift-Cross-Kit-Types.git at 1.0.0 (1.08s)
Computing version for https://github.com/koher/swift-image.git
Computed https://github.com/koher/swift-image.git at 0.8.0 (0.74s)
Computing version for https://github.com/RougeWare/Swift-Optional-Tools.git
Computed https://github.com/RougeWare/Swift-Optional-Tools.git at 1.2.0 (0.57s)
Computing version for https://github.com/RougeWare/Swift-Rectangle-Tools.git
warning: 'swift-rectangle-tools': /Package.swift:24:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
22 |     dependencies: [
23 |         // Dependencies declare other packages that this package depends on.
24 |         .package(name: "MultiplicativeArithmetic", url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.4.1"),
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
25 |     ],
26 |     targets: [
Computed https://github.com/RougeWare/Swift-Rectangle-Tools.git at 2.14.0 (0.53s)
Fetching https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
[1/87] Fetching swift-multiplicativearithmetic
Fetched https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git from cache (0.25s)
Computing version for https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Computed https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git at 1.4.1 (1.09s)
Creating working copy for https://github.com/koher/swift-image.git
Working copy of https://github.com/koher/swift-image.git resolved at 0.8.0
Creating working copy for https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Working copy of https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git resolved at 1.4.1
Creating working copy for https://github.com/RougeWare/Swift-Optional-Tools.git
Working copy of https://github.com/RougeWare/Swift-Optional-Tools.git resolved at 1.2.0
Creating working copy for https://github.com/RougeWare/Swift-Cross-Kit-Types.git
Working copy of https://github.com/RougeWare/Swift-Cross-Kit-Types.git resolved at 1.0.0
Creating working copy for https://github.com/RougeWare/Swift-Rectangle-Tools.git
Working copy of https://github.com/RougeWare/Swift-Rectangle-Tools.git resolved at 2.14.0
warning: 'swift-rectangle-tools': /host/spi-builder-workspace/.build/checkouts/Swift-Rectangle-Tools/Package.swift:24:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
22 |     dependencies: [
23 |         // Dependencies declare other packages that this package depends on.
24 |         .package(name: "MultiplicativeArithmetic", url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.4.1"),
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
25 |     ],
26 |     targets: [
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Emitting module CrossKitTypes
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[8/16] Emitting module OptionalTools
[9/16] Compiling OptionalTools unwrappedOrThrow.swift
[10/16] Compiling CrossKitTypes Cross-Kit Image.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[11/16] Compiling MultiplicativeArithmetic MultiplicativeArithmetic.swift
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 |
 11 |
[12/16] Compiling CrossKitTypes Cross-Kit Font.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[13/16] Compiling CrossKitTypes Cross-Kit Color.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Emitting module MultiplicativeArithmetic
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 |
 11 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'swift-rectangle-tools': /host/spi-builder-workspace/.build/checkouts/Swift-Rectangle-Tools/Package.swift:24:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
22 |     dependencies: [
23 |         // Dependencies declare other packages that this package depends on.
24 |         .package(name: "MultiplicativeArithmetic", url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.4.1"),
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
25 |     ],
26 |     targets: [
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/11] Emitting module CrossKitTypes
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[3/11] Compiling MultiplicativeArithmetic MultiplicativeArithmetic.swift
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 |
 11 |
[4/11] Compiling OptionalTools unwrappedOrThrow.swift
[5/11] Compiling CrossKitTypes Cross-Kit Font.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[6/11] Compiling CrossKitTypes Cross-Kit Image.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[7/11] Compiling CrossKitTypes Cross-Kit Color.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[8/11] Emitting module OptionalTools
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module MultiplicativeArithmetic
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 |
 11 |
BUILD FAILURE 6.1 wasm