evalCheck-eval-lib-exports
default.checks.aarch64-linux.eval-tests
· build #409
· raw
1warning: not writing modified lock file of flake 'path:/nix/store/l2s3q0rcqh6lgf3d04fx5q0bmiwa5l22-source':2• Added input 'data-mesher':3 'path:/nix/store/kdjkigwckgrfz0yg0d9z7kj2xkf084vs-source?lastModified=1&narHash=sha256-Yase/4e4aNN9QvUMqPH9ngbAmlcJCqLmFL0zuURdkuA%3D' (1970-01-01)4• Added input 'data-mesher/flake-parts':5 follows 'flake-parts'6• Added input 'data-mesher/nixpkgs':7 follows 'nixpkgs'8• Added input 'data-mesher/treefmt-nix':9 follows 'treefmt-nix'10• Added input 'disko':11 'path:/nix/store/w2c23ykc12mswlg8hrrjzb5gv9gvkzwq-source?lastModified=1&narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (1970-01-01)12• Added input 'disko/nixpkgs':13 follows 'nixpkgs'14• Added input 'flake-parts':15 'path:/nix/store/lrxvs4l9bqbgjfz7w9bkfg5zqq442jxc-source?lastModified=1&narHash=sha256-4dtXQk/NMePegK/nWp5NSeuZKLATItOq61lpEvmXqGw%3D' (1970-01-01)16• Added input 'flake-parts/nixpkgs-lib':17 follows 'nixpkgs'18• Added input 'nix-darwin':19 'path:/nix/store/8ggr67sci43hlp8ba6rhjrdhhj5490am-source?lastModified=1&narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (1970-01-01)20• Added input 'nix-darwin/nixpkgs':21 follows 'nixpkgs'22• Added input 'nix-select':23 'path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?lastModified=1&narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (1970-01-01)24• Added input 'nixpkgs':25 'path:/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source?lastModified=1&narHash=sha256-tkD1h/1jLJ6qZHjG7/TOZT1qqI1ej3VPPCufHQyv1Uo%3D' (1970-01-01)26• Added input 'sops-nix':27 'path:/nix/store/s154mmk8ahvc71gq8xfkbzlk240yvniv-source?lastModified=1&narHash=sha256-gkig4nPi1CWc4Z50GBsjE4ygSE7hMpl/TwID2an2Cck%3D' (1970-01-01)28• Added input 'sops-nix/nixpkgs':29 follows 'nixpkgs'30• Added input 'systems':31 'path:/nix/store/9m1jsz5b9ggmjij2vkmafnhn26g96jjn-source?lastModified=1&narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (1970-01-01)32• Added input 'treefmt-nix':33 'path:/nix/store/7sjy8935654h3220n5gbaclf5nfw4nzx-source?lastModified=1&narHash=sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE%3D' (1970-01-01)34• Added input 'treefmt-nix/nixpkgs':35 follows 'nixpkgs'36✅ buildScopeKey.test_build_scope_key37✅ buildScopeKey.test_build_scope_key_machine_only38✅ buildScopeKey.test_build_scope_key_service_only39✅ checkExports.test_check_exports40✅ checkExports.test_check_exports_multiple41✅ checkExports.test_check_exports_with_machine42✅ checkScope.test_check_scope_all_parts43✅ checkScope.test_check_scope_simple44✅ checkScope.test_check_scope_with_whitelist45☢️ generators.test_minimal_generator46error:47 … while evaluating the attribute 'runtimeInputsEvaluates'48 at /build/nix/store/l2s3q0rcqh6lgf3d04fx5q0bmiwa5l22-source/lib/exports/test_generators.nix:45:9:49 44| # Depending on pkgs is possible. If not, this would raise an error50 45| runtimeInputsEvaluates = lib.seq (map (thunk: lib.seq thunk true) generator.runtimeInputs) true;51 | ^52 46|5354 … while calling the 'seq' builtin55 at /build/nix/store/l2s3q0rcqh6lgf3d04fx5q0bmiwa5l22-source/lib/exports/test_generators.nix:45:34:56 44| # Depending on pkgs is possible. If not, this would raise an error57 45| runtimeInputsEvaluates = lib.seq (map (thunk: lib.seq thunk true) generator.runtimeInputs) true;58 | ^59 46|6061 … while calling the 'map' builtin62 at /build/nix/store/l2s3q0rcqh6lgf3d04fx5q0bmiwa5l22-source/lib/exports/test_generators.nix:45:43:63 44| # Depending on pkgs is possible. If not, this would raise an error64 45| runtimeInputsEvaluates = lib.seq (map (thunk: lib.seq thunk true) generator.runtimeInputs) true;65 | ^66 46|6768 … from call site69 at /build/nix/store/l2s3q0rcqh6lgf3d04fx5q0bmiwa5l22-source/lib/exports/test_generators.nix:45:75:70 44| # Depending on pkgs is possible. If not, this would raise an error71 45| runtimeInputsEvaluates = lib.seq (map (thunk: lib.seq thunk true) generator.runtimeInputs) true;72 | ^73 46|7475 … while calling anonymous lambda76 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/attrsets.nix:1195:17:77 1194| mapAttrs (78 1195| name: value:79 | ^80 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value8182 … from call site83 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/attrsets.nix:1196:85:84 1195| name: value:85 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value86 | ^87 1197| );8889 … while calling anonymous lambda90 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:282:71:91 281| # For definitions that have an associated option92 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;93 | ^94 283|9596 … while evaluating the attribute 'value'97 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1149:7:98 1148| // {99 1149| value = addErrorContext "while evaluating the option `${showOption loc}':" value;100 | ^101 1150| inherit (res.defsFinal') highestPrio;102103 … while evaluating the option `clanInternals.systems.x86_64-linux.exports.":::".generators.one.runtimeInputs':104105 … while evaluating the attribute 'mergedValue'106 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1246:5:107 1245| # Type-check the remaining definitions, and merge them. Or throw if no definitions.108 1246| mergedValue =109 | ^110 1247| if isDefined then111112 … while evaluating the attribute 'value'113 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:746:13:114 745| headError = checkDefsForError check loc defs;115 746| value = map (x: x.optionalValue.value or x.mergedValue) evals;116 | ^117 747| valueMeta.list = map (v: v.checkedAndMerged.valueMeta) evals;118119 … while calling the 'map' builtin120 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:746:21:121 745| headError = checkDefsForError check loc defs;122 746| value = map (x: x.optionalValue.value or x.mergedValue) evals;123 | ^124 747| valueMeta.list = map (v: v.checkedAndMerged.valueMeta) evals;125126 … while calling the 'filter' builtin127 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:727:21:128 726| let129 727| evals = filter (x: x.optionalValue ? value) (130 | ^131 728| concatLists (132133 … while calling anonymous lambda134 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:727:29:135 726| let136 727| evals = filter (x: x.optionalValue ? value) (137 | ^138 728| concatLists (139140 … while evaluating the attribute 'optionalValue'141 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1312:5:142 1311|143 1312| optionalValue = if isDefined then { value = mergedValue; } else { };144 | ^145 1313| };146147 … while evaluating a branch condition148 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1312:21:149 1311|150 1312| optionalValue = if isDefined then { value = mergedValue; } else { };151 | ^152 1313| };153154 … while evaluating a branch condition155 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1223:7:156 1222| # above are lazy and thus never forced on this branch.157 1223| if158 | ^159 1224| length defs == 1160161 … in the right operand of the AND (&&) operator162 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1225:9:163 1224| length defs == 1164 1225| && (165 | ^166 1226| let167168 … while evaluating definitions from `<unknown-file>, via option exports.":::".generators.one':169170 … in the argument of the not operator171 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:172 1229| addErrorContext "while evaluating definitions from `${d.file}':" (173 1230| !(isAttrs d.value && d.value ? _type)174 | ^175 1231| )176177 … in the left operand of the AND (&&) operator178 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:179 1229| addErrorContext "while evaluating definitions from `${d.file}':" (180 1230| !(isAttrs d.value && d.value ? _type)181 | ^182 1231| )183184 … while calling the 'isAttrs' builtin185 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:15:186 1229| addErrorContext "while evaluating definitions from `${d.file}':" (187 1230| !(isAttrs d.value && d.value ? _type)188 | ^189 1231| )190191 … while evaluating the attribute 'value'192 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/types.nix:736:25:193 735| inherit (def) file;194 736| value = def';195 | ^196 737| }197198 … while calling the 'elemAt' builtin199 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/lists.nix:350:43:200 349| */201 350| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);202 | ^203 351|204205 … from call site206 at /build/nix/store/l2s3q0rcqh6lgf3d04fx5q0bmiwa5l22-source/lib/exports/test_generators.nix:15:33:207 14| {208 15| runtimeInputs = [ config.pkgs.hello ];209 | ^210 16| files.file1 = { };211212 … while calling anonymous lambda213 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/attrsets.nix:1195:17:214 1194| mapAttrs (215 1195| name: value:216 | ^217 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value218219 … from call site220 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/attrsets.nix:1196:85:221 1195| name: value:222 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value223 | ^224 1197| );225226 … while calling anonymous lambda227 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:282:71:228 281| # For definitions that have an associated option229 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;230 | ^231 283|232233 … while evaluating the attribute 'value'234 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1149:7:235 1148| // {236 1149| value = addErrorContext "while evaluating the option `${showOption loc}':" value;237 | ^238 1150| inherit (res.defsFinal') highestPrio;239240 … while evaluating the option `clanInternals.systems.x86_64-linux.exports.":::".generators.one.pkgs':241242 … while evaluating the attribute 'mergedValue'243 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1246:5:244 1245| # Type-check the remaining definitions, and merge them. Or throw if no definitions.245 1246| mergedValue =246 | ^247 1247| if isDefined then248249 … while evaluating a branch condition250 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1247:7:251 1246| mergedValue =252 1247| if isDefined then253 | ^254 1248| if type.merge ? v2 then255256 … while evaluating a branch condition257 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1223:7:258 1222| # above are lazy and thus never forced on this branch.259 1223| if260 | ^261 1224| length defs == 1262263 … in the right operand of the AND (&&) operator264 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1225:9:265 1224| length defs == 1266 1225| && (267 | ^268 1226| let269270 … while evaluating definitions from `/nix/store/l2s3q0rcqh6lgf3d04fx5q0bmiwa5l22-source/modules/clan/module.nix':271272 … in the argument of the not operator273 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:274 1229| addErrorContext "while evaluating definitions from `${d.file}':" (275 1230| !(isAttrs d.value && d.value ? _type)276 | ^277 1231| )278279 … in the left operand of the AND (&&) operator280 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:31:281 1229| addErrorContext "while evaluating definitions from `${d.file}':" (282 1230| !(isAttrs d.value && d.value ? _type)283 | ^284 1231| )285286 … while calling the 'isAttrs' builtin287 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:1230:15:288 1229| addErrorContext "while evaluating definitions from `${d.file}':" (289 1230| !(isAttrs d.value && d.value ? _type)290 | ^291 1231| )292293 … while evaluating the attribute 'value'294 at /build/nix/store/p17akwn814w226jq2cdkkhcw4psb0ga9-source/lib/modules.nix:851:21:295 850| inherit (module) file;296 851| inherit value;297 | ^298 852| }) module.config299300 error: attribute 'x86_64-linux' missing301 at /build/nix/store/l2s3q0rcqh6lgf3d04fx5q0bmiwa5l22-source/modules/clan/module.nix:76:14:302 75| # inherit system;303 76| pkgs = nixpkgsMatrix.default.${system};304 | ^305 77| };306307✅ getExport.test_get_export308✅ getExport.test_get_export_machine_level309✅ getExport.test_get_export_service_level310✅ integration.test_simple311✅ integration.test_unused_interfaces_are_null312✅ integration.test_unused_interfaces_are_null_peer313✅ parseScope.test_parse_scope_full314✅ parseScope.test_parse_scope_global315✅ parseScope.test_parse_scope_simple316✅ selectExports.test_select_exports317✅ selectExports.test_select_exports_by_machine318✅ selectExports.test_select_exports_by_query319✅ selectExports.test_select_exports_by_service_only320321😢 22/23 successful322error: Tests failed323324Eval check failed. To re-run this test:325 nix build .#legacyPackages.aarch64-linux.evalCheck-eval-lib-exports326