setup
checks.x86_64-linux.pkgs-mcptoon
· build #6838
· raw
1these 2 derivations will be built:2 /nix/store/hyl4rd19xr1l5sy8q7cxbfn2dkx4216i-mcptoon-0.8.15.drv3 /nix/store/ii7f43fmr8q9390625zbfm9kqrj2jc7s-check-mcptoon.drv4error: Cannot build '/nix/store/hyl4rd19xr1l5sy8q7cxbfn2dkx4216i-mcptoon-0.8.15.drv'.5 Reason: builder failed with exit code 1.6 Output paths:7 /nix/store/11cznq9kaysqbs2qgwrifbh8cwh793ri-mcptoon-0.8.158 /nix/store/rzj55ymiskc1sqnri5b8pbnjnsc0lmad-mcptoon-0.8.15-dist9 Last 25 log lines:10 > tests/test_v07_spec2026.py ..................... [ 98%]11 > tests/test_v081_env_headers.py ............. [ 99%]12 > tests/test_watch.py .................. [100%]13 >14 > =================================== FAILURES ===================================15 > ____ TestPreferInstalledRunners.test_a_module_without_main_is_not_runnable _____16 >17 > self = <tests.test_discover.TestPreferInstalledRunners object at 0x7ffff509bbb0>18 >19 > def test_a_module_without_main_is_not_runnable(self):20 > """`json` resolves but has no `__main__`, so `python -m json` would die.21 > 22 > Pin the real function (not a mock) against a stdlib module that is23 > importable everywhere — this is the check that keeps a bare24 > `find_spec(module)` from writing a dead server entry.25 > """26 > > assert discover_mod._resolve_local_module("json") is None27 > E AssertionError: assert ['/nix/store/d64q19q1xjdwfhqx6czvrjgrhq0n3lcc-python3-3.14.7/bin/python3.14', '-m', 'json'] is None28 > E + where ['/nix/store/d64q19q1xjdwfhqx6czvrjgrhq0n3lcc-python3-3.14.7/bin/python3.14', '-m', 'json'] = <function _resolve_local_module at 0x7ffff51ee980>('json')29 > E + where <function _resolve_local_module at 0x7ffff51ee980> = discover_mod._resolve_local_module30 >31 > tests/test_discover.py:472: AssertionError32 > =========================== short test summary info ============================33 > FAILED tests/test_discover.py::TestPreferInstalledRunners::test_a_module_without_main_is_not_runnable - AssertionError: assert ['/nix/store/d64q19q1xjdwfhqx6czvrjgrhq0n3lcc-python...34 > ===== 1 failed, 1932 passed, 11 skipped, 4 deselected in 78.92s (0:01:18) ======35 For full logs, run:36 nix log /nix/store/hyl4rd19xr1l5sy8q7cxbfn2dkx4216i-mcptoon-0.8.15.drv37error: Cannot build '/nix/store/ii7f43fmr8q9390625zbfm9kqrj2jc7s-check-mcptoon.drv'.38 Reason: 1 dependency failed.39 Output paths:40 /nix/store/mqrjvgg5w32b8vlq9gkbxc053r1481sq-check-mcptoon