Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/0bhws5n3s9xgjqjhf6q6n0fhk9kfv4lh-src source root is src Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: configurePhase @nix { "action": "setPhase", "phase": "configurePhase" } fixing cmake files... cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/share/doc/nixos-option -DCMAKE_INSTALL_INFODIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/include -DCMAKE_INSTALL_SBINDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/9ns7rkswhi84f4axaf22qk6j4mmny4lr-gcc-wrapper-14.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/9ns7rkswhi84f4axaf22qk6j4mmny4lr-gcc-wrapper-14.2.0/bin/ranlib -DCMAKE_AR=/nix/store/9ns7rkswhi84f4axaf22qk6j4mmny4lr-gcc-wrapper-14.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/kwanmc0vcxa20vmgb24rl35zq380cp9d-nixos-option -DNIX_DEV_INCLUDEPATH=/nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.  -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/9ns7rkswhi84f4axaf22qk6j4mmny4lr-gcc-wrapper-14.2.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/9ns7rkswhi84f4axaf22qk6j4mmny4lr-gcc-wrapper-14.2.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.6s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_USE_PACKAGE_REGISTRY CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR  -- Build files have been written to: /build/src/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase @nix { "action": "setPhase", "phase": "buildPhase" } build flags: -j12 SHELL=/nix/store/a7dq7grav2p7nwxycafa4aaf8m55ks1y-bash-5.2p32/bin/bash [ 66%] Building CXX object CMakeFiles/nixos-option.dir/libnix-copy-paste.cc.o [ 66%] Building CXX object CMakeFiles/nixos-option.dir/nixos-option.cc.o /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/file-descriptor.hh:143:11: error: expected identifier before numeric constant 143 | namespace unix { | ^~~~ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/file-descriptor.hh:143:11: error: expected unqualified-id before numeric constant /build/src/nixos-option.cc: In function 'nix::Value evaluateValue(Context&, nix::Value&)': /build/src/nixos-option.cc:122:29: error: cannot convert 'evaluateValue(Context&, nix::Value&)::' to 'nix::PosIdx' 122 | ctx.state.forceValue(v, [&]() { return v.determinePos(nix::noPos); }); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | evaluateValue(Context&, nix::Value&):: In file included from /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval.hh:887, from /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/attr-path.hh:4, from /build/src/nixos-option.cc:11: /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-inline.hh:85:52: note:  initializing argument 2 of 'void nix::EvalState::forceValue(nix::Value&, nix::PosIdx)' 85 | void EvalState::forceValue(Value & v, const PosIdx pos) | ~~~~~~~~~~~~~^~~ /build/src/nixos-option.cc: In function 'bool isOption(Context&, const nix::Value&)': /build/src/nixos-option.cc:136:33: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 136 | const auto & actualType = v.attrs->find(ctx.underscoreType); | ~~^~~~~ | () /build/src/nixos-option.cc:137:25: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 137 | if (actualType == v.attrs->end()) { | ~~^~~~~ | () /build/src/nixos-option.cc:145:55: error: 'struct nix::Value' has no member named 'string'; did you mean 'mkString'? 145 | return static_cast(evaluatedType.string.s) == "option"; | ^~~~~~ | mkString /build/src/nixos-option.cc: In function 'bool forbiddenRecursionName(nix::Symbol, const nix::SymbolTable&)': /build/src/nixos-option.cc:177:50: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'nix::SymbolStr' 177 | const std::string & name = symbolTable[symbol]; | ~~~~~~~~~~~~~~~~~~^ /build/src/nixos-option.cc: In function 'void recurse(const std::function&, std::variant)>&, Context&, nix::Value, const std::string&)': /build/src/nixos-option.cc:201:47: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 201 | for (const auto & child : evaluated_value.attrs->lexicographicOrder(ctx.state.symbols)) { | ~~~~~~~~~~~~~~~~^~~~~ | () /build/src/nixos-option.cc: In function 'bool optionTypeIs(Context&, nix::Value&, const std::string&)': /build/src/nixos-option.cc:212:37: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 212 | const auto & typeLookup = v.attrs->find(ctx.state.sType); | ~~^~~~~ | () /build/src/nixos-option.cc:213:29: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 213 | if (typeLookup == v.attrs->end()) { | ~~^~~~~ | () /build/src/nixos-option.cc:220:40: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 220 | const auto & nameLookup = type.attrs->find(ctx.state.sName); | ~~~~~^~~~~ | () /build/src/nixos-option.cc:221:32: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 221 | if (nameLookup == type.attrs->end()) { | ~~~~~^~~~~ | () /build/src/nixos-option.cc:228:21: error: 'struct nix::Value' has no member named 'string'; did you mean 'mkString'? 228 | return name.string.s == soughtType; | ^~~~~~ | mkString /build/src/nixos-option.cc: In function 'nix::Value getSubOptions(Context&, nix::Value&)': /build/src/nixos-option.cc:245:77: error: no matching function for call to 'OptionPathError::OptionPathError(const char [45])' 245 | throw OptionPathError("Option's type.getSubOptions isn't a function"); | ^ In file included from /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/nixexpr.hh:9, from /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/attr-set.hh:4, from /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval.hh:4: /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:35:14: note: candidate: 'template nix::EvalBaseError::EvalBaseError(nix::EvalState&, const std::string&, const Args& ...)' 35 | explicit EvalBaseError(EvalState & state, const std::string & formatString, const Args &... formatArgs) | ^~~~~~~~~~~~~ In file included from /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/experimental-features.hh:4, from /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/args.hh:12, from /build/src/nixos-option.cc:10: /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects at least 2 arguments, 1 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalBaseError&&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  an inherited constructor is not a candidate for initialization from an expression of the same or derived type /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(const nix::EvalBaseError&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  an inherited constructor is not a candidate for initialization from an expression of the same or derived type /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:28:5: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalState&, nix::ErrorInfo&&)' 28 | EvalBaseError(EvalState & state, ErrorInfo && errorInfo) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 2 arguments, 1 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(const nix::EvalError&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  an inherited constructor is not a candidate for initialization from an expression of the same or derived type /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(nix::EvalError&&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  an inherited constructor is not a candidate for initialization from an expression of the same or derived type /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(const OptionPathError&)' 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~~~~~~~ /build/src/nixos-option.cc:239:11: note:  no known conversion for argument 1 from 'const char [45]' to 'const OptionPathError&' /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(OptionPathError&&)' /build/src/nixos-option.cc:239:11: note:  no known conversion for argument 1 from 'const char [45]' to 'OptionPathError&&' /build/src/nixos-option.cc: In function 'FindAlongOptionPathRet findAlongOptionPath(Context&, const std::string&)': /build/src/nixos-option.cc:272:61: error: no matching function for call to 'OptionPathError::OptionPathError(const char [21])' 272 | throw OptionPathError("empty attribute name"); | ^ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:35:14: note: candidate: 'template nix::EvalBaseError::EvalBaseError(nix::EvalState&, const std::string&, const Args& ...)' 35 | explicit EvalBaseError(EvalState & state, const std::string & formatString, const Args &... formatArgs) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects at least 2 arguments, 1 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalBaseError&&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  an inherited constructor is not a candidate for initialization from an expression of the same or derived type /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(const nix::EvalBaseError&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  an inherited constructor is not a candidate for initialization from an expression of the same or derived type /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:28:5: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalState&, nix::ErrorInfo&&)' 28 | EvalBaseError(EvalState & state, ErrorInfo && errorInfo) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 2 arguments, 1 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(const nix::EvalError&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  an inherited constructor is not a candidate for initialization from an expression of the same or derived type /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(nix::EvalError&&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  an inherited constructor is not a candidate for initialization from an expression of the same or derived type /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(const OptionPathError&)' 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~~~~~~~ /build/src/nixos-option.cc:239:11: note:  no known conversion for argument 1 from 'const char [21]' to 'const OptionPathError&' /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(OptionPathError&&)' /build/src/nixos-option.cc:239:11: note:  no known conversion for argument 1 from 'const char [21]' to 'OptionPathError&&' /build/src/nixos-option.cc:279:49: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 279 | if (lastAttribute && subOptions.attrs->empty()) { | ~~~~~~~~~~~^~~~~ | () /build/src/nixos-option.cc:286:90: error: no matching function for call to 'OptionPathError::OptionPathError(const char [37], std::string)' 286 | throw OptionPathError("Value is %s while a set was expected", showType(v)); | ^ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:28:5: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalState&, nix::ErrorInfo&&)' 28 | EvalBaseError(EvalState & state, ErrorInfo && errorInfo) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:28:31: note:  no known conversion for argument 1 from 'const char [37]' to 'nix::EvalState&' 28 | EvalBaseError(EvalState & state, ErrorInfo && errorInfo) | ~~~~~~~~~~~~^~~~~ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:35:14: note: candidate: 'template nix::EvalBaseError::EvalBaseError(nix::EvalState&, const std::string&, const Args& ...)' 35 | explicit EvalBaseError(EvalState & state, const std::string & formatString, const Args &... formatArgs) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  template argument deduction/substitution failed: /build/src/nixos-option.cc:286:39: note:  cannot convert '"Value is %s while a set was expected"' (type 'const char [37]') to type 'nix::EvalState&' 286 | throw OptionPathError("Value is %s while a set was expected", showType(v)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalBaseError&&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 2 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(const nix::EvalBaseError&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 2 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(const nix::EvalError&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 2 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(nix::EvalError&&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 2 provided /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(const OptionPathError&)' 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~~~~~~~ /build/src/nixos-option.cc:239:11: note:  candidate expects 1 argument, 2 provided /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(OptionPathError&&)' /build/src/nixos-option.cc:239:11: note:  candidate expects 1 argument, 2 provided /build/src/nixos-option.cc:288:39: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 288 | const auto & next = v.attrs->find(ctx.state.symbols.create(attr)); | ~~^~~~~ | () /build/src/nixos-option.cc:289:31: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 289 | if (next == v.attrs->end()) { | ~~^~~~~ | () /build/src/nixos-option.cc:290:76: error: no matching function for call to 'OptionPathError::OptionPathError(const char [20], const std::__cxx11::basic_string&, const std::string&)' 290 | throw OptionPathError("Attribute not found", attr, path); | ^ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:35:14: note: candidate: 'template nix::EvalBaseError::EvalBaseError(nix::EvalState&, const std::string&, const Args& ...)' 35 | explicit EvalBaseError(EvalState & state, const std::string & formatString, const Args &... formatArgs) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  template argument deduction/substitution failed: /build/src/nixos-option.cc:290:43: note:  cannot convert '"Attribute not found"' (type 'const char [20]') to type 'nix::EvalState&' 290 | throw OptionPathError("Attribute not found", attr, path); | ^~~~~~~~~~~~~~~~~~~~~ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalBaseError&&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 3 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(const nix::EvalBaseError&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 3 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:28:5: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalState&, nix::ErrorInfo&&)' 28 | EvalBaseError(EvalState & state, ErrorInfo && errorInfo) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 2 arguments, 3 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(const nix::EvalError&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 3 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(nix::EvalError&&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 3 provided /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(const OptionPathError&)' 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~~~~~~~ /build/src/nixos-option.cc:239:11: note:  candidate expects 1 argument, 3 provided /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(OptionPathError&&)' /build/src/nixos-option.cc:239:11: note:  candidate expects 1 argument, 3 provided /build/src/nixos-option.cc:296:82: error: no matching function for call to 'OptionPathError::OptionPathError(const char [25], const std::__cxx11::basic_string&, const std::string&, const std::string&)' 296 | throw OptionPathError("At '%s' in path '%s': %s", attr, path, e.msg()); | ^ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:35:14: note: candidate: 'template nix::EvalBaseError::EvalBaseError(nix::EvalState&, const std::string&, const Args& ...)' 35 | explicit EvalBaseError(EvalState & state, const std::string & formatString, const Args &... formatArgs) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  template argument deduction/substitution failed: /build/src/nixos-option.cc:296:35: note:  cannot convert '"At \'%s\' in path \'%s\': %s"' (type 'const char [25]') to type 'nix::EvalState&' 296 | throw OptionPathError("At '%s' in path '%s': %s", attr, path, e.msg()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalBaseError&&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 4 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:21:7: note: candidate: 'nix::EvalBaseError::EvalBaseError(const nix::EvalBaseError&)' 21 | class EvalBaseError : public Error | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 4 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:28:5: note: candidate: 'nix::EvalBaseError::EvalBaseError(nix::EvalState&, nix::ErrorInfo&&)' 28 | EvalBaseError(EvalState & state, ErrorInfo && errorInfo) | ^~~~~~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 2 arguments, 4 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(const nix::EvalError&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 4 provided /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/eval-error.hh:48:1: note: candidate: 'nix::EvalError::EvalError(nix::EvalError&&)' 48 | MakeError(EvalError, EvalBaseError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  inherited here 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~ /build/src/nixos-option.cc:239:28: note:  candidate expects 1 argument, 4 provided /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(const OptionPathError&)' 239 | MakeError(OptionPathError, EvalError); | ^~~~~~~~~~~~~~~ /build/src/nixos-option.cc:239:11: note:  candidate expects 1 argument, 4 provided /build/src/nixos-option.cc:239:11: note: candidate: 'OptionPathError::OptionPathError(OptionPathError&&)' /build/src/nixos-option.cc:239:11: note:  candidate expects 1 argument, 4 provided /build/src/nixos-option.cc: In function 'void describeDerivation(Context&, Out&, nix::Value)': /build/src/nixos-option.cc:372:30: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 372 | Bindings::iterator i = v.attrs->find(ctx.state.sDrvPath); | ~~^~~~~ | () /build/src/nixos-option.cc:374:16: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 374 | if (i != v.attrs->end()) | ~~^~~~~ | () /build/src/nixos-option.cc: In function 'nix::Value parseAndEval(nix::EvalState&, const std::string&, const std::string&)': /build/src/nixos-option.cc:384:86: error: 'fromCwd' is not a member of 'nix::CanonPath' 384 | state.eval(state.parseExprFromString(expression, nix::SourcePath(nix::CanonPath::fromCwd(path))), v); | ^~~~~~~ /build/src/nixos-option.cc: In function 'void printAttrs(Context&, Out&, nix::Value&, const std::string&)': /build/src/nixos-option.cc:401:35: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 401 | Out attrsOut(out, "{", "}", v.attrs->size()); | ~~^~~~~ | () /build/src/nixos-option.cc:402:29: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 402 | for (const auto & a : v.attrs->lexicographicOrder(ctx.state.symbols)) { | ~~^~~~~ | () /build/src/nixos-option.cc: In function 'void printMultiLineString(Out&, const nix::Value&)': /build/src/nixos-option.cc:433:23: error: 'const struct nix::Value' has no member named 'string'; did you mean 'mkString'? 433 | std::string s = v.string.s; | ^~~~~~ | mkString /build/src/nixos-option.cc: In function 'void printValue(Context&, Out&, std::variant, const std::string&)': /build/src/nixos-option.cc:461:57: error: 'struct nix::Value' has no member named 'string'; did you mean 'mkString'? 461 | } else if (v.type() == nString && std::string(v.string.s).find('\n') != std::string::npos) { | ^~~~~~ | mkString /build/src/nixos-option.cc:465:31: error: cannot convert 'nix::SymbolTable' to 'nix::EvalState&' 465 | v.print(ctx.state.symbols, out.ostream); | ~~~~~~~~~~^~~~~~~ | | | nix::SymbolTable In file included from /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/nixexpr.hh:7: /nix/store/4cdwhsqkad0k04w7875f0ijfpbp49ywp-nix-2.24.7-dev/include/nix/value.hh:174:27: note:  initializing argument 1 of 'void nix::Value::print(nix::EvalState&, std::ostream&, nix::PrintOptions)' 174 | void print(EvalState &state, std::ostream &str, PrintOptions options = PrintOptions {}); | ~~~~~~~~~~~^~~~~ /build/src/nixos-option.cc: In function 'void printListing(Context&, Out&, nix::Value&)': /build/src/nixos-option.cc:563:29: error: invalid use of member function 'const nix::Bindings* nix::Value::attrs() const' (did you forget the '()' ?) 563 | for (const auto & a : v.attrs->lexicographicOrder(ctx.state.symbols)) { | ~~^~~~~ | () /build/src/nixos-option.cc: In function 'int main(int, char**)': /build/src/nixos-option.cc:630:10: error: 'initGC' is not a member of 'nix' 630 | nix::initGC(); | ^~~~~~ /build/src/nixos-option.cc:633:53: error: 'struct main(int, char**)::MyArgs' has no member named 'searchPath' 633 | auto state = std::make_unique(myArgs.searchPath, store); | ^~~~~~~~~~ /build/src/nixos-option.cc:638:77: error: no matching function for call to 'Context::Context()' 638 | Context ctx{*state, *myArgs.getAutoArgs(*state), optionsRoot, configRoot}; | ^ /build/src/nixos-option.cc:49:5: note: candidate: 'Context::Context(nix::EvalState&, nix::Bindings&, nix::Value, nix::Value)' 49 | Context(EvalState & state, Bindings & autoArgs, Value optionsRoot, Value configRoot) | ^~~~~~~ /build/src/nixos-option.cc:49:5: note:  conversion of argument 1 would be ill-formed: /build/src/nixos-option.cc:47:8: note: candidate: 'constexpr Context::Context(const Context&)' 47 | struct Context | ^~~~~~~ /build/src/nixos-option.cc:47:8: note:  candidate expects 1 argument, 4 provided /build/src/nixos-option.cc:47:8: note: candidate: 'constexpr Context::Context(Context&&)' /build/src/nixos-option.cc:47:8: note:  candidate expects 1 argument, 4 provided /build/src/nixos-option.cc:649:15: error: 'class nix::EvalState' has no member named 'printStats'; did you mean 'printStatistics'? 649 | ctx.state.printStats(); | ^~~~~~~~~~ | printStatistics make[2]: *** [CMakeFiles/nixos-option.dir/build.make:76: CMakeFiles/nixos-option.dir/nixos-option.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/nixos-option.dir/all] Error 2 make: *** [Makefile:136: all] Error 2