[INFO] fetching crate ilhook 2.3.0... [INFO] testing ilhook-2.3.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] extracting crate ilhook 2.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ilhook 2.3.0 [INFO] finished tweaking crates.io crate ilhook 2.3.0 [INFO] tweaked toml for crates.io crate ilhook 2.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ilhook 2.3.0 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ilhook 2.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c7fd5e5e3ede83716b96a8c6483f5f783e5e1cbdcfd68599c616fe8d6cd6a4c [INFO] running `Command { std: "docker" "start" "-a" "1c7fd5e5e3ede83716b96a8c6483f5f783e5e1cbdcfd68599c616fe8d6cd6a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c7fd5e5e3ede83716b96a8c6483f5f783e5e1cbdcfd68599c616fe8d6cd6a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c7fd5e5e3ede83716b96a8c6483f5f783e5e1cbdcfd68599c616fe8d6cd6a4c", kill_on_drop: false }` [INFO] [stdout] 1c7fd5e5e3ede83716b96a8c6483f5f783e5e1cbdcfd68599c616fe8d6cd6a4c [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] efc7e0dd13033a5101fbde7f0c8b0a70373076d2e0538b5ea0db2df669e9b9d8 [INFO] running `Command { std: "docker" "start" "-a" "efc7e0dd13033a5101fbde7f0c8b0a70373076d2e0538b5ea0db2df669e9b9d8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling iced-x86 v1.21.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ilhook v2.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | pub type JmpBackRoutine = unsafe extern "cdecl" fn(regs: *mut Registers, user_data: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, user_data: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / unsafe extern "cdecl" fn run_jmp_back_closure( [INFO] [stdout] 392 | | reg: *mut Registers, [INFO] [stdout] 393 | | callback: usize, [INFO] [stdout] 394 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | / unsafe extern "cdecl" fn run_retn_closure usize>( [INFO] [stdout] 401 | | reg: *mut Registers, [INFO] [stdout] 402 | | original: usize, [INFO] [stdout] 403 | | callback: usize, [INFO] [stdout] 404 | | ) -> usize { [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / unsafe extern "cdecl" fn run_jmp_to_addr_closure( [INFO] [stdout] 410 | | reg: *mut Registers, [INFO] [stdout] 411 | | original: usize, [INFO] [stdout] 412 | | callback: usize, [INFO] [stdout] 413 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.88s [INFO] running `Command { std: "docker" "inspect" "efc7e0dd13033a5101fbde7f0c8b0a70373076d2e0538b5ea0db2df669e9b9d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc7e0dd13033a5101fbde7f0c8b0a70373076d2e0538b5ea0db2df669e9b9d8", kill_on_drop: false }` [INFO] [stdout] efc7e0dd13033a5101fbde7f0c8b0a70373076d2e0538b5ea0db2df669e9b9d8 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 6f9c84ad7431f4de403eb2b0939895e6e846b3454850d9cb22ca275994b5e2a3 [INFO] running `Command { std: "docker" "start" "-a" "6f9c84ad7431f4de403eb2b0939895e6e846b3454850d9cb22ca275994b5e2a3", kill_on_drop: false }` [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | pub type JmpBackRoutine = unsafe extern "cdecl" fn(regs: *mut Registers, user_data: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, user_data: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / unsafe extern "cdecl" fn run_jmp_back_closure( [INFO] [stdout] 392 | | reg: *mut Registers, [INFO] [stdout] 393 | | callback: usize, [INFO] [stdout] 394 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | / unsafe extern "cdecl" fn run_retn_closure usize>( [INFO] [stdout] 401 | | reg: *mut Registers, [INFO] [stdout] 402 | | original: usize, [INFO] [stdout] 403 | | callback: usize, [INFO] [stdout] 404 | | ) -> usize { [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / unsafe extern "cdecl" fn run_jmp_to_addr_closure( [INFO] [stdout] 410 | | reg: *mut Registers, [INFO] [stdout] 411 | | original: usize, [INFO] [stdout] 412 | | callback: usize, [INFO] [stdout] 413 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ilhook v2.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | pub type JmpBackRoutine = unsafe extern "cdecl" fn(regs: *mut Registers, user_data: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, user_data: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / unsafe extern "cdecl" fn run_jmp_back_closure( [INFO] [stdout] 392 | | reg: *mut Registers, [INFO] [stdout] 393 | | callback: usize, [INFO] [stdout] 394 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | / unsafe extern "cdecl" fn run_retn_closure usize>( [INFO] [stdout] 401 | | reg: *mut Registers, [INFO] [stdout] 402 | | original: usize, [INFO] [stdout] 403 | | callback: usize, [INFO] [stdout] 404 | | ) -> usize { [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/x86.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / unsafe extern "cdecl" fn run_jmp_to_addr_closure( [INFO] [stdout] 410 | | reg: *mut Registers, [INFO] [stdout] 411 | | original: usize, [INFO] [stdout] 412 | | callback: usize, [INFO] [stdout] 413 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/x64/tests.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | foo as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 244 | foo as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/x64/tests.rs:270:31 [INFO] [stdout] | [INFO] [stdout] 270 | hook_closure_retn(foo as usize, new_foo, CallbackOption::None, HookFlags::empty()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 270 | hook_closure_retn(foo as *const () as usize, new_foo, CallbackOption::None, HookFlags::empty()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "6f9c84ad7431f4de403eb2b0939895e6e846b3454850d9cb22ca275994b5e2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9c84ad7431f4de403eb2b0939895e6e846b3454850d9cb22ca275994b5e2a3", kill_on_drop: false }` [INFO] [stdout] 6f9c84ad7431f4de403eb2b0939895e6e846b3454850d9cb22ca275994b5e2a3 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] cd947eeeda16e3cf0edb0c9f5e66efe18aed7abc20604cd2d1cf0b521c7e90ba [INFO] running `Command { std: "docker" "start" "-a" "cd947eeeda16e3cf0edb0c9f5e66efe18aed7abc20604cd2d1cf0b521c7e90ba", kill_on_drop: false }` [INFO] [stderr] warning: "cdecl" is not a supported ABI for the current target [INFO] [stderr] --> src/x86.rs:30:27 [INFO] [stderr] | [INFO] [stderr] 30 | pub type JmpBackRoutine = unsafe extern "cdecl" fn(regs: *mut Registers, user_data: usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #137018 [INFO] [stderr] = help: use `extern "C"` instead [INFO] [stderr] = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: "cdecl" is not a supported ABI for the current target [INFO] [stderr] --> src/x86.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, user_data: usize) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #137018 [INFO] [stderr] = help: use `extern "C"` instead [INFO] [stderr] [INFO] [stderr] warning: "cdecl" is not a supported ABI for the current target [INFO] [stderr] --> src/x86.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #137018 [INFO] [stderr] = help: use `extern "C"` instead [INFO] [stderr] [INFO] [stderr] warning: "cdecl" is not a supported ABI for the current target [INFO] [stderr] --> src/x86.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #137018 [INFO] [stderr] = help: use `extern "C"` instead [INFO] [stderr] [INFO] [stderr] warning: "cdecl" is not a supported ABI for the current target [INFO] [stderr] --> src/x86.rs:391:1 [INFO] [stderr] | [INFO] [stderr] 391 | / unsafe extern "cdecl" fn run_jmp_back_closure( [INFO] [stderr] 392 | | reg: *mut Registers, [INFO] [stderr] 393 | | callback: usize, [INFO] [stderr] 394 | | ) { [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #137018 [INFO] [stderr] = help: use `extern "C"` instead [INFO] [stderr] [INFO] [stderr] warning: "cdecl" is not a supported ABI for the current target [INFO] [stderr] --> src/x86.rs:400:1 [INFO] [stderr] | [INFO] [stderr] 400 | / unsafe extern "cdecl" fn run_retn_closure usize>( [INFO] [stderr] 401 | | reg: *mut Registers, [INFO] [stderr] 402 | | original: usize, [INFO] [stderr] 403 | | callback: usize, [INFO] [stderr] 404 | | ) -> usize { [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #137018 [INFO] [stderr] = help: use `extern "C"` instead [INFO] [stderr] [INFO] [stderr] warning: "cdecl" is not a supported ABI for the current target [INFO] [stderr] --> src/x86.rs:409:1 [INFO] [stderr] | [INFO] [stderr] 409 | / unsafe extern "cdecl" fn run_jmp_to_addr_closure( [INFO] [stderr] 410 | | reg: *mut Registers, [INFO] [stderr] 411 | | original: usize, [INFO] [stderr] 412 | | callback: usize, [INFO] [stderr] 413 | | ) { [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #137018 [INFO] [stderr] = help: use `extern "C"` instead [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/x64/tests.rs:244:13 [INFO] [stderr] | [INFO] [stderr] 244 | foo as usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 244 | foo as *const () as usize, [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/x64/tests.rs:270:31 [INFO] [stderr] | [INFO] [stderr] 270 | hook_closure_retn(foo as usize, new_foo, CallbackOption::None, HookFlags::empty()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 270 | hook_closure_retn(foo as *const () as usize, new_foo, CallbackOption::None, HookFlags::empty()) [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: `ilhook` (lib) generated 7 warnings [INFO] [stderr] warning: `ilhook` (lib test) generated 9 warnings (7 duplicates) (run `cargo fix --lib -p ilhook --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/ilhook/769445ed62d00566/deps/ilhook-769445ed62d00566) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test x64::tests::test_move_inst_long_5 ... ok [INFO] [stdout] test x64::tests::test_hook_function ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_8 ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_7 ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_9 ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_6 ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_4 ... ok [INFO] [stdout] test x64::tests::test_move_inst_short_1 ... ok [INFO] [stdout] test x64::tests::test_move_inst_short_3 ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_all ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_1 ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_3 ... ok [INFO] [stdout] test x64::tests::test_hook_function_closure ... ok [INFO] [stdout] test x64::tests::test_move_inst_long_2 ... ok [INFO] [stdout] test x64::tests::test_move_inst_short_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests ilhook [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] test src/lib.rs - (line 96) ... ok [INFO] [stdout] test src/lib.rs - (line 149) ... ok [INFO] [stdout] test src/lib.rs - (line 84) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.55s; merged doctests compilation took 0.53s [INFO] running `Command { std: "docker" "inspect" "cd947eeeda16e3cf0edb0c9f5e66efe18aed7abc20604cd2d1cf0b521c7e90ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd947eeeda16e3cf0edb0c9f5e66efe18aed7abc20604cd2d1cf0b521c7e90ba", kill_on_drop: false }` [INFO] [stdout] cd947eeeda16e3cf0edb0c9f5e66efe18aed7abc20604cd2d1cf0b521c7e90ba