[INFO] cloning repository https://github.com/0xpantera/stack-swap
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xpantera/stack-swap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xpantera%2Fstack-swap", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xpantera%2Fstack-swap'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3bda30ba214a718a380d8985fe0b3332ad8fe7a8
[INFO] checking 0xpantera/stack-swap/3bda30ba214a718a380d8985fe0b3332ad8fe7a8 against 22950ab9e29e11620a10905f027f141ea126966e for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xpantera%2Fstack-swap" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xpantera/stack-swap
[INFO] finished tweaking git repo https://github.com/0xpantera/stack-swap
[INFO] tweaked toml for git repo https://github.com/0xpantera/stack-swap written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xpantera/stack-swap on toolchain 22950ab9e29e11620a10905f027f141ea126966e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xpantera/stack-swap 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" "+22950ab9e29e11620a10905f027f141ea126966e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9
[INFO] running `Command { std: "docker" "start" "dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9" "/opt/rustwide/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9" "/opt/rustwide/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking stack-swap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/main.rs:22:67
[INFO] [stdout]    |
[INFO] [stdout] 22 |         std::ptr::write(sb_aligned.offset(-16) as *mut u64, hello 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] 22 |         std::ptr::write(sb_aligned.offset(-16) as *mut u64, hello as *const () as u64);
[INFO] [stdout]    |                                                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/main.rs:22:67
[INFO] [stdout]    |
[INFO] [stdout] 22 |         std::ptr::write(sb_aligned.offset(-16) as *mut u64, hello 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] 22 |         std::ptr::write(sb_aligned.offset(-16) as *mut u64, hello as *const () as u64);
[INFO] [stdout]    |                                                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] running `Command { std: "docker" "inspect" "dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9", kill_on_drop: false }`
[INFO] [stdout] dfb378e33008062608a1b1dfcaa3bf274bc67de80c6702bfdcef95604a7b8aa9
