Fix nix-doc for Lix #4

Closed
opened 2024-03-14 18:42:03 +00:00 by jade · 1 comment
Owner
nix-doc>   running: "/nix/store/ln6zld1ia7rxddmxgbpfhrmb42rbxdw8-gcc-wrapper-13.2.0/bin/c++" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-shared" "-Wall" "-Wextra" "-std=c++20" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-isystem" "/nix/store/ff6aagj2f9l00fwp8437ji14nlmbcq9i-boehm-gc-8.2.4-dev/include" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-L\"/nix/store/p4f1q08zxfv1l3pxsirjmc8dxnradvd7-boehm-gc-8.2.4/lib\"" "-lnixexpr" "-lnixstore" "-lnixutil" "-lgc" "-lpthread" "-ldl" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-lnixstore" "-lnixutil" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-lnixmain" "-DBUILD_NIX_VERSION=2.90.0-lix" "-DNIX_2_4_0" "-DNIX_2_6_0" "-DNIX_2_9_0" "-DNIX_2_13_0" "-DNIX_2_13_1" "-DNIX_2_14_0" "-DNIX_2_16_0" "-DNIX_2_17_0" "-DNIX_2_20_0" "-o" "/build/source/target/x86_64-unknown-linux-gnu/release/build/nix-doc-plugin-a57fd422b318fca3/out/plugin.o" "-c" "plugin.cpp"
nix-doc>   cargo:warning=In file included from plugin.cpp:15:
nix-doc>   cargo:warning=compat.h: In function 'void compat::forceLambda(nix::EvalState&, nix::Value&, ConstPos)':
nix-doc>   cargo:warning=compat.h:63:16: error: no matching function for call to 'nix::EvalState::error(const char [41], std::string)'
nix-doc>   cargo:warning=   63 |     state.error("value is %1% while a lambda was expected", nix::showType(v))
nix-doc>   cargo:warning=      |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nix-doc>   cargo:warning=In file included from /nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix/eval-inline.hh:5,
nix-doc>   cargo:warning=                 from plugin.cpp:3:
nix-doc>   cargo:warning=/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix/eval.hh:229:27: note: candidate: 'template<class T, class ... Args> nix::EvalErrorBuilder<T>& nix::EvalState::error(const Args& ...)'
nix-doc>   cargo:warning=  229 |     EvalErrorBuilder<T> & error(const Args & ... args) {
nix-doc>   cargo:warning=      |                           ^~~~~
nix-doc>   cargo:warning=/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix/eval.hh:229:27: note:   template argument deduction/substitution failed:
nix-doc>   cargo:warning=compat.h:63:16: note:   couldn't deduce template parameter 'T'
nix-doc>   cargo:warning=   63 |     state.error("value is %1% while a lambda was expected", nix::showType(v))
nix-doc>   cargo:warning=      |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nix-doc>   cargo:warning=compat.h:65:35: error: expected primary-expression before '>' token
nix-doc>   cargo:warning=   65 |         .debugThrow<nix::TypeError>();
nix-doc>   cargo:warning=      |                                   ^
nix-doc>   cargo:warning=compat.h:65:37: error: expected primary-expression before ')' token
nix-doc>   cargo:warning=   65 |         .debugThrow<nix::TypeError>();
nix-doc>   cargo:warning=      |                                     ^
nix-doc>   exit status: 1
nix-doc>   --- stderr
nix-doc>   error occurred: Command "/nix/store/ln6zld1ia7rxddmxgbpfhrmb42rbxdw8-gcc-wrapper-13.2.0/bin/c++" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-shared" "-Wall" "-Wextra" "-std=c++20" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-isystem" "/nix/store/ff6aagj2f9l00fwp8437ji14nlmbcq9i-boehm-gc-8.2.4-dev/include" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-L\"/nix/store/p4f1q08zxfv1l3pxsirjmc8dxnradvd7-boehm-gc-8.2.4/lib\"" "-lnixexpr" "-lnixstore" "-lnixutil" "-lgc" "-lpthread" "-ldl" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-lnixstore" "-lnixutil" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-lnixmain" "-DBUILD_NIX_VERSION=2.90.0-lix" "-DNIX_2_4_0" "-DNIX_2_6_0" "-DNIX_2_9_0" "-DNIX_2_13_0" "-DNIX_2_13_1" "-DNIX_2_14_0" "-DNIX_2_16_0" "-DNIX_2_17_0" "-DNIX_2_20_0" "-o" "/build/source/target/x86_64-unknown-linux-gnu/release/build/nix-doc-plugin-a57fd422b318fca3/out/plugin.o" "-c" "plugin.cpp" with args "c++" did not execute successfully (status code exit status: 1).
``` nix-doc> running: "/nix/store/ln6zld1ia7rxddmxgbpfhrmb42rbxdw8-gcc-wrapper-13.2.0/bin/c++" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-shared" "-Wall" "-Wextra" "-std=c++20" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-isystem" "/nix/store/ff6aagj2f9l00fwp8437ji14nlmbcq9i-boehm-gc-8.2.4-dev/include" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-L\"/nix/store/p4f1q08zxfv1l3pxsirjmc8dxnradvd7-boehm-gc-8.2.4/lib\"" "-lnixexpr" "-lnixstore" "-lnixutil" "-lgc" "-lpthread" "-ldl" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-lnixstore" "-lnixutil" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-lnixmain" "-DBUILD_NIX_VERSION=2.90.0-lix" "-DNIX_2_4_0" "-DNIX_2_6_0" "-DNIX_2_9_0" "-DNIX_2_13_0" "-DNIX_2_13_1" "-DNIX_2_14_0" "-DNIX_2_16_0" "-DNIX_2_17_0" "-DNIX_2_20_0" "-o" "/build/source/target/x86_64-unknown-linux-gnu/release/build/nix-doc-plugin-a57fd422b318fca3/out/plugin.o" "-c" "plugin.cpp" nix-doc> cargo:warning=In file included from plugin.cpp:15: nix-doc> cargo:warning=compat.h: In function 'void compat::forceLambda(nix::EvalState&, nix::Value&, ConstPos)': nix-doc> cargo:warning=compat.h:63:16: error: no matching function for call to 'nix::EvalState::error(const char [41], std::string)' nix-doc> cargo:warning= 63 | state.error("value is %1% while a lambda was expected", nix::showType(v)) nix-doc> cargo:warning= | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-doc> cargo:warning=In file included from /nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix/eval-inline.hh:5, nix-doc> cargo:warning= from plugin.cpp:3: nix-doc> cargo:warning=/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix/eval.hh:229:27: note: candidate: 'template<class T, class ... Args> nix::EvalErrorBuilder<T>& nix::EvalState::error(const Args& ...)' nix-doc> cargo:warning= 229 | EvalErrorBuilder<T> & error(const Args & ... args) { nix-doc> cargo:warning= | ^~~~~ nix-doc> cargo:warning=/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix/eval.hh:229:27: note: template argument deduction/substitution failed: nix-doc> cargo:warning=compat.h:63:16: note: couldn't deduce template parameter 'T' nix-doc> cargo:warning= 63 | state.error("value is %1% while a lambda was expected", nix::showType(v)) nix-doc> cargo:warning= | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-doc> cargo:warning=compat.h:65:35: error: expected primary-expression before '>' token nix-doc> cargo:warning= 65 | .debugThrow<nix::TypeError>(); nix-doc> cargo:warning= | ^ nix-doc> cargo:warning=compat.h:65:37: error: expected primary-expression before ')' token nix-doc> cargo:warning= 65 | .debugThrow<nix::TypeError>(); nix-doc> cargo:warning= | ^ nix-doc> exit status: 1 nix-doc> --- stderr nix-doc> error occurred: Command "/nix/store/ln6zld1ia7rxddmxgbpfhrmb42rbxdw8-gcc-wrapper-13.2.0/bin/c++" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-shared" "-Wall" "-Wextra" "-std=c++20" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-isystem" "/nix/store/ff6aagj2f9l00fwp8437ji14nlmbcq9i-boehm-gc-8.2.4-dev/include" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-L\"/nix/store/p4f1q08zxfv1l3pxsirjmc8dxnradvd7-boehm-gc-8.2.4/lib\"" "-lnixexpr" "-lnixstore" "-lnixutil" "-lgc" "-lpthread" "-ldl" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-lnixstore" "-lnixutil" "-isystem" "/nix/store/s2rpqs5pk675dbdaw47r00rrlwmh68w8-nix-2.18.3-lix-dev/include/nix" "-L\"/nix/store/x2df4dw061asjswf06pjk0y5rmzxd360-nix-2.18.3-lix/lib\"" "-lnixmain" "-DBUILD_NIX_VERSION=2.90.0-lix" "-DNIX_2_4_0" "-DNIX_2_6_0" "-DNIX_2_9_0" "-DNIX_2_13_0" "-DNIX_2_13_1" "-DNIX_2_14_0" "-DNIX_2_16_0" "-DNIX_2_17_0" "-DNIX_2_20_0" "-o" "/build/source/target/x86_64-unknown-linux-gnu/release/build/nix-doc-plugin-a57fd422b318fca3/out/plugin.o" "-c" "plugin.cpp" with args "c++" did not execute successfully (status code exit status: 1). ```
Author
Owner

well this was fixed by disabling the nix-doc plugin and some upstream work to make that happen :)

well this was fixed by disabling the nix-doc plugin and some upstream work to make that happen :)
jade closed this issue 2024-04-17 03:08:50 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/nixos-module#4
No description provided.