setup
checks.aarch64-linux.pre-commit
· build #1002
· raw
1this derivation will be built:2 /nix/store/l0xd29rsn4llfjlkqm26zjnwz13a7azv-pre-commit-run.drv3error: build of '/nix/store/l0xd29rsn4llfjlkqm26zjnwz13a7azv-pre-commit-run.drv' on 'ssh-ng://nixbot-remote-build@78.232.36.247' failed: Cannot build '/nix/store/l0xd29rsn4llfjlkqm26zjnwz13a7azv-pre-commit-run.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/wyl3i8gynr157l2sb04b3accpi4d3aah-pre-commit-run7 Last 25 log lines:8 > + nix run .#image-size-analyzer -- --image Dockerfile-17 --json > base-sizes.json9 > + git checkout -10 > +11 > + - name: Compare sizes12 > + run: |13 > + PR_SIZE=$(jq -r '.images[0].total_size_bytes' pr-sizes.json)14 > + BASE_SIZE=$(jq -r '.images[0].total_size_bytes' base-sizes.json)15 > +16 > + DIFF=$((PR_SIZE - BASE_SIZE))17 > + DIFF_MB=$((DIFF / 1048576))18 > +19 > + # Allow up to 50MB increase20 > + MAX_INCREASE=5242880021 > +22 > + if [ "$DIFF" -gt "$MAX_INCREASE" ]; then23 > + echo "ERROR: Image size increased by ${DIFF_MB}MB (max allowed: 50MB)"24 > + echo "Base: $((BASE_SIZE / 1048576))MB"25 > + echo "PR: $((PR_SIZE / 1048576))MB"26 > + exit 127 > + fi28 > +29 > + echo "Size change: ${DIFF_MB}MB"30 > ```31 > 32 > ---33 For full logs, run:34 nix log /nix/store/l0xd29rsn4llfjlkqm26zjnwz13a7azv-pre-commit-run.drv35error: Cannot build '/nix/store/l0xd29rsn4llfjlkqm26zjnwz13a7azv-pre-commit-run.drv'.36 Reason: builder failed with exit code 1.37 Output paths:38 /nix/store/wyl3i8gynr157l2sb04b3accpi4d3aah-pre-commit-run