this derivation will be built: /nix/store/zc1qgqvd4vlz1ypcq1d98s6jk5d4rmpm-nix-grpc-store-plugin-0.2.2.drv error: Cannot build '/nix/store/zc1qgqvd4vlz1ypcq1d98s6jk5d4rmpm-nix-grpc-store-plugin-0.2.2.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/cv8n0f1bwi32nb9nf4gpkgbq1dfgnlsn-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/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:86: > In file included from ../src/client/nar-fetcher.hh:45: > ../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. > [10/11] Compiling C++ object nix-grpc-store.dylib.p/meson-generated_.._nix_remote.grpc.pb.cc.o > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/zc1qgqvd4vlz1ypcq1d98s6jk5d4rmpm-nix-grpc-store-plugin-0.2.2.drv