Skip to content

Commit cff7787

Browse files
committed
delete read_glob
This was only used for an example and unit tests, so just dropping it. The API was slightly confusing since it would return all the glob matches, but not add dependencies _on_ the matches, just the directories.
1 parent 235bef1 commit cff7787

13 files changed

+287
-361
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
thread 'rustc' panicked at /rustc/ce7e97f7371af47e0786f74aa169f6ac9473ff4e/compiler/rustc_query_system/src/dep_graph/serialized.rs:284:21:
2+
Error: A dep graph node (mir_drops_elaborated_and_const_checked) does not have an unique index. Running a clean build on a nightly compiler with `-Z incremental-verify-ich` can help narrow down the issue for reporting. A clean build may also work around the issue.
3+
4+
DepNode: DepKind { variant: 55 }(f601afece7526aba-cf51e3d0b4fad7a4)
5+
stack backtrace:
6+
0: 0x110649edc - std::backtrace::Backtrace::create::h4047ea3da1624a85
7+
1: 0x10e7bffc8 - std[37ce58b9063475e]::panicking::update_hook::<alloc[b1849f567b850016]::boxed::Box<rustc_driver_impl[f8d7c4f8b6e94698]::install_ice_hook::{closure#1}>>::{closure#0}
8+
2: 0x1106677f4 - std::panicking::rust_panic_with_hook::hc7af3aa4fdc12c97
9+
3: 0x1106673e8 - std::panicking::begin_panic_handler::{{closure}}::h69d72bd060455764
10+
4: 0x110662734 - std::sys::backtrace::__rust_end_short_backtrace::hfa41627278f424ef
11+
5: 0x1106670b0 - __rustc[a5b89e8e8011757d]::rust_begin_unwind
12+
6: 0x1132a1a1c - core::panicking::panic_fmt::haf35f770a0165db0
13+
7: 0x10ef368b0 - rustc_incremental[f8303e0612a24879]::persist::load::setup_dep_graph
14+
8: 0x10e76f274 - rustc_interface[70e180df94007202]::passes::create_and_enter_global_ctxt::<core[8358e3f6e6ac61e1]::option::Option<rustc_interface[70e180df94007202]::queries::Linker>, rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}::{closure#2}>
15+
9: 0x10e7bcbb8 - rustc_interface[70e180df94007202]::interface::run_compiler::<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}
16+
10: 0x10e7e5ee8 - <rayon_core[135ce2788e2114]::job::StackJob<rayon_core[135ce2788e2114]::latch::LatchRef<rayon_core[135ce2788e2114]::latch::LockLatch>, <rayon_core[135ce2788e2114]::registry::Registry>::in_worker_cold<<rayon_core[135ce2788e2114]::thread_pool::ThreadPool>::install<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}::{closure#0}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> as rayon_core[135ce2788e2114]::job::Job>::execute
17+
11: 0x1132b3c14 - <rayon_core[135ce2788e2114]::registry::WorkerThread>::wait_until_cold
18+
12: 0x10dddf600 - <rayon_core[135ce2788e2114]::registry::ThreadBuilder>::run
19+
13: 0x10e7af758 - std[37ce58b9063475e]::sys::backtrace::__rust_begin_short_backtrace::<<rayon_core[135ce2788e2114]::ThreadPoolBuilder>::build_scoped<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
20+
14: 0x10e7c3d3c - <<std[37ce58b9063475e]::thread::Builder>::spawn_unchecked_<<rayon_core[135ce2788e2114]::ThreadPoolBuilder>::build_scoped<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#1} as core[8358e3f6e6ac61e1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
21+
15: 0x110669d38 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a4d34a906f31054
22+
16: 0x18ca69c0c - __pthread_cond_wait
23+
24+
25+
rustc version: 1.89.0-nightly (ce7e97f73 2025-05-11)
26+
platform: aarch64-apple-darwin
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
thread 'rustc' panicked at /rustc/ce7e97f7371af47e0786f74aa169f6ac9473ff4e/compiler/rustc_query_system/src/dep_graph/serialized.rs:284:21:
2+
Error: A dep graph node (mir_drops_elaborated_and_const_checked) does not have an unique index. Running a clean build on a nightly compiler with `-Z incremental-verify-ich` can help narrow down the issue for reporting. A clean build may also work around the issue.
3+
4+
DepNode: DepKind { variant: 55 }(f601afece7526aba-cf51e3d0b4fad7a4)
5+
stack backtrace:
6+
0: 0x1108e5edc - std::backtrace::Backtrace::create::h4047ea3da1624a85
7+
1: 0x10ea5bfc8 - std[37ce58b9063475e]::panicking::update_hook::<alloc[b1849f567b850016]::boxed::Box<rustc_driver_impl[f8d7c4f8b6e94698]::install_ice_hook::{closure#1}>>::{closure#0}
8+
2: 0x1109037f4 - std::panicking::rust_panic_with_hook::hc7af3aa4fdc12c97
9+
3: 0x1109033e8 - std::panicking::begin_panic_handler::{{closure}}::h69d72bd060455764
10+
4: 0x1108fe734 - std::sys::backtrace::__rust_end_short_backtrace::hfa41627278f424ef
11+
5: 0x1109030b0 - __rustc[a5b89e8e8011757d]::rust_begin_unwind
12+
6: 0x11353da1c - core::panicking::panic_fmt::haf35f770a0165db0
13+
7: 0x10f1d28b0 - rustc_incremental[f8303e0612a24879]::persist::load::setup_dep_graph
14+
8: 0x10ea0b274 - rustc_interface[70e180df94007202]::passes::create_and_enter_global_ctxt::<core[8358e3f6e6ac61e1]::option::Option<rustc_interface[70e180df94007202]::queries::Linker>, rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}::{closure#2}>
15+
9: 0x10ea58bb8 - rustc_interface[70e180df94007202]::interface::run_compiler::<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}
16+
10: 0x10ea81ee8 - <rayon_core[135ce2788e2114]::job::StackJob<rayon_core[135ce2788e2114]::latch::LatchRef<rayon_core[135ce2788e2114]::latch::LockLatch>, <rayon_core[135ce2788e2114]::registry::Registry>::in_worker_cold<<rayon_core[135ce2788e2114]::thread_pool::ThreadPool>::install<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}::{closure#0}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> as rayon_core[135ce2788e2114]::job::Job>::execute
17+
11: 0x11354fc14 - <rayon_core[135ce2788e2114]::registry::WorkerThread>::wait_until_cold
18+
12: 0x10e07b600 - <rayon_core[135ce2788e2114]::registry::ThreadBuilder>::run
19+
13: 0x10ea4b758 - std[37ce58b9063475e]::sys::backtrace::__rust_begin_short_backtrace::<<rayon_core[135ce2788e2114]::ThreadPoolBuilder>::build_scoped<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
20+
14: 0x10ea5fd3c - <<std[37ce58b9063475e]::thread::Builder>::spawn_unchecked_<<rayon_core[135ce2788e2114]::ThreadPoolBuilder>::build_scoped<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#1} as core[8358e3f6e6ac61e1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
21+
15: 0x110905d38 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a4d34a906f31054
22+
16: 0x18ca69c0c - __pthread_cond_wait
23+
24+
25+
rustc version: 1.89.0-nightly (ce7e97f73 2025-05-11)
26+
platform: aarch64-apple-darwin
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
thread 'rustc' panicked at /rustc/ce7e97f7371af47e0786f74aa169f6ac9473ff4e/compiler/rustc_query_system/src/dep_graph/serialized.rs:284:21:
2+
Error: A dep graph node (mir_drops_elaborated_and_const_checked) does not have an unique index. Running a clean build on a nightly compiler with `-Z incremental-verify-ich` can help narrow down the issue for reporting. A clean build may also work around the issue.
3+
4+
DepNode: DepKind { variant: 55 }(f601afece7526aba-cf51e3d0b4fad7a4)
5+
stack backtrace:
6+
0: 0x10e5e1edc - std::backtrace::Backtrace::create::h4047ea3da1624a85
7+
1: 0x10c757fc8 - std[37ce58b9063475e]::panicking::update_hook::<alloc[b1849f567b850016]::boxed::Box<rustc_driver_impl[f8d7c4f8b6e94698]::install_ice_hook::{closure#1}>>::{closure#0}
8+
2: 0x10e5ff7f4 - std::panicking::rust_panic_with_hook::hc7af3aa4fdc12c97
9+
3: 0x10e5ff3e8 - std::panicking::begin_panic_handler::{{closure}}::h69d72bd060455764
10+
4: 0x10e5fa734 - std::sys::backtrace::__rust_end_short_backtrace::hfa41627278f424ef
11+
5: 0x10e5ff0b0 - __rustc[a5b89e8e8011757d]::rust_begin_unwind
12+
6: 0x111239a1c - core::panicking::panic_fmt::haf35f770a0165db0
13+
7: 0x10cece8b0 - rustc_incremental[f8303e0612a24879]::persist::load::setup_dep_graph
14+
8: 0x10c707274 - rustc_interface[70e180df94007202]::passes::create_and_enter_global_ctxt::<core[8358e3f6e6ac61e1]::option::Option<rustc_interface[70e180df94007202]::queries::Linker>, rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}::{closure#2}>
15+
9: 0x10c754bb8 - rustc_interface[70e180df94007202]::interface::run_compiler::<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}
16+
10: 0x10c77dee8 - <rayon_core[135ce2788e2114]::job::StackJob<rayon_core[135ce2788e2114]::latch::LatchRef<rayon_core[135ce2788e2114]::latch::LockLatch>, <rayon_core[135ce2788e2114]::registry::Registry>::in_worker_cold<<rayon_core[135ce2788e2114]::thread_pool::ThreadPool>::install<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}::{closure#0}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> as rayon_core[135ce2788e2114]::job::Job>::execute
17+
11: 0x11124bc14 - <rayon_core[135ce2788e2114]::registry::WorkerThread>::wait_until_cold
18+
12: 0x10bd77600 - <rayon_core[135ce2788e2114]::registry::ThreadBuilder>::run
19+
13: 0x10c747758 - std[37ce58b9063475e]::sys::backtrace::__rust_begin_short_backtrace::<<rayon_core[135ce2788e2114]::ThreadPoolBuilder>::build_scoped<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
20+
14: 0x10c75bd3c - <<std[37ce58b9063475e]::thread::Builder>::spawn_unchecked_<<rayon_core[135ce2788e2114]::ThreadPoolBuilder>::build_scoped<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#1} as core[8358e3f6e6ac61e1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
21+
15: 0x10e601d38 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a4d34a906f31054
22+
16: 0x18ca69c0c - __pthread_cond_wait
23+
24+
25+
rustc version: 1.89.0-nightly (ce7e97f73 2025-05-11)
26+
platform: aarch64-apple-darwin
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
thread 'rustc' panicked at /rustc/ce7e97f7371af47e0786f74aa169f6ac9473ff4e/compiler/rustc_query_system/src/dep_graph/serialized.rs:284:21:
2+
Error: A dep graph node (mir_drops_elaborated_and_const_checked) does not have an unique index. Running a clean build on a nightly compiler with `-Z incremental-verify-ich` can help narrow down the issue for reporting. A clean build may also work around the issue.
3+
4+
DepNode: DepKind { variant: 55 }(f601afece7526aba-cf51e3d0b4fad7a4)
5+
stack backtrace:
6+
0: 0x10e891edc - std::backtrace::Backtrace::create::h4047ea3da1624a85
7+
1: 0x10ca07fc8 - std[37ce58b9063475e]::panicking::update_hook::<alloc[b1849f567b850016]::boxed::Box<rustc_driver_impl[f8d7c4f8b6e94698]::install_ice_hook::{closure#1}>>::{closure#0}
8+
2: 0x10e8af7f4 - std::panicking::rust_panic_with_hook::hc7af3aa4fdc12c97
9+
3: 0x10e8af3e8 - std::panicking::begin_panic_handler::{{closure}}::h69d72bd060455764
10+
4: 0x10e8aa734 - std::sys::backtrace::__rust_end_short_backtrace::hfa41627278f424ef
11+
5: 0x10e8af0b0 - __rustc[a5b89e8e8011757d]::rust_begin_unwind
12+
6: 0x1114e9a1c - core::panicking::panic_fmt::haf35f770a0165db0
13+
7: 0x10d17e8b0 - rustc_incremental[f8303e0612a24879]::persist::load::setup_dep_graph
14+
8: 0x10c9b7274 - rustc_interface[70e180df94007202]::passes::create_and_enter_global_ctxt::<core[8358e3f6e6ac61e1]::option::Option<rustc_interface[70e180df94007202]::queries::Linker>, rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}::{closure#2}>
15+
9: 0x10ca04bb8 - rustc_interface[70e180df94007202]::interface::run_compiler::<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}
16+
10: 0x10ca2dee8 - <rayon_core[135ce2788e2114]::job::StackJob<rayon_core[135ce2788e2114]::latch::LatchRef<rayon_core[135ce2788e2114]::latch::LockLatch>, <rayon_core[135ce2788e2114]::registry::Registry>::in_worker_cold<<rayon_core[135ce2788e2114]::thread_pool::ThreadPool>::install<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}::{closure#0}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> as rayon_core[135ce2788e2114]::job::Job>::execute
17+
11: 0x1114fbc14 - <rayon_core[135ce2788e2114]::registry::WorkerThread>::wait_until_cold
18+
12: 0x10c027600 - <rayon_core[135ce2788e2114]::registry::ThreadBuilder>::run
19+
13: 0x10c9f7758 - std[37ce58b9063475e]::sys::backtrace::__rust_begin_short_backtrace::<<rayon_core[135ce2788e2114]::ThreadPoolBuilder>::build_scoped<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
20+
14: 0x10ca0bd3c - <<std[37ce58b9063475e]::thread::Builder>::spawn_unchecked_<<rayon_core[135ce2788e2114]::ThreadPoolBuilder>::build_scoped<rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[70e180df94007202]::util::run_in_thread_pool_with_globals<rustc_interface[70e180df94007202]::interface::run_compiler<(), rustc_driver_impl[f8d7c4f8b6e94698]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#1} as core[8358e3f6e6ac61e1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
21+
15: 0x10e8b1d38 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a4d34a906f31054
22+
16: 0x18ca69c0c - __pthread_cond_wait
23+
24+
25+
rustc version: 1.89.0-nightly (ce7e97f73 2025-05-11)
26+
platform: aarch64-apple-darwin

0 commit comments

Comments
 (0)