Update experimental threading warning
This commit is contained in:
parent
bfa56454e9
commit
6a73dedb36
@ -14,7 +14,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
|
||||
let this = self.eval_context_mut();
|
||||
|
||||
this.tcx.sess.warn(
|
||||
"thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.",
|
||||
"thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.\n(see https://github.com/rust-lang/miri/issues/1388)",
|
||||
);
|
||||
|
||||
// Create the new thread
|
||||
|
23
tests/compile-fail/weak_memory/cpp20_rwc_syncs.stderr
Normal file
23
tests/compile-fail/weak_memory/cpp20_rwc_syncs.stderr
Normal file
@ -0,0 +1,23 @@
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: type validation failed at .value: encountered uninitialized raw pointer
|
||||
--> $DIR/cpp20_rwc_syncs.rs:LL:CC
|
||||
|
|
||||
LL | let _ = unsafe { std::mem::MaybeUninit::<*const u32>::uninit().assume_init() };
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type validation failed at .value: encountered uninitialized raw pointer
|
||||
|
|
||||
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
|
||||
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
|
||||
|
||||
= note: inside `test_cpp20_rwc_syncs` at $DIR/cpp20_rwc_syncs.rs:LL:CC
|
||||
note: inside `main` at $DIR/cpp20_rwc_syncs.rs:LL:CC
|
||||
--> $DIR/cpp20_rwc_syncs.rs:LL:CC
|
||||
|
|
||||
LL | test_cpp20_rwc_syncs();
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
|
||||
|
||||
error: aborting due to previous error; 1 warning emitted
|
||||
|
@ -1,3 +1,4 @@
|
||||
// ignore-windows: Concurrency on Windows is not supported yet.
|
||||
// compile-flags: -Zmiri-ignore-leaks
|
||||
|
||||
#![feature(core_intrinsics)]
|
||||
|
18
tests/compile-fail/weak_memory/racing_mixed_size.stderr
Normal file
18
tests/compile-fail/weak_memory/racing_mixed_size.stderr
Normal file
@ -0,0 +1,18 @@
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: racy imperfectly overlapping atomic access
|
||||
--> $DIR/racing_mixed_size.rs:LL:CC
|
||||
|
|
||||
LL | std::intrinsics::atomic_load_relaxed(hi);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ racy imperfectly overlapping atomic access
|
||||
|
|
||||
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
|
||||
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
|
||||
|
||||
= note: inside closure at $DIR/racing_mixed_size.rs:LL:CC
|
||||
|
||||
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
|
||||
|
||||
error: aborting due to previous error; 1 warning emitted
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: the main thread terminated without waiting for all remaining threads
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: trying to join a detached or already joined thread
|
||||
--> $DIR/libc_pthread_join_detached.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: trying to join a detached or already joined thread
|
||||
--> $DIR/libc_pthread_join_joined.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: trying to join a detached or already joined thread
|
||||
--> $DIR/libc_pthread_join_main.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: trying to join a detached or already joined thread
|
||||
--> $DIR/libc_pthread_join_multiple.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: trying to join itself
|
||||
--> $DIR/libc_pthread_join_self.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: pointer to ALLOC was dereferenced after this allocation got freed
|
||||
--> $DIR/thread_local_static_dealloc.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: callee has fewer arguments than expected
|
||||
--> $DIR/too_few_args.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: callee has more arguments than expected
|
||||
--> $DIR/too_many_args.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
thread '<unnamed>' panicked at 'explicit panic', $DIR/unwind_top_of_stack.rs:LL:CC
|
||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Read on Thread(id = 2) and Allocate on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/alloc_read_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 2) and Allocate on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/alloc_write_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Atomic Load on Thread(id = 2) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/atomic_read_na_write_race1.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 2) and Atomic Load on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/atomic_read_na_write_race2.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Read on Thread(id = 2) and Atomic Store on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/atomic_write_na_read_race1.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Atomic Store on Thread(id = 2) and Read on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/atomic_write_na_read_race2.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Atomic Store on Thread(id = 2) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/atomic_write_na_write_race1.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 2) and Atomic Store on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/atomic_write_na_write_race2.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 3) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/dangling_thread_async_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 0, name = "main") and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/dangling_thread_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Deallocate on Thread(id = 2) and Read on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/dealloc_read_race1.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: pointer to ALLOC was dereferenced after this allocation got freed
|
||||
--> $DIR/dealloc_read_race2.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Deallocate on Thread(id = 1) and Read on Thread(id = 2) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/dealloc_read_race_stack.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Deallocate on Thread(id = 2) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/dealloc_write_race1.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: pointer to ALLOC was dereferenced after this allocation got freed
|
||||
--> $DIR/dealloc_write_race2.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Deallocate on Thread(id = 1) and Write on Thread(id = 2) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/dealloc_write_race_stack.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 6) and Write on Thread(id = 5) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/enable_after_join_to_main.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 0, name = "main") and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/fence_after_load.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 2) and Read on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/read_write_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Read on Thread(id = 1) and Write on Thread(id = 2) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/read_write_race_stack.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Read on Thread(id = 3) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/relax_acquire_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Read on Thread(id = 3) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/release_seq_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Read on Thread(id = 2) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/release_seq_race_same_thread.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Read on Thread(id = 3) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/rmw_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 2) and Write on Thread(id = 1) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/write_write_race.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: Data race detected between Write on Thread(id = 1) and Write on Thread(id = 2) at ALLOC (current vector clock = VClock, conflicting timestamp = VClock)
|
||||
--> $DIR/write_write_race_stack.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: deadlock: the evaluated program deadlocked
|
||||
--> $DIR/libc_pthread_mutex_deadlock.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: unlocked a default mutex that was not locked by the current thread
|
||||
--> $DIR/libc_pthread_mutex_wrong_owner.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: unlocked an rwlock that was not locked by the active thread
|
||||
--> $DIR/libc_pthread_rwlock_read_wrong_owner.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: deadlock: the evaluated program deadlocked
|
||||
--> $DIR/libc_pthread_rwlock_write_read_deadlock.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: deadlock: the evaluated program deadlocked
|
||||
--> $DIR/libc_pthread_rwlock_write_write_deadlock.rs:LL:CC
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
error: Undefined Behavior: unlocked an rwlock that was not locked by the active thread
|
||||
--> $DIR/libc_pthread_rwlock_write_wrong_owner.rs:LL:CC
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
thread '<unnamed>' panicked at 'Hello!', $DIR/simple.rs:LL:CC
|
||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental and incomplete: weak memory effects are not emulated.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
Thread 1 starting, will block on mutex
|
||||
Thread 1 reported it has started
|
||||
|
@ -1,3 +1,4 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
Dropping 0
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
// ignore-windows: Concurrency on Windows is not supported yet.
|
||||
// compile-flags: -Zmiri-ignore-leaks
|
||||
|
||||
// Tests operations not perfomable through C++'s atomic API
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
// ignore-windows: Concurrency on Windows is not supported yet.
|
||||
// compile-flags: -Zmiri-ignore-leaks
|
||||
|
||||
// Tests operations not perfomable through C++'s atomic API
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
warning: thread support is experimental: weak memory effects are not fully compatible with the Rust atomics memory model.
|
||||
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
|
||||
(see https://github.com/rust-lang/miri/issues/1388)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user