The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDCALayer, reference main (f05643), with Swift 6.1 for Wasm on 29 May 2025 07:37:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/p-x9/SDCALayer.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/p-x9/SDCALayer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f05643a Merge pull request #22 from p-x9/feature/animation
Cloned https://github.com/p-x9/SDCALayer.git
Revision (git rev-parse @):
f05643a7293277c611a8e65c12f1702a7ebeba37
SUCCESS checkout https://github.com/p-x9/SDCALayer.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/p-x9/SDCALayer.git
https://github.com/p-x9/SDCALayer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "indirectlycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/p-x9/IndirectlyCodable.git"
    },
    {
      "identity" : "keypathvalue",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/p-x9/KeyPathValue.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "SDCALayer",
  "name" : "SDCALayer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SDCALayer",
      "targets" : [
        "SDCALayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SDCALayerTests",
      "module_type" : "SwiftTarget",
      "name" : "SDCALayerTests",
      "path" : "Tests/SDCALayerTests",
      "sources" : [
        "SDCALayerTests.swift"
      ],
      "target_dependencies" : [
        "SDCALayer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SDCALayer",
      "module_type" : "SwiftTarget",
      "name" : "SDCALayer",
      "path" : "Sources/SDCALayer",
      "product_dependencies" : [
        "IndirectlyCodable",
        "KeyPathValue",
        "Yams"
      ],
      "product_memberships" : [
        "SDCALayer"
      ],
      "sources" : [
        "Extension/CAMediaTimingFunction+.swift",
        "Extension/CATransform3D+.swift",
        "Extension/CGColor+.swift",
        "Extension/CGPath+.swift",
        "Extension/Codable+.swift",
        "Extension/IndirectlyCodable/Animation/CAAnimation+ICodable.swift",
        "Extension/IndirectlyCodable/Animation/CAAnimationGroup+ICodable.swift",
        "Extension/IndirectlyCodable/Animation/CABasicAnimation+ICodable.swift",
        "Extension/IndirectlyCodable/Animation/CAKeyframeAnimation+ICodable.swift",
        "Extension/IndirectlyCodable/Animation/CAPropertyAnimation+ICodable.swift",
        "Extension/IndirectlyCodable/Animation/CASpringAnimation+ICodable.swift",
        "Extension/IndirectlyCodable/CAMediaTimingFunction+ICodable.swift",
        "Extension/IndirectlyCodable/CAValueFunction+ICodable.swift",
        "Extension/IndirectlyCodable/CGColor+ICodable.swift",
        "Extension/IndirectlyCodable/CGPath+ICodable.swift",
        "Extension/IndirectlyCodable/Layer/CAGradientLayer+ICodable.swift",
        "Extension/IndirectlyCodable/Layer/CALayer+ICodable.swift",
        "Extension/IndirectlyCodable/Layer/CAReplicatorLayer+ICodable.swift",
        "Extension/IndirectlyCodable/Layer/CAScrollLayer+ICodable.swift",
        "Extension/IndirectlyCodable/Layer/CAShapeLayer+ICodable.swift",
        "Extension/IndirectlyCodable/Layer/CATextLayer+ICodable.swift",
        "Extension/IndirectlyCodable/Layer/CATiledLayer+ICodable.swift",
        "Extension/IndirectlyCodable/Layer/CATransformLayer+ICodable.swift",
        "Model/Animation/JCAAnimation.swift",
        "Model/Animation/JCAAnimationGroup.swift",
        "Model/Animation/JCABasicAnimation.swift",
        "Model/Animation/JCAKeyframeAnimation.swift",
        "Model/Animation/JCAPropertyAnimation.swift",
        "Model/Animation/JCASpringAnimation.swift",
        "Model/JCAAnimationAny.swift",
        "Model/JCAMediaTimingFunction.swift",
        "Model/JCAValueFunction.swift",
        "Model/JCGColor.swift",
        "Model/JCGPath.swift",
        "Model/Layer/JCAGradientLayer.swift",
        "Model/Layer/JCALayer.swift",
        "Model/Layer/JCAReplicatorLayer.swift",
        "Model/Layer/JCAScrollLayer.swift",
        "Model/Layer/JCAShapeLayer.swift",
        "Model/Layer/JCATextLayer.swift",
        "Model/Layer/JCATiledLayer.swift",
        "Model/Layer/JCATransformLayer.swift",
        "Protocol/CAAnimationConvertible.swift",
        "Protocol/CALayerConvertible.swift",
        "Protocol/OptionalType.swift",
        "Protocol/RawIndirectlyCodable.swift",
        "SDCAAnimation.swift",
        "SDCALayer.swift",
        "Util/PropertyMap.swift",
        "Util/exported.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/jpsim/Yams.git
Fetching https://github.com/p-x9/IndirectlyCodable.git
Fetching https://github.com/p-x9/KeyPathValue.git
[1/77] Fetching keypathvalue
[78/154] Fetching keypathvalue, indirectlycodable
[155/10811] Fetching keypathvalue, indirectlycodable, yams
Fetched https://github.com/p-x9/KeyPathValue.git from cache (0.78s)
Fetched https://github.com/p-x9/IndirectlyCodable.git from cache (0.78s)
[427/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.96s)
Computing version for https://github.com/p-x9/KeyPathValue.git
Computed https://github.com/p-x9/KeyPathValue.git at 0.1.0 (2.69s)
Computing version for https://github.com/p-x9/IndirectlyCodable.git
Computed https://github.com/p-x9/IndirectlyCodable.git at 0.1.0 (0.67s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.99s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/p-x9/IndirectlyCodable.git
Working copy of https://github.com/p-x9/IndirectlyCodable.git resolved at 0.1.0
Creating working copy for https://github.com/p-x9/KeyPathValue.git
Working copy of https://github.com/p-x9/KeyPathValue.git resolved at 0.1.0
Building for debugging...
[0/11] Write sources
[4/11] Compiling writer.c
[5/11] Compiling reader.c
[6/11] Compiling api.c
[7/11] Compiling parser.c
[8/11] Compiling emitter.c
[9/11] Write swift-version-24593BA9C3E375BF.txt
[10/11] Compiling scanner.c
[12/43] Emitting module KeyPathValue
[13/43] Emitting module Yams
[14/45] Compiling Yams Tag.swift
[15/45] Compiling Yams YamlAnchorProviding.swift
[16/45] Compiling Yams Resolver.swift
[17/45] Compiling Yams String+Yams.swift
[18/45] Compiling IndirectlyCodable IndirectlyEncodableModel.swift
[19/45] Compiling IndirectlyCodable IndirectlyEncodable.swift
[20/45] Compiling Yams YamlError.swift
[21/45] Compiling Yams YamlTagProviding.swift
[22/45] Compiling KeyPathValue WritableKeyPathWithValue.swift
[23/45] Compiling KeyPathValue WritableKeyPathValueApplier.swift
[24/45] Compiling IndirectlyCodable IndirectlyDecodable.swift
[25/45] Compiling IndirectlyCodable IndirectlyDecodableModel.swift
[26/45] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[27/45] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[28/45] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[29/45] Compiling IndirectlyCodable IndirectlyCodable.swift
[30/45] Emitting module IndirectlyCodable
[31/45] Compiling IndirectlyCodable IndirectlyCodableModel.swift
[32/46] Compiling KeyPathValue ReferenceWritableKeyPathValueApplier.swift
[33/46] Compiling KeyPathValue ReferenceWritableKeyPathWithValue.swift
[34/47] Compiling Yams Node.Scalar.swift
[35/47] Compiling Yams Node.Sequence.swift
[36/47] Compiling Yams Node.swift
[37/47] Compiling Yams Mark.swift
[38/47] Compiling Yams Node.Alias.swift
[39/47] Compiling Yams Node.Mapping.swift
[40/47] Compiling Yams AliasDereferencingStrategy.swift
[41/47] Compiling Yams Anchor.swift
[42/47] Compiling Yams Constructor.swift
[43/47] Compiling Yams Decoder.swift
[44/47] Compiling Yams Emitter.swift
[45/47] Compiling Yams Encoder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/33] Emitting module IndirectlyCodable
[3/33] Compiling IndirectlyCodable IndirectlyEncodableModel.swift
[4/33] Compiling KeyPathValue WritableKeyPathValueApplier.swift
[5/33] Compiling KeyPathValue WritableKeyPathWithValue.swift
[6/33] Compiling KeyPathValue ReferenceWritableKeyPathWithValue.swift
[7/33] Compiling KeyPathValue ReferenceWritableKeyPathValueApplier.swift
[8/33] Emitting module KeyPathValue
[9/34] Compiling IndirectlyCodable IndirectlyDecodableModel.swift
[10/34] Compiling IndirectlyCodable IndirectlyDecodable.swift
[11/34] Compiling IndirectlyCodable IndirectlyCodableModel.swift
[12/34] Compiling IndirectlyCodable IndirectlyCodable.swift
[13/34] Compiling IndirectlyCodable IndirectlyEncodable.swift
[15/35] Compiling Yams Resolver.swift
[16/35] Compiling Yams String+Yams.swift
[17/35] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[18/35] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[19/35] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[21/37] Compiling Yams Tag.swift
[22/37] Compiling Yams YamlAnchorProviding.swift
[23/37] Compiling Yams YamlError.swift
[24/37] Compiling Yams YamlTagProviding.swift
[25/37] Compiling Yams Mark.swift
[26/37] Compiling Yams Node.Alias.swift
[27/37] Compiling Yams Node.Mapping.swift
[28/37] Compiling Yams Node.Scalar.swift
[29/37] Compiling Yams Node.Sequence.swift
[30/37] Compiling Yams Node.swift
[31/37] Emitting module Yams
[32/37] Compiling Yams AliasDereferencingStrategy.swift
[33/37] Compiling Yams Anchor.swift
[34/37] Compiling Yams Constructor.swift
[35/37] Compiling Yams Decoder.swift
[36/37] Compiling Yams Emitter.swift
[37/37] Compiling Yams Encoder.swift
BUILD FAILURE 6.1 wasm