Open
Description
Hello! In rust-lang/rust#99389 we're making the checks for mem::uninitialized stricter, and old specs
eventually depends on an out of date crossbeam-queue
Since it's panicking at a bad time internally, it turns into an abort, but this is a stack trace with cargo test -- --nocapture
thread 'test' panicked at 'attempted to leave type `[core::cell::UnsafeCell<(alloc::boxed::Box<dyn world::lazy::LazyUpdateInternal>, core::sync::atomic::AtomicBool)>; 32]` uninitialized, which is invalid', /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-0.3.2/src/sync/seg_queue.rs:40:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'test' panicked at 'called `Option::unwrap()` on a `None` value', /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-0.3.2/src/sync/seg_queue.rs:113:56
stack backtrace:
0: 0x56399ef02ee4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5cdef5448ae273e2
1: 0x56399ef3056e - core::fmt::write::h1034c6d20b46408c
2: 0x56399eefffc1 - std::io::Write::write_fmt::h5bf21824eeda9b0e
3: 0x56399ef02d39 - std::sys_common::backtrace::print::h9d1ef2222459411e
4: 0x56399eef9304 - std::panicking::default_hook::{{closure}}::h6bd06b6db25f6494
5: 0x56399eef90d3 - std::panicking::default_hook::hda510c31e867cdf8
6: 0x56399eef9665 - std::panicking::rust_panic_with_hook::h7204da2493ef8226
7: 0x56399ef063b9 - std::panicking::begin_panic_handler::{{closure}}::hb4649de575e38e07
8: 0x56399ef06334 - std::sys_common::backtrace::__rust_end_short_backtrace::h51b4ef1e9efda02d
9: 0x56399eef9372 - rust_begin_unwind
10: 0x56399ee555f3 - core::panicking::panic_fmt::h5f6edaa9dfaa8ed0
11: 0x56399ee554bd - core::panicking::panic::hfb05c3060db2143b
12: 0x56399eebaeac - core::option::Option<T>::unwrap::h6f9600e6c960ed76
at /home/jess/src/rust/library/core/src/option.rs:775:21
13: 0x56399eeb5344 - crossbeam::sync::seg_queue::SegQueue<T>::try_pop::h2c1ccf9c7497af7f
at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-0.3.2/src/sync/seg_queue.rs:113:24
14: 0x56399eeb4bdf - <crossbeam::sync::seg_queue::SegQueue<T> as core::ops::drop::Drop>::drop::hff427a5915f929b9
at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-0.3.2/src/sync/seg_queue.rs:143:15
15: 0x56399eeb1aeb - core::ptr::drop_in_place<crossbeam::sync::seg_queue::SegQueue<alloc::boxed::Box<dyn specs::world::lazy::LazyUpdateInternal>>>::hbebb735c101531c1
at /home/jess/src/rust/library/core/src/ptr/mod.rs:487:1
16: 0x56399eeb52ad - crossbeam::sync::seg_queue::SegQueue<T>::new::hdb2f1e4aa0057a2f
at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-0.3.2/src/sync/seg_queue.rs:66:5
17: 0x56399eec18c9 - <specs::world::lazy::Queue<T> as core::default::Default>::default::hf56555650e030f16
at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/specs-0.12.3/src/world/lazy.rs:9:15
18: 0x56399eec19c8 - <specs::world::lazy::LazyUpdate as core::default::Default>::default::h4e7ba5c79c8932ae
at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/specs-0.12.3/src/world/lazy.rs:81:32
19: 0x56399eeb5966 - <specs::world::World as core::default::Default>::default::h189dea2bce9ae0e9
at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/specs-0.12.3/src/world/mod.rs:605:20
20: 0x56399eeb580e - specs::world::World::new::h1342277f84083f1b
at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/specs-0.12.3/src/world/mod.rs:205:9
21: 0x56399ee69af5 - mirror::test::ha0334dd56db54b63
at /home/jess/src/specs-mirror/tests/mirror.rs:108:21
22: 0x56399ee660da - mirror::test::{{closure}}::h3b03463e2baaee66
at /home/jess/src/specs-mirror/tests/mirror.rs:105:1
23: 0x56399ee5609e - core::ops::function::FnOnce::call_once::hba8aa0b9b1cba1ab
at /home/jess/src/rust/library/core/src/ops/function.rs:248:5
24: 0x56399ee7bbf3 - test::__rust_begin_short_backtrace::ha8ad1bd0e058a16b
25: 0x56399ee8667e - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hbf67d954d27162c3
26: 0x56399ee77d16 - std::panicking::try::hf95d7358189d01ce
27: 0x56399ee75482 - test::run_test_in_process::h73d8f4c824301f44
28: 0x56399ee7f385 - std::sys_common::backtrace::__rust_begin_short_backtrace::hab4c9cf0583f6aed
29: 0x56399ee77cf6 - std::panicking::try::he9a01110e08d4925
30: 0x56399ee85136 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h3d9732604d0c6ca7
31: 0x56399eef6bc8 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha06ce6c4dd5bed76
32: 0x56399eeeb627 - std::sys::unix::thread::Thread::new::thread_start::h77952a12b32a13a7
33: 0x7efddfc8c54d - <unknown>
34: 0x7efddfd11874 - clone
35: 0x0 - <unknown>
thread panicked while panicking. aborting.
error: test failed, to rerun pass '--test mirror'
Caused by:
process didn't exit successfully: `/home/jess/.cache/cargo/target/debug/deps/mirror-bd3112edb34b096b --nocapture` (signal: 6, SIGABRT: process abort signal)
Metadata
Metadata
Assignees
Labels
No labels