nixbot

builds

failed nix-unit-check x86_64-linux.nix-unit · build #58 · raw

1out=/nix/store/1nv8y7z0pd0k9f7amyf07bb64wn1yz3q-nix-unit-check2Running tests for x86_64-linux3warning: `--gc-roots-dir' not specified4warning: not writing modified lock file of flake 'path:/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source':5Updated input 'clan-core':6 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=5cf3efca371d3fbcc6ac0a1bf84edb79629dd0fd' (2026-07-22)7 → 'path:/nix/store/y8hw0fq81igisgvc73z6skgrzblmswl8-source?lastModified=1&narHash=sha256-OzvNtZUPrYeQqOO7TZd4iup3i9NeQesK1UmKIQLHaao%3D' (1970-01-01)8Updated input 'ethereum-nix':9 'github:nix-community/ethereum.nix/12621446ed2cc4a0840bbc9de1a96baef84cce28?narHash=sha256-LV5%2BM47NCQj2vUk%2BJ1vah3kKDfix7J3eUbrC2Q8e8KI%3D' (2026-07-21)10 → 'path:/nix/store/qd8pvn5zijd87gkfwc2hknqj8cvdicbk-source?lastModified=1&narHash=sha256-LV5%2BM47NCQj2vUk%2BJ1vah3kKDfix7J3eUbrC2Q8e8KI%3D' (1970-01-01)11Updated input 'flake-parts':12 follows 'clan-core/flake-parts'13 → 'path:/nix/store/xfg4bws749i95jvnxhymxmfwailzk38q-source?lastModified=1&narHash=sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w%2B6NWK9yA%3D' (1970-01-01)14Added input 'flake-parts/nixpkgs-lib':15 'github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D' (2026-06-28)16Updated input 'nix-unit':17 'github:nix-community/nix-unit/21a5496ae32b16b73601ef835b9f6497b19024dc?narHash=sha256-eXyZw2ddCKT5xMY8SDnV6lkr61zvSc7CNJeJSAjKqN4%3D' (2026-07-16)18 → 'path:/nix/store/8cm9f310i77mqdaz579p48pgq229kbdy-source?lastModified=1&narHash=sha256-eXyZw2ddCKT5xMY8SDnV6lkr61zvSc7CNJeJSAjKqN4%3D' (1970-01-01)19Updated input 'nix-unit/nixpkgs':20 'github:NixOS/nixpkgs/421eebfd0ec7bccd4abe826ce62d7e6e83129493?narHash=sha256-/FCliTPgiuV1owejZFNx3Ch9irdvkOfOFl%2BHHZ%2BDrtM%3D' (2026-07-20)21 → 'github:NixOS/nixpkgs/35d3407a3816f3b341d8cf1d60abaf2b7b8166ac?narHash=sha256-BoYPdqk6jlKXy%2BDyUzyGV/CtRGfAhk2MmIgBhsemTGI%3D' (2026-07-15)22Updated input 'nixpkgs':23 follows 'clan-core/nixpkgs'24 → 'path:/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source?lastModified=1&narHash=sha256-hCafbexZ0iZ/7QYkKWxCxviTU%2Bc0PDhkieiUVVPCHtY%3D' (1970-01-01)25unpacking 'github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D' into the Git cache...26unpacking 'github:numtide/treefmt-nix/df3c0640565d04a0261253cdd89fce78ec50168a?narHash=sha256-47cxbcZODibHv3rELFQ9vZly0vUNkND/atn/U7HLeb0%3D' into the Git cache...27✅ system-agnostic.dvt-ecl-adapters.besu.test devnet (network = null) passes null through28✅ system-agnostic.dvt-ecl-adapters.besu.test network is passed through from the clan service29✅ system-agnostic.dvt-ecl-adapters.erigon.test chain is passed through from the clan service30✅ system-agnostic.dvt-ecl-adapters.erigon.test devnet (network = null) falls back to the module default31✅ system-agnostic.dvt-ecl-adapters.geth.test devnet (network = null) passes null through32✅ system-agnostic.dvt-ecl-adapters.geth.test network is passed through from the clan service33✅ system-agnostic.dvt-ecl-adapters.grandine.test checkpointSyncUrl is passed through from the clan service34✅ system-agnostic.dvt-ecl-adapters.grandine.test devnet (network = null) falls back to the module default35✅ system-agnostic.dvt-ecl-adapters.grandine.test network is passed through from the clan service36✅ system-agnostic.dvt-ecl-adapters.grandine.test unset checkpointSyncUrl leaves the option at its null default37unpacking 'github:numtide/blueprint/56131e8628f173d24a27f6d27c0215eff57e40dd?narHash=sha256-Dt9t1TGRmJFc0xVYhttNBD6QsAgHOHCArqGa0AyjrJY%3D' into the Git cache...38✅ system-agnostic.dvt-ecl-adapters.lighthouse.test checkpointSyncUrl is passed through from the clan service39✅ system-agnostic.dvt-ecl-adapters.lighthouse.test devnet (network = null) passes null through40✅ system-agnostic.dvt-ecl-adapters.lighthouse.test directPeering adds boot-nodes for dialing peers41✅ system-agnostic.dvt-ecl-adapters.lighthouse.test directPeering adds trusted-peers for each peer42✅ system-agnostic.dvt-ecl-adapters.lighthouse.test network is passed through from the clan service43✅ system-agnostic.dvt-ecl-adapters.lighthouse.test no trusted-peers flag when directPeering is disabled44✅ system-agnostic.dvt-ecl-adapters.lighthouse.test unset checkpointSyncUrl adds no checkpoint flag to extraArgs45✅ system-agnostic.dvt-ecl-adapters.lodestar.test checkpointSyncUrl is passed through from the clan service46✅ system-agnostic.dvt-ecl-adapters.lodestar.test devnet (network = null) falls back to the module default47✅ system-agnostic.dvt-ecl-adapters.lodestar.test network is passed through from the clan service48✅ system-agnostic.dvt-ecl-adapters.lodestar.test unset checkpointSyncUrl leaves the option at its null default49✅ system-agnostic.dvt-ecl-adapters.memory.test adapters default EL and CL budgets to upstream guidance50✅ system-agnostic.dvt-ecl-adapters.memory.test adapters put the client in the per-network child slice51✅ system-agnostic.dvt-ecl-adapters.memory.test cgroupLimits maps request and limit verbatim52✅ system-agnostic.dvt-ecl-adapters.memory.test cgroupLimits passes a slice through as Slice53✅ system-agnostic.dvt-ecl-adapters.memory.test cgroupLimits with only a limit sets no MemoryMin54✅ system-agnostic.dvt-ecl-adapters.memory.test cgroupLimits with only a request sets no MemoryMax55✅ system-agnostic.dvt-ecl-adapters.memory.test explicit -Xmx in jvmOpts wins over the derived heap56✅ system-agnostic.dvt-ecl-adapters.memory.test heapMiB is 80 percent of the process budget57✅ system-agnostic.dvt-ecl-adapters.memory.test inventory memory settings override the adapter defaults58✅ system-agnostic.dvt-ecl-adapters.memory.test lighthouse overlay applies the budget to the unit59✅ system-agnostic.dvt-ecl-adapters.memory.test limit without request sets only the kill line60✅ system-agnostic.dvt-ecl-adapters.memory.test request above limit trips the assertion61✅ system-agnostic.dvt-ecl-adapters.memory.test request without limit sets no MemoryMax62✅ system-agnostic.dvt-ecl-adapters.memory."test resources.memory.request keeps non-heap jvmOpts and appends -Xmx"63✅ system-agnostic.dvt-ecl-adapters.memory.test teku memory derives -Xmx from request and maps the cgroup pair64✅ system-agnostic.dvt-ecl-adapters.memory.test unset memory leaves the unit unconstrained65✅ system-agnostic.dvt-ecl-adapters.nethermind.test chainspec is selected from the packaged chainspecs66✅ system-agnostic.dvt-ecl-adapters.nethermind.test devnet (network = null) sets no chainspec67✅ system-agnostic.dvt-ecl-adapters.nethermind.test fast and snap sync are enabled by default68✅ system-agnostic.dvt-ecl-adapters.nimbus.test checkpointSyncUrl is passed through from the clan service69✅ system-agnostic.dvt-ecl-adapters.nimbus.test devnet (network = null) falls back to the module default70✅ system-agnostic.dvt-ecl-adapters.nimbus.test network is passed through from the clan service71✅ system-agnostic.dvt-ecl-adapters.nimbus.test unset checkpointSyncUrl leaves the option at its null default72✅ system-agnostic.dvt-ecl-adapters.prysm.test checkpointSyncUrl also feeds genesis-beacon-api-url73✅ system-agnostic.dvt-ecl-adapters.prysm.test checkpointSyncUrl is passed through from the clan service74✅ system-agnostic.dvt-ecl-adapters.prysm.test devnet (network = null) passes null through75✅ system-agnostic.dvt-ecl-adapters.prysm.test network is passed through from the clan service76✅ system-agnostic.dvt-ecl-adapters.prysm.test unset checkpointSyncUrl leaves the option at its null default77✅ system-agnostic.dvt-ecl-adapters.reth.test chain is passed through from the clan service78✅ system-agnostic.dvt-ecl-adapters.reth.test devnet (network = null) falls back to the module default79✅ system-agnostic.dvt-ecl-adapters.teku.test checkpointSyncUrl is passed through from the clan service80✅ system-agnostic.dvt-ecl-adapters.teku.test devnet (network = null) falls back to the module default81✅ system-agnostic.dvt-ecl-adapters.teku.test network is passed through from the clan service82✅ system-agnostic.dvt-ecl-adapters.teku.test unset checkpointSyncUrl leaves the option at its null default83✅ system-agnostic.dvt-lib.beacon.test co-located machine yields the local beacon address84✅ system-agnostic.dvt-lib.beacon.test honours a non-default beacon rest port85✅ system-agnostic.dvt-lib.beacon.test signer-only machine yields null86✅ system-agnostic.dvt-lib.wg.canonAddrOf.test equals canonicalizeIPv6 of the raw addrOf form87✅ system-agnostic.dvt-lib.wg.canonAddrOf.test matches the canonical hash-derived admin address88✅ system-agnostic.dvt-lib.wg.canonicalizeIPv6.test collapses a leading zero run89✅ system-agnostic.dvt-lib.wg.canonicalizeIPv6.test collapses a trailing zero run90✅ system-agnostic.dvt-lib.wg.canonicalizeIPv6.test collapses only the longest zero run, leaving a lone zero literal91✅ system-agnostic.dvt-lib.wg.canonicalizeIPv6.test collapses the fixed prefix zero run92✅ system-agnostic.dvt-lib.wg.canonicalizeIPv6.test leaves an address with no zero run untouched93✅ system-agnostic.dvt-lib.wg.canonicalizeIPv6.test strips a single per-hextet leading zero94✅ system-agnostic.dvt-lib.wg.canonicalizeIPv6.test strips multiple leading zeros within a hextet95evaluation warning: system.stateVersion is not set, defaulting to 26.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.96✅ system-agnostic.dvt-resource-guard.guard.test MemoryMin is preferred over MemoryMax as the reservation97evaluation warning: system.stateVersion is not set, defaulting to 26.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.98✅ system-agnostic.dvt-resource-guard.guard."test a slice-less unit protects system.slice"99evaluation warning: system.stateVersion is not set, defaulting to 26.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.100✅ system-agnostic.dvt-resource-guard.guard.test infinity is unbounded, not unparseable101✅ system-agnostic.dvt-resource-guard.guard.test machines without a facter report skip the check102evaluation warning: system.stateVersion is not set, defaulting to 26.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.103✅ system-agnostic.dvt-resource-guard.guard.test nested slices carry subtree sums104evaluation warning: system.stateVersion is not set, defaulting to 26.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.105☢️ system-agnostic.dvt-resource-guard.guard.test over-provisioned reservations fail with a breakdown106error:107 … while evaluating the attribute 'assertion'108 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:147:25:109 146| {110 147| inherit (our) assertion;111 | ^112 148| breakdown = lib.hasInfix "el: 10240 MiB (MemoryMin)" our.message;113114 … from call site115 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:144:17:116 143| };117 144| our = lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions;118 | ^119 145| in120121 … while calling 'findFirst'122 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:649:20:123 648| findFirst =124 649| pred: default: list:125 | ^126 650| let127128 … while evaluating a branch condition129 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:653:5:130 652| in131 653| if index == null then default else elemAt list index;132 | ^133 654|134135 … from call site136 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:651:15:137 650| let138 651| index = findFirstIndex pred null list;139 | ^140 652| in141142 … while calling 'findFirstIndex'143 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:579:20:144 578| findFirstIndex =145 579| pred: default: list:146 | ^147 580| let148149 … while evaluating a branch condition150 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:609:5:151 608| in152 609| if resultIndex < 0 then default else resultIndex;153 | ^154 610|155156 … while calling the 'lessThan' builtin157 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:609:20:158 608| in159 609| if resultIndex < 0 then default else resultIndex;160 | ^161 610|162163 … while calling the 'foldl'' builtin164 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:594:21:165 593| # We start with index -1 and the 0'th element of the list, which satisfies the invariant166 594| resultIndex = foldl' (167 | ^168 595| index: el:169170 … while calling anonymous lambda171 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:595:16:172 594| resultIndex = foldl' (173 595| index: el:174 | ^175 596| if index < 0 then176177 … while evaluating a branch condition178 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:598:11:179 597| # No match yet before the current index, we need to check the element180 598| if pred el then181 | ^182 599| # We have a match! Turn it into the actual index to prevent future iterations from modifying it183184 … from call site185 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:598:14:186 597| # No match yet before the current index, we need to check the element187 598| if pred el then188 | ^189 599| # We have a match! Turn it into the actual index to prevent future iterations from modifying it190191 … while calling anonymous lambda192 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:144:32:193 143| };194 144| our = lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions;195 | ^196 145| in197198 … from call site199 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:144:35:200 143| };201 144| our = lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions;202 | ^203 145| in204205 … while calling anonymous lambda206 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/strings.nix:918:7:207 917| else208 918| content: builtins.match ".*${escapedInfix}.*" "${content}" != null;209 | ^210 919|211212 … while calling the 'match' builtin213 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/strings.nix:918:16:214 917| else215 918| content: builtins.match ".*${escapedInfix}.*" "${content}" != null;216 | ^217 919|218219 … while evaluating the second argument passed to builtins.match220221 … while evaluating the attribute 'message'222 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:153:7:223 152| assertion = reservationTotal + reservedMiB <= capacityMiB;224 153| message = ''225 | ^226 154| dvt.resources.memory: machine is over-provisioned. Memory reservations total227228 … while calling the 'toString' builtin229 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:155:61:230 154| dvt.resources.memory: machine is over-provisioned. Memory reservations total231 155| ${toString reservationTotal} MiB + systemReserved ${toString reservedMiB} MiB232 | ^233 156| exceed the ${toString capacityMiB} MiB of physical RAM in the facter234235 … from call site236 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:38:17:237 37| capacityMiB = guardLib.facterMemoryMiB report;238 38| reservedMiB = cfg.systemReserved;239 | ^240 39|241242 … while calling anonymous lambda243 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1187:17:244 1186| mapAttrs (245 1187| name: value:246 | ^247 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value248249 … while evaluating a branch condition250 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:11:251 1187| name: value:252 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value253 | ^254 1189| );255256 … in the left operand of the AND (&&) operator257 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:28:258 1187| name: value:259 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value260 | ^261 1189| );262263 … while calling the 'isAttrs' builtin264 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:14:265 1187| name: value:266 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value267 | ^268 1189| );269270 … while calling anonymous lambda271 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:925:37:272 924|273 925| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;274 | ^275 926|276277 … while evaluating the attribute 'matchedOptions'278 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:891:13:279 890| {280 891| matchedOptions = evalOptionValue loc opt defns';281 | ^282 892| unmatchedDefns = [ ];283284 … from call site285 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:891:30:286 890| {287 891| matchedOptions = evalOptionValue loc opt defns';288 | ^289 892| unmatchedDefns = [ ];290291 … while calling 'evalOptionValue'292 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1101:15:293 1100| evalOptionValue =294 1101| loc: opt: defs:295 | ^296 1102| let297298 … in the left operand of the update (//) operator299 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1145:5:300 1144| in301 1145| warnDeprecation opt302 | ^303 1146| // {304305 … while evaluating a branch condition306 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1139:9:307 1138| warnDeprecation =308 1139| if (opt.type.deprecationMessage != null) then309 | ^310 1140| warn "The type `types.${opt.type.name}' of option `${showOption loc}' defined in ${showFiles opt.declarations} is deprecated. ${opt.type.deprecationMessage}"311312 … from call site313 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:888:19:314 887| let315 888| opt = fixupOptionType loc (mergeOptionDecls loc decls);316 | ^317 889| in318319 … while calling 'fixupOptionType'320 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1471:10:321 1470| fixupOptionType =322 1471| loc: opt:323 | ^324 1472| if opt.type.getSubModules or null == null then325326 … while evaluating a branch condition327 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1472:5:328 1471| loc: opt:329 1472| if opt.type.getSubModules or null == null then330 | ^331 1473| opt // { type = opt.type or types.unspecified; }332333 … while evaluating the attribute 'type.getSubModules'334 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:100:7:335 99| systemReserved = lib.mkOption {336 100| type = resourceLib.memoryType;337 | ^338 101| default = 1024;339340 error: attribute 'memoryType' missing341 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:100:14:342 99| systemReserved = lib.mkOption {343 100| type = resourceLib.memoryType;344 | ^345 101| default = 1024;346347evaluation warning: system.stateVersion is not set, defaulting to 26.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.348☢️ system-agnostic.dvt-resource-guard.guard.test overcommitted ceilings warn but do not fail349error:350 … while evaluating the attribute 'assertion'351 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:233:11:352 232| {353 233| assertion = guardAssertion cfg;354 | ^355 234| burstWarning = lib.any (w: lib.hasInfix "runs out of memory" w) cfg.warnings;356357 … from call site358 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:233:23:359 232| {360 233| assertion = guardAssertion cfg;361 | ^362 234| burstWarning = lib.any (w: lib.hasInfix "runs out of memory" w) cfg.warnings;363364 … while calling 'guardAssertion'365 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:58:5:366 57| guardAssertion =367 58| cfg:368 | ^369 59| (lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions).assertion;370371 … from call site372 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:59:6:373 58| cfg:374 59| (lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions).assertion;375 | ^376 60| in377378 … while calling 'findFirst'379 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:649:20:380 648| findFirst =381 649| pred: default: list:382 | ^383 650| let384385 … while evaluating a branch condition386 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:653:5:387 652| in388 653| if index == null then default else elemAt list index;389 | ^390 654|391392 … from call site393 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:651:15:394 650| let395 651| index = findFirstIndex pred null list;396 | ^397 652| in398399 … while calling 'findFirstIndex'400 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:579:20:401 578| findFirstIndex =402 579| pred: default: list:403 | ^404 580| let405406 … while evaluating a branch condition407 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:609:5:408 608| in409 609| if resultIndex < 0 then default else resultIndex;410 | ^411 610|412413 … while calling the 'lessThan' builtin414 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:609:20:415 608| in416 609| if resultIndex < 0 then default else resultIndex;417 | ^418 610|419420 … while calling the 'foldl'' builtin421 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:594:21:422 593| # We start with index -1 and the 0'th element of the list, which satisfies the invariant423 594| resultIndex = foldl' (424 | ^425 595| index: el:426427 … while calling anonymous lambda428 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:595:16:429 594| resultIndex = foldl' (430 595| index: el:431 | ^432 596| if index < 0 then433434 … while evaluating a branch condition435 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:598:11:436 597| # No match yet before the current index, we need to check the element437 598| if pred el then438 | ^439 599| # We have a match! Turn it into the actual index to prevent future iterations from modifying it440441 … from call site442 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:598:14:443 597| # No match yet before the current index, we need to check the element444 598| if pred el then445 | ^446 599| # We have a match! Turn it into the actual index to prevent future iterations from modifying it447448 … while calling anonymous lambda449 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:59:21:450 58| cfg:451 59| (lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions).assertion;452 | ^453 60| in454455 … from call site456 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:59:24:457 58| cfg:458 59| (lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions).assertion;459 | ^460 60| in461462 … while calling anonymous lambda463 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/strings.nix:918:7:464 917| else465 918| content: builtins.match ".*${escapedInfix}.*" "${content}" != null;466 | ^467 919|468469 … while calling the 'match' builtin470 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/strings.nix:918:16:471 917| else472 918| content: builtins.match ".*${escapedInfix}.*" "${content}" != null;473 | ^474 919|475476 … while evaluating the second argument passed to builtins.match477478 … while evaluating the attribute 'message'479 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:153:7:480 152| assertion = reservationTotal + reservedMiB <= capacityMiB;481 153| message = ''482 | ^483 154| dvt.resources.memory: machine is over-provisioned. Memory reservations total484485 … while calling the 'toString' builtin486 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:155:61:487 154| dvt.resources.memory: machine is over-provisioned. Memory reservations total488 155| ${toString reservationTotal} MiB + systemReserved ${toString reservedMiB} MiB489 | ^490 156| exceed the ${toString capacityMiB} MiB of physical RAM in the facter491492 … from call site493 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:38:17:494 37| capacityMiB = guardLib.facterMemoryMiB report;495 38| reservedMiB = cfg.systemReserved;496 | ^497 39|498499 … while calling anonymous lambda500 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1187:17:501 1186| mapAttrs (502 1187| name: value:503 | ^504 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value505506 … while evaluating a branch condition507 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:11:508 1187| name: value:509 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value510 | ^511 1189| );512513 … in the left operand of the AND (&&) operator514 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:28:515 1187| name: value:516 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value517 | ^518 1189| );519520 … while calling the 'isAttrs' builtin521 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:14:522 1187| name: value:523 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value524 | ^525 1189| );526527 … while calling anonymous lambda528 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:925:37:529 924|530 925| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;531 | ^532 926|533534 … while evaluating the attribute 'matchedOptions'535 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:891:13:536 890| {537 891| matchedOptions = evalOptionValue loc opt defns';538 | ^539 892| unmatchedDefns = [ ];540541 … from call site542 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:891:30:543 890| {544 891| matchedOptions = evalOptionValue loc opt defns';545 | ^546 892| unmatchedDefns = [ ];547548 … while calling 'evalOptionValue'549 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1101:15:550 1100| evalOptionValue =551 1101| loc: opt: defs:552 | ^553 1102| let554555 … in the left operand of the update (//) operator556 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1145:5:557 1144| in558 1145| warnDeprecation opt559 | ^560 1146| // {561562 … while evaluating a branch condition563 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1139:9:564 1138| warnDeprecation =565 1139| if (opt.type.deprecationMessage != null) then566 | ^567 1140| warn "The type `types.${opt.type.name}' of option `${showOption loc}' defined in ${showFiles opt.declarations} is deprecated. ${opt.type.deprecationMessage}"568569 … from call site570 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:888:19:571 887| let572 888| opt = fixupOptionType loc (mergeOptionDecls loc decls);573 | ^574 889| in575576 … while calling 'fixupOptionType'577 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1471:10:578 1470| fixupOptionType =579 1471| loc: opt:580 | ^581 1472| if opt.type.getSubModules or null == null then582583 … while evaluating a branch condition584 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1472:5:585 1471| loc: opt:586 1472| if opt.type.getSubModules or null == null then587 | ^588 1473| opt // { type = opt.type or types.unspecified; }589590 … while evaluating the attribute 'type.getSubModules'591 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:100:7:592 99| systemReserved = lib.mkOption {593 100| type = resourceLib.memoryType;594 | ^595 101| default = 1024;596597 error: attribute 'memoryType' missing598 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:100:14:599 99| systemReserved = lib.mkOption {600 100| type = resourceLib.memoryType;601 | ^602 101| default = 1024;603604evaluation warning: system.stateVersion is not set, defaulting to 26.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.605☢️ system-agnostic.dvt-resource-guard.guard.test reservations that fit pass the assertion606error:607 … from call site608 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:126:14:609 125| "test reservations that fit pass the assertion" = {610 126| expr = guardAssertion (guardFor {611 | ^612 127| units = {613614 … while calling 'guardAssertion'615 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:58:5:616 57| guardAssertion =617 58| cfg:618 | ^619 59| (lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions).assertion;620621 … from call site622 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:59:6:623 58| cfg:624 59| (lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions).assertion;625 | ^626 60| in627628 … while calling 'findFirst'629 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:649:20:630 648| findFirst =631 649| pred: default: list:632 | ^633 650| let634635 … while evaluating a branch condition636 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:653:5:637 652| in638 653| if index == null then default else elemAt list index;639 | ^640 654|641642 … from call site643 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:651:15:644 650| let645 651| index = findFirstIndex pred null list;646 | ^647 652| in648649 … while calling 'findFirstIndex'650 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:579:20:651 578| findFirstIndex =652 579| pred: default: list:653 | ^654 580| let655656 … while evaluating a branch condition657 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:609:5:658 608| in659 609| if resultIndex < 0 then default else resultIndex;660 | ^661 610|662663 … while calling the 'lessThan' builtin664 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:609:20:665 608| in666 609| if resultIndex < 0 then default else resultIndex;667 | ^668 610|669670 … while calling the 'foldl'' builtin671 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:594:21:672 593| # We start with index -1 and the 0'th element of the list, which satisfies the invariant673 594| resultIndex = foldl' (674 | ^675 595| index: el:676677 … while calling anonymous lambda678 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:595:16:679 594| resultIndex = foldl' (680 595| index: el:681 | ^682 596| if index < 0 then683684 … while evaluating a branch condition685 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:598:11:686 597| # No match yet before the current index, we need to check the element687 598| if pred el then688 | ^689 599| # We have a match! Turn it into the actual index to prevent future iterations from modifying it690691 … from call site692 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/lists.nix:598:14:693 597| # No match yet before the current index, we need to check the element694 598| if pred el then695 | ^696 599| # We have a match! Turn it into the actual index to prevent future iterations from modifying it697698 … while calling anonymous lambda699 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:59:21:700 58| cfg:701 59| (lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions).assertion;702 | ^703 60| in704705 … from call site706 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:59:24:707 58| cfg:708 59| (lib.findFirst (a: lib.hasInfix "dvt.resources.memory" a.message) null cfg.assertions).assertion;709 | ^710 60| in711712 … while calling anonymous lambda713 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/strings.nix:918:7:714 917| else715 918| content: builtins.match ".*${escapedInfix}.*" "${content}" != null;716 | ^717 919|718719 … while calling the 'match' builtin720 at «github:nix-community/nixpkgs.lib/db3f255737b94216eb71cce308e2912cf6bc2d7c?narHash=sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC%2BeBu2zKlp8%3D»/lib/strings.nix:918:16:721 917| else722 918| content: builtins.match ".*${escapedInfix}.*" "${content}" != null;723 | ^724 919|725726 … while evaluating the second argument passed to builtins.match727728 … while evaluating the attribute 'message'729 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:153:7:730 152| assertion = reservationTotal + reservedMiB <= capacityMiB;731 153| message = ''732 | ^733 154| dvt.resources.memory: machine is over-provisioned. Memory reservations total734735 … while calling the 'toString' builtin736 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:155:61:737 154| dvt.resources.memory: machine is over-provisioned. Memory reservations total738 155| ${toString reservationTotal} MiB + systemReserved ${toString reservedMiB} MiB739 | ^740 156| exceed the ${toString capacityMiB} MiB of physical RAM in the facter741742 … from call site743 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:38:17:744 37| capacityMiB = guardLib.facterMemoryMiB report;745 38| reservedMiB = cfg.systemReserved;746 | ^747 39|748749 … while calling anonymous lambda750 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1187:17:751 1186| mapAttrs (752 1187| name: value:753 | ^754 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value755756 … while evaluating a branch condition757 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:11:758 1187| name: value:759 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value760 | ^761 1189| );762763 … in the left operand of the AND (&&) operator764 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:28:765 1187| name: value:766 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value767 | ^768 1189| );769770 … while calling the 'isAttrs' builtin771 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:14:772 1187| name: value:773 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value774 | ^775 1189| );776777 … while calling anonymous lambda778 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:925:37:779 924|780 925| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;781 | ^782 926|783784 … while evaluating the attribute 'matchedOptions'785 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:891:13:786 890| {787 891| matchedOptions = evalOptionValue loc opt defns';788 | ^789 892| unmatchedDefns = [ ];790791 … from call site792 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:891:30:793 890| {794 891| matchedOptions = evalOptionValue loc opt defns';795 | ^796 892| unmatchedDefns = [ ];797798 … while calling 'evalOptionValue'799 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1101:15:800 1100| evalOptionValue =801 1101| loc: opt: defs:802 | ^803 1102| let804805 … in the left operand of the update (//) operator806 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1145:5:807 1144| in808 1145| warnDeprecation opt809 | ^810 1146| // {811812 … while evaluating a branch condition813 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1139:9:814 1138| warnDeprecation =815 1139| if (opt.type.deprecationMessage != null) then816 | ^817 1140| warn "The type `types.${opt.type.name}' of option `${showOption loc}' defined in ${showFiles opt.declarations} is deprecated. ${opt.type.deprecationMessage}"818819 … from call site820 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:888:19:821 887| let822 888| opt = fixupOptionType loc (mergeOptionDecls loc decls);823 | ^824 889| in825826 … while calling 'fixupOptionType'827 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1471:10:828 1470| fixupOptionType =829 1471| loc: opt:830 | ^831 1472| if opt.type.getSubModules or null == null then832833 … while evaluating a branch condition834 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1472:5:835 1471| loc: opt:836 1472| if opt.type.getSubModules or null == null then837 | ^838 1473| opt // { type = opt.type or types.unspecified; }839840 … while evaluating the attribute 'type.getSubModules'841 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:100:7:842 99| systemReserved = lib.mkOption {843 100| type = resourceLib.memoryType;844 | ^845 101| default = 1024;846847 error: attribute 'memoryType' missing848 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:100:14:849 99| systemReserved = lib.mkOption {850 100| type = resourceLib.memoryType;851 | ^852 101| default = 1024;853854evaluation warning: system.stateVersion is not set, defaulting to 26.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.855☢️ system-agnostic.dvt-resource-guard.guard.test unparseable limits are surfaced as a warning856error:857 … while evaluating the attribute 'warned'858 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:248:11:859 247| {860 248| warned = lib.any (w: lib.hasInfix "could not parse" w) cfg.warnings;861 | ^862 249| listed = cfg.dvt.resources.memory.accounting.unparseable;863864 … while calling the 'any' builtin865 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:248:20:866 247| {867 248| warned = lib.any (w: lib.hasInfix "could not parse" w) cfg.warnings;868 | ^869 249| listed = cfg.dvt.resources.memory.accounting.unparseable;870871 … from call site872 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/guard.unit.nix:248:66:873 247| {874 248| warned = lib.any (w: lib.hasInfix "could not parse" w) cfg.warnings;875 | ^876 249| listed = cfg.dvt.resources.memory.accounting.unparseable;877878 … while calling anonymous lambda879 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1187:17:880 1186| mapAttrs (881 1187| name: value:882 | ^883 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value884885 … from call site886 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:85:887 1187| name: value:888 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value889 | ^890 1189| );891892 … while calling anonymous lambda893 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:283:71:894 282| # For definitions that have an associated option895 283| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;896 | ^897 284|898899 … while evaluating the attribute 'value'900 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1147:7:901 1146| // {902 1147| value = addErrorContext "while evaluating the option `${showOption loc}':" value;903 | ^904 1148| inherit (res.defsFinal') highestPrio;905906 … while evaluating the option `warnings':907908 … while evaluating the attribute 'mergedValue'909 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1244:5:910 1243| # Type-check the remaining definitions, and merge them. Or throw if no definitions.911 1244| mergedValue =912 | ^913 1245| if isDefined then914915 … while evaluating a branch condition916 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1245:7:917 1244| mergedValue =918 1245| if isDefined then919 | ^920 1246| if type.merge ? v2 then921922 … while evaluating the attribute 'values'923 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1238:11:924 1237| {925 1238| values = defsSorted;926 | ^927 1239| inherit (defsFiltered) highestPrio;928929 … while evaluating a branch condition930 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1209:11:931 1208| # Avoid sorting if we don't have to.932 1209| if any (def: def.value._type or "" == "order") defsFiltered.values then933 | ^934 1210| sortProperties defsFiltered.values935936 … while calling the 'any' builtin937 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1209:14:938 1208| # Avoid sorting if we don't have to.939 1209| if any (def: def.value._type or "" == "order") defsFiltered.values then940 | ^941 1210| sortProperties defsFiltered.values942943 … from call site944 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1204:24:945 1203| # Process mkOverride properties.946 1204| defsFiltered = filterOverrides' defsNormalized;947 | ^948 1205|949950 … while calling anonymous lambda951 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1422:5:952 1421| in953 1422| defs:954 | ^955 1423| # Optimize for the singleton case, equivalent to the `else` clause.956957 … while evaluating a branch condition958 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1424:5:959 1423| # Optimize for the singleton case, equivalent to the `else` clause.960 1424| if length defs == 1 then961 | ^962 1425| {963964 … while calling the 'length' builtin965 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1424:8:966 1423| # Optimize for the singleton case, equivalent to the `else` clause.967 1424| if length defs == 1 then968 | ^969 1425| {970971 … while calling the 'concatMap' builtin972 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1189:26:973 1188| # Process mkMerge and mkIf properties.974 1189| defsNormalized = concatMap (975 | ^976 1190| m:977978 … while calling anonymous lambda979 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1190:11:980 1189| defsNormalized = concatMap (981 1190| m:982 | ^983 1191| map (984985 … while calling the 'map' builtin986 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1191:11:987 1190| m:988 1191| map (989 | ^990 1192| value:991992 … while evaluating definitions from `/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/flake-module.nix, via option flake.nixosModules.resource-guard':993994 … from call site995 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1200:80:996 1199| }997 1200| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))998 | ^999 1201| ) defs;10001001 … while calling 'dischargeProperties'1002 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1376:5:1003 1375| dischargeProperties =1004 1376| def:1005 | ^1006 1377| if def._type or "" == "merge" then10071008 … while evaluating a branch condition1009 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1377:5:1010 1376| def:1011 1377| if def._type or "" == "merge" then1012 | ^1013 1378| concatMap dischargeProperties def.contents10141015 … while evaluating the attribute 'value'1016 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:849:21:1017 848| inherit (module) file;1018 849| inherit value;1019 | ^1020 850| }) module.config10211022 … from call site1023 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:166:7:1024 165| warnings =1025 166| lib.optional (active && ceilingTotal + reservedMiB > capacityMiB) ''1026 | ^1027 167| dvt.resources.memory: MemoryMax ceilings total ${toString ceilingTotal} MiB10281029 … while calling 'optional'1030 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/lists.nix:785:20:1031 784| */1032 785| optional = cond: elem: if cond then [ elem ] else [ ];1033 | ^1034 786|10351036 … while evaluating a branch condition1037 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/lists.nix:785:26:1038 784| */1039 785| optional = cond: elem: if cond then [ elem ] else [ ];1040 | ^1041 786|10421043 … in the right operand of the AND (&&) operator1044 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:166:28:1045 165| warnings =1046 166| lib.optional (active && ceilingTotal + reservedMiB > capacityMiB) ''1047 | ^1048 167| dvt.resources.memory: MemoryMax ceilings total ${toString ceilingTotal} MiB10491050 … while calling the 'lessThan' builtin1051 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:166:58:1052 165| warnings =1053 166| lib.optional (active && ceilingTotal + reservedMiB > capacityMiB) ''1054 | ^1055 167| dvt.resources.memory: MemoryMax ceilings total ${toString ceilingTotal} MiB10561057 … from call site1058 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:38:17:1059 37| capacityMiB = guardLib.facterMemoryMiB report;1060 38| reservedMiB = cfg.systemReserved;1061 | ^1062 39|10631064 … while calling anonymous lambda1065 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1187:17:1066 1186| mapAttrs (1067 1187| name: value:1068 | ^1069 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value10701071 … while evaluating a branch condition1072 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:11:1073 1187| name: value:1074 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1075 | ^1076 1189| );10771078 … in the left operand of the AND (&&) operator1079 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:28:1080 1187| name: value:1081 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1082 | ^1083 1189| );10841085 … while calling the 'isAttrs' builtin1086 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/attrsets.nix:1188:14:1087 1187| name: value:1088 1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1089 | ^1090 1189| );10911092 … while calling anonymous lambda1093 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:925:37:1094 924|1095 925| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;1096 | ^1097 926|10981099 … while evaluating the attribute 'matchedOptions'1100 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:891:13:1101 890| {1102 891| matchedOptions = evalOptionValue loc opt defns';1103 | ^1104 892| unmatchedDefns = [ ];11051106 … from call site1107 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:891:30:1108 890| {1109 891| matchedOptions = evalOptionValue loc opt defns';1110 | ^1111 892| unmatchedDefns = [ ];11121113 … while calling 'evalOptionValue'1114 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1101:15:1115 1100| evalOptionValue =1116 1101| loc: opt: defs:1117 | ^1118 1102| let11191120 … in the left operand of the update (//) operator1121 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1145:5:1122 1144| in1123 1145| warnDeprecation opt1124 | ^1125 1146| // {11261127 … while evaluating a branch condition1128 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1139:9:1129 1138| warnDeprecation =1130 1139| if (opt.type.deprecationMessage != null) then1131 | ^1132 1140| warn "The type `types.${opt.type.name}' of option `${showOption loc}' defined in ${showFiles opt.declarations} is deprecated. ${opt.type.deprecationMessage}"11331134 … from call site1135 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:888:19:1136 887| let1137 888| opt = fixupOptionType loc (mergeOptionDecls loc decls);1138 | ^1139 889| in11401141 … while calling 'fixupOptionType'1142 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1471:10:1143 1470| fixupOptionType =1144 1471| loc: opt:1145 | ^1146 1472| if opt.type.getSubModules or null == null then11471148 … while evaluating a branch condition1149 at /build/storedata/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/lib/modules.nix:1472:5:1150 1471| loc: opt:1151 1472| if opt.type.getSubModules or null == null then1152 | ^1153 1473| opt // { type = opt.type or types.unspecified; }11541155 … while evaluating the attribute 'type.getSubModules'1156 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:100:7:1157 99| systemReserved = lib.mkOption {1158 100| type = resourceLib.memoryType;1159 | ^1160 101| default = 1024;11611162 error: attribute 'memoryType' missing1163 at /build/storedata/nix/store/8q527xg4kx1wr4qygb4867r1rz98j1hd-source/nixosModules/resource-guard/default.nix:100:14:1164 99| systemReserved = lib.mkOption {1165 100| type = resourceLib.memoryType;1166 | ^1167 101| default = 1024;11681169✅ system-agnostic.dvt-resource-guard.parse.test a report without phys_mem yields no capacity1170✅ system-agnostic.dvt-resource-guard.parse.test base-1024 suffixes1171✅ system-agnostic.dvt-resource-guard.parse.test digit strings are bytes1172✅ system-agnostic.dvt-resource-guard.parse.test facter phys_mem is summed into MiB1173✅ system-agnostic.dvt-resource-guard.parse.test infinity means unbounded1174✅ system-agnostic.dvt-resource-guard.parse.test integer values are bytes1175✅ system-agnostic.dvt-resource-guard.parse.test list values follow last-assignment-wins1176✅ system-agnostic.dvt-resource-guard.parse.test percentages resolve against physical RAM1177✅ system-agnostic.dvt-resource-guard.parse.test unrecognised values are marked, not dropped11781179😢 81/85 successful1180error: Tests failed