[INFO] cloning repository https://github.com/roeeshoshani/hooker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roeeshoshani/hooker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froeeshoshani%2Fhooker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froeeshoshani%2Fhooker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b69e5eae3313c8b259eea1ab7d687d06488cf846 [INFO] checking roeeshoshani/hooker against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froeeshoshani%2Fhooker" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/roeeshoshani/hooker [INFO] finished tweaking git repo https://github.com/roeeshoshani/hooker [INFO] tweaked toml for git repo https://github.com/roeeshoshani/hooker written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roeeshoshani/hooker on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roeeshoshani/hooker 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v4.2.4 [INFO] [stderr] Downloaded region v3.0.1 [INFO] [stderr] Downloaded thiserror-impl-no-std v2.0.2 [INFO] [stderr] Downloaded thiserror-no-std v2.0.2 [INFO] [stderr] Downloaded zydis-sys v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae4de1d08ec85765a19b3be6c965adcc8669fb420e66bfca763bf400d6759893 [INFO] running `Command { std: "docker" "start" "-a" "ae4de1d08ec85765a19b3be6c965adcc8669fb420e66bfca763bf400d6759893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae4de1d08ec85765a19b3be6c965adcc8669fb420e66bfca763bf400d6759893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae4de1d08ec85765a19b3be6c965adcc8669fb420e66bfca763bf400d6759893", kill_on_drop: false }` [INFO] [stdout] ae4de1d08ec85765a19b3be6c965adcc8669fb420e66bfca763bf400d6759893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0306622da274eaea14bc71fb9dab7d4b65432b655cc712750629c8bcd9c1bc9 [INFO] running `Command { std: "docker" "start" "-a" "a0306622da274eaea14bc71fb9dab7d4b65432b655cc712750629c8bcd9c1bc9", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking region v3.0.1 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking thiserror-no-std v2.0.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling zydis-sys v0.1.2 [INFO] [stderr] Checking hooker v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> examples/basic.rs:48:89 [INFO] [stdout] | [INFO] [stdout] 48 | let hook_info = gen_hook_info(hooked_fn_possible_content, hooked_fn as u64, hook_fn as u64) [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] 48 | let hook_info = gen_hook_info(hooked_fn_possible_content, hooked_fn as u64, hook_fn as *const () as u64) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.31s [INFO] running `Command { std: "docker" "inspect" "a0306622da274eaea14bc71fb9dab7d4b65432b655cc712750629c8bcd9c1bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0306622da274eaea14bc71fb9dab7d4b65432b655cc712750629c8bcd9c1bc9", kill_on_drop: false }` [INFO] [stdout] a0306622da274eaea14bc71fb9dab7d4b65432b655cc712750629c8bcd9c1bc9