[INFO] fetching crate require_unsafe_in_body 0.3.2...
[INFO] testing require_unsafe_in_body-0.3.2 against 1.83.0 for beta-1.84.0-4-retry
[INFO] extracting crate require_unsafe_in_body 0.3.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate require_unsafe_in_body 0.3.2 on toolchain 1.83.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate require_unsafe_in_body 0.3.2
[INFO] finished tweaking crates.io crate require_unsafe_in_body 0.3.2
[INFO] tweaked toml for crates.io crate require_unsafe_in_body 0.3.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 43 packages to latest compatible versions
[INFO] [stderr]       Adding pretty_assertions v0.6.1 (available: v1.4.1)
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.90)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded func_wrap v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fcb22325a1dc390b7a7d1f65eafcbdfd87a28c89b097634166deedc96a92586a
[INFO] running `Command { std: "docker" "start" "-a" "fcb22325a1dc390b7a7d1f65eafcbdfd87a28c89b097634166deedc96a92586a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fcb22325a1dc390b7a7d1f65eafcbdfd87a28c89b097634166deedc96a92586a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcb22325a1dc390b7a7d1f65eafcbdfd87a28c89b097634166deedc96a92586a", kill_on_drop: false }`
[INFO] [stdout] fcb22325a1dc390b7a7d1f65eafcbdfd87a28c89b097634166deedc96a92586a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5d96795416bd15b1af925006c38b15b1a84c389e6a6a38ed3508c9d7f8fd794
[INFO] running `Command { std: "docker" "start" "-a" "f5d96795416bd15b1af925006c38b15b1a84c389e6a6a38ed3508c9d7f8fd794", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling func_wrap v0.1.3
[INFO] [stderr]    Compiling require_unsafe_in_body v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.37s
[INFO] running `Command { std: "docker" "inspect" "f5d96795416bd15b1af925006c38b15b1a84c389e6a6a38ed3508c9d7f8fd794", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5d96795416bd15b1af925006c38b15b1a84c389e6a6a38ed3508c9d7f8fd794", kill_on_drop: false }`
[INFO] [stdout] f5d96795416bd15b1af925006c38b15b1a84c389e6a6a38ed3508c9d7f8fd794
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 679d524e42abec5ec034af69a74cc6e7b650846c83c85bf3ff1fc785ba627617
[INFO] running `Command { std: "docker" "start" "-a" "679d524e42abec5ec034af69a74cc6e7b650846c83c85bf3ff1fc785ba627617", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling target-triple v0.1.3
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling func_wrap v0.1.3
[INFO] [stderr]    Compiling require_unsafe_in_body v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling trybuild v1.0.101
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 18.20s
[INFO] running `Command { std: "docker" "inspect" "679d524e42abec5ec034af69a74cc6e7b650846c83c85bf3ff1fc785ba627617", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "679d524e42abec5ec034af69a74cc6e7b650846c83c85bf3ff1fc785ba627617", kill_on_drop: false }`
[INFO] [stdout] 679d524e42abec5ec034af69a74cc6e7b650846c83c85bf3ff1fc785ba627617
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c70c12928a53a72d457ebdea58a874f21d1c82521f3cdf8d35872e0e46cb2864
[INFO] running `Command { std: "docker" "start" "-a" "c70c12928a53a72d457ebdea58a874f21d1c82521f3cdf8d35872e0e46cb2864", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/require_unsafe_in_body-afa61952adf922eb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compile_fail.rs (/opt/rustwide/target/debug/deps/compile_fail-da802b725243d83a)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking pretty_assertions v0.6.1
[INFO] [stderr]     Checking quote v1.0.37
[INFO] [stderr]     Checking func_wrap v0.1.3
[INFO] [stderr]    Compiling require_unsafe_in_body v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking require_unsafe_in_body-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/require_unsafe_in_body)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.21s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/body_on_method.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Missing `#[require_unsafe_in_bodies]` on the enscoping `trait` or `impl` block.
[INFO] [stderr]             
[INFO] [stderr]   --> $DIR/body_on_method.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     #[require_unsafe_in_body]
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `my_read` found for struct `Foo<()>` in the current scope
[INFO] [stderr]   --> $DIR/body_on_method.rs:28:22
[INFO] [stderr]    |
[INFO] [stderr] 5  | / struct Foo<T> (
[INFO] [stderr] 6  | |     ::core::marker::PhantomData<T>,
[INFO] [stderr] 7  | | );
[INFO] [stderr]    | |__- method `my_read` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 28 |           unsafe { foo.my_read(&x) },
[INFO] [stderr]    |                        ^^^^^^^ method not found in `Foo<()>`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Missing `#[require_unsafe_in_bodies]` on the enscoping `trait` or `impl` block.
[INFO] [stderr] 
[INFO] [stderr]   --> tests/compile_fail/body_on_method.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     #[require_unsafe_in_body]
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the attribute macro `require_unsafe_in_body` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `my_read` found for struct `Foo` in the current scope
[INFO] [stderr]   --> tests/compile_fail/body_on_method.rs:28:22
[INFO] [stderr]    |
[INFO] [stderr] 5  | struct Foo<T> (
[INFO] [stderr]    | ------------- method `my_read` not found for this struct
[INFO] [stderr] ...
[INFO] [stderr] 28 |         unsafe { foo.my_read(&x) },
[INFO] [stderr]    |                      ^^^^^^^ method not found in `Foo<()>`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/body_on_method_2.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Missing `#[require_unsafe_in_bodies]` on the enscoping `trait` or `impl` block.
[INFO] [stderr]             
[INFO] [stderr]   --> $DIR/body_on_method_2.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     #[require_unsafe_in_body]
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0046]: not all trait items implemented, missing: `my_read`
[INFO] [stderr]   --> $DIR/body_on_method_2.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | /     unsafe
[INFO] [stderr] 11 | |     fn my_read<U> (self: &'_ Self, p: *const U) -> U
[INFO] [stderr] 12 | |     where
[INFO] [stderr] 13 | |         U : Copy,
[INFO] [stderr] 14 | |     ;
[INFO] [stderr]    | |_____- `my_read` from trait
[INFO] [stderr] ...
[INFO] [stderr] 17 |   impl<T> MyRead for Foo<T> {
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `my_read` in implementation
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Missing `#[require_unsafe_in_bodies]` on the enscoping `trait` or `impl` block.
[INFO] [stderr] 
[INFO] [stderr]   --> tests/compile_fail/body_on_method_2.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     #[require_unsafe_in_body]
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the attribute macro `require_unsafe_in_body` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0046]: not all trait items implemented, missing: `my_read`
[INFO] [stderr]   --> tests/compile_fail/body_on_method_2.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | /     unsafe
[INFO] [stderr] 11 | |     fn my_read<U> (self: &'_ Self, p: *const U) -> U
[INFO] [stderr] 12 | |     where
[INFO] [stderr] 13 | |         U : Copy,
[INFO] [stderr] 14 | |     ;
[INFO] [stderr]    | |_____- `my_read` from trait
[INFO] [stderr] ...
[INFO] [stderr] 17 |   impl<T> MyRead for Foo<T> {
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `my_read` in implementation
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/readme.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]   --> $DIR/readme.rs:11:24
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let at_i: *mut T = slice.get_unchecked_mut(i);
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]    |
[INFO] [stderr]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]   --> $DIR/readme.rs:12:24
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let at_j: *mut T = slice.get_unchecked_mut(j);
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]    |
[INFO] [stderr]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]   --> $DIR/readme.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     ::core::ptr::swap_nonoverlapping(at_i, at_j, 1);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]    |
[INFO] [stderr]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0133`.
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0133]: call to unsafe function `core::slice::<impl [T]>::get_unchecked_mut` is unsafe and requires unsafe function or block
[INFO] [stderr]   --> tests/compile_fail/readme.rs:11:24
[INFO] [stderr]    |
[INFO] [stderr] 6  | #[require_unsafe_in_body]
[INFO] [stderr]    | ------------------------- items do not inherit unsafety from separate enclosing items
[INFO] [stderr] ...
[INFO] [stderr] 11 |     let at_i: *mut T = slice.get_unchecked_mut(i);
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]    |
[INFO] [stderr]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function `core::slice::<impl [T]>::get_unchecked_mut` is unsafe and requires unsafe function or block
[INFO] [stderr]   --> tests/compile_fail/readme.rs:12:24
[INFO] [stderr]    |
[INFO] [stderr] 6  | #[require_unsafe_in_body]
[INFO] [stderr]    | ------------------------- items do not inherit unsafety from separate enclosing items
[INFO] [stderr] ...
[INFO] [stderr] 12 |     let at_j: *mut T = slice.get_unchecked_mut(j);
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]    |
[INFO] [stderr]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function `swap_nonoverlapping` is unsafe and requires unsafe function or block
[INFO] [stderr]   --> tests/compile_fail/readme.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 6  | #[require_unsafe_in_body]
[INFO] [stderr]    | ------------------------- items do not inherit unsafety from separate enclosing items
[INFO] [stderr] ...
[INFO] [stderr] 13 |     ::core::ptr::swap_nonoverlapping(at_i, at_j, 1);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]    |
[INFO] [stderr]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test compile_fail ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- compile_fail stdout ----
[INFO] [stdout] thread 'compile_fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.101/src/run.rs:101:13:
[INFO] [stdout] 3 of 3 tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x562cf0524a3a - std::backtrace_rs::backtrace::libunwind::trace::h5a5b8284f2d0c266
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x562cf0524a3a - std::backtrace_rs::backtrace::trace_unsynchronized::h76d4f1c9b0b875e3
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x562cf0524a3a - std::sys::backtrace::_print_fmt::hc4546b8364a537c6
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x562cf0524a3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b6bd5631a6d1f6b
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x562cf054d643 - core::fmt::rt::Argument::fmt::h270f6602a2b96f62
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x562cf054d643 - core::fmt::write::h7550c97b06c86515
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/mod.rs:1186:21
[INFO] [stdout]    6:     0x562cf0521113 - std::io::Write::write_fmt::h509ff860e5956e5e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x562cf0524882 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x562cf052649a - std::panicking::default_hook::{{closure}}::he19d4c7230e07961
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x562cf05262a4 - std::panicking::default_hook::hf614597d3c67bbdb
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x562cf04eebc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39b51ce4599c23d1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x562cf04eebc9 - test::test_main::{{closure}}::he977ae839a582784
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x562cf0526b38 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h9455091b6b06f9fb
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x562cf0526b38 - std::panicking::rust_panic_with_hook::h8942133a8b252070
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x562cf05268fa - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x562cf0524f19 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x562cf052658c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x562cf0201210 - core::panicking::panic_fmt::h0c3082644d1bf418
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14
[INFO] [stdout]   18:     0x562cf020f23f - trybuild::run::<impl trybuild::Runner>::run::h60c852e85bf9a8ee
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.101/src/run.rs:101:13
[INFO] [stdout]   19:     0x562cf0214748 - <trybuild::TestCases as core::ops::drop::Drop>::drop::h97955ea00685de3a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.101/src/lib.rs:340:13
[INFO] [stdout]   20:     0x562cf0201e57 - core::ptr::drop_in_place<trybuild::TestCases>::hf6833c59b2490ee0
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ptr/mod.rs:574:1
[INFO] [stdout]   21:     0x562cf0202593 - compile_fail::compile_fail::hf02c2440d83caadd
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile_fail.rs:8:5
[INFO] [stdout]   22:     0x562cf0202527 - compile_fail::compile_fail::{{closure}}::hf9e7a5aa0c47e9df
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile_fail.rs:4:19
[INFO] [stdout]   23:     0x562cf0201db6 - core::ops::function::FnOnce::call_once::h75153e78a96a44d6
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x562cf04f358b - core::ops::function::FnOnce::call_once::h109cf8051a59b34e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x562cf04f358b - test::__rust_begin_short_backtrace::hf4fff89d377446ba
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x562cf04f2dc7 - test::run_test_in_process::{{closure}}::h0e39181dd7ee5a43
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x562cf04f2dc7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc5a66a30f0bdfd1f
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x562cf04f2dc7 - std::panicking::try::do_call::h873b7cf639554a5e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x562cf04f2dc7 - std::panicking::try::hdb19862fad9c8bd1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x562cf04f2dc7 - std::panic::catch_unwind::h281fe732d236d260
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x562cf04f2dc7 - test::run_test_in_process::h949b6df8457ed338
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x562cf04f2dc7 - test::run_test::{{closure}}::h52c556a6d4740e10
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x562cf04b80a4 - test::run_test::{{closure}}::h4237f6381c45ccb9
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x562cf04b80a4 - std::sys::backtrace::__rust_begin_short_backtrace::h505c97a579eca628
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x562cf04bb76e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e86b2e2bc107ea3
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:538:17
[INFO] [stdout]   36:     0x562cf04bb76e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h8b06ddb275ff4a25
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x562cf04bb76e - std::panicking::try::do_call::hb26ecd7cd9a9355d
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x562cf04bb76e - std::panicking::try::h8ddeca9d705f9069
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x562cf04bb76e - std::panic::catch_unwind::h49e1c33078844c46
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x562cf04bb76e - std::thread::Builder::spawn_unchecked_::{{closure}}::h6073db6ff56ad35d
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:537:30
[INFO] [stdout]   41:     0x562cf04bb76e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c5a5f3779c774f1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x562cf052b82b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf75717d9f28faebf
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x562cf052b82b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7bd883a5f3c5f3c1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x562cf052b82b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc78f3943333fa94
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x7e00ef75cac3 - <unknown>
[INFO] [stdout]   46:     0x7e00ef7eda04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     compile_fail
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.66s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test compile_fail`
[INFO] running `Command { std: "docker" "inspect" "c70c12928a53a72d457ebdea58a874f21d1c82521f3cdf8d35872e0e46cb2864", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c70c12928a53a72d457ebdea58a874f21d1c82521f3cdf8d35872e0e46cb2864", kill_on_drop: false }`
[INFO] [stdout] c70c12928a53a72d457ebdea58a874f21d1c82521f3cdf8d35872e0e46cb2864
