[INFO] updating cached repository https://github.com/christoph-heiss/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 006a88a75eaf411ec53262577bbbe088a36f1615 [INFO] testing christoph-heiss/rush against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristoph-heiss%2Frush" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christoph-heiss/rush on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christoph-heiss/rush [INFO] finished tweaking git repo https://github.com/christoph-heiss/rush [INFO] tweaked toml for git repo https://github.com/christoph-heiss/rush written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/christoph-heiss/rush already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 691d179f562677131995b48e2b38335df064f4a04d5803e5ca60c4d1447973a8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "691d179f562677131995b48e2b38335df064f4a04d5803e5ca60c4d1447973a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "691d179f562677131995b48e2b38335df064f4a04d5803e5ca60c4d1447973a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "691d179f562677131995b48e2b38335df064f4a04d5803e5ca60c4d1447973a8", kill_on_drop: false }` [INFO] [stdout] 691d179f562677131995b48e2b38335df064f4a04d5803e5ca60c4d1447973a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dfc8712ad456f086ac12a80ad03cfa6332ec476d1e446f9ff31a4695c5e07f8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2dfc8712ad456f086ac12a80ad03cfa6332ec476d1e446f9ff31a4695c5e07f8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling smallvec v0.6.1 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Compiling getopts v0.2.17 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Compiling regex-syntax v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling phf v0.7.22 [INFO] [stderr] Compiling smallstr v0.1.0 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling terminfo v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling chrono v0.4.2 [INFO] [stderr] Compiling mortal v0.1.2 [INFO] [stderr] Compiling linefeed v0.5.0 [INFO] [stderr] Compiling rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #![feature(termination_trait_lib)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Prompter` [INFO] [stdout] --> src/main.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | use linefeed::{Interface, Prompter, ReadResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Completer`, `Completion` [INFO] [stdout] --> src/main.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | use linefeed::complete::{Completer, Completion}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terminal` [INFO] [stdout] --> src/main.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | use linefeed::terminal::{Terminal, Signal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/builtins/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lazy_static! { [INFO] [stdout] 44 | | pub static ref CMDS: HashMap<&'static str, CmdExec> = hashmap![ [INFO] [stdout] 45 | | "." => source::exec as CmdExec, [INFO] [stdout] 46 | | "[[" => condexpr::exec, [INFO] [stdout] ... | [INFO] [stdout] 58 | | ]; [INFO] [stdout] 59 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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/builtins/cd.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | env::home_dir().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / lazy_static! { [INFO] [stdout] 47 | | static ref RE_NORMAL_VAR: Regex = Regex::new(r"\$([a-zA-Z_]\w*|\*|@|#|\?|-|\$|!|_|\d)").unwrap(); [INFO] [stdout] 48 | | static ref RE_BRACED_VAR: Regex = Regex::new(r"\$\{([a-zA-Z_]\w*|\*|@|#|\?|-|\$|!|_|\d+)\}").unwrap(); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / lazy_static! { [INFO] [stdout] 47 | | static ref RE_NORMAL_VAR: Regex = Regex::new(r"\$([a-zA-Z_]\w*|\*|@|#|\?|-|\$|!|_|\d)").unwrap(); [INFO] [stdout] 48 | | static ref RE_BRACED_VAR: Regex = Regex::new(r"\$\{([a-zA-Z_]\w*|\*|@|#|\?|-|\$|!|_|\d+)\}").unwrap(); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | / lazy_static! { [INFO] [stdout] 177 | | static ref SHORT_NAME: String = { [INFO] [stdout] 178 | | let mut name = StringExpander::hostname_long().to_owned(); [INFO] [stdout] 179 | | [INFO] [stdout] ... | [INFO] [stdout] 185 | | }; [INFO] [stdout] 186 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | / lazy_static! { [INFO] [stdout] 193 | | static ref LONG_NAME: String = { [INFO] [stdout] 194 | | let mut buffer = vec![0u8; 128]; [INFO] [stdout] 195 | | unistd::gethostname(&mut buffer).unwrap_or_default().to_str().unwrap_or_default().into() [INFO] [stdout] 196 | | }; [INFO] [stdout] 197 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | / lazy_static! { [INFO] [stdout] 204 | | static ref TTYNAME: String = { [INFO] [stdout] 205 | | let name = unsafe { [INFO] [stdout] 206 | | CStr::from_ptr(libc::ttyname(libc::STDOUT_FILENO)) [INFO] [stdout] ... | [INFO] [stdout] 212 | | }; [INFO] [stdout] 213 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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/parser.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | .replace("~", env::home_dir().unwrap_or_default().to_str().unwrap_or_default()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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/parser.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | let home_path = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rush`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2dfc8712ad456f086ac12a80ad03cfa6332ec476d1e446f9ff31a4695c5e07f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfc8712ad456f086ac12a80ad03cfa6332ec476d1e446f9ff31a4695c5e07f8", kill_on_drop: false }` [INFO] [stdout] 2dfc8712ad456f086ac12a80ad03cfa6332ec476d1e446f9ff31a4695c5e07f8