Skip to content

Commit 11a8b3a

Browse files
committed
bless tests
1 parent bf372a8 commit 11a8b3a

File tree

65 files changed

+70
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+70
-237
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: the main thread terminated without waiting for all remaining threads
52

63
note: pass `-Zmiri-ignore-leaks` to disable this check
74

8-
error: aborting due to previous error; 1 warning emitted
5+
error: aborting due to previous error
96

tests/fail/concurrency/libc_pthread_join_detached.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join a detached or already joined thread
52
--> $DIR/libc_pthread_join_detached.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/libc_pthread_join_joined.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join a detached or already joined thread
52
--> $DIR/libc_pthread_join_joined.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/libc_pthread_join_main.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join a detached or already joined thread
52
--> $DIR/libc_pthread_join_main.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(thread_id, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/libc_pthread_join_multiple.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join a detached or already joined thread
52
--> $DIR/libc_pthread_join_multiple.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(native_copy, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/libc_pthread_join_self.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: trying to join itself
52
--> $DIR/libc_pthread_join_self.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/thread_local_static_dealloc.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: pointer to ALLOC was dereferenced after this allocation got freed
52
--> $DIR/thread_local_static_dealloc.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | let _val = *(dangling_ptr as *const u8);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/concurrency/too_few_args.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: callee has fewer arguments than expected
52
--> $DIR/too_few_args.rs:LL:CC
63
|
@@ -13,5 +10,5 @@ LL | panic!()
1310
= note: inside `thread_start` at RUSTLIB/std/src/panic.rs:LL:CC
1411
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
1512

16-
error: aborting due to previous error; 1 warning emitted
13+
error: aborting due to previous error
1714

tests/fail/concurrency/too_many_args.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: callee has more arguments than expected
52
--> $DIR/too_many_args.rs:LL:CC
63
|
@@ -13,5 +10,5 @@ LL | panic!()
1310
= note: inside `thread_start` at RUSTLIB/std/src/panic.rs:LL:CC
1411
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
1512

16-
error: aborting due to previous error; 1 warning emitted
13+
error: aborting due to previous error
1714

tests/fail/concurrency/unwind_top_of_stack.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
thread '<unnamed>' panicked at 'explicit panic', $DIR/unwind_top_of_stack.rs:LL:CC
52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
63
error: Undefined Behavior: unwinding past the topmost frame of the stack
@@ -16,5 +13,5 @@ LL | | }
1613

1714
= note: inside `thread_start` at $DIR/unwind_top_of_stack.rs:LL:CC
1815

19-
error: aborting due to previous error; 1 warning emitted
16+
error: aborting due to previous error
2017

tests/fail/data_race/alloc_read_race.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/alloc_read_race.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *pointer.load(Ordering::Relaxed)
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/alloc_write_race.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/alloc_write_race.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *pointer.load(Ordering::Relaxed) = 2;
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/atomic_read_na_write_race1.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/atomic_read_na_write_race1.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | atomic_load(c.0 as *mut usize)
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/atomic_read_na_write_race2.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/atomic_read_na_write_race2.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *atomic_ref.get_mut() = 32;
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/atomic_write_na_read_race1.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/atomic_write_na_read_race1.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *atomic_ref.get_mut()
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/atomic_write_na_read_race2.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/atomic_write_na_read_race2.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | atomic_store(c.0 as *mut usize, 32);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/atomic_write_na_write_race1.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/atomic_write_na_write_race1.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | atomic_store(c.0 as *mut usize, 64);
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/atomic_write_na_write_race2.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/atomic_write_na_write_race2.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *atomic_ref.get_mut() = 32;
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/dangling_thread_async_race.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/dangling_thread_async_race.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *c.0 = 64;
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/dangling_thread_race.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/dangling_thread_race.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *c.0 = 64;
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/dealloc_read_race1.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/dealloc_read_race1.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | __rust_dealloc(ptr.0 as *mut _, std::mem::size_of::<usize>(), s
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/dealloc_read_race2.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: pointer to ALLOC was dereferenced after this allocation got freed
52
--> $DIR/dealloc_read_race2.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *ptr.0
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/dealloc_read_race_stack.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/dealloc_read_race_stack.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | }
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/dealloc_write_race1.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/dealloc_write_race1.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | __rust_dealloc(ptr.0 as *mut _, std::mem::size_of::<usize>(), s
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/dealloc_write_race2.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
error: Undefined Behavior: pointer to ALLOC was dereferenced after this allocation got freed
52
--> $DIR/dealloc_write_race2.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *ptr.0 = 2;
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/dealloc_write_race_stack.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/dealloc_write_race_stack.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | }
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/enable_after_join_to_main.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/enable_after_join_to_main.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | *c.0 = 64;
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

tests/fail/data_race/fence_after_load.stderr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
warning: thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.
2-
(see https://github.com/rust-lang/miri/issues/1388)
3-
41
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)
52
--> $DIR/fence_after_load.rs:LL:CC
63
|
@@ -14,5 +11,5 @@ LL | unsafe { V = 2 }
1411

1512
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1613

17-
error: aborting due to previous error; 1 warning emitted
14+
error: aborting due to previous error
1815

0 commit comments

Comments
 (0)