[INFO] cloning repository https://github.com/jswz72/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jswz72/rush" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjswz72%2Frush", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjswz72%2Frush'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08b196eb1d94ac57a659c027143134e56629bcb0 [INFO] checking jswz72/rush/08b196eb1d94ac57a659c027143134e56629bcb0 against master#8e37e151835d96d6a7415e93e6876561485a3354 for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjswz72%2Frush" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jswz72/rush on toolchain 8e37e151835d96d6a7415e93e6876561485a3354 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e37e151835d96d6a7415e93e6876561485a3354" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jswz72/rush [INFO] finished tweaking git repo https://github.com/jswz72/rush [INFO] tweaked toml for git repo https://github.com/jswz72/rush written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jswz72/rush 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" "+8e37e151835d96d6a7415e93e6876561485a3354" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8e37e151835d96d6a7415e93e6876561485a3354" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d41b12d1b6c8fcb00c7185f8ba0ee2fd434af557a2b8ab205de86eb08a3faeea [INFO] running `Command { std: "docker" "start" "-a" "d41b12d1b6c8fcb00c7185f8ba0ee2fd434af557a2b8ab205de86eb08a3faeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d41b12d1b6c8fcb00c7185f8ba0ee2fd434af557a2b8ab205de86eb08a3faeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d41b12d1b6c8fcb00c7185f8ba0ee2fd434af557a2b8ab205de86eb08a3faeea", kill_on_drop: false }` [INFO] [stdout] d41b12d1b6c8fcb00c7185f8ba0ee2fd434af557a2b8ab205de86eb08a3faeea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+8e37e151835d96d6a7415e93e6876561485a3354" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bef978e12214bd0542df7d1e965fd88bcc632841f202b05fc66294053cc94047 [INFO] running `Command { std: "docker" "start" "-a" "bef978e12214bd0542df7d1e965fd88bcc632841f202b05fc66294053cc94047", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/commands/mod.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> Command<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 36 | pub fn new(input: &'a str) -> Command { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/commands/mod.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> Command<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 36 | pub fn new(input: &'a str) -> Command { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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/commands/utils.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let home_dir = 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/config.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | match 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/commands/utils.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let home_dir = 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/config.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | oh.add_stderr_str(err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/commands/pwd.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute<'a>(oh: &'a mut OutputHandler, command: &BasicCommand) -> Result<&'a mut OutputHandler, io::Error>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/commands/cat.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn execute<'a>(oh: &'a mut OutputHandler, command: &FileCommand) -> Result<&'a mut OutputHandler, io::Error>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | oh.add_stderr_str(err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/commands/pwd.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute<'a>(oh: &'a mut OutputHandler, command: &BasicCommand) -> Result<&'a mut OutputHandler, io::Error>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/commands/cat.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn execute<'a>(oh: &'a mut OutputHandler, command: &FileCommand) -> Result<&'a mut OutputHandler, io::Error>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut config_file = fs::read_to_string(RCFILE); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut input = input.trim(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut config_file = fs::read_to_string(RCFILE); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | if let Command::Program(mut program_command) = command { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut input = input.trim(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/commands/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BasicCommand<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub flags: Vec<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | if let Command::Program(mut program_command) = command { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/commands/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BasicCommand<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub flags: Vec<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "bef978e12214bd0542df7d1e965fd88bcc632841f202b05fc66294053cc94047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef978e12214bd0542df7d1e965fd88bcc632841f202b05fc66294053cc94047", kill_on_drop: false }` [INFO] [stdout] bef978e12214bd0542df7d1e965fd88bcc632841f202b05fc66294053cc94047