Build Information
Failed to build MetaverseKit, reference main (296154), with Swift 6.3 for Wasm on 14 Aug 2026 18:06:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/furbytm/MetaverseKit.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/furbytm/MetaverseKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2961543 bump imgui to fix android linker flags.
Updating files: 92% (6609/7117)
Updating files: 93% (6619/7117)
Updating files: 94% (6690/7117)
Updating files: 95% (6762/7117)
Updating files: 96% (6833/7117)
Updating files: 97% (6904/7117)
Updating files: 98% (6975/7117)
Updating files: 99% (7046/7117)
Updating files: 100% (7117/7117)
Updating files: 100% (7117/7117), done.
Submodule path 'Sources/Imath': checked out 'a4d3cc9da5e3bd9eca23934ec8c0a462eb6f1cf0'
Submodule path 'Sources/OpenTimelineIO': checked out '3e69330ffe37fd7222573d0d58c9ed4e115b4f6a'
Submodule 'Sources/Imath' (https://github.com/wabiverse/Imath.git) registered for path 'Sources/Imath'
Submodule 'Sources/OpenTimelineIO' (https://github.com/wabiverse/OpenTimelineIO.git) registered for path 'Sources/OpenTimelineIO'
Cloning into '/host/spi-builder-workspace/Sources/Imath'...
Cloning into '/host/spi-builder-workspace/Sources/OpenTimelineIO'...
Cloned https://github.com/furbytm/MetaverseKit.git
Revision (git rev-parse @):
2961543e5f1e74931469d0d37c8ae19a9cb3843f
SUCCESS checkout https://github.com/furbytm/MetaverseKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/furbytm/MetaverseKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/the-swift-collective/imgui
[1/71] Fetching zlib
[72/101] Fetching zlib, libpng
[102/155] Fetching zlib, libpng, libwebp
Fetched https://github.com/the-swift-collective/libwebp from cache (0.49s)
[1/184] Fetching imgui
Fetched https://github.com/the-swift-collective/libpng from cache (0.55s)
Fetched https://github.com/the-swift-collective/zlib from cache (0.55s)
Fetched https://github.com/the-swift-collective/imgui from cache (0.55s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (1.41s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.17s)
Computing version for https://github.com/the-swift-collective/imgui
Computed https://github.com/the-swift-collective/imgui at 1.92.0 (0.23s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.17s)
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Creating working copy for https://github.com/the-swift-collective/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
Creating working copy for https://github.com/the-swift-collective/imgui
Working copy of https://github.com/the-swift-collective/imgui resolved at 1.92.0
Creating working copy for https://github.com/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
warning: you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
warning: you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/Alembic/AbcCoreAbstract/ScalarSample.cpp:37:
In file included from /host/spi-builder-workspace/Sources/Alembic/include/Alembic/AbcCoreAbstract/ScalarSample.h:41:
In file included from /host/spi-builder-workspace/Sources/Alembic/include/Alembic/AbcCoreAbstract/Foundation.h:40:
In file included from /host/spi-builder-workspace/Sources/Alembic/include/Alembic/Util/All.h:40:
/host/spi-builder-workspace/Sources/Alembic/include/Alembic/Util/Foundation.h:199:5: error: unknown type name 'pthread_mutex_t'
199 | pthread_mutex_t m;
| ^
1 error generated.
[0/2047] Compiling ScalarSample.cpp
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:50:10: error: no type named 'mutex' in namespace 'std'
50 | std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:51:10: error: no member named 'thread' in namespace 'std'
51 | std::thread::id m_owner;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:28:43: error: no member named 'thread' in namespace 'std'
28 | ~DebugLock() { assert(m_owner == std::thread::id()); }
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:32:32: error: no member named 'this_thread' in namespace 'std'
32 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:34:24: error: no member named 'this_thread' in namespace 'std'
34 | m_owner = std::this_thread::get_id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:38:32: error: no member named 'this_thread' in namespace 'std'
38 | assert(m_owner == std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:39:24: error: no member named 'thread' in namespace 'std'
39 | m_owner = std::thread::id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:44:30: error: no member named 'this_thread' in namespace 'std'
44 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.cpp:13:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/SSE.h:14:
/usr/lib/clang/21/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
14 | #error "This header is only meant to be used on x86 and x64 architecture"
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.cpp:13:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/SSE.h:14:
In file included from /usr/lib/clang/21/include/emmintrin.h:17:
/usr/lib/clang/21/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
14 | #error "This header is only meant to be used on x86 and x64 architecture"
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.cpp:13:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/SSE.h:14:
In file included from /usr/lib/clang/21/include/emmintrin.h:17:
In file included from /usr/lib/clang/21/include/xmmintrin.h:17:
/usr/lib/clang/21/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
14 | #error "This header is only meant to be used on x86 and x64 architecture"
| ^
/usr/lib/clang/21/include/mmintrin.h:74:3: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
74 | __builtin_ia32_emms();
| ^~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/traits.h:165:10: note: '__builtin_isless' declared here
165 | return __builtin_isless((type)__x, (type)__y);
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpCPU.cpp:13:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/SSE.h:14:
In file included from /usr/lib/clang/21/include/emmintrin.h:17:
In file included from /usr/lib/clang/21/include/xmmintrin.h:17:
/usr/lib/clang/21/include/mmintrin.h:74:23: error: too few arguments to function call, expected 2, have 0
74 | __builtin_ia32_emms();
| ~~~~~~~~~~~~~~~~~~~~^
/usr/lib/clang/21/include/mmintrin.h:165:22: error: use of undeclared identifier '__builtin_ia32_packsswb128'
165 | return __trunc64(__builtin_ia32_packsswb128(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/clang/21/include/mmintrin.h:191:22: error: use of undeclared identifier '__builtin_ia32_packssdw128'
191 | return __trunc64(__builtin_ia32_packssdw128(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/clang/21/include/mmintrin.h:217:22: error: use of undeclared identifier '__builtin_ia32_packuswb128'
217 | return __trunc64(__builtin_ia32_packuswb128(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/clang/21/include/mmintrin.h:707:22: error: use of undeclared identifier '__builtin_ia32_pmaddwd128'
707 | return __trunc64(__builtin_ia32_pmaddwd128((__v8hi)__anyext128(__m1),
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/clang/21/include/mmintrin.h:729:22: error: use of undeclared identifier '__builtin_ia32_pmulhw128'
729 | return __trunc64(__builtin_ia32_pmulhw128((__v8hi)__anyext128(__m1),
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/clang/21/include/mmintrin.h:774:22: error: use of undeclared identifier '__builtin_ia32_psllw128'
774 | return __trunc64(__builtin_ia32_psllw128((__v8hi)__anyext128(__m),
| ^~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/2047] Compiling GammaOpCPU.cpp
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:8:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:50:10: error: no type named 'mutex' in namespace 'std'
50 | std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:51:10: error: no member named 'thread' in namespace 'std'
51 | std::thread::id m_owner;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:28:43: error: no member named 'thread' in namespace 'std'
28 | ~DebugLock() { assert(m_owner == std::thread::id()); }
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:8:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:32:32: error: no member named 'this_thread' in namespace 'std'
32 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:8:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:34:24: error: no member named 'this_thread' in namespace 'std'
34 | m_owner = std::this_thread::get_id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:38:32: error: no member named 'this_thread' in namespace 'std'
38 | assert(m_owner == std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:8:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:39:24: error: no member named 'thread' in namespace 'std'
39 | m_owner = std::thread::id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:44:30: error: no member named 'this_thread' in namespace 'std'
44 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:359:12: error: no matching member function for call to 'getFormatMetadata'
359 | clone->getFormatMetadata() = getFormatMetadata();
| ~~~~~~~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:162:26: note: candidate function not viable: no known conversion from 'element_type' (aka 'OpenColorIO_v2_3::FixedFunctionOpData') to 'OpenColorIO_v2_3::OpData' for object argument
162 | FormatMetadataImpl & getFormatMetadata() { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:163:32: note: candidate function not viable: no known conversion from 'element_type' (aka 'OpenColorIO_v2_3::FixedFunctionOpData') to 'const OpenColorIO_v2_3::OpData' for object argument
163 | const FormatMetadataImpl & getFormatMetadata() const { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:359:34: error: no matching member function for call to 'getFormatMetadata'
359 | clone->getFormatMetadata() = getFormatMetadata();
| ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:162:26: note: candidate function not viable: no known conversion from 'const OpenColorIO_v2_3::FixedFunctionOpData' to 'OpenColorIO_v2_3::OpData' for object argument
162 | FormatMetadataImpl & getFormatMetadata() { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:163:32: note: candidate function not viable: no known conversion from 'const OpenColorIO_v2_3::FixedFunctionOpData' to 'const OpenColorIO_v2_3::OpData' for object argument
163 | const FormatMetadataImpl & getFormatMetadata() const { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:645:18: error: cannot initialize object parameter of type 'const OpenColorIO_v2_3::OpData' with an expression of type 'const OpenColorIO_v2_3::FixedFunctionOpData'
645 | if (!OpData::equals(other)) return false;
| ^~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:647:38: error: static_cast from 'const OpData *' to 'const FixedFunctionOpData *', which are not related by inheritance, is not allowed
647 | const FixedFunctionOpData* fop = static_cast<const FixedFunctionOpData*>(&other);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:657:10: error: cannot initialize object parameter of type 'const OpenColorIO_v2_3::OpData' with an expression of type 'const OpenColorIO_v2_3::FixedFunctionOpData'
657 | if (!getID().empty())
| ^~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:659:26: error: cannot initialize object parameter of type 'const OpenColorIO_v2_3::OpData' with an expression of type 'const OpenColorIO_v2_3::FixedFunctionOpData'
659 | cacheIDStream << getID() << " ";
| ^~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:676:23: error: no viable conversion from 'const FixedFunctionOpData' to 'const OpData'
676 | return lhs.equals(rhs);
| ^~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:121:5: note: candidate constructor not viable: no known conversion from 'const FixedFunctionOpData' to 'const OpData &' for 1st argument
121 | OpData(const OpData & rhs);
| ^ ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:122:5: note: candidate constructor not viable: no known conversion from 'const FixedFunctionOpData' to 'OpData &&' for 1st argument
122 | OpData(OpData && rhs) = delete;
| ^ ~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.cpp:643:49: note: passing argument to parameter 'other' here
643 | bool FixedFunctionOpData::equals(const OpData & other) const
| ^
[0/2047] Compiling FixedFunctionOpData.cpp
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp:8:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.h:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:50:10: error: no type named 'mutex' in namespace 'std'
50 | std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:51:10: error: no member named 'thread' in namespace 'std'
51 | std::thread::id m_owner;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:28:43: error: no member named 'thread' in namespace 'std'
28 | ~DebugLock() { assert(m_owner == std::thread::id()); }
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp:8:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.h:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:32:32: error: no member named 'this_thread' in namespace 'std'
32 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp:8:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.h:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:34:24: error: no member named 'this_thread' in namespace 'std'
34 | m_owner = std::this_thread::get_id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:38:32: error: no member named 'this_thread' in namespace 'std'
38 | assert(m_owner == std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp:8:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.h:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/fixedfunction/FixedFunctionOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:39:24: error: no member named 'thread' in namespace 'std'
39 | m_owner = std::thread::id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:44:30: error: no member named 'this_thread' in namespace 'std'
44 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
[0/2047] Compiling FixedFunctionOpGPU.cpp
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpGPU.cpp:7:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpGPU.h:12:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:50:10: error: no type named 'mutex' in namespace 'std'
50 | std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:51:10: error: no member named 'thread' in namespace 'std'
51 | std::thread::id m_owner;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:28:43: error: no member named 'thread' in namespace 'std'
28 | ~DebugLock() { assert(m_owner == std::thread::id()); }
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpGPU.cpp:7:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpGPU.h:12:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:32:32: error: no member named 'this_thread' in namespace 'std'
32 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpGPU.cpp:7:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpGPU.h:12:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:34:24: error: no member named 'this_thread' in namespace 'std'
34 | m_owner = std::this_thread::get_id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:38:32: error: no member named 'this_thread' in namespace 'std'
38 | assert(m_owner == std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpGPU.cpp:7:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpGPU.h:12:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:39:24: error: no member named 'thread' in namespace 'std'
39 | m_owner = std::thread::id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:44:30: error: no member named 'this_thread' in namespace 'std'
44 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
[0/2047] Compiling GammaOpGPU.cpp
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOp.cpp:7:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/exponent/ExponentOp.h:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:50:10: error: no type named 'mutex' in namespace 'std'
50 | std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:51:10: error: no member named 'thread' in namespace 'std'
51 | std::thread::id m_owner;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:28:43: error: no member named 'thread' in namespace 'std'
28 | ~DebugLock() { assert(m_owner == std::thread::id()); }
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOp.cpp:7:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/exponent/ExponentOp.h:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:32:32: error: no member named 'this_thread' in namespace 'std'
32 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOp.cpp:7:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/exponent/ExponentOp.h:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:34:24: error: no member named 'this_thread' in namespace 'std'
34 | m_owner = std::this_thread::get_id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:38:32: error: no member named 'this_thread' in namespace 'std'
38 | assert(m_owner == std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOp.cpp:7:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/exponent/ExponentOp.h:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:39:24: error: no member named 'thread' in namespace 'std'
39 | m_owner = std::thread::id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:44:30: error: no member named 'this_thread' in namespace 'std'
44 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOp.cpp:58:12: error: no viable overloaded '='
58 | data() = gamma;
| ~~~~~~ ^ ~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:564:42: note: candidate function not viable: no known conversion from 'shared_ptr<GammaOpData>' to 'const shared_ptr<OpenColorIO_v2_3::OpData>' for 1st argument
564 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(const shared_ptr& __r) _NOEXCEPT {
| ^ ~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:575:42: note: candidate function not viable: no known conversion from 'shared_ptr<GammaOpData>' to 'shared_ptr<OpenColorIO_v2_3::OpData>' for 1st argument
575 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(shared_ptr&& __r) _NOEXCEPT {
| ^ ~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:570:42: note: candidate template ignored: requirement '__compatible_with<OpenColorIO_v2_3::GammaOpData, OpenColorIO_v2_3::OpData>::value' was not satisfied [with _Yp = OpenColorIO_v2_3::GammaOpData]
570 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(const shared_ptr<_Yp>& __r) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:581:42: note: candidate template ignored: requirement '__compatible_with<OpenColorIO_v2_3::GammaOpData, OpenColorIO_v2_3::OpData>::value' was not satisfied [with _Yp = OpenColorIO_v2_3::GammaOpData]
581 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(shared_ptr<_Yp>&& __r) {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:601:42: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
601 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(unique_ptr<_Yp, _Dp>&& __r) {
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOp.cpp:203:18: error: no matching member function for call to 'getFormatMetadata'
203 | expData->getFormatMetadata() = transform.getFormatMetadata();
| ~~~~~~~~~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:162:26: note: candidate function not viable: no known conversion from 'element_type' (aka 'OpenColorIO_v2_3::ExponentOpData') to 'OpenColorIO_v2_3::OpData' for object argument
162 | FormatMetadataImpl & getFormatMetadata() { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:163:32: note: candidate function not viable: no known conversion from 'element_type' (aka 'OpenColorIO_v2_3::ExponentOpData') to 'const OpenColorIO_v2_3::OpData' for object argument
163 | const FormatMetadataImpl & getFormatMetadata() const { return m_metadata; }
| ^
[0/2047] Compiling GammaOp.cpp
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:50:10: error: no type named 'mutex' in namespace 'std'
50 | std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:51:10: error: no member named 'thread' in namespace 'std'
51 | std::thread::id m_owner;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:28:43: error: no member named 'thread' in namespace 'std'
28 | ~DebugLock() { assert(m_owner == std::thread::id()); }
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:32:32: error: no member named 'this_thread' in namespace 'std'
32 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:34:24: error: no member named 'this_thread' in namespace 'std'
34 | m_owner = std::this_thread::get_id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:38:32: error: no member named 'this_thread' in namespace 'std'
38 | assert(m_owner == std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:39:24: error: no member named 'thread' in namespace 'std'
39 | m_owner = std::thread::id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:44:30: error: no member named 'this_thread' in namespace 'std'
44 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:632:16: error: no viable overloaded '='
632 | op = std::make_shared<RangeOpData>(0.,
| ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
633 | RangeOpData::EmptyValue(), // Don't clamp high end.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
634 | 0.,
| ~~~
635 | RangeOpData::EmptyValue());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:564:42: note: candidate function not viable: no known conversion from 'shared_ptr<OpenColorIO_v2_3::RangeOpData>' to 'const shared_ptr<OpenColorIO_v2_3::OpData>' for 1st argument
564 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(const shared_ptr& __r) _NOEXCEPT {
| ^ ~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:575:42: note: candidate function not viable: no known conversion from 'shared_ptr<OpenColorIO_v2_3::RangeOpData>' to 'shared_ptr<OpenColorIO_v2_3::OpData>' for 1st argument
575 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(shared_ptr&& __r) _NOEXCEPT {
| ^ ~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:570:42: note: candidate template ignored: requirement '__compatible_with<OpenColorIO_v2_3::RangeOpData, OpenColorIO_v2_3::OpData>::value' was not satisfied [with _Yp = OpenColorIO_v2_3::RangeOpData]
570 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(const shared_ptr<_Yp>& __r) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:581:42: note: candidate template ignored: requirement '__compatible_with<OpenColorIO_v2_3::RangeOpData, OpenColorIO_v2_3::OpData>::value' was not satisfied [with _Yp = OpenColorIO_v2_3::RangeOpData]
581 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(shared_ptr<_Yp>&& __r) {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:601:42: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
601 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(unique_ptr<_Yp, _Dp>&& __r) {
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:650:16: error: no viable overloaded '='
650 | op = std::make_shared<MatrixOpData>();
| ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:564:42: note: candidate function not viable: no known conversion from 'shared_ptr<OpenColorIO_v2_3::MatrixOpData>' to 'const shared_ptr<OpenColorIO_v2_3::OpData>' for 1st argument
564 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(const shared_ptr& __r) _NOEXCEPT {
| ^ ~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:575:42: note: candidate function not viable: no known conversion from 'shared_ptr<OpenColorIO_v2_3::MatrixOpData>' to 'shared_ptr<OpenColorIO_v2_3::OpData>' for 1st argument
575 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(shared_ptr&& __r) _NOEXCEPT {
| ^ ~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:570:42: note: candidate template ignored: requirement '__compatible_with<OpenColorIO_v2_3::MatrixOpData, OpenColorIO_v2_3::OpData>::value' was not satisfied [with _Yp = OpenColorIO_v2_3::MatrixOpData]
570 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(const shared_ptr<_Yp>& __r) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:581:42: note: candidate template ignored: requirement '__compatible_with<OpenColorIO_v2_3::MatrixOpData, OpenColorIO_v2_3::OpData>::value' was not satisfied [with _Yp = OpenColorIO_v2_3::MatrixOpData]
581 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(shared_ptr<_Yp>&& __r) {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:601:42: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
601 | _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp>& operator=(unique_ptr<_Yp, _Dp>&& __r) {
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:774:12: error: no matching member function for call to 'getFormatMetadata'
774 | outOp->getFormatMetadata() = getFormatMetadata();
| ~~~~~~~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:162:26: note: candidate function not viable: no known conversion from 'element_type' (aka 'OpenColorIO_v2_3::GammaOpData') to 'OpenColorIO_v2_3::OpData' for object argument
162 | FormatMetadataImpl & getFormatMetadata() { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:163:32: note: candidate function not viable: no known conversion from 'element_type' (aka 'OpenColorIO_v2_3::GammaOpData') to 'const OpenColorIO_v2_3::OpData' for object argument
163 | const FormatMetadataImpl & getFormatMetadata() const { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:774:34: error: no matching member function for call to 'getFormatMetadata'
774 | outOp->getFormatMetadata() = getFormatMetadata();
| ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:162:26: note: candidate function not viable: no known conversion from 'const OpenColorIO_v2_3::GammaOpData' to 'OpenColorIO_v2_3::OpData' for object argument
162 | FormatMetadataImpl & getFormatMetadata() { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:163:32: note: candidate function not viable: no known conversion from 'const OpenColorIO_v2_3::GammaOpData' to 'const OpenColorIO_v2_3::OpData' for object argument
163 | const FormatMetadataImpl & getFormatMetadata() const { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:775:12: error: no matching member function for call to 'getFormatMetadata'
775 | outOp->getFormatMetadata().combine(B.getFormatMetadata());
| ~~~~~~~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:162:26: note: candidate function not viable: no known conversion from 'element_type' (aka 'OpenColorIO_v2_3::GammaOpData') to 'OpenColorIO_v2_3::OpData' for object argument
162 | FormatMetadataImpl & getFormatMetadata() { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:163:32: note: candidate function not viable: no known conversion from 'element_type' (aka 'OpenColorIO_v2_3::GammaOpData') to 'const OpenColorIO_v2_3::OpData' for object argument
163 | const FormatMetadataImpl & getFormatMetadata() const { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:775:42: error: no matching member function for call to 'getFormatMetadata'
775 | outOp->getFormatMetadata().combine(B.getFormatMetadata());
| ~~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:162:26: note: candidate function not viable: no known conversion from 'const GammaOpData' to 'OpenColorIO_v2_3::OpData' for object argument
162 | FormatMetadataImpl & getFormatMetadata() { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:163:32: note: candidate function not viable: no known conversion from 'const GammaOpData' to 'const OpenColorIO_v2_3::OpData' for object argument
163 | const FormatMetadataImpl & getFormatMetadata() const { return m_metadata; }
| ^
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:782:17: error: cannot initialize object parameter of type 'const OpenColorIO_v2_3::OpData' with an expression of type 'const OpenColorIO_v2_3::GammaOpData'
782 | if(!OpData::equals(other)) return false;
| ^~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:784:30: error: static_cast from 'const OpData *' to 'const GammaOpData *', which are not related by inheritance, is not allowed
784 | const GammaOpData* gop = static_cast<const GammaOpData*>(&other);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:798:10: error: cannot initialize object parameter of type 'const OpenColorIO_v2_3::OpData' with an expression of type 'const OpenColorIO_v2_3::GammaOpData'
798 | if (!getID().empty())
| ^~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:800:26: error: cannot initialize object parameter of type 'const OpenColorIO_v2_3::OpData' with an expression of type 'const OpenColorIO_v2_3::GammaOpData'
800 | cacheIDStream << getID() << " ";
| ^~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:864:23: error: no viable conversion from 'const GammaOpData' to 'const OpData'
864 | return lhs.equals(rhs);
| ^~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:121:5: note: candidate constructor not viable: no known conversion from 'const GammaOpData' to 'const OpData &' for 1st argument
121 | OpData(const OpData & rhs);
| ^ ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/Op.h:122:5: note: candidate constructor not viable: no known conversion from 'const GammaOpData' to 'OpData &&' for 1st argument
122 | OpData(OpData && rhs) = delete;
| ^ ~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.cpp:780:41: note: passing argument to parameter 'other' here
780 | bool GammaOpData::equals(const OpData & other) const
| ^
[0/2047] Compiling GammaOpData.cpp
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpUtils.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpUtils.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:50:10: error: no type named 'mutex' in namespace 'std'
50 | std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:51:10: error: no member named 'thread' in namespace 'std'
51 | std::thread::id m_owner;
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:28:43: error: no member named 'thread' in namespace 'std'
28 | ~DebugLock() { assert(m_owner == std::thread::id()); }
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpUtils.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpUtils.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:32:32: error: no member named 'this_thread' in namespace 'std'
32 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpUtils.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpUtils.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:34:24: error: no member named 'this_thread' in namespace 'std'
34 | m_owner = std::this_thread::get_id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:38:32: error: no member named 'this_thread' in namespace 'std'
38 | assert(m_owner == std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpUtils.cpp:10:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpUtils.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/ops/gamma/GammaOpData.h:11:
In file included from /host/spi-builder-workspace/Sources/OpenColorIO/Op.h:15:
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:39:24: error: no member named 'thread' in namespace 'std'
39 | m_owner = std::thread::id();
| ~~~~~^
/host/spi-builder-workspace/Sources/OpenColorIO/Mutex.h:44:30: error: no member named 'this_thread' in namespace 'std'
44 | assert(m_owner != std::this_thread::get_id());
| ~~~~~^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
[0/2047] Compiling GammaOpUtils.cpp
BUILD FAILURE 6.3 wasm