nixbot

builds

failed evalCheck-eval-lib-build-clan default.checks.aarch64-linux.eval-tests · build #409 · raw

1warning: not writing modified lock file of flake 'path:/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source':2Added input 'data-mesher':3 'path:/nix/store/kdjkigwckgrfz0yg0d9z7kj2xkf084vs-source?lastModified=1&narHash=sha256-Yase/4e4aNN9QvUMqPH9ngbAmlcJCqLmFL0zuURdkuA%3D' (1970-01-01)4Added input 'data-mesher/flake-parts':5 follows 'flake-parts'6Added input 'data-mesher/nixpkgs':7 follows 'nixpkgs'8Added input 'data-mesher/treefmt-nix':9 follows 'treefmt-nix'10Added input 'disko':11 'path:/nix/store/w2c23ykc12mswlg8hrrjzb5gv9gvkzwq-source?lastModified=1&narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (1970-01-01)12Added input 'disko/nixpkgs':13 follows 'nixpkgs'14Added input 'flake-parts':15 'path:/nix/store/lrxvs4l9bqbgjfz7w9bkfg5zqq442jxc-source?lastModified=1&narHash=sha256-4dtXQk/NMePegK/nWp5NSeuZKLATItOq61lpEvmXqGw%3D' (1970-01-01)16Added input 'flake-parts/nixpkgs-lib':17 follows 'nixpkgs'18Added input 'nix-darwin':19 'path:/nix/store/8ggr67sci43hlp8ba6rhjrdhhj5490am-source?lastModified=1&narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (1970-01-01)20Added input 'nix-darwin/nixpkgs':21 follows 'nixpkgs'22Added input 'nix-select':23 'path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?lastModified=1&narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (1970-01-01)24Added input 'nixpkgs':25 'path:/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source?lastModified=1&narHash=sha256-tkD1h/1jLJ6qZHjG7/TOZT1qqI1ej3VPPCufHQyv1Uo%3D' (1970-01-01)26Added input 'sops-nix':27 'path:/nix/store/s154mmk8ahvc71gq8xfkbzlk240yvniv-source?lastModified=1&narHash=sha256-gkig4nPi1CWc4Z50GBsjE4ygSE7hMpl/TwID2an2Cck%3D' (1970-01-01)28Added input 'sops-nix/nixpkgs':29 follows 'nixpkgs'30Added input 'systems':31 'path:/nix/store/9m1jsz5b9ggmjij2vkmafnhn26g96jjn-source?lastModified=1&narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (1970-01-01)32Added input 'treefmt-nix':33 'path:/nix/store/7sjy8935654h3220n5gbaclf5nfw4nzx-source?lastModified=1&narHash=sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE%3D' (1970-01-01)34Added input 'treefmt-nix/nixpkgs':35 follows 'nixpkgs'36trace: pathExists: 'machines' -> 'true'37trace: readDir: 'machines' -> '{38 bar-machine = "directory";39 foo-machine = "directory";40}'41✅ autoloading.test_autoload_directories42trace: pathExists: 'machines' -> 'true'43trace: readDir: 'machines' -> '{44 "bar.nix" = "file";45 "foo.nix" = "file";46}'47✅ autoloading.test_files_are_not_machines48☢️ clan.testMachineAccessToClanConfig49error:50 … from call site51 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/lib/lib-clan-tests.nix:21:14:52 20| # Attention: We need to access 'meta' via 'inventory' since clan.meta itself is a deferred module53 21| expr = eval.config.nixosConfigurations.testMachine.config.clanConfig.inventory.meta.name == "test";54 | ^55 22| expected = true;5657 … while calling anonymous lambda58 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:1029:18:59 1028| value = mapAttrs (60 1029| n: v:61 | ^62 1030| if lazy then6364 … while evaluating the attribute 'optionalValue.value'65 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1312:5:66 1311|67 1312| optionalValue = if isDefined then { value = mergedValue; } else { };68 | ^69 1313| };7071 … while evaluating a branch condition72 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1312:21:73 1311|74 1312| optionalValue = if isDefined then { value = mergedValue; } else { };75 | ^76 1313| };7778 … while evaluating a branch condition79 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1223:7:80 1222| # above are lazy and thus never forced on this branch.81 1223| if82 | ^83 1224| length defs == 18485 … in the right operand of the AND (&&) operator86 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1225:9:87 1224| length defs == 188 1225| && (89 | ^90 1226| let9192 … while evaluating definitions from `/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix':9394 … in the argument of the not operator95 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:96 1229| addErrorContext "while evaluating definitions from `${d.file}':" (97 1230| !(isAttrs d.value && d.value ? _type)98 | ^99 1231| )100101 … in the left operand of the AND (&&) operator102 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:103 1229| addErrorContext "while evaluating definitions from `${d.file}':" (104 1230| !(isAttrs d.value && d.value ? _type)105 | ^106 1231| )107108 … while calling the 'isAttrs' builtin109 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:15:110 1229| addErrorContext "while evaluating definitions from `${d.file}':" (111 1230| !(isAttrs d.value && d.value ? _type)112 | ^113 1231| )114115 … while evaluating the attribute 'value'116 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:969:11:117 968| inherit (def) file;118 969| value = v;119 | ^120 970| }) def.value121122 … from call site123 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:969:11:124 968| inherit (def) file;125 969| value = v;126 | ^127 970| }) def.value128129 … while calling anonymous lambda130 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:92:11:131 91| configurations = lib.mapAttrs (132 92| name: _:133 | ^134 93| let135136 … while evaluating the attribute 'default.nixpkgs'137 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:57:15:138 56| {139 57| inherit nixpkgs;140 | ^141 58| nixpkgsConfig = spec.config;142143 … while evaluating the attribute 'self.inputs.nixpkgs'144 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/top-level-interface.nix:87:13:145 86| // {146 87| inputs = (s.inputs or { }) // {147 | ^148 88| self.clan = config;149150 … while calling the 'throw' builtin151 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:54:46:152 53| nixpkgs =153 54| config.self.inputs.${spec.input} or (throw "Flake does not have 'input' named '${spec.input}'");154 | ^155 55| in156157 error: Flake does not have 'input' named 'nixpkgs'158159✅ test_all_simple160✅ test_clan_all_machines161✅ test_clan_all_machines_laziness162evaluation warning: Argument: 'self' must be set163✅ test_clan_check_simple_fail164evaluation warning: Argument: 'self' must be set165✅ test_clan_check_simple_pass166✅ test_clan_darwin_machines167☢️ test_clan_darwin_wireguard_service168error:169 … while evaluating the attribute 'nixosWgInterface'170 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/lib/tests.nix:357:9:171 356| # Check nixos wireguard interface is configured (option exists)172 357| nixosWgInterface = nixosConfig.networking.wireguard.interfaces ? wg-test;173 | ^174 358| };175176 … from call site177 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/lib/tests.nix:341:21:178 340| darwinConfig = eval.config.darwinConfigurations.darwin-peer.config;179 341| nixosConfig = eval.config.nixosConfigurations.nixos-peer.config;180 | ^181 342| in182183 … while calling anonymous lambda184 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:1029:18:185 1028| value = mapAttrs (186 1029| n: v:187 | ^188 1030| if lazy then189190 … while evaluating the attribute 'optionalValue.value'191 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1312:5:192 1311|193 1312| optionalValue = if isDefined then { value = mergedValue; } else { };194 | ^195 1313| };196197 … while evaluating a branch condition198 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1312:21:199 1311|200 1312| optionalValue = if isDefined then { value = mergedValue; } else { };201 | ^202 1313| };203204 … while evaluating a branch condition205 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1223:7:206 1222| # above are lazy and thus never forced on this branch.207 1223| if208 | ^209 1224| length defs == 1210211 … in the right operand of the AND (&&) operator212 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1225:9:213 1224| length defs == 1214 1225| && (215 | ^216 1226| let217218 … while evaluating definitions from `/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix':219220 … in the argument of the not operator221 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:222 1229| addErrorContext "while evaluating definitions from `${d.file}':" (223 1230| !(isAttrs d.value && d.value ? _type)224 | ^225 1231| )226227 … in the left operand of the AND (&&) operator228 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:229 1229| addErrorContext "while evaluating definitions from `${d.file}':" (230 1230| !(isAttrs d.value && d.value ? _type)231 | ^232 1231| )233234 … while calling the 'isAttrs' builtin235 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:15:236 1229| addErrorContext "while evaluating definitions from `${d.file}':" (237 1230| !(isAttrs d.value && d.value ? _type)238 | ^239 1231| )240241 … while evaluating the attribute 'value'242 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:969:11:243 968| inherit (def) file;244 969| value = v;245 | ^246 970| }) def.value247248 … from call site249 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:969:11:250 968| inherit (def) file;251 969| value = v;252 | ^253 970| }) def.value254255 … while calling anonymous lambda256 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:92:11:257 91| configurations = lib.mapAttrs (258 92| name: _:259 | ^260 93| let261262 … while evaluating the attribute 'default.nixpkgs'263 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:57:15:264 56| {265 57| inherit nixpkgs;266 | ^267 58| nixpkgsConfig = spec.config;268269 … while evaluating the attribute 'self.inputs.nixpkgs'270 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/top-level-interface.nix:87:13:271 86| // {272 87| inputs = (s.inputs or { }) // {273 | ^274 88| self.clan = config;275276 … while calling the 'throw' builtin277 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:54:46:278 53| nixpkgs =279 54| config.self.inputs.${spec.input} or (throw "Flake does not have 'input' named '${spec.input}'");280 | ^281 55| in282283 error: Flake does not have 'input' named 'nixpkgs'284285☢️ test_clan_specialArgs286error:287 … from call site288 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/lib/tests.nix:197:14:289 196| {290 197| expr = eval.config.nixosConfigurations.machine2.config.networking.hostName;291 | ^292 198| expected = "dream2nix";293294 … while calling anonymous lambda295 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:1029:18:296 1028| value = mapAttrs (297 1029| n: v:298 | ^299 1030| if lazy then300301 … while evaluating the attribute 'optionalValue.value'302 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1312:5:303 1311|304 1312| optionalValue = if isDefined then { value = mergedValue; } else { };305 | ^306 1313| };307308 … while evaluating a branch condition309 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1312:21:310 1311|311 1312| optionalValue = if isDefined then { value = mergedValue; } else { };312 | ^313 1313| };314315 … while evaluating a branch condition316 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1223:7:317 1222| # above are lazy and thus never forced on this branch.318 1223| if319 | ^320 1224| length defs == 1321322 … in the right operand of the AND (&&) operator323 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1225:9:324 1224| length defs == 1325 1225| && (326 | ^327 1226| let328329 … while evaluating definitions from `/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix':330331 … in the argument of the not operator332 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:333 1229| addErrorContext "while evaluating definitions from `${d.file}':" (334 1230| !(isAttrs d.value && d.value ? _type)335 | ^336 1231| )337338 … in the left operand of the AND (&&) operator339 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:340 1229| addErrorContext "while evaluating definitions from `${d.file}':" (341 1230| !(isAttrs d.value && d.value ? _type)342 | ^343 1231| )344345 … while calling the 'isAttrs' builtin346 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:15:347 1229| addErrorContext "while evaluating definitions from `${d.file}':" (348 1230| !(isAttrs d.value && d.value ? _type)349 | ^350 1231| )351352 … while evaluating the attribute 'value'353 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:969:11:354 968| inherit (def) file;355 969| value = v;356 | ^357 970| }) def.value358359 … from call site360 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:969:11:361 968| inherit (def) file;362 969| value = v;363 | ^364 970| }) def.value365366 … while calling anonymous lambda367 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:92:11:368 91| configurations = lib.mapAttrs (369 92| name: _:370 | ^371 93| let372373 … while evaluating the attribute 'default.nixpkgs'374 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:57:15:375 56| {376 57| inherit nixpkgs;377 | ^378 58| nixpkgsConfig = spec.config;379380 … while evaluating the attribute 'self.inputs.nixpkgs'381 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/top-level-interface.nix:87:13:382 86| // {383 87| inputs = (s.inputs or { }) // {384 | ^385 88| self.clan = config;386387 … while calling the 'throw' builtin388 at /build/nix/store/hnsr7jaiwcjvd6kqylpc3b2af5291z0j-source/modules/clan/module.nix:54:46:389 53| nixpkgs =390 54| config.self.inputs.${spec.input} or (throw "Flake does not have 'input' named '${spec.input}'");391 | ^392 55| in393394 error: Flake does not have 'input' named 'nixpkgs'395396✅ test_fn_clan_core397✅ test_fn_simple398✅ test_get_var_default399✅ test_get_var_machine400✅ test_get_var_shared401✅ test_machines_are_modules402evaluation warning: Argument: 'self' must be set403✅ test_missing_self404✅ test_only_required405✅ test_outputs_clanInternals406✅ test_single_letter_domain407408😢 18/21 successful409error: Tests failed410411Eval check failed. To re-run this test:412 nix build .#legacyPackages.aarch64-linux.evalCheck-eval-lib-build-clan413