[INFO] cloning repository https://github.com/zakkor/ricem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zakkor/ricem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzakkor%2Fricem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzakkor%2Fricem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2570e6d9035e533dfc0409f1cbbd3f9a99fa201 [INFO] building zakkor/ricem against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzakkor%2Fricem" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zakkor/ricem 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] started tweaking git repo https://github.com/zakkor/ricem [INFO] finished tweaking git repo https://github.com/zakkor/ricem [INFO] tweaked toml for git repo https://github.com/zakkor/ricem written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zakkor/ricem 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [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 edit-distance v1.0.0 [INFO] [stderr] Downloaded json v0.10.2 [INFO] [stderr] Downloaded maplit v0.1.3 [INFO] [stderr] Downloaded walkdir v0.1.5 [INFO] [stderr] Downloaded getch v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e63b681210ff2678c85f04ba61d06ae9a715d67eca89f7794193a19632d62c48 [INFO] running `Command { std: "docker" "start" "-a" "e63b681210ff2678c85f04ba61d06ae9a715d67eca89f7794193a19632d62c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e63b681210ff2678c85f04ba61d06ae9a715d67eca89f7794193a19632d62c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e63b681210ff2678c85f04ba61d06ae9a715d67eca89f7794193a19632d62c48", kill_on_drop: false }` [INFO] [stdout] e63b681210ff2678c85f04ba61d06ae9a715d67eca89f7794193a19632d62c48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c1eb6c19ba8ae9607262177cb2dce4b03ef8d8da49ab7d91f2a3f4ae5fc13cc7 [INFO] running `Command { std: "docker" "start" "-a" "c1eb6c19ba8ae9607262177cb2dce4b03ef8d8da49ab7d91f2a3f4ae5fc13cc7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.2.15 [INFO] [stderr] Compiling maplit v0.1.3 [INFO] [stderr] Compiling edit-distance v1.0.0 [INFO] [stderr] Compiling json v0.10.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling walkdir v0.1.5 [INFO] [stderr] Compiling getch v0.1.0 [INFO] [stderr] Compiling ricem v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Iter` and `WalkDirIterator` [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use walkdir::{WalkDir, Iter, WalkDirIterator}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | let mut ricem_dir = std::env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/jsonutil.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/jsonutil.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | .replace("~", home_dir().unwrap().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extensions_ignore` [INFO] [stdout] --> src/main.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | let extensions_ignore = ["png", "jpg"]; // add more [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extensions_ignore` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/theme.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ConfigFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | pub path: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/theme.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl ConfigFile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(name: String, path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tracking` is never read [INFO] [stdout] --> src/theme.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Theme { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] 17 | pub tracking: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `PathBuf::as_path` that must be used [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | ricem_dir.as_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = ricem_dir.as_path(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | ... std::process::Command::new("clear").status(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 520 | let _ = std::process::Command::new("clear").status(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jsonutil.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | path.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.47s [INFO] running `Command { std: "docker" "inspect" "c1eb6c19ba8ae9607262177cb2dce4b03ef8d8da49ab7d91f2a3f4ae5fc13cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1eb6c19ba8ae9607262177cb2dce4b03ef8d8da49ab7d91f2a3f4ae5fc13cc7", kill_on_drop: false }` [INFO] [stdout] c1eb6c19ba8ae9607262177cb2dce4b03ef8d8da49ab7d91f2a3f4ae5fc13cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 03dbe115af8de407f13cbaad8d53e2c4013f9485bbd9eea0d97d32e3fc1ebfe4 [INFO] running `Command { std: "docker" "start" "-a" "03dbe115af8de407f13cbaad8d53e2c4013f9485bbd9eea0d97d32e3fc1ebfe4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ricem v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Iter` and `WalkDirIterator` [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use walkdir::{WalkDir, Iter, WalkDirIterator}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | let mut ricem_dir = std::env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/jsonutil.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/jsonutil.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | .replace("~", home_dir().unwrap().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extensions_ignore` [INFO] [stdout] --> src/main.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | let extensions_ignore = ["png", "jpg"]; // add more [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extensions_ignore` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/theme.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ConfigFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | pub path: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/theme.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl ConfigFile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(name: String, path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tracking` is never read [INFO] [stdout] --> src/theme.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Theme { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] 17 | pub tracking: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `PathBuf::as_path` that must be used [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | ricem_dir.as_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = ricem_dir.as_path(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | ... std::process::Command::new("clear").status(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 520 | let _ = std::process::Command::new("clear").status(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jsonutil.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | path.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "03dbe115af8de407f13cbaad8d53e2c4013f9485bbd9eea0d97d32e3fc1ebfe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03dbe115af8de407f13cbaad8d53e2c4013f9485bbd9eea0d97d32e3fc1ebfe4", kill_on_drop: false }` [INFO] [stdout] 03dbe115af8de407f13cbaad8d53e2c4013f9485bbd9eea0d97d32e3fc1ebfe4