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 ShapeScript, reference main (4a8917), with Swift 6.1 for Wasm on 31 May 2025 16:54:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/nicklockwood/ShapeScript.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/nicklockwood/ShapeScript
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4a89178 Update for 1.8.10 release
Cloned https://github.com/nicklockwood/ShapeScript.git
Revision (git rev-parse @):
4a8917846d404b332f868450b1afd71317bb09db
SUCCESS checkout https://github.com/nicklockwood/ShapeScript.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nicklockwood/ShapeScript.git
https://github.com/nicklockwood/ShapeScript.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "euclid",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.7",
            "upper_bound" : "0.8.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/Euclid.git"
    },
    {
      "identity" : "lrucache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.6",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/LRUCache.git"
    },
    {
      "identity" : "svgpath",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.5",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SVGPath.git"
    }
  ],
  "manifest_display_name" : "ShapeScript",
  "name" : "ShapeScript",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "ShapeScript",
      "targets" : [
        "ShapeScript"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "shapescript",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShapeScriptTests",
      "module_type" : "SwiftTarget",
      "name" : "ShapeScriptTests",
      "path" : "ShapeScriptTests",
      "sources" : [
        "GeometryTests.swift",
        "ImportExportTests.swift",
        "InterpreterTests.swift",
        "LexerTests.swift",
        "LoggingTests.swift",
        "MemberTests.swift",
        "MetadataTests.swift",
        "ParserTests.swift",
        "PlatformTests.swift",
        "RegressionTests.swift",
        "SVGPathTests.swift",
        "StandardLibraryTests.swift",
        "StringMatchingTests.swift",
        "TestDelegate.swift",
        "TypesystemTests.swift"
      ],
      "target_dependencies" : [
        "ShapeScript"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShapeScript",
      "module_type" : "SwiftTarget",
      "name" : "ShapeScript",
      "path" : "ShapeScript",
      "product_dependencies" : [
        "Euclid",
        "LRUCache",
        "SVGPath"
      ],
      "product_memberships" : [
        "ShapeScript",
        "shapescript"
      ],
      "sources" : [
        "Euclid+Extensions.swift",
        "Euclid+SVGPath.swift",
        "EvaluationContext.swift",
        "EvaluationDelegate.swift",
        "Geometry.swift",
        "GeometryCache.swift",
        "GeometryType.swift",
        "Interpreter.swift",
        "Lexer.swift",
        "Material+Brightness.swift",
        "Material+SceneKit.swift",
        "Material.swift",
        "Members.swift",
        "Parser.swift",
        "ProgramError.swift",
        "RandomSequence.swift",
        "Scene+SceneKit.swift",
        "Scene.swift",
        "StandardLibrary.swift",
        "String+Matching.swift",
        "String+Ordinals.swift",
        "Symbols.swift",
        "Types.swift",
        "Value+JSON.swift",
        "Value+Logging.swift",
        "Values.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Viewer/CLI",
      "product_memberships" : [
        "shapescript"
      ],
      "sources" : [
        "CLI+Export.swift",
        "CLI.swift",
        "Geometry+ModelInfo.swift",
        "ProgramError+Formatting.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ShapeScript"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/nicklockwood/LRUCache.git
Fetching https://github.com/nicklockwood/SVGPath.git
Fetching https://github.com/nicklockwood/Euclid.git
[1/196] Fetching lrucache
[148/398] Fetching lrucache, svgpath
[227/11094] Fetching lrucache, svgpath, euclid
Fetched https://github.com/nicklockwood/SVGPath.git from cache (3.25s)
Fetched https://github.com/nicklockwood/LRUCache.git from cache (3.25s)
Fetched https://github.com/nicklockwood/Euclid.git from cache (3.34s)
Computing version for https://github.com/nicklockwood/SVGPath.git
Computed https://github.com/nicklockwood/SVGPath.git at 1.1.6 (4.29s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.0.7 (2.64s)
Computing version for https://github.com/nicklockwood/Euclid.git
Computed https://github.com/nicklockwood/Euclid.git at 0.7.14 (1.02s)
Creating working copy for https://github.com/nicklockwood/SVGPath.git
Working copy of https://github.com/nicklockwood/SVGPath.git resolved at 1.1.6
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.0.7
Creating working copy for https://github.com/nicklockwood/Euclid.git
Working copy of https://github.com/nicklockwood/Euclid.git resolved at 0.7.14
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/50] Emitting module Euclid
[8/54] Compiling Euclid Angle.swift
[9/54] Compiling Euclid BSP.swift
[10/54] Compiling Euclid Bounded.swift
[11/54] Compiling Euclid Bounds.swift
[12/54] Compiling Euclid Color.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/54] Emitting module LRUCache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:57:37: error: cannot find type 'NotificationCenter' in scope
 55 |     private let lock: NSLock = .init()
 56 |     private var token: AnyObject?
 57 |     private let notificationCenter: NotificationCenter
    |                                     `- error: cannot find type 'NotificationCenter' in scope
 58 |
 59 |     /// The current total cost of values in the cache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:77:29: error: cannot find type 'NotificationCenter' in scope
 75 |         totalCostLimit: Int = .max,
 76 |         countLimit: Int = .max,
 77 |         notificationCenter: NotificationCenter = .default
    |                             `- error: cannot find type 'NotificationCenter' in scope
 78 |     ) {
 79 |         self.totalCostLimit = totalCostLimit
[14/54] Compiling LRUCache LRUCache.swift
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:57:37: error: cannot find type 'NotificationCenter' in scope
 55 |     private let lock: NSLock = .init()
 56 |     private var token: AnyObject?
 57 |     private let notificationCenter: NotificationCenter
    |                                     `- error: cannot find type 'NotificationCenter' in scope
 58 |
 59 |     /// The current total cost of values in the cache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:77:29: error: cannot find type 'NotificationCenter' in scope
 75 |         totalCostLimit: Int = .max,
 76 |         countLimit: Int = .max,
 77 |         notificationCenter: NotificationCenter = .default
    |                             `- error: cannot find type 'NotificationCenter' in scope
 78 |     ) {
 79 |         self.totalCostLimit = totalCostLimit
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:85:21: error: 'nil' requires a contextual type
 83 |         self.token = notificationCenter.addObserver(
 84 |             forName: LRUCacheMemoryWarningNotification,
 85 |             object: nil,
    |                     `- error: 'nil' requires a contextual type
 86 |             queue: nil
 87 |         ) { [weak self] _ in
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:86:20: error: 'nil' requires a contextual type
 84 |             forName: LRUCacheMemoryWarningNotification,
 85 |             object: nil,
 86 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 87 |         ) { [weak self] _ in
 88 |             self?.removeAllValues()
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:87:25: error: cannot infer type of closure parameter '_' without a type annotation
 85 |             object: nil,
 86 |             queue: nil
 87 |         ) { [weak self] _ in
    |                         `- error: cannot infer type of closure parameter '_' without a type annotation
 88 |             self?.removeAllValues()
 89 |         }
[15/54] Compiling SVGPath SVGPath+CoreGraphics.swift
[16/54] Compiling SVGPath SVGPath.swift
[17/54] Emitting module SVGPath
[18/55] Compiling Euclid Euclid+SceneKit.swift
[19/55] Compiling Euclid Euclid+UIKit.swift
[20/55] Compiling Euclid Line.swift
[21/55] Compiling Euclid LineSegment+CSG.swift
[22/55] Compiling Euclid LineSegment.swift
[23/55] Compiling Euclid Path.swift
[24/55] Compiling Euclid PathPoint.swift
[25/55] Compiling Euclid Plane.swift
[26/55] Compiling Euclid Polygon+CSG.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/45] Emitting module LRUCache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:57:37: error: cannot find type 'NotificationCenter' in scope
 55 |     private let lock: NSLock = .init()
 56 |     private var token: AnyObject?
 57 |     private let notificationCenter: NotificationCenter
    |                                     `- error: cannot find type 'NotificationCenter' in scope
 58 |
 59 |     /// The current total cost of values in the cache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:77:29: error: cannot find type 'NotificationCenter' in scope
 75 |         totalCostLimit: Int = .max,
 76 |         countLimit: Int = .max,
 77 |         notificationCenter: NotificationCenter = .default
    |                             `- error: cannot find type 'NotificationCenter' in scope
 78 |     ) {
 79 |         self.totalCostLimit = totalCostLimit
[3/45] Compiling LRUCache LRUCache.swift
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:57:37: error: cannot find type 'NotificationCenter' in scope
 55 |     private let lock: NSLock = .init()
 56 |     private var token: AnyObject?
 57 |     private let notificationCenter: NotificationCenter
    |                                     `- error: cannot find type 'NotificationCenter' in scope
 58 |
 59 |     /// The current total cost of values in the cache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:77:29: error: cannot find type 'NotificationCenter' in scope
 75 |         totalCostLimit: Int = .max,
 76 |         countLimit: Int = .max,
 77 |         notificationCenter: NotificationCenter = .default
    |                             `- error: cannot find type 'NotificationCenter' in scope
 78 |     ) {
 79 |         self.totalCostLimit = totalCostLimit
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:85:21: error: 'nil' requires a contextual type
 83 |         self.token = notificationCenter.addObserver(
 84 |             forName: LRUCacheMemoryWarningNotification,
 85 |             object: nil,
    |                     `- error: 'nil' requires a contextual type
 86 |             queue: nil
 87 |         ) { [weak self] _ in
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:86:20: error: 'nil' requires a contextual type
 84 |             forName: LRUCacheMemoryWarningNotification,
 85 |             object: nil,
 86 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 87 |         ) { [weak self] _ in
 88 |             self?.removeAllValues()
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:87:25: error: cannot infer type of closure parameter '_' without a type annotation
 85 |             object: nil,
 86 |             queue: nil
 87 |         ) { [weak self] _ in
    |                         `- error: cannot infer type of closure parameter '_' without a type annotation
 88 |             self?.removeAllValues()
 89 |         }
[4/45] Compiling SVGPath SVGPath+CoreGraphics.swift
BUILD FAILURE 6.1 wasm