[INFO] updating cached repository mbandazian/cs4414-ps2 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mbandazian/cs4414-ps2 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mbandazian/cs4414-ps2" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/mbandazian/cs4414-ps2"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/mbandazian/cs4414-ps2'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mbandazian/cs4414-ps2" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/mbandazian/cs4414-ps2"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/mbandazian/cs4414-ps2'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6e7792473489e395fa257998349536a78425dbe5 [INFO] sha for GitHub repo mbandazian/cs4414-ps2: 6e7792473489e395fa257998349536a78425dbe5 [INFO] validating manifest of mbandazian/cs4414-ps2 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mbandazian/cs4414-ps2 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mbandazian/cs4414-ps2 [INFO] finished frobbing mbandazian/cs4414-ps2 [INFO] frobbed toml for mbandazian/cs4414-ps2 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/mbandazian/cs4414-ps2/Cargo.toml [INFO] started frobbing mbandazian/cs4414-ps2 [INFO] finished frobbing mbandazian/cs4414-ps2 [INFO] frobbed toml for mbandazian/cs4414-ps2 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/mbandazian/cs4414-ps2/Cargo.toml [INFO] crate mbandazian/cs4414-ps2 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking mbandazian/cs4414-ps2 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/mbandazian/cs4414-ps2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 383cc9577d315a05d1b8a64812fc45f9dbcd452ef1a142e30f3a40460b0d4c31 [INFO] running `"docker" "start" "-a" "383cc9577d315a05d1b8a64812fc45f9dbcd452ef1a142e30f3a40460b0d4c31"` [INFO] [stderr] Checking ps2 v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::getopts` [INFO] [stderr] --> src/main.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | use getopts::{optopt, getopts}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ no `getopts` in the root [INFO] [stderr] | | [INFO] [stderr] | no `optopt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::io::BufferedReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Command` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::io::Command; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stderr] --> src/main.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stderr] | ^^^^^ not found in `io::stdio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `flush` in `io::stdio` [INFO] [stderr] --> src/main.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | io::stdio::flush(); [INFO] [stderr] | ^^^^^ not found in `io::stdio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stderr] --> src/main.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | io::stdio::print(str::from_utf8(Command::new(program).args(argv).output().unwrap().output.as_slice()).unwrap()); [INFO] [stderr] | ^^^^^ not found in `io::stdio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:79:20 [INFO] [stderr] | [INFO] [stderr] 79 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 14 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stderr] --> src/main.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | getopts::optopt("c", "", "", "") [INFO] [stderr] | ^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stderr] --> src/main.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | getopts::getopts(args.tail(), opts).unwrap().opt_str("c") [INFO] [stderr] | ^^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | io::stdio::flush(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | io::stdio::print(str::from_utf8(Command::new(program).args(argv).output().unwrap().output.as_slice()).unwrap()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::getopts` [INFO] [stderr] --> src/main.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | use getopts::{optopt, getopts}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ no `getopts` in the root [INFO] [stderr] | | [INFO] [stderr] | no `optopt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::io::BufferedReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Command` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::io::Command; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&'a str` in the current scope [INFO] [stderr] --> src/main.rs:34:46 [INFO] [stderr] | [INFO] [stderr] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stderr] --> src/main.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stderr] | ^^^^^ not found in `io::stdio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `flush` in `io::stdio` [INFO] [stderr] --> src/main.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | io::stdio::flush(); [INFO] [stderr] | ^^^^^ not found in `io::stdio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stderr] --> src/main.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | io::stdio::print(str::from_utf8(Command::new(program).args(argv).output().unwrap().output.as_slice()).unwrap()); [INFO] [stderr] | ^^^^^ not found in `io::stdio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:79:20 [INFO] [stderr] | [INFO] [stderr] 79 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 14 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stderr] --> src/main.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | getopts::optopt("c", "", "", "") [INFO] [stderr] | ^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stderr] --> src/main.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | getopts::getopts(args.tail(), opts).unwrap().opt_str("c") [INFO] [stderr] | ^^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | io::stdio::flush(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | io::stdio::print(str::from_utf8(Command::new(program).args(argv).output().unwrap().output.as_slice()).unwrap()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<&str>` in the current scope [INFO] [stderr] --> src/main.rs:59:58 [INFO] [stderr] | [INFO] [stderr] 59 | Some(&program) => self.run_cmd(program, argv.tail()), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:92:63 [INFO] [stderr] | [INFO] [stderr] 92 | Some(cmd_line) => Shell::new("").run_cmdline(cmd_line.as_slice()), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0599, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `ps2`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&'a str` in the current scope [INFO] [stderr] --> src/main.rs:34:46 [INFO] [stderr] | [INFO] [stderr] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec<&str>` in the current scope [INFO] [stderr] --> src/main.rs:59:58 [INFO] [stderr] | [INFO] [stderr] 59 | Some(&program) => self.run_cmd(program, argv.tail()), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:92:63 [INFO] [stderr] | [INFO] [stderr] 92 | Some(cmd_line) => Shell::new("").run_cmdline(cmd_line.as_slice()), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0599, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `ps2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "383cc9577d315a05d1b8a64812fc45f9dbcd452ef1a142e30f3a40460b0d4c31"` [INFO] running `"docker" "rm" "-f" "383cc9577d315a05d1b8a64812fc45f9dbcd452ef1a142e30f3a40460b0d4c31"` [INFO] [stdout] 383cc9577d315a05d1b8a64812fc45f9dbcd452ef1a142e30f3a40460b0d4c31