[Mlir-commits] [mlir] [MLIR] [Python] Added return type to `__repr__` in the adaptors (PR #182867)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Feb 24 01:46:38 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 4022 tests passed
* 201 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectAMDGPU.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectAMDGPU.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsAMDGPU_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectAMDGPU.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectAMDGPU.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectAMDGPU.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectAMDGPU.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectAMDGPU.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectAMDGPU.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLinalg.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLinalg.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsLinalg_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLinalg.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLinalg.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLinalg.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLinalg.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLinalg.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRAttributes.h:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLinalg.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRAttributes.h:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp:10:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp:10:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectGPU.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectGPU.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsGPU_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectGPU.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectGPU.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectGPU.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectGPU.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectGPU.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRAttributes.h:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectGPU.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRAttributes.h:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/TransformInterpreter.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/TransformInterpreter.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirTransformInterpreter_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/TransformInterpreter.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/TransformInterpreter.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/TransformInterpreter.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/TransformInterpreter.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/TransformInterpreter.cpp:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/TransformInterpreter.cpp:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectNVGPU.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectNVGPU.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsNVGPU_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectNVGPU.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectNVGPU.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectNVGPU.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectNVGPU.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectNVGPU.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectNVGPU.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Globals.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Globals.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension_MLIRPythonSupport_mlir_so_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_CAPI_BUILDING_LIBRARY=1 -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Globals.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Globals.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Globals.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Globals.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Globals.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Globals.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectTransform.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectTransform.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectTransform.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectTransform.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectTransform.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectTransform.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectTransform.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectTransform.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLLVM.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLLVM.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsLLVM_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLLVM.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLLVM.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLLVM.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLLVM.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLLVM.cpp:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectLLVM.cpp:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectIRDL.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectIRDL.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsIRDL_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectIRDL.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectIRDL.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectIRDL.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectIRDL.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectIRDL.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectIRDL.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirRegisterEverything.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/RegisterEverything.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirRegisterEverything.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/RegisterEverything.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirRegisterEverything_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirRegisterEverything.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/RegisterEverything.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirRegisterEverything.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/RegisterEverything.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirRegisterEverything.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/RegisterEverything.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/RegisterEverything.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/RegisterEverything.cpp:11:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/RegisterEverything.cpp:11:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSMT.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSMT.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSMT.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSMT.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsSMT_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSMT.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSMT.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSMT.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSMT.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSMT.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSMT.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSMT.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSMT.cpp:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSMT.cpp:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSparseTensor.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSparseTensor.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsSparseTensor_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSparseTensor.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSparseTensor.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSparseTensor.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSparseTensor.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSparseTensor.cpp:15:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectSparseTensor.cpp:15:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp:10:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/MainModule.cpp:10:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsQuant.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectQuant.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsQuant.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectQuant.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsQuant_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsQuant.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectQuant.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsQuant.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectQuant.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsQuant.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectQuant.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectQuant.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectQuant.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectQuant.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsPDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectPDL.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsPDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectPDL.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsPDL_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsPDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectPDL.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsPDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectPDL.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsPDL.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectPDL.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectPDL.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectPDL.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/DialectPDL.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirExecutionEngine.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/ExecutionEngineModule.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirExecutionEngine.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/ExecutionEngineModule.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirExecutionEngine_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirExecutionEngine.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/ExecutionEngineModule.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirExecutionEngine.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/ExecutionEngineModule.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirExecutionEngine.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/ExecutionEngineModule.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/ExecutionEngineModule.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/ExecutionEngineModule.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/ExecutionEngineModule.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/python/lib/PythonTestModuleNanobind.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/python/lib/PythonTestModuleNanobind.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirPythonTestNanobind_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/python/lib/PythonTestModuleNanobind.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/python/lib/PythonTestModuleNanobind.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/python/lib/PythonTestModuleNanobind.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/python/lib/PythonTestModuleNanobind.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/python/lib/PythonTestModuleNanobind.cpp:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/python/lib/PythonTestModuleNanobind.cpp:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Pass.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRInterfaces.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/Rewrite.h:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -UNDEBUG -fno-stack-protector -Os -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAffine.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAttributes.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAttributes.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension_MLIRPythonSupport_mlir_so_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_CAPI_BUILDING_LIBRARY=1 -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAttributes.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAttributes.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAttributes.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAttributes.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAttributes.cpp:21:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRAttributes.h:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRAttributes.cpp:21:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRAttributes.h:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRTypes.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRTypes.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension_MLIRPythonSupport_mlir_so_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_CAPI_BUILDING_LIBRARY=1 -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRTypes.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRTypes.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRTypes.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRTypes.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRTypes.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRTypes.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRCore.cpp.o</summary>
```
FAILED: tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRCore.cpp.o
sccache /opt/llvm/bin/clang++ -DMLIRPythonModules_extension_MLIRPythonSupport_mlir_so_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_CAPI_BUILDING_LIBRARY=1 -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/python -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /usr/include/python3.12 -isystem /home/gha/.local/lib/python3.12/site-packages/nanobind/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wno-c++98-compat-extra-semi -Wno-cast-qual -Wno-covered-switch-default -Wno-deprecated-literal-operator -Wno-nested-anon-types -Wno-unused-parameter -Wno-zero-length-array -Wno-missing-field-initializers -frtti -fexceptions -MD -MT tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRCore.cpp.o -MF tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRCore.cpp.o.d -o tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRCore.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRCore.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRCore.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:574:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
574 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Bindings/Python/IRCore.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/IRCore.h:32:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Bindings/Python/NanobindAdaptors.h:658:18: error: no viable conversion from returned value of type 'object' to function return type 'nanobind::str'
658 | return nanobind::repr(superCls(self))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | .attr("replace")(superCls.attr("__name__"), captureTypeName);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'const str &' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:418:7: note: candidate constructor (the implicit move constructor) not viable: cannot bind base class object of type 'object' to derived class reference 'str &&' for 1st argument
418 | class str : public object {
| ^~~
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:421:14: note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:424:14: note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
/home/gha/.local/lib/python3.12/site-packages/nanobind/include/nanobind/nb_types.h:116:15: note: candidate function
116 | NB_INLINE operator handle() const;
| ^
2 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/182867
More information about the Mlir-commits
mailing list