mrustc icon indicating copy to clipboard operation
mrustc copied to clipboard

Assertion failed: (t == ":"), function load_depfile, file build.cpp, line 817

Open evanmiller opened this issue 2 years ago • 4 comments

The MacPorts build bots are all green except on OS X 10.7:

(0/8) BUILDING cfg_if from cfg-if v0.1.10
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_mrustc/mrustc/work/mrustc-15a5cb1f066bd148bd2959c63adb649e7a06e5ce/bin/mrustc rustc-1.54.0-src/vendor/cfg-if-0.1.10/src/lib.rs -o output-1.54.0/libcfg_if-0_1_10.rlib --crate-name cfg_if --crate-type rlib -C emit-depfile=output-1.54.0/libcfg_if-0_1_10.rlib.d --crate-tag 0_1_10 -g --cfg debug_assertions -O -L output-1.54.0 --edition 2018
Assertion failed: (t == ":"), function load_depfile, file build.cpp, line 817.
make: *** [output-1.54.0/libpanic_unwind.rlib] Abort trap: 6

https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/89034/steps/install-port/logs/stdio

Any ideas spring to mind?

evanmiller avatar Feb 13 '22 13:02 evanmiller

Not seen that before - that code is while parsing the dependency files, I'd guess something is malformed in one of them (not sure which, probably one of the standard library crates)

thepowersgang avatar Feb 13 '22 13:02 thepowersgang

@thepowersgang I do have macOS 10.7 virtual machine, I'll try to reproduce it ;)

catap avatar Feb 13 '22 15:02 catap

I can't reproduce this error :(

catap avatar Feb 13 '22 20:02 catap

Probably caused by a full disk. Leaving this open as a reminder to improve error reporting in that function

thepowersgang avatar Feb 14 '22 11:02 thepowersgang