Build Information
Failed to build GPUImage, reference master (3a2275), with Swift 6.1 for Wasm on 27 May 2025 10:26:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradlarson/gpuimage2.git
Reference: master
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/bradlarson/gpuimage2
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3a2275e Added ability to customize the orientation of the camera.
Cloned https://github.com/bradlarson/gpuimage2.git
Revision (git rev-parse @):
3a2275e48716a6ebdab0d4098bd7d90321ef4143
SUCCESS checkout https://github.com/bradlarson/gpuimage2.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/bradlarson/gpuimage2.git
https://github.com/bradlarson/gpuimage2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftgd",
"requirement" : {
"exact" : [
"2.3.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/twostraws/SwiftGD.git"
},
{
"identity" : "copengl",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/BradLarson/COpenGL.git"
},
{
"identity" : "cfreeglut",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/BradLarson/CFreeGLUT.git"
},
{
"identity" : "cvideo4linux",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/BradLarson/CVideo4Linux.git"
}
],
"manifest_display_name" : "GPUImage",
"name" : "GPUImage",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GPUImage",
"targets" : [
"GPUImage"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GPUImageV4LCamera",
"targets" : [
"GPUImageV4LCamera"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "lodepng",
"module_type" : "ClangTarget",
"name" : "lodepng",
"path" : "framework/Packages/lodepng",
"product_memberships" : [
"GPUImage",
"GPUImageV4LCamera"
],
"sources" : [
"lodepng.cpp"
],
"type" : "library"
},
{
"c99name" : "V4LSupplement",
"module_type" : "ClangTarget",
"name" : "V4LSupplement",
"path" : "framework/Source/Linux/V4LSupplement",
"product_memberships" : [
"GPUImageV4LCamera"
],
"sources" : [
"v4lfuncs.c"
],
"type" : "library"
},
{
"c99name" : "GPUImageV4LCamera",
"module_type" : "SwiftTarget",
"name" : "GPUImageV4LCamera",
"path" : "framework/Source/Linux/V4LCamera",
"product_memberships" : [
"GPUImageV4LCamera"
],
"sources" : [
"V4LCamera.swift"
],
"target_dependencies" : [
"GPUImage",
"V4LSupplement"
],
"type" : "library"
},
{
"c99name" : "GPUImage",
"module_type" : "SwiftTarget",
"name" : "GPUImage",
"path" : "framework/Source",
"product_dependencies" : [
"SwiftGD"
],
"product_memberships" : [
"GPUImage",
"GPUImageV4LCamera"
],
"sources" : [
"BasicOperation.swift",
"CameraConversion.swift",
"Color.swift",
"FillMode.swift",
"Framebuffer.swift",
"FramebufferCache.swift",
"ImageGenerator.swift",
"ImageOrientation.swift",
"Linux/GLUTRenderWindow.swift",
"Linux/OpenGLContext.swift",
"Linux/PictureInput.swift",
"Linux/PictureOutput.swift",
"Matrix.swift",
"OpenGLContext_Shared.swift",
"OpenGLRendering.swift",
"OperationGroup.swift",
"Operations/AdaptiveThreshold.swift",
"Operations/AddBlend.swift",
"Operations/AlphaBlend.swift",
"Operations/AmatorkaFilter.swift",
"Operations/AverageColorExtractor.swift",
"Operations/AverageLuminanceExtractor.swift",
"Operations/AverageLuminanceThreshold.swift",
"Operations/BilateralBlur.swift",
"Operations/BoxBlur.swift",
"Operations/BrightnessAdjustment.swift",
"Operations/BulgeDistortion.swift",
"Operations/CGAColorspaceFilter.swift",
"Operations/CannyEdgeDetection.swift",
"Operations/ChromaKeyBlend.swift",
"Operations/ChromaKeying.swift",
"Operations/CircleGenerator.swift",
"Operations/ClosingFilter.swift",
"Operations/ColorBlend.swift",
"Operations/ColorBurnBlend.swift",
"Operations/ColorDodgeBlend.swift",
"Operations/ColorInversion.swift",
"Operations/ColorLocalBinaryPattern.swift",
"Operations/ColorMatrixFilter.swift",
"Operations/ColourFASTFeatureDetection.swift",
"Operations/ContrastAdjustment.swift",
"Operations/ConvertedShaders_GL.swift",
"Operations/ConvertedShaders_GLES.swift",
"Operations/Convolution3x3.swift",
"Operations/Crop.swift",
"Operations/CrosshairGenerator.swift",
"Operations/Crosshatch.swift",
"Operations/DarkenBlend.swift",
"Operations/DifferenceBlend.swift",
"Operations/Dilation.swift",
"Operations/DissolveBlend.swift",
"Operations/DivideBlend.swift",
"Operations/EmbossFilter.swift",
"Operations/Erosion.swift",
"Operations/ExclusionBlend.swift",
"Operations/ExposureAdjustment.swift",
"Operations/FalseColor.swift",
"Operations/GammaAdjustment.swift",
"Operations/GaussianBlur.swift",
"Operations/GlassSphereRefraction.swift",
"Operations/Halftone.swift",
"Operations/HardLightBlend.swift",
"Operations/HarrisCornerDetector.swift",
"Operations/Haze.swift",
"Operations/HighPassFilter.swift",
"Operations/HighlightAndShadowTint.swift",
"Operations/HighlightsAndShadows.swift",
"Operations/Histogram.swift",
"Operations/HistogramDisplay.swift",
"Operations/HistogramEqualization.swift",
"Operations/HueAdjustment.swift",
"Operations/HueBlend.swift",
"Operations/ImageBuffer.swift",
"Operations/KuwaharaFilter.swift",
"Operations/KuwaharaRadius3Filter.swift",
"Operations/LanczosResampling.swift",
"Operations/Laplacian.swift",
"Operations/LevelsAdjustment.swift",
"Operations/LightenBlend.swift",
"Operations/LineGenerator.swift",
"Operations/LinearBurnBlend.swift",
"Operations/LocalBinaryPattern.swift",
"Operations/LookupFilter.swift",
"Operations/LowPassFilter.swift",
"Operations/Luminance.swift",
"Operations/LuminanceRangeReduction.swift",
"Operations/LuminanceThreshold.swift",
"Operations/LuminosityBlend.swift",
"Operations/MedianFilter.swift",
"Operations/MissEtikateFilter.swift",
"Operations/MonochromeFilter.swift",
"Operations/MotionBlur.swift",
"Operations/MotionDetector.swift",
"Operations/MultiplyBlend.swift",
"Operations/NobleCornerDetector.swift",
"Operations/NormalBlend.swift",
"Operations/OpacityAdjustment.swift",
"Operations/OpeningFilter.swift",
"Operations/OverlayBlend.swift",
"Operations/PinchDistortion.swift",
"Operations/Pixellate.swift",
"Operations/PolarPixellate.swift",
"Operations/PolkaDot.swift",
"Operations/Posterize.swift",
"Operations/PrewittEdgeDetection.swift",
"Operations/RGBAdjustmentFilter.swift",
"Operations/SaturationAdjustment.swift",
"Operations/SaturationBlend.swift",
"Operations/ScreenBlend.swift",
"Operations/SepiaToneFilter.swift",
"Operations/Sharpen.swift",
"Operations/ShiTomasiFeatureDetector.swift",
"Operations/SingleComponentGaussianBlur.swift",
"Operations/SketchFilter.swift",
"Operations/SmoothToonFilter.swift",
"Operations/SobelEdgeDetection.swift",
"Operations/SoftElegance.swift",
"Operations/SoftLightBlend.swift",
"Operations/Solarize.swift",
"Operations/SolidColorGenerator.swift",
"Operations/SourceOverBlend.swift",
"Operations/SphereRefraction.swift",
"Operations/StretchDistortion.swift",
"Operations/SubtractBlend.swift",
"Operations/SwirlDistortion.swift",
"Operations/ThresholdSketch.swift",
"Operations/ThresholdSobelEdgeDetection.swift",
"Operations/TiltShift.swift",
"Operations/ToonFilter.swift",
"Operations/TransformOperation.swift",
"Operations/UnsharpMask.swift",
"Operations/Vibrance.swift",
"Operations/Vignette.swift",
"Operations/WhiteBalance.swift",
"Operations/ZoomBlur.swift",
"Operations/iOSBlur.swift",
"Pipeline.swift",
"Position.swift",
"RawDataInput.swift",
"RawDataOutput.swift",
"SerialDispatch.swift",
"ShaderProgram.swift",
"ShaderUniformSettings.swift",
"Size.swift",
"TextureInput.swift",
"TextureOutput.swift",
"TextureSamplingOperation.swift",
"Timestamp.swift",
"TwoStageOperation.swift"
],
"target_dependencies" : [
"lodepng"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/BradLarson/COpenGL.git
Fetching https://github.com/BradLarson/CVideo4Linux.git
Fetching https://github.com/BradLarson/CFreeGLUT.git
Fetching https://github.com/twostraws/SwiftGD.git
[1/16] Fetching copengl
[17/29] Fetching copengl, cvideo4linux
[22/473] Fetching copengl, cvideo4linux, swiftgd
[466/484] Fetching copengl, cvideo4linux, swiftgd, cfreeglut
Fetched https://github.com/BradLarson/CVideo4Linux.git from cache (0.92s)
Fetched https://github.com/BradLarson/COpenGL.git from cache (0.92s)
Fetched https://github.com/twostraws/SwiftGD.git from cache (0.93s)
Fetched https://github.com/BradLarson/CFreeGLUT.git from cache (0.93s)
Computing version for https://github.com/BradLarson/CVideo4Linux.git
Computed https://github.com/BradLarson/CVideo4Linux.git at 1.0.2 (4.07s)
Computing version for https://github.com/BradLarson/CFreeGLUT.git
Computed https://github.com/BradLarson/CFreeGLUT.git at 1.0.1 (0.51s)
Computing version for https://github.com/BradLarson/COpenGL.git
Computed https://github.com/BradLarson/COpenGL.git at 1.0.2 (0.82s)
Computing version for https://github.com/twostraws/SwiftGD.git
Computed https://github.com/twostraws/SwiftGD.git at 2.3.0 (0.49s)
Fetching https://github.com/twostraws/Cgd.git
[1/20] Fetching cgd
Fetched https://github.com/twostraws/Cgd.git from cache (0.21s)
Computing version for https://github.com/twostraws/Cgd.git
Computed https://github.com/twostraws/Cgd.git at 0.2.0 (0.77s)
Creating working copy for https://github.com/BradLarson/CVideo4Linux.git
Working copy of https://github.com/BradLarson/CVideo4Linux.git resolved at 1.0.2
Creating working copy for https://github.com/BradLarson/CFreeGLUT.git
Working copy of https://github.com/BradLarson/CFreeGLUT.git resolved at 1.0.1
Creating working copy for https://github.com/BradLarson/COpenGL.git
Working copy of https://github.com/BradLarson/COpenGL.git resolved at 1.0.2
Creating working copy for https://github.com/twostraws/Cgd.git
Working copy of https://github.com/twostraws/Cgd.git resolved at 0.2.0
Creating working copy for https://github.com/twostraws/SwiftGD.git
Working copy of https://github.com/twostraws/SwiftGD.git resolved at 2.3.0
warning: 'cvideo4linux': ignoring declared target(s) 'CVideo4Linux' in the system package
warning: 'cfreeglut': ignoring declared target(s) 'CFreeGLUT' in the system package
warning: 'copengl': ignoring declared target(s) 'COpenGL' in the system package
warning: 'cgd': ignoring declared target(s) 'Cgd' in the system package
warning: 'spi-builder-workspace': dependency 'copengl' is not used by any target
warning: 'spi-builder-workspace': dependency 'cfreeglut' is not used by any target
warning: 'spi-builder-workspace': dependency 'cvideo4linux' is not used by any target
warning: you may be able to install mesa-commmon-dev using your system-packager:
apt-get install mesa-common-dev
warning: you may be able to install freeglut3-dev using your system-packager:
apt-get install freeglut3-dev
warning: you may be able to install libv4l-dev using your system-packager:
apt-get install libv4l-dev
warning: couldn't find pc file for gdlib
warning: you may be able to install mesa-commmon-dev using your system-packager:
apt-get install mesa-common-dev
warning: you may be able to install freeglut3-dev using your system-packager:
apt-get install freeglut3-dev
warning: you may be able to install libv4l-dev using your system-packager:
apt-get install libv4l-dev
warning: couldn't find pc file for gdlib
Building for debugging...
[0/6] Write sources
/host/spi-builder-workspace/framework/Source/Linux/V4LSupplement/v4lfuncs.c:3:10: fatal error: 'libv4l2.h' file not found
3 | #include "libv4l2.h"
| ^~~~~~~~~~~
1 error generated.
[3/6] Compiling V4LSupplement v4lfuncs.c
[3/6] Compiling lodepng lodepng.cpp
[3/6] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'cvideo4linux': ignoring declared target(s) 'CVideo4Linux' in the system package
warning: 'cfreeglut': ignoring declared target(s) 'CFreeGLUT' in the system package
warning: 'copengl': ignoring declared target(s) 'COpenGL' in the system package
warning: 'cgd': ignoring declared target(s) 'Cgd' in the system package
warning: 'spi-builder-workspace': dependency 'copengl' is not used by any target
warning: 'spi-builder-workspace': dependency 'cfreeglut' is not used by any target
warning: 'spi-builder-workspace': dependency 'cvideo4linux' is not used by any target
warning: you may be able to install mesa-commmon-dev using your system-packager:
apt-get install mesa-common-dev
warning: you may be able to install freeglut3-dev using your system-packager:
apt-get install freeglut3-dev
warning: you may be able to install libv4l-dev using your system-packager:
apt-get install libv4l-dev
warning: couldn't find pc file for gdlib
warning: you may be able to install mesa-commmon-dev using your system-packager:
apt-get install mesa-common-dev
warning: you may be able to install freeglut3-dev using your system-packager:
apt-get install freeglut3-dev
warning: you may be able to install libv4l-dev using your system-packager:
apt-get install libv4l-dev
warning: couldn't find pc file for gdlib
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/framework/Source/Linux/V4LSupplement/v4lfuncs.c:3:10: fatal error: 'libv4l2.h' file not found
3 | #include "libv4l2.h"
| ^~~~~~~~~~~
1 error generated.
[0/3] Compiling V4LSupplement v4lfuncs.c
[0/3] Compiling lodepng lodepng.cpp
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm