Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 24%] Building CXX object CMakeFiles/core.dir/src/core/mod.cpp.o
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp: In member function ‘virtual void LootDeployer::sortModsByConflicts(std::optional<ProgressNode*>)’:
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:194:50: error: cannot convert ‘std::vector<std::filesystem::__cxx11::path>’ to ‘const std::vector<std::__cxx11::basic_string<char> >&’
- 194 | auto sorted_plugins = loot_handle->SortPlugins(plugin_paths);
- | ^~~~~~~~~~~~
- | |
- | std::vector<std::filesystem::__cxx11::path>
- In file included from /usr/include/loot/api.h:41,
- from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.h:8,
- from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:1:
- /usr/include/loot/game_interface.h:176:39: note: initializing argument 1 of ‘virtual std::vector<std::__cxx11::basic_string<char> > loot::GameInterface::SortPlugins(const std::vector<std::__cxx11::basic_string<char> >&)’
- 176 | const std::vector<std::string>& pluginFilenames) = 0;
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp: In lambda function:
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:205:84: error: ‘plugin’ is not captured
- 205 | auto iter = str::find_if(plugins_, [plugin](const auto& p) { return p.first == plugin; });
- | ^~~~~~
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:205:47: note: the lambda has no capture-default
- 205 | auto iter = str::find_if(plugins_, [plugin](const auto& p) { return p.first == plugin; });
- | ^
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:203:19: note: ‘<typeprefixerror>plugin’ declared here
- 203 | for(const auto& plugin : sorted_plugins)
- | ^~~~~~
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp: In member function ‘virtual void LootDeployer::sortModsByConflicts(std::optional<ProgressNode*>)’:
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:205:29: error: no match for call to ‘(const std::ranges::__find_if_fn) (std::vector<std::pair<std::__cxx11::basic_string<char>, bool> >&, LootDeployer::sortModsByConflicts(std::optional<ProgressNode*>)::<lambda(const auto:54&)>)’
- 205 | auto iter = str::find_if(plugins_, [plugin](const auto& p) { return p.first == plugin; });
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/14.2.1/tuple:44,
- from /usr/include/c++/14.2.1/bits/uses_allocator_args.h:39,
- from /usr/include/c++/14.2.1/bits/memory_resource.h:41,
- from /usr/include/c++/14.2.1/string:68,
- from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/conflictinfo.h:8,
- from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/deployer.h:8,
- from /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.h:7:
- /usr/include/c++/14.2.1/bits/ranges_util.h:526:7: note: candidate: ‘template<class _Iter, class _Sent, class _Proj, class _Pred> requires (input_iterator<_Iter>) && (sentinel_for<_Sent, _Iter>) && (indirect_unary_predicate<_Pred, typename std::__detail::__projected<_Iter, _Proj>::__type>) constexpr _Iter std::ranges::__find_if_fn::operator()(_Iter, _Sent, _Pred, _Proj) const’
- 526 | operator()(_Iter __first, _Sent __last,
- | ^~~~~~~~
- /usr/include/c++/14.2.1/bits/ranges_util.h:526:7: note: candidate expects 3 arguments, 2 provided
- /usr/include/c++/14.2.1/bits/ranges_util.h:539:7: note: candidate: ‘template<class _Range, class _Proj, class _Pred> requires (input_range<_Range>) && (indirect_unary_predicate<_Pred, typename std::__detail::__projected<decltype(std::ranges::__access::__begin((declval<_Container&>)())), _Proj>::__type>) constexpr std::ranges::borrowed_iterator_t<_Range> std::ranges::__find_if_fn::operator()(_Range&&, _Pred, _Proj) const’
- 539 | operator()(_Range&& __r, _Pred __pred, _Proj __proj = {}) const
- | ^~~~~~~~
- /usr/include/c++/14.2.1/bits/ranges_util.h:539:7: note: template argument deduction/substitution failed:
- /usr/include/c++/14.2.1/bits/ranges_util.h:539:7: note: constraints not satisfied
- In file included from /usr/include/c++/14.2.1/compare:40,
- from /usr/include/c++/14.2.1/bits/char_traits.h:56,
- from /usr/include/c++/14.2.1/string:42:
- /usr/include/c++/14.2.1/concepts: In substitution of ‘template<class _Range, class _Proj, class _Pred> requires (input_range<_Range>) && (indirect_unary_predicate<_Pred, typename std::__detail::__projected<decltype(std::ranges::__access::__begin((declval<_Container&>)())), _Proj>::__type>) constexpr std::ranges::borrowed_iterator_t<_Range> std::ranges::__find_if_fn::operator()(_Range&&, _Pred, _Proj) const [with _Range = std::vector<std::pair<std::__cxx11::basic_string<char>, bool> >&; _Proj = std::identity; _Pred = LootDeployer::sortModsByConflicts(std::optional<ProgressNode*>)::<lambda(const auto:54&)>]’:
- /home/patrick/.cache/paru/clone/limo-git/src/limo-git/src/core/lootdeployer.cpp:205:29: required from here
- 205 | auto iter = str::find_if(plugins_, [plugin](const auto& p) { return p.first == plugin; });
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/14.2.1/concepts:360:13: required for the satisfaction of ‘invocable<_Fn, _Args ...>’ [with _Fn = LootDeployer::sortModsByConflicts::._anon_322&; _Args = {std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>&}]
- /usr/include/c++/14.2.1/concepts:364:13: required for the satisfaction of ‘regular_invocable<_Fn, _Args ...>’ [with _Fn = LootDeployer::sortModsByConflicts::._anon_322&; _Args = {std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>&}]
- /usr/include/c++/14.2.1/concepts:368:13: required for the satisfaction of ‘predicate<_Fn&, typename std::__detail::__indirect_value<_Iter>::type>’ [with _Fn = LootDeployer::sortModsByConflicts::._anon_322; _Iter = std::__detail::__projected<__gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>*, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool> > > >, std::identity>::__type]
- /usr/include/c++/14.2.1/bits/iterator_concepts.h:741:13: required for the satisfaction of ‘indirect_unary_predicate<_Pred, std::projected<decltype (std::ranges::__access::__begin(declval<_Container&>())), _Proj> >’ [with _Pred = LootDeployer::sortModsByConflicts::._anon_322; _Range = std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool> > >&; _Proj = std::identity]
- /usr/include/c++/14.2.1/concepts:360:25: note: the expression ‘is_invocable_v<_Fn, _Args ...> [with _Fn = LootDeployer::sortModsByConflicts::._anon_322&; _Args = {std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>&}]’ evaluated to ‘false’
- 360 | concept invocable = is_invocable_v<_Fn, _Args...>;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [ 25%] Building CXX object CMakeFiles/core.dir/src/core/moddedapplication.cpp.o
- [ 26%] Building CXX object CMakeFiles/core.dir/src/core/nexus/api.cpp.o
- [ 27%] Building CXX object CMakeFiles/core.dir/src/core/nexus/file.cpp.o
- [ 28%] Building CXX object CMakeFiles/core.dir/src/core/nexus/mod.cpp.o
- [ 29%] Building CXX object CMakeFiles/core.dir/src/core/openmwarchivedeployer.cpp.o
- [ 30%] Building CXX object CMakeFiles/core.dir/src/core/openmwplugindeployer.cpp.o
- make[2]: *** [CMakeFiles/core.dir/build.make:331: CMakeFiles/core.dir/src/core/lootdeployer.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/core.dir/all] Error 2
- make: *** [Makefile:136: all] Error 2
- ==> ERROR: A failure occurred in build().
- Aborting...
- error: failed to build 'limo-git-r138.662e695-1':
- error: packages failed to build: limo-git-r138.662e695-1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement