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 1.8.12 (b20899), with Swift 6.1 for Wasm on 2 Aug 2025 01:20:37 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/ShapeScript.git
Reference: 1.8.12
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
 * tag               1.8.12     -> FETCH_HEAD
HEAD is now at b208996 Update for 1.8.12 release
Cloned https://github.com/nicklockwood/ShapeScript.git
Revision (git rev-parse @):
b2089960539d1c504e0ce84f890708649554fcb9
SUCCESS checkout https://github.com/nicklockwood/ShapeScript.git at 1.8.12
========================================
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.15",
            "upper_bound" : "0.8.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/Euclid.git"
    },
    {
      "identity" : "lrucache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.7",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/LRUCache.git"
    },
    {
      "identity" : "svgpath",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.6",
            "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-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/235] Fetching svgpath
[236/436] Fetching svgpath, lrucache
Fetched https://github.com/nicklockwood/SVGPath.git from cache (0.26s)
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.27s)
[1/10845] Fetching euclid
Fetched https://github.com/nicklockwood/Euclid.git from cache (2.38s)
Computing version for https://github.com/nicklockwood/SVGPath.git
Computed https://github.com/nicklockwood/SVGPath.git at 1.1.6 (2.95s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.0.7 (0.63s)
Computing version for https://github.com/nicklockwood/Euclid.git
Computed https://github.com/nicklockwood/Euclid.git at 0.7.16 (0.85s)
Creating working copy for https://github.com/nicklockwood/Euclid.git
Working copy of https://github.com/nicklockwood/Euclid.git resolved at 0.7.16
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/SVGPath.git
Working copy of https://github.com/nicklockwood/SVGPath.git resolved at 1.1.6
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/50] Emitting module Euclid
[8/54] Compiling Euclid Euclid+AppKit.swift
[9/54] Compiling Euclid Euclid+CoreGraphics.swift
[10/54] Compiling Euclid Euclid+CoreText.swift
[11/54] Compiling Euclid Euclid+RealityKit.swift
[12/54] Compiling Euclid Euclid+SIMD.swift
[13/54] Compiling SVGPath SVGPath+CoreGraphics.swift
[14/54] Emitting module SVGPath
[15/54] Compiling SVGPath SVGPath.swift
[17/55] Compiling Euclid Transforms.swift
[18/55] Compiling Euclid Utilities.swift
[19/55] Compiling Euclid Vector.swift
[20/55] Compiling Euclid Vertex.swift
[21/55] Compiling Euclid Mesh+CSG.swift
[22/55] Compiling Euclid Mesh+IO.swift
[23/55] Compiling Euclid Mesh+OBJ.swift
[24/55] Compiling Euclid Mesh+STL.swift
[25/55] Compiling Euclid Euclid+SceneKit.swift
[26/55] Compiling Euclid Euclid+UIKit.swift
[27/55] Compiling Euclid Line.swift
[28/55] Compiling Euclid LineSegment+CSG.swift
[29/55] Compiling Euclid LineSegment.swift
[30/55] Compiling Euclid Angle.swift
[31/55] Compiling Euclid BSP.swift
[32/55] Compiling Euclid Bounded.swift
[33/55] Compiling Euclid Bounds.swift
[34/55] Compiling Euclid Color.swift
[35/55] 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 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/55] 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
[37/55] Compiling Euclid Mesh+Shapes.swift
[38/55] Compiling Euclid Mesh+Texcoords.swift
[39/55] Compiling Euclid Mesh.swift
[40/55] Compiling Euclid Path+Shapes.swift
[40/55] Wrapping AST for SVGPath for debugging
[41/55] Compiling Euclid Path.swift
[42/55] Compiling Euclid PathPoint.swift
[43/55] Compiling Euclid Plane.swift
[44/55] Compiling Euclid Polygon+CSG.swift
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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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
[2/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 |         }
[3/45] Compiling Euclid Euclid+AppKit.swift
[4/45] Compiling Euclid Euclid+CoreGraphics.swift
[5/45] Compiling Euclid Euclid+CoreText.swift
[6/45] Compiling Euclid Euclid+RealityKit.swift
[7/45] Compiling Euclid Euclid+SIMD.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/49] 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
[9/49] Compiling SVGPath SVGPath+CoreGraphics.swift
[10/49] Emitting module SVGPath
BUILD FAILURE 6.1 wasm