Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build errors on Mac OS 11 beta (Clang 12) (error: use of overloaded operator '!=' is ambiguous) #19

Open
yesudeep opened this issue Aug 24, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@yesudeep
Copy link

Use --sandbox_debug to see verbose messages from the sandbox wrapped_clang failed: error executing command 
  (cd /private/var/tmp/_bazel_yesudeep/148f9f6ebca6e47e7d6d5ed427a82e62/sandbox/darwin-sandbox/1184/execroot/__main__ && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=11.0 \
    PATH='/Users/yesudeep/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/yesudeep/code/src/fzf/bin' \
    XCODE_VERSION_OVERRIDE=12.0.0.12A8189h \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -O0 -DDEBUG '-std=c++11' -iquote external/zug -iquote bazel-out/darwin-fastbuild/bin/external/zug -iquote external/boost -iquote bazel-out/darwin-fastbuild/bin/external/boost -iquote external/com_github_catchorg_catch2 -iquote bazel-out/darwin-fastbuild/bin/external/com_github_catchorg_catch2 -iquote external/bazel_tools -iquote bazel-out/darwin-fastbuild/bin/external/bazel_tools -isystem external/zug/include -isystem bazel-out/darwin-fastbuild/bin/external/zug/include -isystem external/boost -isystem bazel-out/darwin-fastbuild/bin/external/boost -isystem external/boost/boost/mpl -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/mpl -isystem external/boost/boost/move -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/move -isystem external/boost/boost/assert -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/assert -isystem external/boost/boost/detail -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/detail -isystem external/boost/boost/limits -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/limits -isystem external/boost/boost/static_assert -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/static_assert -isystem external/boost/boost/preprocessor -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/preprocessor -isystem external/boost/boost/range -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/range -isystem external/boost/boost/array -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/array -isystem external/boost/boost/config -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/config -isystem external/boost/boost/version -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/version -isystem external/boost/boost/core -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/core -isystem external/boost/boost/functional -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/functional -isystem external/boost/boost/container_hash -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/container_hash -isystem external/boost/boost/integer -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/integer -isystem external/boost/boost/cstdint -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/cstdint -isystem external/boost/boost/type_traits -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/type_traits -isystem external/boost/boost/swap -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/swap -isystem external/boost/boost/throw_exception -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/throw_exception -isystem external/boost/boost/current_function -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/current_function -isystem external/boost/boost/exception -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/exception -isystem external/boost/boost/concept_check -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/concept_check -isystem external/boost/boost/concept -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/concept -isystem external/boost/boost/concept_archetype -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/concept_archetype -isystem external/boost/boost/iterator -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/iterator -isystem external/boost/boost/utility -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/utility -isystem external/boost/boost/noncopyable -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/noncopyable -isystem external/boost/boost/optional -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/optional -isystem external/boost/boost/none -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/none -isystem external/boost/boost/type -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/type -isystem external/boost/boost/ref -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/ref -isystem external/boost/boost/regex -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/regex -isystem external/boost/boost/predef -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/predef -isystem external/boost/boost/smart_ptr -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/smart_ptr -isystem external/boost/boost/align -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/align -isystem external/boost/boost/scoped_array -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/scoped_array -isystem external/boost/boost/checked_delete -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/checked_delete -isystem external/boost/boost/scoped_ptr -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/scoped_ptr -isystem external/boost/boost/shared_array -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/shared_array -isystem external/boost/boost/shared_ptr -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/shared_ptr -isystem external/boost/boost/tuple -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/tuple -isystem external/boost/boost/variant -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/variant -isystem external/boost/boost/call_traits -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/call_traits -isystem external/boost/boost/math -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/math -isystem external/boost/boost/atomic -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/atomic -isystem external/boost/boost/fusion -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/fusion -isystem external/boost/boost/function_types -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/function_types -isystem external/boost/boost/get_pointer -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/get_pointer -isystem external/boost/boost/typeof -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/typeof -isystem external/boost/boost/lambda -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/lambda -isystem external/boost/boost/mp11 -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/mp11 -isystem external/boost/boost/type_index -isystem bazel-out/darwin-fastbuild/bin/external/boost/boost/type_index -isystem external/com_github_catchorg_catch2/single_include -isystem bazel-out/darwin-fastbuild/bin/external/com_github_catchorg_catch2/single_include -MD -MF bazel-out/darwin-fastbuild/bin/external/zug/test/transducer/_objs/product_test/product.d -DBOOST_FALLTHROUGH '-DZUG_VARIANT_STD=0' '-DZUG_VARIANT_BOOST=1' '-DZUG_ENABLE_BOOST=1' '-DHAVE_BAZEL_BUILD=1' -DCATCH_CONFIG_MAIN '-frandom-seed=bazel-out/darwin-fastbuild/bin/external/zug/test/transducer/_objs/product_test/product.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=11.0' -DHAVE_BAZEL_BUILD '-std=c++2a' -Wall -Wreturn-type -Wuninitialized -Wunused-result '-Werror=narrowing' '-Werror=reorder' -Wunused-local-typedefs '-Werror=conversion-null' '-Werror=overlength-strings' '-Werror=pointer-arith' '-Werror=varargs' '-Werror=vla' '-Werror=write-strings' -Wmissing-declarations '-fdiagnostics-color=always' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/zug/test/transducer/product.cpp -o bazel-out/darwin-fastbuild/bin/external/zug/test/transducer/_objs/product_test/product.o)
Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox
In file included from external/zug/test/transducer/product.cpp:14:
external/zug/include/zug/transducer/product.hpp:33:53: error: use of overloaded operator '!=' is ambiguous (with operand types 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator' and 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator')
    for (++first; !state_is_reduced(state) && first != last; ++first) {
                                              ~~~~~ ^  ~~~~
external/zug/include/zug/transducer/product.hpp:48:28: note: in instantiation of function template specialization 'zug::detail::reduce_nested_non_empty_product<const zug::last_t &, zug::meta::bottom, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &, const unsigned long>' requested here
            return detail::reduce_nested_non_empty_product(
                           ^
external/zug/include/zug/detail/iterator_facade.hpp:119:10: note: candidate function
    bool operator!=(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function
    bool operator==(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function (with reversed parameter order)
In file included from external/zug/test/transducer/product.cpp:12:
In file included from external/zug/include/zug/into_vector.hpp:11:
In file included from external/zug/include/zug/meta.hpp:11:
In file included from external/zug/include/zug/into.hpp:13:
In file included from external/zug/include/zug/transduce.hpp:11:
In file included from external/zug/include/zug/reduce.hpp:11:
external/zug/include/zug/detail/is_non_empty.hpp:23:21: error: use of overloaded operator '!=' is ambiguous (with operand types 'decltype(__c.begin())' (aka 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator') and 'decltype(__c.end())' (aka 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator'))
    return begin(r) != end(r) && is_non_empty(rs...);
           ~~~~~~~~ ^  ~~~~~~
external/zug/include/zug/reduce.hpp:71:20: note: in instantiation of function template specialization 'zug::detail::is_non_empty<zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>>' requested here
    return detail::is_non_empty(ranges...)
                   ^
external/zug/include/zug/into.hpp:34:5: note: in instantiation of function template specialization 'zug::transduce<zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, const zug::output_t &, std::__1::back_insert_iterator<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > > >, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    transduce(std::forward<XformT>(xform),
    ^
external/zug/include/zug/into_vector.hpp:33:12: note: in instantiation of function template specialization 'zug::into<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > >, zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    return into(result_t{},
           ^
external/zug/test/transducer/product.cpp:65:16: note: in instantiation of function template specialization 'zug::into_vector<zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    auto res = into_vector(product(idx), idx);
               ^
external/zug/include/zug/detail/iterator_facade.hpp:119:10: note: candidate function
    bool operator!=(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function
    bool operator==(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function (with reversed parameter order)
In file included from external/zug/test/transducer/product.cpp:14:
external/zug/include/zug/transducer/product.hpp:33:53: error: use of overloaded operator '!=' is ambiguous (with operand types 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator' and 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator')
    for (++first; !state_is_reduced(state) && first != last; ++first) {
                                              ~~~~~ ^  ~~~~
external/zug/include/zug/transducer/product.hpp:48:28: note: in instantiation of function template specialization 'zug::detail::reduce_nested_non_empty_product<const zug::output_t &, std::__1::back_insert_iterator<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > > > &, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &, const unsigned long &>' requested here
            return detail::reduce_nested_non_empty_product(
                           ^
external/zug/include/zug/into.hpp:34:5: note: in instantiation of function template specialization 'zug::transduce<zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, const zug::output_t &, std::__1::back_insert_iterator<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > > >, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    transduce(std::forward<XformT>(xform),
    ^
external/zug/include/zug/into_vector.hpp:33:12: note: in instantiation of function template specialization 'zug::into<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > >, zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    return into(result_t{},
           ^
external/zug/test/transducer/product.cpp:65:16: note: in instantiation of function template specialization 'zug::into_vector<zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    auto res = into_vector(product(idx), idx);
               ^
external/zug/include/zug/detail/iterator_facade.hpp:119:10: note: candidate function
    bool operator!=(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function
    bool operator==(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function (with reversed parameter order)
In file included from external/zug/test/transducer/product.cpp:12:
In file included from external/zug/include/zug/into_vector.hpp:11:
In file included from external/zug/include/zug/meta.hpp:11:
In file included from external/zug/include/zug/into.hpp:13:
In file included from external/zug/include/zug/transduce.hpp:11:
In file included from external/zug/include/zug/reduce.hpp:12:
In file included from external/zug/include/zug/detail/reduce_nested_non_empty.hpp:32:
external/zug/include/zug/detail/reduce_nested_non_empty_non_variadic.hpp:34:53: error: use of overloaded operator '!=' is ambiguous (with operand types 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator' and 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator')
    for (++first; !state_is_reduced(state) && first != last; ++first) {
                                              ~~~~~ ^  ~~~~
external/zug/include/zug/detail/reduce_nested_non_empty.hpp:51:12: note: in instantiation of function template specialization 'zug::detail::reduce_nested_non_empty_non_variadic<(lambda at external/zug/include/zug/transducer/product.hpp:47:16), std::__1::back_insert_iterator<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > > >, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    return ZUG_REDUCE_NESTED_NON_EMPTY_NON_VARIADIC_IMPL(
           ^
external/zug/include/zug/detail/reduce_nested_non_empty.hpp:34:20: note: expanded from macro 'ZUG_REDUCE_NESTED_NON_EMPTY_NON_VARIADIC_IMPL'
    ::zug::detail::reduce_nested_non_empty_non_variadic
                   ^
external/zug/include/zug/into.hpp:34:5: note: in instantiation of function template specialization 'zug::transduce<zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, const zug::output_t &, std::__1::back_insert_iterator<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > > >, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    transduce(std::forward<XformT>(xform),
    ^
external/zug/include/zug/into_vector.hpp:33:12: note: in instantiation of function template specialization 'zug::into<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > >, zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    return into(result_t{},
           ^
external/zug/test/transducer/product.cpp:65:16: note: in instantiation of function template specialization 'zug::into_vector<zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    auto res = into_vector(product(idx), idx);
               ^
external/zug/include/zug/detail/iterator_facade.hpp:119:10: note: candidate function
    bool operator!=(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function
    bool operator==(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function (with reversed parameter order)
In file included from external/zug/test/transducer/product.cpp:14:
external/zug/include/zug/transducer/product.hpp:33:53: error: use of overloaded operator '!=' is ambiguous (with operand types 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator' and 'zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>>::iterator')
    for (++first; !state_is_reduced(state) && first != last; ++first) {
                                              ~~~~~ ^  ~~~~
external/zug/include/zug/transducer/product.hpp:48:28: note: in instantiation of function template specialization 'zug::detail::reduce_nested_non_empty_product<const zug::output_t &, std::__1::back_insert_iterator<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > > >, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &, const unsigned long &>' requested here
            return detail::reduce_nested_non_empty_product(
                           ^
external/zug/include/zug/detail/reduce_nested_non_empty.hpp:51:12: note: in instantiation of function template specialization 'zug::detail::reduce_nested_non_empty_non_variadic<(lambda at external/zug/include/zug/transducer/product.hpp:47:16), std::__1::back_insert_iterator<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > > >, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    return ZUG_REDUCE_NESTED_NON_EMPTY_NON_VARIADIC_IMPL(
           ^
external/zug/include/zug/detail/reduce_nested_non_empty.hpp:34:20: note: expanded from macro 'ZUG_REDUCE_NESTED_NON_EMPTY_NON_VARIADIC_IMPL'
    ::zug::detail::reduce_nested_non_empty_non_variadic
                   ^
external/zug/include/zug/into.hpp:34:5: note: in instantiation of function template specialization 'zug::transduce<zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, const zug::output_t &, std::__1::back_insert_iterator<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > > >, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    transduce(std::forward<XformT>(xform),
    ^
external/zug/include/zug/into_vector.hpp:33:12: note: in instantiation of function template specialization 'zug::into<std::__1::vector<std::__1::tuple<unsigned long, unsigned long>, std::__1::allocator<std::__1::tuple<unsigned long, unsigned long> > >, zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    return into(result_t{},
           ^
external/zug/test/transducer/product.cpp:65:16: note: in instantiation of function template specialization 'zug::into_vector<zug::composed<(lambda at external/zug/include/zug/transducer/product.hpp:46:17)>, zug::sequence_range<unsigned long, zug::composed<(lambda at external/zug/include/zug/transducer/count.hpp:40:17), (lambda at external/zug/include/zug/transducer/take.hpp:41:17)>> &>' requested here
    auto res = into_vector(product(idx), idx);
               ^
external/zug/include/zug/detail/iterator_facade.hpp:119:10: note: candidate function
    bool operator!=(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function
    bool operator==(const DerivedT& rhs) const
         ^
external/zug/include/zug/detail/iterator_facade.hpp:115:10: note: candidate function (with reversed parameter order)
5 errors generated.
INFO: Elapsed time: 139.441s, Critical Path: 32.68s
INFO: 1350 processes: 1350 darwin-sandbox.
FAILED: Build did NOT complete successfully
@arximboldi arximboldi added the bug Something isn't working label Jan 17, 2022
@arximboldi
Copy link
Owner

Are you using --std=c++20?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants