[INFO] cloning repository https://github.com/Sh4d1/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sh4d1/rush" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSh4d1%2Frush", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSh4d1%2Frush'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bb2b0979c99102ae25b054528185c5bc72b1e5e [INFO] checking Sh4d1/rush/2bb2b0979c99102ae25b054528185c5bc72b1e5e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSh4d1%2Frush" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sh4d1/rush on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sh4d1/rush [INFO] finished tweaking git repo https://github.com/Sh4d1/rush [INFO] tweaked toml for git repo https://github.com/Sh4d1/rush written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Sh4d1/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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/nix-rust/nix` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/libc` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded bit-vec v0.4.3 [INFO] [stderr] Downloaded errno v0.1.8 [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded chan-signal v0.2.0 [INFO] [stderr] Downloaded exec v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d263ecc908661e9fa077c4cf38502c5c106cba42b6ae03f60cfb7c692170db0e [INFO] running `Command { std: "docker" "start" "-a" "d263ecc908661e9fa077c4cf38502c5c106cba42b6ae03f60cfb7c692170db0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d263ecc908661e9fa077c4cf38502c5c106cba42b6ae03f60cfb7c692170db0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d263ecc908661e9fa077c4cf38502c5c106cba42b6ae03f60cfb7c692170db0e", kill_on_drop: false }` [INFO] [stdout] d263ecc908661e9fa077c4cf38502c5c106cba42b6ae03f60cfb7c692170db0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42a50b16fa9ec7293b16f1a77b0d9b23b04c163fae476a5a3f4afe852cc912b0 [INFO] running `Command { std: "docker" "start" "-a" "42a50b16fa9ec7293b16f1a77b0d9b23b04c163fae476a5a3f4afe852cc912b0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bit-vec v0.4.3 [INFO] [stderr] Checking libc v0.2.20 (https://github.com/rust-lang/libc#6813109f) [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking shellexpand v1.0.0 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Checking nix v0.8.0 (https://github.com/nix-rust/nix#109b0e86) [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking errno v0.1.8 [INFO] [stderr] Checking exec v0.2.0 [INFO] [stderr] Checking chan v0.1.19 [INFO] [stderr] Checking chan-signal v0.2.0 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking rush v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/command/execute.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | Err(_) => (err_code = 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - Err(_) => (err_code = 1) [INFO] [stdout] 68 + Err(_) => err_code = 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/command/execute.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | Err(_) => (err_code = 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - Err(_) => (err_code = 1) [INFO] [stdout] 68 + Err(_) => err_code = 1 [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/prompt.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::{current_dir, home_dir}; [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/prompt.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | let homedir = home_dir().unwrap().as_path().to_str().expect("Failed : path -> str").to_string(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/job_manager.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref JOB: Mutex = Mutex::new(JobManager::new()); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [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/prompt.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::{current_dir, home_dir}; [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/prompt.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | let homedir = home_dir().unwrap().as_path().to_str().expect("Failed : path -> str").to_string(); [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/prompt.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | use std::env::{current_dir,home_dir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/job_manager.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref JOB: Mutex = Mutex::new(JobManager::new()); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/job_manager.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref JOB: Mutex = Mutex::new(JobManager::new()); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/job_manager.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref JOB: Mutex = Mutex::new(JobManager::new()); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `string_split_off` has been stable since 1.16.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(string_split_off)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `string_split_off` has been stable since 1.16.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(string_split_off)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cwd` found for struct `prompt::Prompt` in the current scope [INFO] [stdout] --> src/prompt.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Prompt { [INFO] [stdout] | ----------------- method `get_cwd` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!(testp.get_cwd(), current_dir().ok() [INFO] [stdout] | ^^^^^^^ method not found in `Prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rush` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the feature `field_init_shorthand` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(field_init_shorthand)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42a50b16fa9ec7293b16f1a77b0d9b23b04c163fae476a5a3f4afe852cc912b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a50b16fa9ec7293b16f1a77b0d9b23b04c163fae476a5a3f4afe852cc912b0", kill_on_drop: false }` [INFO] [stdout] 42a50b16fa9ec7293b16f1a77b0d9b23b04c163fae476a5a3f4afe852cc912b0