[INFO] fetching crate require_unsafe_in_body 0.3.2...
[INFO] testing require_unsafe_in_body-0.3.2 against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] extracting crate require_unsafe_in_body 0.3.2 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate require_unsafe_in_body 0.3.2 on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "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-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8963cabfa95cb63e7d6cd1c37b458d28810ae2ba99e6f855ec43c5e6b97428a4
[INFO] running `Command { std: "docker" "start" "-a" "8963cabfa95cb63e7d6cd1c37b458d28810ae2ba99e6f855ec43c5e6b97428a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8963cabfa95cb63e7d6cd1c37b458d28810ae2ba99e6f855ec43c5e6b97428a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8963cabfa95cb63e7d6cd1c37b458d28810ae2ba99e6f855ec43c5e6b97428a4", kill_on_drop: false }`
[INFO] [stdout] 8963cabfa95cb63e7d6cd1c37b458d28810ae2ba99e6f855ec43c5e6b97428a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7274f074d1b28c505d6f47f66881ae89639cda95e2c9d8d85b50416d37026c42
[INFO] running `Command { std: "docker" "start" "-a" "7274f074d1b28c505d6f47f66881ae89639cda95e2c9d8d85b50416d37026c42", 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.54s
[INFO] running `Command { std: "docker" "inspect" "7274f074d1b28c505d6f47f66881ae89639cda95e2c9d8d85b50416d37026c42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7274f074d1b28c505d6f47f66881ae89639cda95e2c9d8d85b50416d37026c42", kill_on_drop: false }`
[INFO] [stdout] 7274f074d1b28c505d6f47f66881ae89639cda95e2c9d8d85b50416d37026c42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd3c24944c8f1b6268535516e64ad420e089287acab64d107dbc5c965217b074
[INFO] running `Command { std: "docker" "start" "-a" "fd3c24944c8f1b6268535516e64ad420e089287acab64d107dbc5c965217b074", 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 target-triple v0.1.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling func_wrap v0.1.3
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling toml_edit v0.22.22
[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 23.41s
[INFO] running `Command { std: "docker" "inspect" "fd3c24944c8f1b6268535516e64ad420e089287acab64d107dbc5c965217b074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd3c24944c8f1b6268535516e64ad420e089287acab64d107dbc5c965217b074", kill_on_drop: false }`
[INFO] [stdout] fd3c24944c8f1b6268535516e64ad420e089287acab64d107dbc5c965217b074
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 31613173eb337ff04f29251c0c4923f286e016606c1713199dc55d32b2120b27
[INFO] running `Command { std: "docker" "start" "-a" "31613173eb337ff04f29251c0c4923f286e016606c1713199dc55d32b2120b27", 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-24f07f724cb60396)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compile_fail.rs (/opt/rustwide/target/debug/deps/compile_fail-ce412a4527409743)
[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] [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 difference v2.0.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking pretty_assertions v0.6.1
[INFO] [stderr]    Compiling 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 9.68s
[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:     0x635cbcf1c6fa - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x635cbcf1c6fa - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x635cbcf1c6fa - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x635cbcf1c6fa - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x635cbcf45a33 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x635cbcf45a33 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x635cbcf18da3 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x635cbcf1c542 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x635cbcf1e17d - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x635cbcf1df87 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x635cbcee48d7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x635cbcee48d7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x635cbcf1e828 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x635cbcf1e828 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x635cbcf1e5ea - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x635cbcf1cbd9 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x635cbcf1e27c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x635cbcbf3260 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x635cbcc0491f - trybuild::run::<impl trybuild::Runner>::run::h35bd0c5107968034
[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:     0x635cbcc09e38 - <trybuild::TestCases as core::ops::drop::Drop>::drop::h32d4583470a8855e
[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:     0x635cbcbf3d87 - core::ptr::drop_in_place<trybuild::TestCases>::h4a5f5f8fbe1bfb5c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ptr/mod.rs:521:1
[INFO] [stdout]   21:     0x635cbcbf44d3 - compile_fail::compile_fail::hd2a36629cf5ec5f9
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile_fail.rs:8:5
[INFO] [stdout]   22:     0x635cbcbf4467 - compile_fail::compile_fail::{{closure}}::hf014da7d1249893b
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile_fail.rs:4:19
[INFO] [stdout]   23:     0x635cbcbf3cf6 - core::ops::function::FnOnce::call_once::h91ff9e41d5d11fa8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x635cbcee93fb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x635cbcee93fb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   26:     0x635cbcee8de8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   27:     0x635cbcee8de8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x635cbcee8de8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x635cbcee8de8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x635cbcee8de8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x635cbcee8de8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   32:     0x635cbcee8de8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   33:     0x635cbceac88a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   34:     0x635cbceac88a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x635cbceb0204 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   36:     0x635cbceb0204 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x635cbceb0204 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x635cbceb0204 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x635cbceb0204 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x635cbceb0204 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   41:     0x635cbceb0204 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x635cbcf2373b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   43:     0x635cbcf2373b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   44:     0x635cbcf2373b - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x7e99b2827ac3 - <unknown>
[INFO] [stdout]   46:     0x7e99b28b8a04 - 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 10.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test compile_fail`
[INFO] running `Command { std: "docker" "inspect" "31613173eb337ff04f29251c0c4923f286e016606c1713199dc55d32b2120b27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31613173eb337ff04f29251c0c4923f286e016606c1713199dc55d32b2120b27", kill_on_drop: false }`
[INFO] [stdout] 31613173eb337ff04f29251c0c4923f286e016606c1713199dc55d32b2120b27
