[INFO] fetching crate rocm_smi_lib_sys 0.2.5... [INFO] building rocm_smi_lib_sys-0.2.5 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate rocm_smi_lib_sys 0.2.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rocm_smi_lib_sys 0.2.5 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate rocm_smi_lib_sys 0.2.5 [INFO] finished tweaking crates.io crate rocm_smi_lib_sys 0.2.5 [INFO] tweaked toml for crates.io crate rocm_smi_lib_sys 0.2.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ab41c6614c8a7dae50fd540fd66707a08a37676be9f517e322e88703d80ea63 [INFO] running `Command { std: "docker" "start" "-a" "4ab41c6614c8a7dae50fd540fd66707a08a37676be9f517e322e88703d80ea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ab41c6614c8a7dae50fd540fd66707a08a37676be9f517e322e88703d80ea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab41c6614c8a7dae50fd540fd66707a08a37676be9f517e322e88703d80ea63", kill_on_drop: false }` [INFO] [stdout] 4ab41c6614c8a7dae50fd540fd66707a08a37676be9f517e322e88703d80ea63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01368ec940f686d55ec53de422a71c7c1dd62d01163d68443431ccbc6fb4f183 [INFO] running `Command { std: "docker" "start" "-a" "01368ec940f686d55ec53de422a71c7c1dd62d01163d68443431ccbc6fb4f183", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling rocm_smi_lib_sys v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rocm_smi_lib_sys v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "01368ec940f686d55ec53de422a71c7c1dd62d01163d68443431ccbc6fb4f183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01368ec940f686d55ec53de422a71c7c1dd62d01163d68443431ccbc6fb4f183", kill_on_drop: false }` [INFO] [stdout] 01368ec940f686d55ec53de422a71c7c1dd62d01163d68443431ccbc6fb4f183 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b030f73549b7a66f54ffaa0792894b687e7460a4cfd8c36a2eb438e33ec5a2f [INFO] running `Command { std: "docker" "start" "-a" "3b030f73549b7a66f54ffaa0792894b687e7460a4cfd8c36a2eb438e33ec5a2f", kill_on_drop: false }` [INFO] [stderr] Compiling rocm_smi_lib_sys v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/lib.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let procs = vec![].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: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rocm_smi_lib_sys v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3b030f73549b7a66f54ffaa0792894b687e7460a4cfd8c36a2eb438e33ec5a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b030f73549b7a66f54ffaa0792894b687e7460a4cfd8c36a2eb438e33ec5a2f", kill_on_drop: false }` [INFO] [stdout] 3b030f73549b7a66f54ffaa0792894b687e7460a4cfd8c36a2eb438e33ec5a2f