this derivation will be built: /nix/store/xgr4m7kda8h9gw2lcj3wjqpig7684vgy-nix-grpc-store-plugin-0.2.2.drv error: Cannot build '/nix/store/xgr4m7kda8h9gw2lcj3wjqpig7684vgy-nix-grpc-store-plugin-0.2.2.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/dpmpsfmv9h8wvgzbkjqn7jfz90ga2i3x-nix-grpc-store-plugin-0.2.2-debug /nix/store/qq458k82bjm790a3r551wn2gcp569c0z-nix-grpc-store-plugin-0.2.2 Last 25 log lines: > ../src/pump.hh:209:25: error: using declaration in class refers into 'nix', which is not a class > 209 | MakeError(StreamClosed, nix::Error); > | ^~~~~ > /nix/store/dsgv9hi7q926xg05kj4bnixndknwl5bv-nix-util-2.31.6-dev/include/nix/util/error.hh:218:27: note: expanded from macro 'MakeError' > 218 | using superClass::superClass; \ > | ^~~~~~~~~~ > In file included from ../src/client/build.cc:3: > In file included from ../src/client/store.hh:84: > In file included from ../src/client/nar-fetcher.hh:44: > ../src/pump.hh:229:19: error: no matching conversion for functional-style cast from 'const char[46]' to 'StreamClosed' > 229 | throw StreamClosed("gRPC stream closed by peer during bulk import"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ../src/pump.hh:209:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const char[46]' to 'const StreamClosed' for 1st argument > 209 | MakeError(StreamClosed, nix::Error); > | ^~~~~~~~~~~~ > ../src/pump.hh:209:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'const char[46]' to 'StreamClosed' for 1st argument > 209 | MakeError(StreamClosed, nix::Error); > | ^~~~~~~~~~~~ > ../src/pump.hh:209:11: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided > /nix/store/dsgv9hi7q926xg05kj4bnixndknwl5bv-nix-util-2.31.6-dev/include/nix/util/error.hh:215:11: note: expanded from macro 'MakeError' > 215 | class newClass : public superClass \ > | ^ > 3 errors generated. > [10/11] Compiling C++ object nix-grpc-store.so.p/meson-generated_.._nix_remote.grpc.pb.cc.o > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/xgr4m7kda8h9gw2lcj3wjqpig7684vgy-nix-grpc-store-plugin-0.2.2.drv