[INFO] fetching crate require_unsafe_in_body 0.3.2...
[INFO] testing require_unsafe_in_body-0.3.2 against beta-2025-10-28 for beta-1.92-1
[INFO] extracting crate require_unsafe_in_body 0.3.2 into /workspace/builds/worker-2-tc2/source
[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-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate require_unsafe_in_body 0.3.2 on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 37 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.108)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c4e5bd65f835c13e457f56d6dc8ac84c670132f59d3661edc163f8b921c16b6
[INFO] running `Command { std: "docker" "start" "-a" "0c4e5bd65f835c13e457f56d6dc8ac84c670132f59d3661edc163f8b921c16b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c4e5bd65f835c13e457f56d6dc8ac84c670132f59d3661edc163f8b921c16b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c4e5bd65f835c13e457f56d6dc8ac84c670132f59d3661edc163f8b921c16b6", kill_on_drop: false }`
[INFO] [stdout] 0c4e5bd65f835c13e457f56d6dc8ac84c670132f59d3661edc163f8b921c16b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ecf20383ea542489c3651751b98fd0dae3fed421a16bfd4c6f578f088f66f90e
[INFO] running `Command { std: "docker" "start" "-a" "ecf20383ea542489c3651751b98fd0dae3fed421a16bfd4c6f578f088f66f90e", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[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 4.76s
[INFO] running `Command { std: "docker" "inspect" "ecf20383ea542489c3651751b98fd0dae3fed421a16bfd4c6f578f088f66f90e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecf20383ea542489c3651751b98fd0dae3fed421a16bfd4c6f578f088f66f90e", kill_on_drop: false }`
[INFO] [stdout] ecf20383ea542489c3651751b98fd0dae3fed421a16bfd4c6f578f088f66f90e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0171c8bcf627c684bb70ab9d5a9c11639007293c9ddb1f4fd8338d41b3b30021
[INFO] running `Command { std: "docker" "start" "-a" "0171c8bcf627c684bb70ab9d5a9c11639007293c9ddb1f4fd8338d41b3b30021", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling toml_writer v1.0.4
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling serde_spanned v1.0.3
[INFO] [stderr]    Compiling toml v0.9.8
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling func_wrap v0.1.3
[INFO] [stderr]    Compiling require_unsafe_in_body v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling trybuild v1.0.113
[INFO] [stdout] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused
[INFO] [stdout]   --> tests/compile_success/associated_types.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |             ::core::ptr::read(::core::ptr::null())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^-------------------^
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               null pointer originates from here
[INFO] [stdout]    |
[INFO] [stdout]    = help: for more information, visit <https://doc.rust-lang.org/std/ptr/index.html> and <https://doc.rust-lang.org/reference/behavior-considered-undefined.html>
[INFO] [stdout]    = note: `#[warn(invalid_null_arguments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused
[INFO] [stdout]   --> tests/compile_success/associated_types.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             ::core::ptr::read(::core::ptr::null())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^-------------------^
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               null pointer originates from here
[INFO] [stdout]    |
[INFO] [stdout]    = help: for more information, visit <https://doc.rust-lang.org/std/ptr/index.html> and <https://doc.rust-lang.org/reference/behavior-considered-undefined.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused
[INFO] [stdout]   --> tests/compile_success/associated_types.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ::core::ptr::read(::core::ptr::null())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^-------------------^
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               null pointer originates from here
[INFO] [stdout]    |
[INFO] [stdout]    = help: for more information, visit <https://doc.rust-lang.org/std/ptr/index.html> and <https://doc.rust-lang.org/reference/behavior-considered-undefined.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 19.28s
[INFO] running `Command { std: "docker" "inspect" "0171c8bcf627c684bb70ab9d5a9c11639007293c9ddb1f4fd8338d41b3b30021", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0171c8bcf627c684bb70ab9d5a9c11639007293c9ddb1f4fd8338d41b3b30021", kill_on_drop: false }`
[INFO] [stdout] 0171c8bcf627c684bb70ab9d5a9c11639007293c9ddb1f4fd8338d41b3b30021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 58a9a2d0bf44940d99cd774a973ff15108633b35c20facaecde6bb3526feb8b1
[INFO] running `Command { std: "docker" "start" "-a" "58a9a2d0bf44940d99cd774a973ff15108633b35c20facaecde6bb3526feb8b1", kill_on_drop: false }`
[INFO] [stderr] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused
[INFO] [stderr]   --> tests/compile_success/associated_types.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 |             ::core::ptr::read(::core::ptr::null())
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^-------------------^
[INFO] [stderr]    |                               |
[INFO] [stderr]    |                               null pointer originates from here
[INFO] [stderr]    |
[INFO] [stderr]    = help: for more information, visit <https://doc.rust-lang.org/std/ptr/index.html> and <https://doc.rust-lang.org/reference/behavior-considered-undefined.html>
[INFO] [stderr]    = note: `#[warn(invalid_null_arguments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused
[INFO] [stderr]   --> tests/compile_success/associated_types.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |             ::core::ptr::read(::core::ptr::null())
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^-------------------^
[INFO] [stderr]    |                               |
[INFO] [stderr]    |                               null pointer originates from here
[INFO] [stderr]    |
[INFO] [stderr]    = help: for more information, visit <https://doc.rust-lang.org/std/ptr/index.html> and <https://doc.rust-lang.org/reference/behavior-considered-undefined.html>
[INFO] [stderr] 
[INFO] [stderr] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused
[INFO] [stderr]   --> tests/compile_success/associated_types.rs:29:13
[INFO] [stderr]    |
[INFO] [stderr] 29 |             ::core::ptr::read(::core::ptr::null())
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^-------------------^
[INFO] [stderr]    |                               |
[INFO] [stderr]    |                               null pointer originates from here
[INFO] [stderr]    |
[INFO] [stderr]    = help: for more information, visit <https://doc.rust-lang.org/std/ptr/index.html> and <https://doc.rust-lang.org/reference/behavior-considered-undefined.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `require_unsafe_in_body` (test "compile_success") generated 3 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/require_unsafe_in_body-a55d8196010cf621)
[INFO] [stderr]      Running tests/compile_fail.rs (/opt/rustwide/target/debug/deps/compile_fail-9095617fb508a325)
[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] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[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 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.65s
[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<T>` 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] 
[INFO] [stdout] thread 'compile_fail' (26) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.113/src/run.rs:102:13:
[INFO] [stdout] 3 of 3 tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x59d453df1962 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x59d453df1962 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x59d453df1962 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x59d453df1962 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h47627beda0767f4c
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x59d453e0339f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x59d453e0339f - core::fmt::write::h8a63064c67176fd8
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x59d453dbc0a3 - std::io::default_write_fmt::hd4797e693c0ec256
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x59d453dbc0a3 - std::io::Write::write_fmt::h791e240ad2720c99
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x59d453dc9652 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x59d453dcebff - std::panicking::default_hook::{{closure}}::h23e0299d4738b766
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x59d453dcea91 - std::panicking::default_hook::hfeec6294e8751b62
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x59d453d8e09e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3f5a16438cee2b4e
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9
[INFO] [stdout]   12:     0x59d453d8e09e - test::test_main_with_exit_callback::{{closure}}::h9214498cef9aafc5
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x59d453dcf20f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb18da3e68df7464
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9
[INFO] [stdout]   14:     0x59d453dcf20f - std::panicking::panic_with_hook::hd57cd463d793ed79
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x59d453dcf06a - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x59d453dc9789 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x59d453daf7ad - __rustc[256c90bb7e548b45]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x59d453e0c6c0 - core::panicking::panic_fmt::hf19c198748ef6a95
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x59d453bfafab - trybuild::run::<impl trybuild::Runner>::run::h9ddf17ddb1a66675
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.113/src/run.rs:102:13
[INFO] [stdout]   20:     0x59d453bf3898 - <trybuild::TestCases as core::ops::drop::Drop>::drop::h26d9b8fa2dc5496e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.113/src/lib.rs:342:38
[INFO] [stdout]   21:     0x59d453b33f37 - core::ptr::drop_in_place<trybuild::TestCases>::hd3e79cb3e5072083
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ptr/mod.rs:805:1
[INFO] [stdout]   22:     0x59d453b33d63 - compile_fail::compile_fail::h0a989a24995a1a6b
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile_fail.rs:8:5
[INFO] [stdout]   23:     0x59d453b33d97 - compile_fail::compile_fail::{{closure}}::hbb32856e6bfe4901
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile_fail.rs:4:19
[INFO] [stdout]   24:     0x59d453b33ed6 - core::ops::function::FnOnce::call_once::h6a8bc5526daf0bd8
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x59d453d8deeb - core::ops::function::FnOnce::call_once::h43f43c5185cf39c2
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x59d453d8deeb - test::__rust_begin_short_backtrace::hc4fa634eb2764bdc
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x59d453da2508 - test::run_test_in_process::{{closure}}::h9f4b799a5211b72a
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x59d453da2508 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::ha572bf7dc5230a8f
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x59d453da2508 - std::panicking::catch_unwind::do_call::hfd6ff51f25dd177b
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40
[INFO] [stdout]   30:     0x59d453da2508 - std::panicking::catch_unwind::h8609b446221def5f
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19
[INFO] [stdout]   31:     0x59d453da2508 - std::panic::catch_unwind::h362f73cc48531e26
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x59d453da2508 - test::run_test_in_process::hf52fd21d696aae67
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x59d453da2508 - test::run_test::{{closure}}::h7e780b8354e6d007
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x59d453d7b2d4 - test::run_test::{{closure}}::hdc2695f2276aad3e
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x59d453d7b2d4 - std::sys::backtrace::__rust_begin_short_backtrace::h2555b2113ed90fc9
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   36:     0x59d453d7ec0a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h99800d480987dfb6
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   37:     0x59d453d7ec0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbbb69b5294b2221b
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x59d453d7ec0a - std::panicking::catch_unwind::do_call::h495689350c27df20
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40
[INFO] [stdout]   39:     0x59d453d7ec0a - std::panicking::catch_unwind::hf22437c51d1b3740
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19
[INFO] [stdout]   40:     0x59d453d7ec0a - std::panic::catch_unwind::habda1a57de8231f8
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x59d453d7ec0a - std::thread::Builder::spawn_unchecked_::{{closure}}::h5833d8dda8c7e80b
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   42:     0x59d453d7ec0a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2910283a5058402
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x59d453dc430f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he4d85cb537521972
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2005:9
[INFO] [stdout]   44:     0x59d453dc430f - std::sys::thread::unix::Thread::new::thread_start::hbaf586a9e50a98cd
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   45:     0x70e937c46aa4 - <unknown>
[INFO] [stdout]   46:     0x70e937cd3a34 - 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.15s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test compile_fail`
[INFO] running `Command { std: "docker" "inspect" "58a9a2d0bf44940d99cd774a973ff15108633b35c20facaecde6bb3526feb8b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58a9a2d0bf44940d99cd774a973ff15108633b35c20facaecde6bb3526feb8b1", kill_on_drop: false }`
[INFO] [stdout] 58a9a2d0bf44940d99cd774a973ff15108633b35c20facaecde6bb3526feb8b1
