[Mlir-commits] [mlir] [MLIR] [Python] Added return type to `__repr__` in the adaptors (PR #182867)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Feb 23 07:28:02 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/__/lib/Bindings/Python/Globals.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/__/lib/Bindings/Python/Globals.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -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 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir\__\lib\Bindings\Python\Globals.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Globals.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Globals.cpp:9:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Globals.cpp:9:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/MainModule.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/MainModule.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\__\lib\Bindings\Python\MainModule.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\MainModule.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\MainModule.cpp:10:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\MainModule.cpp:10:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir/__/test/python/lib/PythonTestModuleNanobind.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir/__/test/python/lib/PythonTestModuleNanobind.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirPythonTestNanobind_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir\__\test\python\lib\PythonTestModuleNanobind.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirPythonTestNanobind.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\test\python\lib\PythonTestModuleNanobind.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\test\python\lib\PythonTestModuleNanobind.cpp:17:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\test\python\lib\PythonTestModuleNanobind.cpp:17:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/Pass.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/Pass.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\__\lib\Bindings\Python\Pass.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Pass.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Pass.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Pass.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/IRInterfaces.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/IRInterfaces.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\__\lib\Bindings\Python\IRInterfaces.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRInterfaces.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRInterfaces.cpp:19:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRInterfaces.cpp:19:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/Rewrite.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/Rewrite.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\__\lib\Bindings\Python\Rewrite.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.cpp:9:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.cpp:9:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/IRAffine.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/__/lib/Bindings/Python/IRAffine.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlir_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\__\lib\Bindings\Python\IRAffine.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlir.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAffine.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAffine.cpp:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAffine.cpp:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir/__/lib/Bindings/Python/DialectIRDL.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir/__/lib/Bindings/Python/DialectIRDL.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsIRDL_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir\__\lib\Bindings\Python\DialectIRDL.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsIRDL.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectIRDL.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectIRDL.cpp:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectIRDL.cpp:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/MainModule.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/MainModule.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\__\lib\Bindings\Python\MainModule.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\MainModule.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\MainModule.cpp:10:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\MainModule.cpp:10:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirExecutionEngine.dso.dir/__/lib/Bindings/Python/ExecutionEngineModule.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirExecutionEngine.dso.dir/__/lib/Bindings/Python/ExecutionEngineModule.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirExecutionEngine_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirExecutionEngine.dso.dir\__\lib\Bindings\Python\ExecutionEngineModule.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirExecutionEngine.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\ExecutionEngineModule.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\ExecutionEngineModule.cpp:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\ExecutionEngineModule.cpp:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/__/lib/Bindings/Python/IRTypes.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/__/lib/Bindings/Python/IRTypes.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -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 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir\__\lib\Bindings\Python\IRTypes.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRTypes.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRTypes.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRTypes.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir/__/lib/Bindings/Python/DialectAMDGPU.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir/__/lib/Bindings/Python/DialectAMDGPU.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsAMDGPU_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir\__\lib\Bindings\Python\DialectAMDGPU.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsAMDGPU.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectAMDGPU.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectAMDGPU.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectAMDGPU.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/Pass.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/Pass.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\__\lib\Bindings\Python\Pass.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Pass.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Pass.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Pass.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirRegisterEverything.dso.dir/__/lib/Bindings/Python/RegisterEverything.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirRegisterEverything.dso.dir/__/lib/Bindings/Python/RegisterEverything.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirRegisterEverything_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirRegisterEverything.dso.dir\__\lib\Bindings\Python\RegisterEverything.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirRegisterEverything.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\RegisterEverything.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\RegisterEverything.cpp:11:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\RegisterEverything.cpp:11:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir/__/lib/Bindings/Python/DialectNVGPU.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir/__/lib/Bindings/Python/DialectNVGPU.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsNVGPU_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir\__\lib\Bindings\Python\DialectNVGPU.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsNVGPU.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectNVGPU.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectNVGPU.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectNVGPU.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/__/lib/Bindings/Python/IRAttributes.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/__/lib/Bindings/Python/IRAttributes.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -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 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir\__\lib\Bindings\Python\IRAttributes.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAttributes.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAttributes.cpp:21:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRAttributes.h:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAttributes.cpp:21:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRAttributes.h:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/IRInterfaces.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/IRInterfaces.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\__\lib\Bindings\Python\IRInterfaces.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRInterfaces.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRInterfaces.cpp:19:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRInterfaces.cpp:19:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsGPU.dso.dir/__/lib/Bindings/Python/DialectGPU.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsGPU.dso.dir/__/lib/Bindings/Python/DialectGPU.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsGPU_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsGPU.dso.dir\__\lib\Bindings\Python\DialectGPU.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsGPU.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectGPU.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectGPU.cpp:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRAttributes.h:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectGPU.cpp:12:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRAttributes.h:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/DialectTransform.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/DialectTransform.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\__\lib\Bindings\Python\DialectTransform.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectTransform.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectTransform.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectTransform.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir/__/lib/Bindings/Python/TransformInterpreter.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir/__/lib/Bindings/Python/TransformInterpreter.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirTransformInterpreter_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir\__\lib\Bindings\Python\TransformInterpreter.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirTransformInterpreter.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\TransformInterpreter.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\TransformInterpreter.cpp:17:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\TransformInterpreter.cpp:17:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsQuant.dso.dir/__/lib/Bindings/Python/DialectQuant.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsQuant.dso.dir/__/lib/Bindings/Python/DialectQuant.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsQuant_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsQuant.dso.dir\__\lib\Bindings\Python\DialectQuant.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsQuant.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectQuant.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectQuant.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectQuant.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir/__/lib/Bindings/Python/DialectLinalg.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir/__/lib/Bindings/Python/DialectLinalg.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsLinalg_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir\__\lib\Bindings\Python\DialectLinalg.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsLinalg.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectLinalg.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectLinalg.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRAttributes.h:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectLinalg.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRAttributes.h:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/Rewrite.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/Rewrite.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\__\lib\Bindings\Python\Rewrite.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.cpp:9:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.cpp:9:
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\Rewrite.h:13:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSMT.dso.dir/__/lib/Bindings/Python/DialectSMT.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSMT.dso.dir/__/lib/Bindings/Python/DialectSMT.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsSMT_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsSMT.dso.dir\__\lib\Bindings\Python\DialectSMT.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsSMT.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectSMT.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectSMT.cpp:16:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectSMT.cpp:16:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir/__/lib/Bindings/Python/DialectLLVM.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir/__/lib/Bindings/Python/DialectLLVM.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsLLVM_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir\__\lib\Bindings\Python\DialectLLVM.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsLLVM.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectLLVM.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectLLVM.cpp:16:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectLLVM.cpp:16:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsPDL.dso.dir/__/lib/Bindings/Python/DialectPDL.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsPDL.dso.dir/__/lib/Bindings/Python/DialectPDL.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsPDL_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsPDL.dso.dir\__\lib\Bindings\Python\DialectPDL.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsPDL.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectPDL.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectPDL.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectPDL.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir/__/lib/Bindings/Python/DialectSparseTensor.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir/__/lib/Bindings/Python/DialectSparseTensor.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsSparseTensor_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir\__\lib\Bindings\Python\DialectSparseTensor.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsSparseTensor.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectSparseTensor.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectSparseTensor.cpp:15:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\DialectSparseTensor.cpp:15:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/IRAffine.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlirDialectsTransform.dso.dir/__/lib/Bindings/Python/IRAffine.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DMLIRPythonModules_extension__mlirDialectsTransform_dso_EXPORTS -DMLIR_BINDINGS_PYTHON_DOMAIN=mlir -DMLIR_INCLUDE_TESTS -DMLIR_PYTHON_PACKAGE_PREFIX=mlir. -DNB_DOMAIN=mlir -DNB_SHARED -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -UNDEBUG /bigobj /MP /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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\__\lib\Bindings\Python\IRAffine.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension._mlirDialectsTransform.dso.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAffine.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAffine.cpp:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRAffine.cpp:20:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 errors generated.
```
</details>
<details>
<summary>[code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/__/lib/Bindings/Python/IRCore.cpp.obj</summary>
```
FAILED: [code=1] tools/mlir/python/CMakeFiles/MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir/__/lib/Bindings/Python/IRCore.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -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 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\mlir\python -IC:\_work\llvm-project\llvm-project\mlir\python -Itools\mlir\include -IC:\_work\llvm-project\llvm-project\mlir\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\Python312\include -imsvc C:\Python312\Lib\site-packages\nanobind\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2 -MD -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 /EHsc /GR -std:c++17 /showIncludes /Fotools\mlir\python\CMakeFiles\MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir\__\lib\Bindings\Python\IRCore.cpp.obj /Fdtools\mlir\python\CMakeFiles\MLIRPythonModules.extension.MLIRPythonSupport-mlir.so.dir\ -c -- C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRCore.cpp
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRCore.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_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);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\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 {
| ^~~
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(421,14): note: explicit constructor is not a candidate
421 | explicit str(handle h)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(424,14): note: explicit constructor is not a candidate
424 | explicit str(const char *s)
| ^
C:\Python312\Lib\site-packages\nanobind\include\nanobind\nb_types.h(116,15): note: candidate function
116 | NB_INLINE operator handle() const;
| ^
In file included from C:\_work\llvm-project\llvm-project\mlir\lib\Bindings\Python\IRCore.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/IRCore.h:32:
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(657,73): error: no type named 'repr' in namespace 'nanobind'
657 | [superCls, captureTypeName](nanobind::object self) -> nanobind::repr {
| ~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\mlir\include\mlir/Bindings/Python/NanobindAdaptors.h(658,18): error: no viable conversion from returned value of type 'std::basic_string<char>' to function return type 'int'
658 | return nanobind::cast<std::string>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
659 | nanobind::repr(superCls(self))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
660 | .attr("replace")(superCls.attr("__name__"), captureTypeName));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(3821,43): note: candidate function
3821 | /* implicit */ _CONSTEXPR20_CONTAINER operator basic_string_view<_Elem, _Traits>() const noexcept {
| ^
3 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