Thanks for the headsup, @dcastro. I can reproduce. This appears to be the crucial bit:
called Result::unwrap() on an Err value: Found no rustc invocations for ui
@smoelius just so you're aware, I ran into a similar issue trying to run a test with ui_test_example/ui_test_examples while having RUSTC_WRAPPER=sccache set.
Tests using ui_test work fine though.
I can reproduce this on dylint's own tests, namely examples/restriction/try_io_result:
$ RUSTFLAGS='' cargo test
...
---- ui stdout ----
thread 'ui' panicked at /home/dc/dev/other/dylint/utils/testing/src/ui.rs:106:90:
called `Result::unwrap()` on an `Err` value: Found no `rustc` invocations for `ui`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
...
Setting RUSTC_WRAPPER='' works though.
Originally posted by @dcastro in #1691
Thanks for the headsup, @dcastro. I can reproduce. This appears to be the crucial bit:
Originally posted by @dcastro in #1691