[INFO] cloning repository https://github.com/ikubetoomuzik/unibar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ikubetoomuzik/unibar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikubetoomuzik%2Funibar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikubetoomuzik%2Funibar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a06926f11b53770faebd662e26c965678f4206d [INFO] checking ikubetoomuzik/unibar against master#23718020b12d7e5a54f82a19910e8356ee719667 for pr-146013-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikubetoomuzik%2Funibar" "/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/ikubetoomuzik/unibar [INFO] finished tweaking git repo https://github.com/ikubetoomuzik/unibar [INFO] tweaked toml for git repo https://github.com/ikubetoomuzik/unibar written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ikubetoomuzik/unibar on toolchain 23718020b12d7e5a54f82a19910e8356ee719667 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23718020b12d7e5a54f82a19910e8356ee719667" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ikubetoomuzik/unibar 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" "+23718020b12d7e5a54f82a19910e8356ee719667" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maybe-uninit v2.0.0 [INFO] [stderr] Downloaded signal-hook-registry v1.4.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.26 [INFO] [stderr] Downloaded signal-hook v0.1.17 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded x11-dl v2.18.5 [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded pkg-config v0.3.19 [INFO] [stderr] Downloaded dirs-sys v0.3.6 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded thiserror v1.0.26 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded libc v0.2.98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+23718020b12d7e5a54f82a19910e8356ee719667" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 079ff41607e99dacff0a5692050f23518415123d959d4073e52c06759d85d519 [INFO] running `Command { std: "docker" "start" "-a" "079ff41607e99dacff0a5692050f23518415123d959d4073e52c06759d85d519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "079ff41607e99dacff0a5692050f23518415123d959d4073e52c06759d85d519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "079ff41607e99dacff0a5692050f23518415123d959d4073e52c06759d85d519", kill_on_drop: false }` [INFO] [stdout] 079ff41607e99dacff0a5692050f23518415123d959d4073e52c06759d85d519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+23718020b12d7e5a54f82a19910e8356ee719667" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d01effdc8fa8ebde1dc3c9f4fdf6b701bd8fead0ef8dab874f0d0ffc1eeb782 [INFO] running `Command { std: "docker" "start" "-a" "5d01effdc8fa8ebde1dc3c9f4fdf6b701bd8fead0ef8dab874f0d0ffc1eeb782", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking unibar v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/bar.rs:633:53 [INFO] [stdout] | [INFO] [stdout] 633 | let hn_buffer: *mut i8 = vec![0i8; hn_size].as_mut_ptr(); [INFO] [stdout] | ------------------ ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` 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 `Vec` 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 `Vec` 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 `Vec` 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 `Vec` will be dropped [INFO] [stdout] --> src/bar.rs:633:53 [INFO] [stdout] | [INFO] [stdout] 633 | let hn_buffer: *mut i8 = vec![0i8; hn_size].as_mut_ptr(); [INFO] [stdout] | ------------------ ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` 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 `Vec` 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 `Vec` 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 `Vec` 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 6.11s [INFO] running `Command { std: "docker" "inspect" "5d01effdc8fa8ebde1dc3c9f4fdf6b701bd8fead0ef8dab874f0d0ffc1eeb782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d01effdc8fa8ebde1dc3c9f4fdf6b701bd8fead0ef8dab874f0d0ffc1eeb782", kill_on_drop: false }` [INFO] [stdout] 5d01effdc8fa8ebde1dc3c9f4fdf6b701bd8fead0ef8dab874f0d0ffc1eeb782