You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A verbose error is shown when runnning pass-dep test, might be related to #3463. No error is shown when running ./miri build.
Reproduce:
Run ./miri run --dep tests/pass-dep/shims/libc-misc.rs -Zmiri-disable-isolation
Error shown:
Error:
0: failed to compile dependencies:
command: env -u RUSTFLAGS "/home/byt/Documents/miri/target/debug/cargo-miri""miri""run""--target-dir""/home/byt/Documents/miri/target/ui""--manifest-path""test_dependencies/Cargo.toml""--target=x86_64-unknown-linux-gnu""--message-format=json"
stderr:
Finished `dev` profile [optimized + debuginfo] target(s) in 0.02s
Running `/home/byt/Documents/miri/target/debug/cargo-miri runner target/ui/miri/x86_64-unknown-linux-gnu/debug/miri-test-deps`
error: crate `std` required to be available in rlib format, but was not found in this form
error: crate `core` required to be available in rlib format, but was not found in this form
error: crate `compiler_builtins` required to be available in rlib format, but was not found in this form
error: crate `rustc_std_workspace_core` required to be available in rlib format, but was not found in this form
|
= help: try adding `extern crate rustc_driver;` at the top level of this crate
error: crate `alloc` required to be available in rlib format, but was not found in this form
error: crate `libc` required to be available in rlib format, but was not found in this form
error: crate `unwind` required to be available in rlib format, but was not found in this form
error: crate `cfg_if` required to be available in rlib format, but was not found in this form
error: crate `miniz_oxide` required to be available in rlib format, but was not found in this form
error: crate `adler` required to be available in rlib format, but was not found in this form
error: crate `hashbrown` required to be available in rlib format, but was not found in this form
error: crate `rustc_std_workspace_alloc` required to be available in rlib format, but was not found in this form
|
= help: try adding `extern crate rustc_driver;` at the top level of this crate
error: crate `std_detect` required to be available in rlib format, but was not found in this form
error: crate `rustc_demangle` required to be available in rlib format, but was not found in this form
|
= help: try adding `extern crate rustc_driver;` at the top level of this crate
error: crate `panic_unwind` required to be available in rlib format, but was not found in this form
error: aborting due to 15 previous errors
stdout:{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.151","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.151/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.151/build.rs","edition":"2015","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","extra_traits","std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/build/libc-314cfc4daee75a9e/build-script-build"],"executable":null,"fresh":true}
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.151","linked_libs":[],"linked_paths":[],"cfgs":["freebsd11","libc_priv_mod_use","libc_union","libc_const_size_of","libc_align","libc_int128","libc_core_cvoid","libc_packedN","libc_cfg_target_vendor","libc_non_exhaustive","libc_long_array","libc_ptr_addr_of","libc_underscore_const_names","libc_const_extern_fn"],"env":[],"out_dir":"/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/build/libc-1ac0ac4102b77907/out"}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.151","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.151/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"libc","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.151/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","extra_traits","std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-606d5979bfb7b893.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-606d5979bfb7b893.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#cfg-if@1.0.0","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cfg-if-1.0.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"cfg_if","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cfg-if-1.0.0/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-f3b0c318b6cd0f6c.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-f3b0c318b6cd0f6c.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.76","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.76/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.76/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/build/proc-macro2-c696691d3e43b54b/build-script-build"],"executable":null,"fresh":true}
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.76","linked_libs":[],"linked_paths":[],"cfgs":["wrap_proc_macro","proc_macro_span"],"env":[],"out_dir":"/home/byt/Documents/miri/target/ui/miri/debug/build/proc-macro2-6665fcc45666adc6/out"}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#autocfg@1.1.0","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"autocfg","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/deps/libautocfg-20828532232d1b47.rlib","/home/byt/Documents/miri/target/ui/miri/debug/deps/libautocfg-20828532232d1b47.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.12","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-ident-1.0.12/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"unicode_ident","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-ident-1.0.12/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/deps/libunicode_ident-7be03bc765f2dbf8.rlib","/home/byt/Documents/miri/target/ui/miri/debug/deps/libunicode_ident-7be03bc765f2dbf8.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.76","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.76/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"proc_macro2","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.76/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/deps/libproc_macro2-d4ddf6bc56b12ad6.rlib","/home/byt/Documents/miri/target/ui/miri/debug/deps/libproc_macro2-d4ddf6bc56b12ad6.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#lock_api@0.4.11","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lock_api-0.4.11/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lock_api-0.4.11/build.rs","edition":"2018","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["atomic_usize","default"],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/build/lock_api-26bc45f0b8d7ee9a/build-script-build"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#parking_lot_core@0.9.9","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parking_lot_core-0.9.9/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parking_lot_core-0.9.9/build.rs","edition":"2018","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/build/parking_lot_core-cac6fdad69b56e84/build-script-build"],"executable":null,"fresh":true}
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#parking_lot_core@0.9.9","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/build/parking_lot_core-f022928dd8b35b3d/out"}
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#lock_api@0.4.11","linked_libs":[],"linked_paths":[],"cfgs":["has_const_fn_trait_bound"],"env":[],"out_dir":"/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/build/lock_api-10d3d169e6f6362d/out"}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.35","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quote-1.0.35/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"quote","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quote-1.0.35/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/deps/libquote-afcca26b9287cd4c.rlib","/home/byt/Documents/miri/target/ui/miri/debug/deps/libquote-afcca26b9287cd4c.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#getrandom@0.2.11","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.2.11/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"getrandom","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.2.11/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["js","js-sys","std","wasm-bindgen"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-f99678a287270864.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-f99678a287270864.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#rustix@0.38.28","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.28/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.28/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","fs","std","use-libc-auxv"],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/build/rustix-4f15d628a0dcb5cc/build-script-build"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#scopeguard@1.2.0","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scopeguard-1.2.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"scopeguard","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scopeguard-1.2.0/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libscopeguard-7395efa6451270fe.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libscopeguard-7395efa6451270fe.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#smallvec@1.11.2","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.11.2/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"smallvec","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.11.2/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libsmallvec-3e71f4ab8f001b61.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libsmallvec-3e71f4ab8f001b61.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#errno@0.3.8","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/errno-0.3.8/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"errno","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/errno-0.3.8/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/liberrno-fd087998d1f0ab88.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/liberrno-fd087998d1f0ab88.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#rand_core@0.6.4","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rand_core","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","getrandom","std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/librand_core-1478ab056feac480.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/librand_core-1478ab056feac480.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#lock_api@0.4.11","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lock_api-0.4.11/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"lock_api","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lock_api-0.4.11/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["atomic_usize","default"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/liblock_api-634963859a1b3f12.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/liblock_api-634963859a1b3f12.rmeta"],"executable":null,"fresh":true}
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#rustix@0.38.28","linked_libs":[],"linked_paths":[],"cfgs":["static_assertions","libc","linux_like","linux_kernel"],"env":[],"out_dir":"/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/build/rustix-db978e787aef6826/out"}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#syn@2.0.48","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.48/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"syn","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.48/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["clone-impls","default","derive","full","parsing","printing","proc-macro","quote"],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/deps/libsyn-28883194f1fab50b.rlib","/home/byt/Documents/miri/target/ui/miri/debug/deps/libsyn-28883194f1fab50b.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#parking_lot_core@0.9.9","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parking_lot_core-0.9.9/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"parking_lot_core","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parking_lot_core-0.9.9/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libparking_lot_core-0793972af6d5d35a.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libparking_lot_core-0793972af6d5d35a.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#ppv-lite86@0.2.17","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ppv-lite86-0.2.17/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"ppv_lite86","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ppv-lite86-0.2.17/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["simd","std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libppv_lite86-7487d079a78d948e.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libppv_lite86-7487d079a78d948e.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#linux-raw-sys@0.4.12","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linux-raw-sys-0.4.12/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"linux_raw_sys","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linux-raw-sys-0.4.12/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["general","ioctl","no_std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/liblinux_raw_sys-9c4371c2904bfb9d.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/liblinux_raw_sys-9c4371c2904bfb9d.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#bitflags@2.4.1","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"bitflags","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.1/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libbitflags-3b3b4a642398eddc.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libbitflags-3b3b4a642398eddc.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#getrandom@0.1.16","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.1.16/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.1.16/build.rs","edition":"2018","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/build/getrandom-ab13b9c99c080e90/build-script-build"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#tokio-macros@2.2.0","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-macros-2.2.0/Cargo.toml","target":{"kind":["proc-macro"],"crate_types":["proc-macro"],"name":"tokio_macros","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-macros-2.2.0/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/debug/deps/libtokio_macros-812d219c76434795.so"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#parking_lot@0.12.1","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parking_lot-0.12.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"parking_lot","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parking_lot-0.12.1/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libparking_lot-cd401a2d32a94c6a.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libparking_lot-cd401a2d32a94c6a.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#rand_chacha@0.3.1","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_chacha-0.3.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rand_chacha","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_chacha-0.3.1/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/librand_chacha-78c97ab4d07680dc.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/librand_chacha-78c97ab4d07680dc.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#rustix@0.38.28","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.28/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rustix","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.28/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","fs","std","use-libc-auxv"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/librustix-4a4af25ad32de335.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/librustix-4a4af25ad32de335.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#signal-hook-registry@1.4.1","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/signal-hook-registry-1.4.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"signal_hook_registry","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/signal-hook-registry-1.4.1/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libsignal_hook_registry-03d402315c06c7e4.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libsignal_hook_registry-03d402315c06c7e4.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#socket2@0.5.5","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/socket2-0.5.5/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"socket2","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/socket2-0.5.5/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["all"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libsocket2-e8d38f1916ef9c10.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libsocket2-e8d38f1916ef9c10.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#num_cpus@1.16.0","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num_cpus-1.16.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"num_cpus","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num_cpus-1.16.0/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-8937264e500ce5f9.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-8937264e500ce5f9.rmeta"],"executable":null,"fresh":true}
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#getrandom@0.1.16","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/build/getrandom-a26b59e3f39c4527/out"}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#mio@0.8.11","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"mio","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["net","os-ext","os-poll"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libmio-51672d9fa3b755a7.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libmio-51672d9fa3b755a7.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#pin-project-lite@0.2.13","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"pin_project_lite","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libpin_project_lite-c3822cb3244e313f.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libpin_project_lite-c3822cb3244e313f.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#fastrand@2.0.1","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fastrand-2.0.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"fastrand","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fastrand-2.0.1/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libfastrand-5bab041bd240fc8c.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libfastrand-5bab041bd240fc8c.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#bytes@1.5.0","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"bytes","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libbytes-72486a2298a6a107.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libbytes-72486a2298a6a107.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#rand@0.8.5","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rand","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","getrandom","libc","rand_chacha","small_rng","std","std_rng"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/librand-920c1abd437d6d27.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/librand-920c1abd437d6d27.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#page_size@0.6.0","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/page_size-0.6.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"page_size","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/page_size-0.6.0/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-8ca991715ab7263d.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-8ca991715ab7263d.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#tempfile@3.9.0","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tempfile-3.9.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"tempfile","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tempfile-3.9.0/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libtempfile-be075b7868d41503.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libtempfile-be075b7868d41503.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#getrandom@0.1.16","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.1.16/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"getrandom","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.1.16/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-565f22a2d4d29c6e.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-565f22a2d4d29c6e.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#tokio@1.35.1","manifest_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"tokio","src_path":"/home/byt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["bytes","default","fs","full","io-std","io-util","libc","macros","mio","net","num_cpus","parking_lot","process","rt","rt-multi-thread","signal","signal-hook-registry","socket2","sync","time","tokio-macros"],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-14e7f77978d52cf3.rlib","/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-14e7f77978d52cf3.rmeta"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"path+file:///home/byt/Documents/miri/test_dependencies#miri-test-deps@0.1.0","manifest_path":"/home/byt/Documents/miri/test_dependencies/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"miri-test-deps","src_path":"/home/byt/Documents/miri/test_dependencies/src/main.rs","edition":"2021","doc":true,"doctest":false,"test":true},"profile":{"opt_level":"2","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/miri-test-deps"],"executable":"/home/byt/Documents/miri/target/ui/miri/x86_64-unknown-linux-gnu/debug/miri-test-deps","fresh":true}
{"reason":"build-finished","success":true}
0:
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
error: test failed, to rerun pass `--test ui`
Caused by:
process didn't exit successfully: `/home/byt/Documents/miri/target/debug/deps/ui-c16082e742b8437f --miri-run-dep-mode tests/pass-dep/shims/libc-misc.rs -Zmiri-disable-isolation --edition=2021 --sysroot /home/byt/.cache/miri` (exit status: 1)Error: command exited with non-zero code `cargo +miri --quiet test --manifest-path /home/byt/Documents/miri/Cargo.toml --test ui -- --miri-run-dep-mode tests/pass-dep/shims/libc-misc.rs -Zmiri-disable-isolation --edition=2021 --sysroot /home/byt/.cache/miri`: 1
Thanks @RalfJung and @saethlin for looking into this. For the record, it works fine before I merged the update from 204326d. I wonder if this means that target/ui build cache needs to be manually removed everytime when there is an update from tests/ui.rs?
Problem
A verbose error is shown when runnning
pass-dep
test, might be related to #3463. No error is shown when running./miri build
.Reproduce:
./miri run --dep tests/pass-dep/shims/libc-misc.rs -Zmiri-disable-isolation
Error shown:
Version
The text was updated successfully, but these errors were encountered: