[INFO] fetching crate ezhook 0.2.2... [INFO] testing ezhook-0.2.2 against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] extracting crate ezhook 0.2.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ezhook 0.2.2 on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ezhook 0.2.2 [INFO] finished tweaking crates.io crate ezhook 0.2.2 [INFO] tweaked toml for crates.io crate ezhook 0.2.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 669dd3e183c7d48ebd6b2bf2cc2f407390960b947388996e6e21e365b7b83eff [INFO] running `Command { std: "docker" "start" "-a" "669dd3e183c7d48ebd6b2bf2cc2f407390960b947388996e6e21e365b7b83eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "669dd3e183c7d48ebd6b2bf2cc2f407390960b947388996e6e21e365b7b83eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669dd3e183c7d48ebd6b2bf2cc2f407390960b947388996e6e21e365b7b83eff", kill_on_drop: false }` [INFO] [stdout] 669dd3e183c7d48ebd6b2bf2cc2f407390960b947388996e6e21e365b7b83eff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12c879e0fb26740d1a9dc7bcd66246c2103c47b4aac441720e3e73fdf45b089b [INFO] running `Command { std: "docker" "start" "-a" "12c879e0fb26740d1a9dc7bcd66246c2103c47b4aac441720e3e73fdf45b089b", kill_on_drop: false }` [INFO] [stderr] Compiling ezhook v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "12c879e0fb26740d1a9dc7bcd66246c2103c47b4aac441720e3e73fdf45b089b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c879e0fb26740d1a9dc7bcd66246c2103c47b4aac441720e3e73fdf45b089b", kill_on_drop: false }` [INFO] [stdout] 12c879e0fb26740d1a9dc7bcd66246c2103c47b4aac441720e3e73fdf45b089b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 236d905d9b3e52e7e51d6ae42bfa5e015fc328de9f457e6c47d7b9a942d92042 [INFO] running `Command { std: "docker" "start" "-a" "236d905d9b3e52e7e51d6ae42bfa5e015fc328de9f457e6c47d7b9a942d92042", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling ezhook v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/remote/swap.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | ) -> &mut $crate::local::swap::Hook<__ez_Func> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] ... [INFO] [stdout] 123 | / remote_swap_hook! { [INFO] [stdout] 124 | | #[hook] [INFO] [stdout] 125 | | fn add_one_before(x: i32) -> i32 { [INFO] [stdout] 126 | | orig!(x + 1) [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 103 | ) -> &'static mut $crate::local::swap::Hook<__ez_Func> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/remote/swap.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | ) -> &mut $crate::local::swap::Hook<__ez_Func> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] ... [INFO] [stdout] 130 | / remote_swap_hook! { [INFO] [stdout] 131 | | #[hook] [INFO] [stdout] 132 | | fn delayed(x: i32) -> i32 { [INFO] [stdout] 133 | | update_last(orig!(x)) [INFO] [stdout] ... | [INFO] [stdout] 142 | | static mut LAST: i32 = 0; [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 103 | ) -> &'static mut $crate::local::swap::Hook<__ez_Func> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/local/swap.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | assert!(unsafe { hook.target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 189 - assert!(unsafe { hook.target() } == square); [INFO] [stdout] 189 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/local/swap.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | assert!(unsafe { hook.target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 195 - assert!(unsafe { hook.target() } == square); [INFO] [stdout] 195 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/local/swap.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | assert!(unsafe { hook.target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 201 - assert!(unsafe { hook.target() } == square); [INFO] [stdout] 201 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/local/swap.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | assert!(unsafe { add_one_before::target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 219 - assert!(unsafe { add_one_before::target() } == square); [INFO] [stdout] 219 + assert!(std::ptr::fn_addr_eq(unsafe { add_one_before::target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/local/swap.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | assert!(unsafe { add_one_before::target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 225 - assert!(unsafe { add_one_before::target() } == square); [INFO] [stdout] 225 + assert!(std::ptr::fn_addr_eq(unsafe { add_one_before::target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/local/swap.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | assert!(unsafe { add_one_before::target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 231 - assert!(unsafe { add_one_before::target() } == square); [INFO] [stdout] 231 + assert!(std::ptr::fn_addr_eq(unsafe { add_one_before::target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/local/swap.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | __ez_HOOK.hook(target) [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 170 | / local_swap_hook! { [INFO] [stdout] 171 | | fn add_one_before(x: i32) -> i32 { [INFO] [stdout] 172 | | orig!(x + 1) [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::local_swap_hook` which comes from the expansion of the macro `local_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/local/swap.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | __ez_HOOK.unhook() [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 170 | / local_swap_hook! { [INFO] [stdout] 171 | | fn add_one_before(x: i32) -> i32 { [INFO] [stdout] 172 | | orig!(x + 1) [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::local_swap_hook` which comes from the expansion of the macro `local_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/local/swap.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | __ez_HOOK.toggle() [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 170 | / local_swap_hook! { [INFO] [stdout] 171 | | fn add_one_before(x: i32) -> i32 { [INFO] [stdout] 172 | | orig!(x + 1) [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::local_swap_hook` which comes from the expansion of the macro `local_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/local/swap.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | __ez_HOOK.target() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 170 | / local_swap_hook! { [INFO] [stdout] 171 | | fn add_one_before(x: i32) -> i32 { [INFO] [stdout] 172 | | orig!(x + 1) [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::local_swap_hook` which comes from the expansion of the macro `local_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/remote/swap.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | assert!(unsafe { hook.target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 160 - assert!(unsafe { hook.target() } == square); [INFO] [stdout] 160 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/remote/swap.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | assert!(unsafe { hook.target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 166 - assert!(unsafe { hook.target() } == square); [INFO] [stdout] 166 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/remote/swap.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | assert!(unsafe { hook.target() } == square); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 172 - assert!(unsafe { hook.target() } == square); [INFO] [stdout] 172 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:98:44 [INFO] [stdout] | [INFO] [stdout] 98 | $crate::remote::swap::len(&__ez_hook::__ez_HOOK, __ez_hook::$name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 123 | / remote_swap_hook! { [INFO] [stdout] 124 | | #[hook] [INFO] [stdout] 125 | | fn add_one_before(x: i32) -> i32 { [INFO] [stdout] 126 | | orig!(x + 1) [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | $crate::remote::swap::copy_to(&__ez_hook::__ez_HOOK, __ez_hook::$name, dest) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 123 | / remote_swap_hook! { [INFO] [stdout] 124 | | #[hook] [INFO] [stdout] 125 | | fn add_one_before(x: i32) -> i32 { [INFO] [stdout] 126 | | orig!(x + 1) [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | __ez_HOOK.toggle_inline(); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 126 | orig!(x + 1) [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | __ez_HOOK.target_inline() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 126 | orig!(x + 1) [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | __ez_HOOK.toggle_inline(); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 126 | orig!(x + 1) [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:98:44 [INFO] [stdout] | [INFO] [stdout] 98 | $crate::remote::swap::len(&__ez_hook::__ez_HOOK, __ez_hook::$name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 130 | / remote_swap_hook! { [INFO] [stdout] 131 | | #[hook] [INFO] [stdout] 132 | | fn delayed(x: i32) -> i32 { [INFO] [stdout] 133 | | update_last(orig!(x)) [INFO] [stdout] ... | [INFO] [stdout] 142 | | static mut LAST: i32 = 0; [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | $crate::remote::swap::copy_to(&__ez_hook::__ez_HOOK, __ez_hook::$name, dest) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 130 | / remote_swap_hook! { [INFO] [stdout] 131 | | #[hook] [INFO] [stdout] 132 | | fn delayed(x: i32) -> i32 { [INFO] [stdout] 133 | | update_last(orig!(x)) [INFO] [stdout] ... | [INFO] [stdout] 142 | | static mut LAST: i32 = 0; [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | __ez_HOOK.toggle_inline(); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 133 | update_last(orig!(x)) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | __ez_HOOK.target_inline() [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 133 | update_last(orig!(x)) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/remote/swap.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | __ez_HOOK.toggle_inline(); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 133 | update_last(orig!(x)) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "236d905d9b3e52e7e51d6ae42bfa5e015fc328de9f457e6c47d7b9a942d92042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236d905d9b3e52e7e51d6ae42bfa5e015fc328de9f457e6c47d7b9a942d92042", kill_on_drop: false }` [INFO] [stdout] 236d905d9b3e52e7e51d6ae42bfa5e015fc328de9f457e6c47d7b9a942d92042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ade578b1568f3772dbf805a41bea73cbb6fd881ce54a3c228b16fe191a0cef06 [INFO] running `Command { std: "docker" "start" "-a" "ade578b1568f3772dbf805a41bea73cbb6fd881ce54a3c228b16fe191a0cef06", kill_on_drop: false }` [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/remote/swap.rs:103:18 [INFO] [stderr] | [INFO] [stderr] 103 | ) -> &mut $crate::local::swap::Hook<__ez_Func> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'static` [INFO] [stderr] ... [INFO] [stderr] 123 | / remote_swap_hook! { [INFO] [stderr] 124 | | #[hook] [INFO] [stderr] 125 | | fn add_one_before(x: i32) -> i32 { [INFO] [stderr] 126 | | orig!(x + 1) [INFO] [stderr] 127 | | } [INFO] [stderr] 128 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider specifying it explicitly [INFO] [stderr] | [INFO] [stderr] 103 | ) -> &'static mut $crate::local::swap::Hook<__ez_Func> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/remote/swap.rs:103:18 [INFO] [stderr] | [INFO] [stderr] 103 | ) -> &mut $crate::local::swap::Hook<__ez_Func> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'static` [INFO] [stderr] ... [INFO] [stderr] 130 | / remote_swap_hook! { [INFO] [stderr] 131 | | #[hook] [INFO] [stderr] 132 | | fn delayed(x: i32) -> i32 { [INFO] [stderr] 133 | | update_last(orig!(x)) [INFO] [stderr] ... | [INFO] [stderr] 142 | | static mut LAST: i32 = 0; [INFO] [stderr] 143 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider specifying it explicitly [INFO] [stderr] | [INFO] [stderr] 103 | ) -> &'static mut $crate::local::swap::Hook<__ez_Func> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/local/swap.rs:189:21 [INFO] [stderr] | [INFO] [stderr] 189 | assert!(unsafe { hook.target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 189 - assert!(unsafe { hook.target() } == square); [INFO] [stderr] 189 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/local/swap.rs:195:21 [INFO] [stderr] | [INFO] [stderr] 195 | assert!(unsafe { hook.target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 195 - assert!(unsafe { hook.target() } == square); [INFO] [stderr] 195 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/local/swap.rs:201:21 [INFO] [stderr] | [INFO] [stderr] 201 | assert!(unsafe { hook.target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 201 - assert!(unsafe { hook.target() } == square); [INFO] [stderr] 201 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/local/swap.rs:219:21 [INFO] [stderr] | [INFO] [stderr] 219 | assert!(unsafe { add_one_before::target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 219 - assert!(unsafe { add_one_before::target() } == square); [INFO] [stderr] 219 + assert!(std::ptr::fn_addr_eq(unsafe { add_one_before::target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/local/swap.rs:225:21 [INFO] [stderr] | [INFO] [stderr] 225 | assert!(unsafe { add_one_before::target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 225 - assert!(unsafe { add_one_before::target() } == square); [INFO] [stderr] 225 + assert!(std::ptr::fn_addr_eq(unsafe { add_one_before::target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/local/swap.rs:231:21 [INFO] [stderr] | [INFO] [stderr] 231 | assert!(unsafe { add_one_before::target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 231 - assert!(unsafe { add_one_before::target() } == square); [INFO] [stderr] 231 + assert!(std::ptr::fn_addr_eq(unsafe { add_one_before::target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/local/swap.rs:132:17 [INFO] [stderr] | [INFO] [stderr] 132 | __ez_HOOK.hook(target) [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 170 | / local_swap_hook! { [INFO] [stderr] 171 | | fn add_one_before(x: i32) -> i32 { [INFO] [stderr] 172 | | orig!(x + 1) [INFO] [stderr] 173 | | } [INFO] [stderr] 174 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::local_swap_hook` which comes from the expansion of the macro `local_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/local/swap.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | __ez_HOOK.unhook() [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 170 | / local_swap_hook! { [INFO] [stderr] 171 | | fn add_one_before(x: i32) -> i32 { [INFO] [stderr] 172 | | orig!(x + 1) [INFO] [stderr] 173 | | } [INFO] [stderr] 174 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `$crate::local_swap_hook` which comes from the expansion of the macro `local_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/local/swap.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | __ez_HOOK.toggle() [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 170 | / local_swap_hook! { [INFO] [stderr] 171 | | fn add_one_before(x: i32) -> i32 { [INFO] [stderr] 172 | | orig!(x + 1) [INFO] [stderr] 173 | | } [INFO] [stderr] 174 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `$crate::local_swap_hook` which comes from the expansion of the macro `local_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/local/swap.rs:147:17 [INFO] [stderr] | [INFO] [stderr] 147 | __ez_HOOK.target() [INFO] [stderr] | ^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 170 | / local_swap_hook! { [INFO] [stderr] 171 | | fn add_one_before(x: i32) -> i32 { [INFO] [stderr] 172 | | orig!(x + 1) [INFO] [stderr] 173 | | } [INFO] [stderr] 174 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `$crate::local_swap_hook` which comes from the expansion of the macro `local_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/remote/swap.rs:160:21 [INFO] [stderr] | [INFO] [stderr] 160 | assert!(unsafe { hook.target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 160 - assert!(unsafe { hook.target() } == square); [INFO] [stderr] 160 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/remote/swap.rs:166:21 [INFO] [stderr] | [INFO] [stderr] 166 | assert!(unsafe { hook.target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 166 - assert!(unsafe { hook.target() } == square); [INFO] [stderr] 166 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/remote/swap.rs:172:21 [INFO] [stderr] | [INFO] [stderr] 172 | assert!(unsafe { hook.target() } == square); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 172 - assert!(unsafe { hook.target() } == square); [INFO] [stderr] 172 + assert!(std::ptr::fn_addr_eq(unsafe { hook.target() }, square as fn(i32) -> i32)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:98:44 [INFO] [stderr] | [INFO] [stderr] 98 | $crate::remote::swap::len(&__ez_hook::__ez_HOOK, __ez_hook::$name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 123 | / remote_swap_hook! { [INFO] [stderr] 124 | | #[hook] [INFO] [stderr] 125 | | fn add_one_before(x: i32) -> i32 { [INFO] [stderr] 126 | | orig!(x + 1) [INFO] [stderr] 127 | | } [INFO] [stderr] 128 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:104:48 [INFO] [stderr] | [INFO] [stderr] 104 | $crate::remote::swap::copy_to(&__ez_hook::__ez_HOOK, __ez_hook::$name, dest) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 123 | / remote_swap_hook! { [INFO] [stderr] 124 | | #[hook] [INFO] [stderr] 125 | | fn add_one_before(x: i32) -> i32 { [INFO] [stderr] 126 | | orig!(x + 1) [INFO] [stderr] 127 | | } [INFO] [stderr] 128 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | __ez_HOOK.toggle_inline(); [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 126 | orig!(x + 1) [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:58:33 [INFO] [stderr] | [INFO] [stderr] 58 | __ez_HOOK.target_inline() [INFO] [stderr] | ^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 126 | orig!(x + 1) [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:65:33 [INFO] [stderr] | [INFO] [stderr] 65 | __ez_HOOK.toggle_inline(); [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 126 | orig!(x + 1) [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:98:44 [INFO] [stderr] | [INFO] [stderr] 98 | $crate::remote::swap::len(&__ez_hook::__ez_HOOK, __ez_hook::$name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 130 | / remote_swap_hook! { [INFO] [stderr] 131 | | #[hook] [INFO] [stderr] 132 | | fn delayed(x: i32) -> i32 { [INFO] [stderr] 133 | | update_last(orig!(x)) [INFO] [stderr] ... | [INFO] [stderr] 142 | | static mut LAST: i32 = 0; [INFO] [stderr] 143 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:104:48 [INFO] [stderr] | [INFO] [stderr] 104 | $crate::remote::swap::copy_to(&__ez_hook::__ez_HOOK, __ez_hook::$name, dest) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 130 | / remote_swap_hook! { [INFO] [stderr] 131 | | #[hook] [INFO] [stderr] 132 | | fn delayed(x: i32) -> i32 { [INFO] [stderr] 133 | | update_last(orig!(x)) [INFO] [stderr] ... | [INFO] [stderr] 142 | | static mut LAST: i32 = 0; [INFO] [stderr] 143 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `$crate::remote_swap_hook` which comes from the expansion of the macro `remote_swap_hook` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | __ez_HOOK.toggle_inline(); [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 133 | update_last(orig!(x)) [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:58:33 [INFO] [stderr] | [INFO] [stderr] 58 | __ez_HOOK.target_inline() [INFO] [stderr] | ^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 133 | update_last(orig!(x)) [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/remote/swap.rs:65:33 [INFO] [stderr] | [INFO] [stderr] 65 | __ez_HOOK.toggle_inline(); [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 133 | update_last(orig!(x)) [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `orig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ezhook` (lib test) generated 25 warnings (run `cargo fix --lib -p ezhook --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ezhook-b23b06d7a470b298) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test local::swap::tests::hook ... ok [INFO] [stdout] test local::swap::tests::hook_macro ... ok [INFO] [stdout] test local::swap::tests::hook_multiple ... ok [INFO] [stdout] test remote::swap::tests::hook_macro ... ok [INFO] [stdout] test remote::swap::tests::hook_macro_state ... ok [INFO] [stdout] test remote::swap::tests::hook_macro_multiple ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- remote::swap::tests::hook_macro_multiple stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'remote::swap::tests::hook_macro_multiple' panicked at src/local/swap.rs:28:57: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: TryFromIntError(()) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55de42e7463f - std::backtrace_rs::backtrace::libunwind::trace::h273cca4b4ff52a75 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x55de42e7463f - std::backtrace_rs::backtrace::trace_unsynchronized::h0dcaf4eaddc63f4d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55de42e7463f - std::sys::backtrace::_print_fmt::h99227612ab693c91 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55de42e7463f - ::fmt::hd0fb9a24f673249b [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55de42e9bea3 - core::fmt::rt::Argument::fmt::h3790bd73ff49839a [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/fmt/rt.rs:184:76 [INFO] [stdout] 5: 0x55de42e9bea3 - core::fmt::write::hf7b505e27c2f59c0 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x55de42e711a3 - std::io::Write::write_fmt::hb002ef36900cedb4 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x55de42e74492 - std::sys::backtrace::BacktraceLock::print::h5fa244ae2c1a02f2 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x55de42e75a6f - std::panicking::default_hook::{{closure}}::hd977fe155ed94062 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x55de42e75888 - std::panicking::default_hook::hf1aee4d1a1a53629 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x55de42e3e5b5 - as core::ops::function::Fn>::call::h863d5366fd8956b9 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 11: 0x55de42e3e5b5 - test::test_main::{{closure}}::h069467131d9eccce [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x55de42e76563 - as core::ops::function::Fn>::call::h4d850f4eb7d2da54 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 13: 0x55de42e76563 - std::panicking::rust_panic_with_hook::h8442779a6bb2c045 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x55de42e7621a - std::panicking::begin_panic_handler::{{closure}}::h5fc7eacd91180541 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x55de42e74b59 - std::sys::backtrace::__rust_end_short_backtrace::h83d61fb88e4c1551 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x55de42e75ead - rust_begin_unwind [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x55de42e9a8a0 - core::panicking::panic_fmt::hcb1ec5c71ed9d2aa [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x55de42e9ad26 - core::result::unwrap_failed::h934cbc059c4c1385 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x55de42dfd11d - core::result::Result::unwrap::h65845e0654259547 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x55de42dfd11d - ezhook::local::swap::Hook::hook::h9e6019b4fdbb2dbc [INFO] [stdout] at /opt/rustwide/workdir/src/local/swap.rs:28:22 [INFO] [stdout] 21: 0x55de42dff6b3 - ezhook::remote::swap::tests::hook_macro_multiple::h84782018f3404043 [INFO] [stdout] at /opt/rustwide/workdir/src/remote/swap.rs:219:18 [INFO] [stdout] 22: 0x55de42dff5a7 - ezhook::remote::swap::tests::hook_macro_multiple::{{closure}}::ha719ef8e22ea3383 [INFO] [stdout] at /opt/rustwide/workdir/src/remote/swap.rs:212:29 [INFO] [stdout] 23: 0x55de42dfb5f6 - core::ops::function::FnOnce::call_once::h8a1fca84bb5f5c6a [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55de42e43dcb - core::ops::function::FnOnce::call_once::h4f53344eaef367a7 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55de42e43dcb - test::__rust_begin_short_backtrace::hd74e5b45349ae0eb [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:637:18 [INFO] [stdout] 26: 0x55de42e42c28 - test::run_test_in_process::{{closure}}::h464496cd0c1c7008 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:660:60 [INFO] [stdout] 27: 0x55de42e42c28 - as core::ops::function::FnOnce<()>>::call_once::h783dbf339886dbb5 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x55de42e42c28 - std::panicking::try::do_call::h939d38eaf9984278 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:587:40 [INFO] [stdout] 29: 0x55de42e42c28 - std::panicking::try::h7462749e6e425b58 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:550:19 [INFO] [stdout] 30: 0x55de42e42c28 - std::panic::catch_unwind::hd7e0994ef35a8a51 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panic.rs:358:14 [INFO] [stdout] 31: 0x55de42e42c28 - test::run_test_in_process::hf0a6730e4eaf615d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:660:27 [INFO] [stdout] 32: 0x55de42e42c28 - test::run_test::{{closure}}::h6563d57083dce3d5 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:581:43 [INFO] [stdout] 33: 0x55de42e05ba5 - test::run_test::{{closure}}::hd77e8481970892f0 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:611:41 [INFO] [stdout] 34: 0x55de42e05ba5 - std::sys::backtrace::__rust_begin_short_backtrace::h3affc308abe149f2 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x55de42e0954a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0bcb7f1fc989ad90 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x55de42e0954a - as core::ops::function::FnOnce<()>>::call_once::h7f1d3c81251e8f39 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x55de42e0954a - std::panicking::try::do_call::ha04f8c9df155cd96 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:587:40 [INFO] [stdout] 38: 0x55de42e0954a - std::panicking::try::hbac6309ffcaaa153 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:550:19 [INFO] [stdout] 39: 0x55de42e0954a - std::panic::catch_unwind::h05df0eec2faa6d0d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panic.rs:358:14 [INFO] [stdout] 40: 0x55de42e0954a - std::thread::Builder::spawn_unchecked_::{{closure}}::h0931fb094701c63d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x55de42e0954a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h58033be664b55387 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x55de42e7a38b - as core::ops::function::FnOnce>::call_once::hc2b66a72ea953e16 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x55de42e7a38b - as core::ops::function::FnOnce>::call_once::h64ac890f18adb1a4 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x55de42e7a38b - std::sys::pal::unix::thread::Thread::new::thread_start::h8744afc3d48ab12e [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 45: 0x783ed9a71ac3 - [INFO] [stdout] 46: 0x783ed9b02a04 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] remote::swap::tests::hook_macro_multiple [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "ade578b1568f3772dbf805a41bea73cbb6fd881ce54a3c228b16fe191a0cef06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade578b1568f3772dbf805a41bea73cbb6fd881ce54a3c228b16fe191a0cef06", kill_on_drop: false }` [INFO] [stdout] ade578b1568f3772dbf805a41bea73cbb6fd881ce54a3c228b16fe191a0cef06