this derivation will be built: /nix/store/3ycsw4sg3q084dv39f6pl1ncdn7ri3ra-nix-grpc-store-plugin-0.2.2.drv error: Cannot build '/nix/store/3ycsw4sg3q084dv39f6pl1ncdn7ri3ra-nix-grpc-store-plugin-0.2.2.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/lbvx13py03cy2ba3xqhj94yplkyrs85q-nix-grpc-store-plugin-0.2.2 Last 25 log lines: > In file included from ../src/client/nar-fetcher.hh:44: > ../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/b4aakd6xdc29045vnqy5cs12cg8n5zq0-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:85: > 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/b4aakd6xdc29045vnqy5cs12cg8n5zq0-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. > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/3ycsw4sg3q084dv39f6pl1ncdn7ri3ra-nix-grpc-store-plugin-0.2.2.drv