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 QRCode, reference main (ea4047), with Swift 6.1 for Wasm on 18 Aug 2025 04:10:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/QRCode.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/dagronf/QRCode
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ea4047a Added arc eye style
Cloned https://github.com/dagronf/QRCode.git
Revision (git rev-parse @):
ea4047a7777bae470adc140cd94bfa5396a96202
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dagronf/QRCode.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/QRCode.git
https://github.com/dagronf/QRCode.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.3",
            "upper_bound" : "0.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-qrcode-generator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "2.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dagronf/swift-qrcode-generator"
    },
    {
      "identity" : "swiftimagereadwrite",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.1",
            "upper_bound" : "1.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dagronf/SwiftImageReadWrite"
    }
  ],
  "manifest_display_name" : "QRCode",
  "name" : "QRCode",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "QRCode",
      "targets" : [
        "QRCode"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "QRCodeStatic",
      "targets" : [
        "QRCode"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "QRCodeDynamic",
      "targets" : [
        "QRCode"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "QRCodeDetector",
      "targets" : [
        "QRCodeDetector"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "qrcodegen",
      "targets" : [
        "qrcodegen"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "qrcodegen",
      "module_type" : "SwiftTarget",
      "name" : "qrcodegen",
      "path" : "Sources/qrcodegen",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "qrcodegen"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/qrcodegen/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "main.swift",
        "utils.swift"
      ],
      "target_dependencies" : [
        "QRCode"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "QRCodeTests",
      "module_type" : "SwiftTarget",
      "name" : "QRCodeTests",
      "path" : "Tests/QRCodeTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/apple.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/b-image.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/beach-square.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/colored-fill-bw.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/colored-fill-invert.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/colored-fill.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/corner-heart.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/example-com.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/instagram-icon.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/lego.jpeg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/logo-mask.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/logo-scan.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/logo.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/nsw-health.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/photo-logo.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/qrcodes-image.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/square-logo.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/svg/Issue19Generated.svg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/swift-logo.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/wiki-logo.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/wombles.jpeg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/QRCodeTests/Resources/wwf.jpeg",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CGPathCoderTests.swift",
        "ComponentsTests.swift",
        "DocumentationImageTests.swift",
        "QRCodeBugFixTests.swift",
        "QRCodeBuilderTests.swift",
        "QRCodeDetectionTests.swift",
        "QRCodeDocGenerator.swift",
        "QRCodeEncodeDecodeTests.swift",
        "QRCodeExternalGenerationTests.swift",
        "QRCodeEyeShapeTests.swift",
        "QRCodeFillTests.swift",
        "QRCodeImageFillTests.swift",
        "QRCodeMaskingTests.swift",
        "QRCodeMessageFormattingTests.swift",
        "QRCodePathTests.swift",
        "QRCodePixelInsetDocumentTests.swift",
        "QRCodePixelInsetTests.swift",
        "QRCodePixelRotationDocumentTests.swift",
        "QRCodePixelRotationTests.swift",
        "QRCodeSVGExportTests.swift",
        "QRCodeTests.swift",
        "QRCodeWatchOSTests.swift",
        "QRLoadSaveTests.swift",
        "ShadowTests.swift",
        "TestFilesContainer.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "QRCode"
      ],
      "type" : "test"
    },
    {
      "c99name" : "QRCodeDetector",
      "module_type" : "SwiftTarget",
      "name" : "QRCodeDetector",
      "path" : "Sources/QRCodeDetector",
      "product_memberships" : [
        "QRCodeDetector"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/QRCodeDetector/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "QRCodeDetector+VideoDetector.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "QRCode",
      "module_type" : "SwiftTarget",
      "name" : "QRCode",
      "path" : "Sources/QRCode",
      "product_dependencies" : [
        "SwiftImageReadWrite",
        "QRCodeGenerator"
      ],
      "product_memberships" : [
        "QRCode",
        "QRCodeStatic",
        "QRCodeDynamic",
        "qrcodegen"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/QRCode/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "QRCode+ASCII.swift",
        "QRCode+Builder.swift",
        "QRCode+Combine.swift",
        "QRCode+Content.swift",
        "QRCode+Conveniences.swift",
        "QRCode+Design.swift",
        "QRCode+Detection.swift",
        "QRCode+Document+Export.swift",
        "QRCode+Document+LoadSave.swift",
        "QRCode+Document.swift",
        "QRCode+Drawing.swift",
        "QRCode+Error.swift",
        "QRCode+ErrorCorrection.swift",
        "QRCode+FormattedContent.swift",
        "QRCode+Image.swift",
        "QRCode+Keys.swift",
        "QRCode+LogoTemplate.swift",
        "QRCode+Message.swift",
        "QRCode+Pasteboard.swift",
        "QRCode+Path.swift",
        "QRCode+SVG.swift",
        "QRCode+Shadow.swift",
        "QRCode+Templating.swift",
        "QRCode+Types.swift",
        "QRCode+UTI.swift",
        "QRCode.swift",
        "generator/QRCodeEngine+CoreImage.swift",
        "generator/QRCodeEngine.swift",
        "generator/external/QRCodeEngine+External+Wrapper.swift",
        "generator/external/QRCodeEngine+External.swift",
        "message/QRCode+Message+Contact.swift",
        "message/QRCode+Message+Data.swift",
        "message/QRCode+Message+Event.swift",
        "message/QRCode+Message+Link.swift",
        "message/QRCode+Message+Location.swift",
        "message/QRCode+Message+Mail.swift",
        "message/QRCode+Message+Phone.swift",
        "message/QRCode+Message+SMS.swift",
        "message/QRCode+Message+Text.swift",
        "private/Array2D.swift",
        "private/BinaryFloatingPoint+extensions.swift",
        "private/BoolMatrix.swift",
        "private/CGColor+BackwardsCompatibility.swift",
        "private/CGColor+extensions.swift",
        "private/CGColor+hex.swift",
        "private/CGContext+extensions.swift",
        "private/CGFloat+extensions.swift",
        "private/CGImage+diff.swift",
        "private/CGImage+extensions.swift",
        "private/CGMutablePath+PaintCodeHelpers.swift",
        "private/CGPath+RoundedRectExtensions.swift",
        "private/CGPath+SVG.swift",
        "private/CGPath+codable.swift",
        "private/CGPath+extensions.swift",
        "private/CGPath+hexagon.swift",
        "private/CGSize+extensions.swift",
        "private/Clamp.swift",
        "private/DSFGradient.swift",
        "private/Debounce.swift",
        "private/FileManager+extensions.swift",
        "private/FixedWidthInteger+extensions.swift",
        "private/NSBezierPath+extensions.swift",
        "private/NSImage+extensions.swift",
        "private/Neighbours.swift",
        "private/Optional+extensions.swift",
        "private/QRCode+Platform.swift",
        "private/RandomNumberWithSeed.swift",
        "private/String+extensions.swift",
        "private/Utils.swift",
        "styles/QRCode+Shape.swift",
        "styles/QRCode+Style.swift",
        "styles/data/QRCodePixelShape.swift",
        "styles/data/QRCodePixelShapeAbstract.swift",
        "styles/data/QRCodePixelShapeBlob.swift",
        "styles/data/QRCodePixelShapeCircuit.swift",
        "styles/data/QRCodePixelShapeCrosshatch.swift",
        "styles/data/QRCodePixelShapeCurvePixel.swift",
        "styles/data/QRCodePixelShapeDiagonalStripes.swift",
        "styles/data/QRCodePixelShapeDonut.swift",
        "styles/data/QRCodePixelShapeDripHorizontal.swift",
        "styles/data/QRCodePixelShapeDripVertical.swift",
        "styles/data/QRCodePixelShapeFactory.swift",
        "styles/data/QRCodePixelShapeGrid.swift",
        "styles/data/QRCodePixelShapeHorizontal.swift",
        "styles/data/QRCodePixelShapePointy.swift",
        "styles/data/QRCodePixelShapeRazor.swift",
        "styles/data/QRCodePixelShapeRoundedEndIndent.swift",
        "styles/data/QRCodePixelShapeRoundedPath.swift",
        "styles/data/QRCodePixelShapeVertical.swift",
        "styles/data/QRCodePixelShapeVortex.swift",
        "styles/data/pixel/QRCodePixelShapeArrow.swift",
        "styles/data/pixel/QRCodePixelShapeCRT.swift",
        "styles/data/pixel/QRCodePixelShapeCircle.swift",
        "styles/data/pixel/QRCodePixelShapeDiagonal.swift",
        "styles/data/pixel/QRCodePixelShapeDiamond.swift",
        "styles/data/pixel/QRCodePixelShapeFlame.swift",
        "styles/data/pixel/QRCodePixelShapeFlower.swift",
        "styles/data/pixel/QRCodePixelShapeGear.swift",
        "styles/data/pixel/QRCodePixelShapeHeart.swift",
        "styles/data/pixel/QRCodePixelShapeHexagon.swift",
        "styles/data/pixel/QRCodePixelShapeKoala.swift",
        "styles/data/pixel/QRCodePixelShapeRoundedRect.swift",
        "styles/data/pixel/QRCodePixelShapeRoundedTriangle.swift",
        "styles/data/pixel/QRCodePixelShapeSharp.swift",
        "styles/data/pixel/QRCodePixelShapeShiny.swift",
        "styles/data/pixel/QRCodePixelShapeSpikyCircle.swift",
        "styles/data/pixel/QRCodePixelShapeSquare.swift",
        "styles/data/pixel/QRCodePixelShapeSquircle.swift",
        "styles/data/pixel/QRCodePixelShapeStar.swift",
        "styles/data/pixel/QRCodePixelShapeStitch.swift",
        "styles/data/pixel/QRCodePixelShapeWave.swift",
        "styles/data/pixel/QRCodePixelShapeWex.swift",
        "styles/data/pixel/inset-generator/QRCodePixelShapeInset+Fixed.swift",
        "styles/data/pixel/inset-generator/QRCodePixelShapeInset+Generator.swift",
        "styles/data/pixel/inset-generator/QRCodePixelShapeInset+HorizontalWave.swift",
        "styles/data/pixel/inset-generator/QRCodePixelShapeInset+Punch.swift",
        "styles/data/pixel/inset-generator/QRCodePixelShapeInset+Random.swift",
        "styles/data/pixel/inset-generator/QRCodePixelShapeInset+VerticalWave.swift",
        "styles/data/pixel/private/QRCodePixelShapePixel.swift",
        "styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+Fixed.swift",
        "styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+Generator.swift",
        "styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+HWave.swift",
        "styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+Random.swift",
        "styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+VWave.swift",
        "styles/eye/QRCodeEyeShape.swift",
        "styles/eye/QRCodeEyeShapeArc.swift",
        "styles/eye/QRCodeEyeShapeBarsHorizontal.swift",
        "styles/eye/QRCodeEyeShapeBarsVertical.swift",
        "styles/eye/QRCodeEyeShapeCRT.swift",
        "styles/eye/QRCodeEyeShapeCircle.swift",
        "styles/eye/QRCodeEyeShapeCloud.swift",
        "styles/eye/QRCodeEyeShapeCloudCircle.swift",
        "styles/eye/QRCodeEyeShapeCorneredPixels.swift",
        "styles/eye/QRCodeEyeShapeDiagonalStripes.swift",
        "styles/eye/QRCodeEyeShapeDotDrag.swift",
        "styles/eye/QRCodeEyeShapeEdges.swift",
        "styles/eye/QRCodeEyeShapeExplode.swift",
        "styles/eye/QRCodeEyeShapeEye.swift",
        "styles/eye/QRCodeEyeShapeFabricScissors.swift",
        "styles/eye/QRCodeEyeShapeFactory.swift",
        "styles/eye/QRCodeEyeShapeFireball.swift",
        "styles/eye/QRCodeEyeShapeFlame.swift",
        "styles/eye/QRCodeEyeShapeHeadlight.swift",
        "styles/eye/QRCodeEyeShapeHolePunch.swift",
        "styles/eye/QRCodeEyeShapeLeaf.swift",
        "styles/eye/QRCodeEyeShapePeacock.swift",
        "styles/eye/QRCodeEyeShapePinch.swift",
        "styles/eye/QRCodeEyeShapePixels.swift",
        "styles/eye/QRCodeEyeShapeRoundedOuter.swift",
        "styles/eye/QRCodeEyeShapeRoundedPointingIn.swift",
        "styles/eye/QRCodeEyeShapeRoundedPointingOut.swift",
        "styles/eye/QRCodeEyeShapeRoundedRect.swift",
        "styles/eye/QRCodeEyeShapeShield.swift",
        "styles/eye/QRCodeEyeShapeSpikyCircle.swift",
        "styles/eye/QRCodeEyeShapeSquare.swift",
        "styles/eye/QRCodeEyeShapeSquarePeg.swift",
        "styles/eye/QRCodeEyeShapeSquircle.swift",
        "styles/eye/QRCodeEyeShapeSurroundingBars.swift",
        "styles/eye/QRCodeEyeShapeTeardrop.swift",
        "styles/eye/QRCodeEyeShapeUFO.swift",
        "styles/eye/QRCodeEyeShapeUFORounded.swift",
        "styles/eye/QRCodeEyeShapeUsePixelShape.swift",
        "styles/fill/QRCodeFillStyle.swift",
        "styles/fill/QRCodeFillStyleFactory.swift",
        "styles/fill/QRCodeFillStyleImage.swift",
        "styles/fill/QRCodeFillStyleLinearGradient.swift",
        "styles/fill/QRCodeFillStyleRadialGradient.swift",
        "styles/fill/QRCodeFillStyleSolid.swift",
        "styles/pupil/QRCodePupilShape.swift",
        "styles/pupil/QRCodePupilShapeArc.swift",
        "styles/pupil/QRCodePupilShapeArrow.swift",
        "styles/pupil/QRCodePupilShapeBarsHorizontal.swift",
        "styles/pupil/QRCodePupilShapeBarsVertical.swift",
        "styles/pupil/QRCodePupilShapeBlade.swift",
        "styles/pupil/QRCodePupilShapeBlobby.swift",
        "styles/pupil/QRCodePupilShapeCRT.swift",
        "styles/pupil/QRCodePupilShapeCircle.swift",
        "styles/pupil/QRCodePupilShapeCloud.swift",
        "styles/pupil/QRCodePupilShapeCloudCircle.swift",
        "styles/pupil/QRCodePupilShapeCorneredPixels.swift",
        "styles/pupil/QRCodePupilShapeCross.swift",
        "styles/pupil/QRCodePupilShapeCrossCurved.swift",
        "styles/pupil/QRCodePupilShapeDiagonalStripes.swift",
        "styles/pupil/QRCodePupilShapeDotDrag.swift",
        "styles/pupil/QRCodePupilShapeEdges.swift",
        "styles/pupil/QRCodePupilShapeExplode.swift",
        "styles/pupil/QRCodePupilShapeFabricScissors.swift",
        "styles/pupil/QRCodePupilShapeFactory.swift",
        "styles/pupil/QRCodePupilShapeFlame.swift",
        "styles/pupil/QRCodePupilShapeForest.swift",
        "styles/pupil/QRCodePupilShapeGear.swift",
        "styles/pupil/QRCodePupilShapeHexagonLeaf.swift",
        "styles/pupil/QRCodePupilShapeKoala.swift",
        "styles/pupil/QRCodePupilShapeLeaf.swift",
        "styles/pupil/QRCodePupilShapeOrbits.swift",
        "styles/pupil/QRCodePupilShapePinch.swift",
        "styles/pupil/QRCodePupilShapePixels.swift",
        "styles/pupil/QRCodePupilShapeRoundedOuter.swift",
        "styles/pupil/QRCodePupilShapeRoundedPointingIn.swift",
        "styles/pupil/QRCodePupilShapeRoundedPointingOut.swift",
        "styles/pupil/QRCodePupilShapeRoundedRect.swift",
        "styles/pupil/QRCodePupilShapeSeal.swift",
        "styles/pupil/QRCodePupilShapeShield.swift",
        "styles/pupil/QRCodePupilShapeSpikyCircle.swift",
        "styles/pupil/QRCodePupilShapeSquare.swift",
        "styles/pupil/QRCodePupilShapeSquircle.swift",
        "styles/pupil/QRCodePupilShapeTeardrop.swift",
        "styles/pupil/QRCodePupilShapeUFO.swift",
        "styles/pupil/QRCodePupilShapeUFORounded.swift",
        "styles/pupil/QRCodePupilShapeUsePixelShape.swift",
        "views/QRCodeDocumentView+AppKit.swift",
        "views/QRCodeDocumentView+UIKit.swift",
        "views/QRCodeView.swift",
        "views/SwiftUI/QRCodeDocumentUIView.swift",
        "views/SwiftUI/QRCodeShape.swift",
        "views/SwiftUI/QRCodeViewUI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/dagronf/swift-qrcode-generator
Fetching https://github.com/dagronf/SwiftImageReadWrite
Fetching https://github.com/apple/swift-argument-parser
[1/378] Fetching swiftimagereadwrite
[379/723] Fetching swiftimagereadwrite, swift-qrcode-generator
Fetched https://github.com/dagronf/swift-qrcode-generator from cache (0.36s)
[1/15664] Fetching swift-argument-parser
Fetched https://github.com/dagronf/SwiftImageReadWrite from cache (1.02s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.03s)
Computing version for https://github.com/dagronf/swift-qrcode-generator
Computed https://github.com/dagronf/swift-qrcode-generator at 2.0.2 (1.97s)
Computing version for https://github.com/dagronf/SwiftImageReadWrite
Computed https://github.com/dagronf/SwiftImageReadWrite at 1.9.2 (0.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (0.62s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.4.4
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite
Working copy of https://github.com/dagronf/SwiftImageReadWrite resolved at 1.9.2
Creating working copy for https://github.com/dagronf/swift-qrcode-generator
Working copy of https://github.com/dagronf/swift-qrcode-generator resolved at 2.0.2
Building for debugging...
[0/25] Copying PrivacyInfo.xcprivacy
[0/25] Write sources
[10/25] Write swift-version-24593BA9C3E375BF.txt
[12/85] Emitting module SwiftImageReadWrite
[13/87] Emitting module QRCodeDetector
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/87] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[15/91] Compiling SwiftImageReadWrite Errors.swift
[16/91] Compiling SwiftImageReadWrite ImageExportTypes.swift
[17/91] Compiling QRCodeGenerator QRCodeMask.swift
[18/91] Compiling QRCodeGenerator QRCodeError.swift
[19/91] Compiling QRCodeGenerator QRCodeConstants.swift
[20/91] Compiling QRCodeGenerator QRCodeECC.swift
[21/91] Compiling QRCodeGenerator QRCodeVersion.swift
[22/91] Compiling ArgumentParser ZshCompletionsGenerator.swift
[23/91] Compiling ArgumentParser Argument.swift
[24/92] Compiling ArgumentParser Option.swift
[25/92] Compiling ArgumentParser OptionGroup.swift
[26/92] Compiling ArgumentParser CommandConfiguration.swift
[27/92] Compiling ArgumentParser EnumerableFlag.swift
[28/92] Compiling ArgumentParser ExpressibleByArgument.swift
[29/92] Compiling QRCodeDetector QRCodeDetector+VideoDetector.swift
[30/92] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/92] Compiling ArgumentParser CompletionsGenerator.swift
[32/92] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/92] Compiling SwiftImageReadWrite PlatformImage+import.swift
[34/92] Compiling SwiftImageReadWrite PlatformImage+macOS.swift
[35/92] Compiling SwiftImageReadWrite PlatformImage.swift
[36/92] Compiling SwiftImageReadWrite Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[42/92] Compiling QRCodeDetector resource_bundle_accessor.swift
[43/93] Compiling QRCodeGenerator QRCode.swift
[44/93] Emitting module QRCodeGenerator
[45/93] Compiling QRCodeGenerator BitBuffer.swift
[47/93] Compiling SwiftImageReadWrite SwiftUI+extensions.swift
[48/93] Compiling SwiftImageReadWrite resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[53/94] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[59/94] Compiling ArgumentParser Name.swift
[60/94] Compiling ArgumentParser Parsed.swift
[61/94] Compiling ArgumentParser ParsedValues.swift
[62/94] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[67/94] Compiling ArgumentParser ArgumentDefinition.swift
[68/94] Compiling ArgumentParser ArgumentSet.swift
[69/94] Compiling ArgumentParser CommandParser.swift
[70/94] Compiling ArgumentParser InputOrigin.swift
[71/94] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[72/94] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[73/94] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[74/94] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[75/94] Compiling QRCodeGenerator QRSegment.swift
[77/95] Compiling ArgumentParser UsageGenerator.swift
[78/95] Compiling ArgumentParser SequenceExtensions.swift
[79/95] Compiling ArgumentParser StringExtensions.swift
[80/95] Compiling ArgumentParser Tree.swift
[80/95] Wrapping AST for QRCodeDetector for debugging
[81/95] Write Objects.LinkFileList
[82/95] Wrapping AST for SwiftImageReadWrite for debugging
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[84/95] Linking libQRCodeDetector.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/15] Write swift-version-24593BA9C3E375BF.txt
[2/71] Compiling QRCodeDetector QRCodeDetector+VideoDetector.swift
[3/71] Emitting module QRCodeDetector
[4/71] Compiling QRCodeDetector resource_bundle_accessor.swift
[5/75] Write Objects.LinkFileList
[7/75] Compiling QRCodeGenerator QRCodeConstants.swift
[8/75] Emitting module QRCodeGenerator
[9/76] Compiling QRCodeGenerator QRCodeVersion.swift
[10/76] Compiling ArgumentParser ArgumentHelp.swift
[11/76] Compiling ArgumentParser CompletionKind.swift
[12/76] Emitting module SwiftImageReadWrite
[13/78] Compiling ArgumentParser FishCompletionsGenerator.swift
[14/78] Compiling ArgumentParser ZshCompletionsGenerator.swift
[15/78] Compiling ArgumentParser Argument.swift
[16/78] Compiling ArgumentParser BashCompletionsGenerator.swift
[17/78] Compiling ArgumentParser CompletionsGenerator.swift
[18/78] Compiling ArgumentParser Errors.swift
[19/78] Compiling ArgumentParser Flag.swift
[20/78] Compiling ArgumentParser NameSpecification.swift
[21/78] Compiling ArgumentParser ParsableArguments.swift
[22/78] Compiling ArgumentParser ParsableArgumentsValidation.swift
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[22/78] Linking libQRCodeDetector.wasm
[23/78] Compiling ArgumentParser ParsableCommand.swift
[24/78] Compiling ArgumentParser ArgumentDecoder.swift
BUILD FAILURE 6.1 wasm