[INFO] cloning repository https://github.com/ZoeFiri/ricer_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZoeFiri/ricer_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZoeFiri%2Fricer_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZoeFiri%2Fricer_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 398e4ee54332834ea5d9675f12cb2cb4b6d4cbd1 [INFO] checking ZoeFiri/ricer_rust/398e4ee54332834ea5d9675f12cb2cb4b6d4cbd1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZoeFiri%2Fricer_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZoeFiri/ricer_rust on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZoeFiri/ricer_rust [INFO] finished tweaking git repo https://github.com/ZoeFiri/ricer_rust [INFO] tweaked toml for git repo https://github.com/ZoeFiri/ricer_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZoeFiri/ricer_rust 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14733701d0acd6157fe57c2e6655fdb3dd759bbd7408fbb6e5d1ef382453b853 [INFO] running `Command { std: "docker" "start" "-a" "14733701d0acd6157fe57c2e6655fdb3dd759bbd7408fbb6e5d1ef382453b853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14733701d0acd6157fe57c2e6655fdb3dd759bbd7408fbb6e5d1ef382453b853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14733701d0acd6157fe57c2e6655fdb3dd759bbd7408fbb6e5d1ef382453b853", kill_on_drop: false }` [INFO] [stdout] 14733701d0acd6157fe57c2e6655fdb3dd759bbd7408fbb6e5d1ef382453b853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25e7d0b760238224c60eda178b464d89192d92666d4593e22694e8a619203653 [INFO] running `Command { std: "docker" "start" "-a" "25e7d0b760238224c60eda178b464d89192d92666d4593e22694e8a619203653", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking fs_extra v0.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking ricer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/profile.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/profile.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found` is never read [INFO] [stdout] --> src/config.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | found = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found` is never read [INFO] [stdout] --> src/config.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | found = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile_exists` is never used [INFO] [stdout] --> src/profile.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn profile_exists(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile_exists` is never used [INFO] [stdout] --> src/profile.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn profile_exists(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_profile` is never used [INFO] [stdout] --> src/profile.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn add_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del_profile` is never used [INFO] [stdout] --> src/profile.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn del_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_profile` is never used [INFO] [stdout] --> src/profile.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn add_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del_profile` is never used [INFO] [stdout] --> src/profile.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn del_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_profile` is never used [INFO] [stdout] --> src/profile.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn apply_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_conf` is never used [INFO] [stdout] --> src/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_conf(conf_name: &String, conf_path: &Path, dest: &Path) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_profile` is never used [INFO] [stdout] --> src/profile.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn apply_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del_conf_global` is never used [INFO] [stdout] --> src/config.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn del_conf_global(conf_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_conf` is never used [INFO] [stdout] --> src/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_conf(conf_name: &String, conf_path: &Path, dest: &Path) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del_conf_global` is never used [INFO] [stdout] --> src/config.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn del_conf_global(conf_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del_conf_profile` is never used [INFO] [stdout] --> src/config.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn del_conf_profile(conf_name: &String, profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del_conf_profile` is never used [INFO] [stdout] --> src/config.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn del_conf_profile(conf_name: &String, profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | if (0..16).any(|x| colors.contains_key(&Yaml::from_str(&format!("base{:0x}", x)))) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | if (0..16).any(|x| colors.contains_key(&Yaml::from_str(&format!("base{:0x}", x)))) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ricer` (bin "ricer" test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ricer` (bin "ricer") due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "25e7d0b760238224c60eda178b464d89192d92666d4593e22694e8a619203653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e7d0b760238224c60eda178b464d89192d92666d4593e22694e8a619203653", kill_on_drop: false }` [INFO] [stdout] 25e7d0b760238224c60eda178b464d89192d92666d4593e22694e8a619203653