[INFO] updating cached repository https://github.com/mbandazian/cs4414-ps2 [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6e7792473489e395fa257998349536a78425dbe5 [INFO] checking mbandazian/cs4414-ps2 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbandazian%2Fcs4414-ps2" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mbandazian/cs4414-ps2 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mbandazian/cs4414-ps2 [INFO] finished tweaking git repo https://github.com/mbandazian/cs4414-ps2 [INFO] tweaked toml for git repo https://github.com/mbandazian/cs4414-ps2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mbandazian/cs4414-ps2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e5d3455659345fb960e2ece0c5037c3159bf7417e3d81186cade700ecddc9d7 [INFO] running `"docker" "start" "-a" "4e5d3455659345fb960e2ece0c5037c3159bf7417e3d81186cade700ecddc9d7"` [INFO] [stderr] Checking ps2 v0.0.1 (/opt/rustwide/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] | [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] | ^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `stdio` is defined here [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] | ^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `stdio` is defined here [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] | ^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `stdio` is defined here [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: see issue #27812 for more information [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'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] | ^^^^^^^^ method not found in `&'a str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for struct `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] | ^^^^ method not found in `std::vec::Vec<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `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] | ^^^^^^^^ method not found in `std::string::String` [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[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] | [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] | ^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `stdio` is defined here [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] | ^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `stdio` is defined here [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] | ^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `stdio` is defined here [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: see issue #27812 for more information [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: could not compile `ps2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'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] | ^^^^^^^^ method not found in `&'a str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for struct `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] | ^^^^ method not found in `std::vec::Vec<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `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] | ^^^^^^^^ method not found in `std::string::String` [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" "4e5d3455659345fb960e2ece0c5037c3159bf7417e3d81186cade700ecddc9d7"` [INFO] running `"docker" "rm" "-f" "4e5d3455659345fb960e2ece0c5037c3159bf7417e3d81186cade700ecddc9d7"` [INFO] [stdout] 4e5d3455659345fb960e2ece0c5037c3159bf7417e3d81186cade700ecddc9d7