[INFO] cloning repository https://github.com/lmpynix/lrush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lmpynix/lrush" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmpynix%2Flrush", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmpynix%2Flrush'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2809f0416cf9e0fb2c8de20dcde9dd929563d173 [INFO] testing lmpynix/lrush against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmpynix%2Flrush" "/workspace/builds/worker-79/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-79/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lmpynix/lrush on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lmpynix/lrush [INFO] finished tweaking git repo https://github.com/lmpynix/lrush [INFO] tweaked toml for git repo https://github.com/lmpynix/lrush written to /workspace/builds/worker-79/source/Cargo.toml [INFO] crate git repo https://github.com/lmpynix/lrush already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 820f9295a6fa03835b6da85260e22aba3564c13336b5bc7050c8901a5cee2baa [INFO] running `Command { std: "docker" "start" "-a" "820f9295a6fa03835b6da85260e22aba3564c13336b5bc7050c8901a5cee2baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "820f9295a6fa03835b6da85260e22aba3564c13336b5bc7050c8901a5cee2baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820f9295a6fa03835b6da85260e22aba3564c13336b5bc7050c8901a5cee2baa", kill_on_drop: false }` [INFO] [stdout] 820f9295a6fa03835b6da85260e22aba3564c13336b5bc7050c8901a5cee2baa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc6f07d6b128ec967a51df94b00f830d7144f0a707a7e6cc29d86fbdc8d5a019 [INFO] running `Command { std: "docker" "start" "-a" "dc6f07d6b128ec967a51df94b00f830d7144f0a707a7e6cc29d86fbdc8d5a019", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling termion v1.5.2 [INFO] [stderr] Compiling rustyline v4.1.0 [INFO] [stderr] Compiling lrush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/shellproc/builtins.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, env}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/shellproc/builtins.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/shellproc.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let mut hist_path: path::PathBuf = env::home_dir().unwrap_or(path::PathBuf::from(".")); [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 is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/shellproc/builtins.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | let mut new_path = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/shellproc/builtins.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 66 | std::process::exit(ret_val); [INFO] [stdout] | --------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 71 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/shellproc.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 153 | return Some(1); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 160 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | rl.add_history_entry(line.as_ref()); [INFO] [stdout] | -----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 63 | rl.add_history_entry(>::as_ref(line)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 63 | rl.add_history_entry(>::as_ref(line)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 63 | rl.add_history_entry(>::as_ref(line)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 63 | rl.add_history_entry(>::as_ref(line)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lrush` due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dc6f07d6b128ec967a51df94b00f830d7144f0a707a7e6cc29d86fbdc8d5a019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6f07d6b128ec967a51df94b00f830d7144f0a707a7e6cc29d86fbdc8d5a019", kill_on_drop: false }` [INFO] [stdout] dc6f07d6b128ec967a51df94b00f830d7144f0a707a7e6cc29d86fbdc8d5a019