[INFO] cloning repository https://github.com/mbandazian/cs4414-ps2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mbandazian/cs4414-ps2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbandazian%2Fcs4414-ps2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbandazian%2Fcs4414-ps2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e7792473489e395fa257998349536a78425dbe5 [INFO] checking mbandazian/cs4414-ps2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbandazian%2Fcs4414-ps2" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mbandazian/cs4414-ps2 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/mbandazian/cs4414-ps2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 485e3f4846dcfc805ff9b61370fbf477adcbc087f950f9c2772825cacd8f1158 [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" "485e3f4846dcfc805ff9b61370fbf477adcbc087f950f9c2772825cacd8f1158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "485e3f4846dcfc805ff9b61370fbf477adcbc087f950f9c2772825cacd8f1158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "485e3f4846dcfc805ff9b61370fbf477adcbc087f950f9c2772825cacd8f1158", kill_on_drop: false }` [INFO] [stdout] 485e3f4846dcfc805ff9b61370fbf477adcbc087f950f9c2772825cacd8f1158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da6185dd880c95f0a594cf1d05421f3e7cffca066054d66419a7ef1f6b47ea21 [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" "da6185dd880c95f0a594cf1d05421f3e7cffca066054d66419a7ef1f6b47ea21", kill_on_drop: false }` [INFO] [stderr] Checking ps2 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::getopts` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use getopts::{optopt, getopts}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ no `getopts` in the root [INFO] [stdout] | | [INFO] [stdout] | no `optopt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::BufferedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::getopts` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use getopts::{optopt, getopts}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ no `getopts` in the root [INFO] [stdout] | | [INFO] [stdout] | no `optopt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::BufferedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 14 | use os::unix::net::raw_fd::sys_common::backtrace::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `flush` in `io::stdio` [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | io::stdio::flush(); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | io::stdio::print(str::from_utf8(Command::new(program).args(argv).output().unwrap().output.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 14 | use os::unix::net::raw_fd::sys_common::backtrace::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 14 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | getopts::optopt("c", "", "", "") [INFO] [stdout] | ^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/main.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | getopts::getopts(args.tail(), opts).unwrap().opt_str("c") [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | io::stdio::flush(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | io::stdio::print(str::from_utf8(Command::new(program).args(argv).output().unwrap().output.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 14 | use os::unix::net::raw_fd::sys_common::backtrace::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `flush` in `io::stdio` [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | io::stdio::flush(); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | io::stdio::print(str::from_utf8(Command::new(program).args(argv).output().unwrap().output.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 14 | use os::unix::net::raw_fd::sys_common::backtrace::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 14 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | getopts::optopt("c", "", "", "") [INFO] [stdout] | ^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/main.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | getopts::getopts(args.tail(), opts).unwrap().opt_str("c") [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | io::stdio::flush(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | io::stdio::print(str::from_utf8(Command::new(program).args(argv).output().unwrap().output.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/main.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&'a str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<&str>` in the current scope [INFO] [stdout] --> src/main.rs:59:58 [INFO] [stdout] | [INFO] [stdout] 59 | Some(&program) => self.run_cmd(program, argv.tail()), [INFO] [stdout] | ^^^^ method not found in `Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/main.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(self.cmd_prompt.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&'a str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:92:63 [INFO] [stdout] | [INFO] [stdout] 92 | Some(cmd_line) => Shell::new("").run_cmdline(cmd_line.as_slice()), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599, E0603, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [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] [stdout] error[E0599]: no method named `tail` found for struct `Vec<&str>` in the current scope [INFO] [stdout] --> src/main.rs:59:58 [INFO] [stdout] | [INFO] [stdout] 59 | Some(&program) => self.run_cmd(program, argv.tail()), [INFO] [stdout] | ^^^^ method not found in `Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:92:63 [INFO] [stdout] | [INFO] [stdout] 92 | Some(cmd_line) => Shell::new("").run_cmdline(cmd_line.as_slice()), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599, E0603, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "da6185dd880c95f0a594cf1d05421f3e7cffca066054d66419a7ef1f6b47ea21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da6185dd880c95f0a594cf1d05421f3e7cffca066054d66419a7ef1f6b47ea21", kill_on_drop: false }` [INFO] [stdout] da6185dd880c95f0a594cf1d05421f3e7cffca066054d66419a7ef1f6b47ea21