[INFO] cloning repository https://github.com/jcranney/gxccd-wrap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcranney/gxccd-wrap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcranney%2Fgxccd-wrap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcranney%2Fgxccd-wrap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbfbfaf22a1b2aa4eb2d546617e7501ec4e0426e [INFO] checking jcranney/gxccd-wrap against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcranney%2Fgxccd-wrap" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcranney/gxccd-wrap [INFO] finished tweaking git repo https://github.com/jcranney/gxccd-wrap [INFO] tweaked toml for git repo https://github.com/jcranney/gxccd-wrap written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcranney/gxccd-wrap on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcranney/gxccd-wrap 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fitrs v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 666122e567baab06fde275aedc69b0a5bc215b8e0820cdf05d4ec20f53ffead3 [INFO] running `Command { std: "docker" "start" "-a" "666122e567baab06fde275aedc69b0a5bc215b8e0820cdf05d4ec20f53ffead3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "666122e567baab06fde275aedc69b0a5bc215b8e0820cdf05d4ec20f53ffead3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666122e567baab06fde275aedc69b0a5bc215b8e0820cdf05d4ec20f53ffead3", kill_on_drop: false }` [INFO] [stdout] 666122e567baab06fde275aedc69b0a5bc215b8e0820cdf05d4ec20f53ffead3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3daee500a83d55f59b5c4394dadd5ef97f6230aaf34e7fa749a08e72f6cfa095 [INFO] running `Command { std: "docker" "start" "-a" "3daee500a83d55f59b5c4394dadd5ef97f6230aaf34e7fa749a08e72f6cfa095", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling gxccd v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fitrs v0.5.0 [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `String` will be dropped [INFO] [stdout] --> src/lib.rs:744:38 [INFO] [stdout] | [INFO] [stdout] 744 | let mip = ip.to_string().as_mut_ptr().cast::(); [INFO] [stdout] | -------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `String` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `String` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `String` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `String` will be dropped [INFO] [stdout] --> src/lib.rs:744:38 [INFO] [stdout] | [INFO] [stdout] 744 | let mip = ip.to_string().as_mut_ptr().cast::(); [INFO] [stdout] | -------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `String` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `String` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `String` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "3daee500a83d55f59b5c4394dadd5ef97f6230aaf34e7fa749a08e72f6cfa095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3daee500a83d55f59b5c4394dadd5ef97f6230aaf34e7fa749a08e72f6cfa095", kill_on_drop: false }` [INFO] [stdout] 3daee500a83d55f59b5c4394dadd5ef97f6230aaf34e7fa749a08e72f6cfa095