[INFO] updating cached repository https://github.com/mcapo88/rustpa2
[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] c9452b7a6b03975baa151b8da34bf67e64acf20e
[INFO] checking mcapo88/rustpa2 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcapo88%2Frustpa2" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mcapo88/rustpa2 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/mcapo88/rustpa2
[INFO] finished tweaking git repo https://github.com/mcapo88/rustpa2
[INFO] tweaked toml for git repo https://github.com/mcapo88/rustpa2 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/mcapo88/rustpa2 already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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=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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 51395804c5ed4f46a6ad06fa34ca1b6087691cd9744f9f20b07a3f59a51ad774
[INFO] running `"docker" "start" "-a" "51395804c5ed4f46a6ad06fa34ca1b6087691cd9744f9f20b07a3f59a51ad774"`
[INFO] [stderr]     Checking pa2 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::getopts`
[INFO] [stderr]   --> src/main.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 | 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::old_io`
[INFO] [stderr]   --> src/main.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::old_io::{BufferedReader, BufferedWriter};
[INFO] [stderr]    |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr]   --> src/main.rs:14:10
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::old_io::stdin;
[INFO] [stderr]    |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stderr]   --> src/main.rs:19:10
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::old_io::fs::PathExtensions; //this is for checking if file exists in cd
[INFO] [stderr]    |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr]   --> src/main.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 | use std::{old_io, os};
[INFO] [stderr]    |           ^^^^^^ no `old_io` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::os::getcwd`
[INFO] [stderr]   --> src/main.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use std::os::getcwd;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^ no `getcwd` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr]   --> src/main.rs:25:10
[INFO] [stderr]    |
[INFO] [stderr] 25 | use std::old_io::File;
[INFO] [stderr]    |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/main.rs:87:21
[INFO] [stderr]    |
[INFO] [stderr] 87 |             let p = Path::new(root_path);
[INFO] [stderr]    |                     ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:121:25
[INFO] [stderr]     |
[INFO] [stderr] 121 |                 let p = Path::new(path);
[INFO] [stderr]     |                         ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:129:25
[INFO] [stderr]     |
[INFO] [stderr] 129 |                 let p = Path::new(path);
[INFO] [stderr]     |                         ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:232:24
[INFO] [stderr]     |
[INFO] [stderr] 232 |             let path = Path::new(fullpath);
[INFO] [stderr]     |                        ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:328:51
[INFO] [stderr]     |
[INFO] [stderr] 328 |                         let mut f = File::create(&Path::new(&fname));
[INFO] [stderr]     |                                                   ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:349:47
[INFO] [stderr]     |
[INFO] [stderr] 349 |                     let mut f = File::create(&Path::new(filename));
[INFO] [stderr]     |                                               ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]    --> src/main.rs:375:20
[INFO] [stderr]     |
[INFO] [stderr] 375 |     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] 11  | use std::env::args;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `optopt` in crate `getopts`
[INFO] [stderr]    --> src/main.rs:378:18
[INFO] [stderr]     |
[INFO] [stderr] 378 |         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:381:14
[INFO] [stderr]     |
[INFO] [stderr] 381 |     getopts::getopts(args.tail(), opts).unwrap().opt_str("c")
[INFO] [stderr]     |              ^^^^^^^ not found in `getopts`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Sender`
[INFO] [stderr]   --> src/main.rs:22:32
[INFO] [stderr]    |
[INFO] [stderr] 22 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stderr]    |                                ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `message` should have an upper camel case name
[INFO] [stderr]   --> src/main.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | struct message{
[INFO] [stderr]    |        ^^^^^^^ help: convert the identifier to upper camel case: `Message`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[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:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | extern crate getopts;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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:46:50
[INFO] [stderr]    |
[INFO] [stderr] 46 |             old_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 `split_str` found for reference `&str` in the current scope
[INFO] [stderr]   --> src/main.rs:81:34
[INFO] [stderr]    |
[INFO] [stderr] 81 |         let cmd_split = cmd_line.split_str(" ");
[INFO] [stderr]    |                                  ^^^^^^^^^ help: there is an associated function with a similar name: `split_at`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `split_str` found for reference `&str` in the current scope
[INFO] [stderr]    --> src/main.rs:109:44
[INFO] [stderr]     |
[INFO] [stderr] 109 |                 let mut split = cwd_string.split_str("/");
[INFO] [stderr]     |                                            ^^^^^^^^^ help: there is an associated function with a similar name: `split_at`
[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:273:28
[INFO] [stderr]     |
[INFO] [stderr] 273 |             let argv = arg.tail();
[INFO] [stderr]     |                            ^^^^ method not found in `std::vec::Vec<&str>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `capture` found for struct `std::process::Stdio` in the current scope
[INFO] [stderr]    --> src/main.rs:275:83
[INFO] [stderr]     |
[INFO] [stderr] 275 |                 let process = match Command::new(program).args(argv).stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() {
[INFO] [stderr]     |                                                                                   ^^^^^^^ function or associated item not found in `std::process::Stdio`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `capture` found for struct `std::process::Stdio` in the current scope
[INFO] [stderr]    --> src/main.rs:275:108
[INFO] [stderr]     |
[INFO] [stderr] 275 |                 let process = match Command::new(program).args(argv).stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() {
[INFO] [stderr]     |                                                                                                            ^^^^^^^ function or associated item not found in `std::process::Stdio`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `capture` found for struct `std::process::Stdio` in the current scope
[INFO] [stderr]    --> src/main.rs:275:133
[INFO] [stderr]     |
[INFO] [stderr] 275 |                 let process = match Command::new(program).args(argv).stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() {
[INFO] [stderr]     |                                                                                                                                     ^^^^^^^ function or associated item not found in `std::process::Stdio`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `description` found for struct `std::io::Error` in the current scope
[INFO] [stderr]    --> src/main.rs:276:78
[INFO] [stderr]     |
[INFO] [stderr] 276 |                     Err(why) => panic!("couldn't spawn {}: {}", program, why.description()),
[INFO] [stderr]     |                                                                              ^^^^^^^^^^^ method not found in `std::io::Error`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 11  | use std::error::Error;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for enum `std::borrow::Cow<'_, str>` in the current scope
[INFO] [stderr]    --> src/main.rs:330:100
[INFO] [stderr]     |
[INFO] [stderr] 330 |                         writer.write_str(String::from_utf8_lossy(&message.info[0..message.length]).as_slice()); //don't pad with 0's
[INFO] [stderr]     |                                                                                                    ^^^^^^^^ method not found in `std::borrow::Cow<'_, str>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for enum `std::borrow::Cow<'_, str>` in the current scope
[INFO] [stderr]    --> src/main.rs:351:96
[INFO] [stderr]     |
[INFO] [stderr] 351 |                     writer.write_str(String::from_utf8_lossy(&message.info[0..message.length]).as_slice()); //don't pad with 0's
[INFO] [stderr]     |                                                                                                ^^^^^^^^ method not found in `std::borrow::Cow<'_, str>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `capture` found for struct `std::process::Stdio` in the current scope
[INFO] [stderr]    --> src/main.rs:369:59
[INFO] [stderr]     |
[INFO] [stderr] 369 |         Command::new("which").arg(cmd_path).stdout(Stdio::capture()).status().unwrap().success()
[INFO] [stderr]     |                                                           ^^^^^^^ function or associated item not found in `std::process::Stdio`
[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:388:63
[INFO] [stderr]     |
[INFO] [stderr] 388 |         Some(cmd_line) => Shell::new("").run_cmdline(cmd_line.as_slice()),
[INFO] [stderr]     |                                                               ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Read`
[INFO] [stderr]   --> src/main.rs:15:15
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::io::{Read, Write};
[INFO] [stderr]    |               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]   --> src/main.rs:15:21
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::io::{Read, Write};
[INFO] [stderr]    |                     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 29 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `pa2`.
[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[E0432]: unresolved imports `getopts::optopt`, `getopts::getopts`
[INFO] [stderr]   --> src/main.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 | 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::old_io`
[INFO] [stderr]   --> src/main.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::old_io::{BufferedReader, BufferedWriter};
[INFO] [stderr]    |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr]   --> src/main.rs:14:10
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::old_io::stdin;
[INFO] [stderr]    |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stderr]   --> src/main.rs:19:10
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::old_io::fs::PathExtensions; //this is for checking if file exists in cd
[INFO] [stderr]    |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr]   --> src/main.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 | use std::{old_io, os};
[INFO] [stderr]    |           ^^^^^^ no `old_io` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::os::getcwd`
[INFO] [stderr]   --> src/main.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use std::os::getcwd;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^ no `getcwd` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr]   --> src/main.rs:25:10
[INFO] [stderr]    |
[INFO] [stderr] 25 | use std::old_io::File;
[INFO] [stderr]    |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/main.rs:87:21
[INFO] [stderr]    |
[INFO] [stderr] 87 |             let p = Path::new(root_path);
[INFO] [stderr]    |                     ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:121:25
[INFO] [stderr]     |
[INFO] [stderr] 121 |                 let p = Path::new(path);
[INFO] [stderr]     |                         ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:129:25
[INFO] [stderr]     |
[INFO] [stderr] 129 |                 let p = Path::new(path);
[INFO] [stderr]     |                         ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:232:24
[INFO] [stderr]     |
[INFO] [stderr] 232 |             let path = Path::new(fullpath);
[INFO] [stderr]     |                        ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:328:51
[INFO] [stderr]     |
[INFO] [stderr] 328 |                         let mut f = File::create(&Path::new(&fname));
[INFO] [stderr]     |                                                   ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]    --> src/main.rs:349:47
[INFO] [stderr]     |
[INFO] [stderr] 349 |                     let mut f = File::create(&Path::new(filename));
[INFO] [stderr]     |                                               ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]    --> src/main.rs:375:20
[INFO] [stderr]     |
[INFO] [stderr] 375 |     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] 11  | use std::env::args;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `optopt` in crate `getopts`
[INFO] [stderr]    --> src/main.rs:378:18
[INFO] [stderr]     |
[INFO] [stderr] 378 |         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:381:14
[INFO] [stderr]     |
[INFO] [stderr] 381 |     getopts::getopts(args.tail(), opts).unwrap().opt_str("c")
[INFO] [stderr]     |              ^^^^^^^ not found in `getopts`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Sender`
[INFO] [stderr]   --> src/main.rs:22:32
[INFO] [stderr]    |
[INFO] [stderr] 22 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stderr]    |                                ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `message` should have an upper camel case name
[INFO] [stderr]   --> src/main.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | struct message{
[INFO] [stderr]    |        ^^^^^^^ help: convert the identifier to upper camel case: `Message`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[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:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | extern crate getopts;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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:46:50
[INFO] [stderr]    |
[INFO] [stderr] 46 |             old_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 `split_str` found for reference `&str` in the current scope
[INFO] [stderr]   --> src/main.rs:81:34
[INFO] [stderr]    |
[INFO] [stderr] 81 |         let cmd_split = cmd_line.split_str(" ");
[INFO] [stderr]    |                                  ^^^^^^^^^ help: there is an associated function with a similar name: `split_at`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `split_str` found for reference `&str` in the current scope
[INFO] [stderr]    --> src/main.rs:109:44
[INFO] [stderr]     |
[INFO] [stderr] 109 |                 let mut split = cwd_string.split_str("/");
[INFO] [stderr]     |                                            ^^^^^^^^^ help: there is an associated function with a similar name: `split_at`
[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:273:28
[INFO] [stderr]     |
[INFO] [stderr] 273 |             let argv = arg.tail();
[INFO] [stderr]     |                            ^^^^ method not found in `std::vec::Vec<&str>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `capture` found for struct `std::process::Stdio` in the current scope
[INFO] [stderr]    --> src/main.rs:275:83
[INFO] [stderr]     |
[INFO] [stderr] 275 |                 let process = match Command::new(program).args(argv).stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() {
[INFO] [stderr]     |                                                                                   ^^^^^^^ function or associated item not found in `std::process::Stdio`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `capture` found for struct `std::process::Stdio` in the current scope
[INFO] [stderr]    --> src/main.rs:275:108
[INFO] [stderr]     |
[INFO] [stderr] 275 |                 let process = match Command::new(program).args(argv).stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() {
[INFO] [stderr]     |                                                                                                            ^^^^^^^ function or associated item not found in `std::process::Stdio`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `capture` found for struct `std::process::Stdio` in the current scope
[INFO] [stderr]    --> src/main.rs:275:133
[INFO] [stderr]     |
[INFO] [stderr] 275 |                 let process = match Command::new(program).args(argv).stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() {
[INFO] [stderr]     |                                                                                                                                     ^^^^^^^ function or associated item not found in `std::process::Stdio`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `description` found for struct `std::io::Error` in the current scope
[INFO] [stderr]    --> src/main.rs:276:78
[INFO] [stderr]     |
[INFO] [stderr] 276 |                     Err(why) => panic!("couldn't spawn {}: {}", program, why.description()),
[INFO] [stderr]     |                                                                              ^^^^^^^^^^^ method not found in `std::io::Error`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 11  | use std::error::Error;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for enum `std::borrow::Cow<'_, str>` in the current scope
[INFO] [stderr]    --> src/main.rs:330:100
[INFO] [stderr]     |
[INFO] [stderr] 330 |                         writer.write_str(String::from_utf8_lossy(&message.info[0..message.length]).as_slice()); //don't pad with 0's
[INFO] [stderr]     |                                                                                                    ^^^^^^^^ method not found in `std::borrow::Cow<'_, str>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for enum `std::borrow::Cow<'_, str>` in the current scope
[INFO] [stderr]    --> src/main.rs:351:96
[INFO] [stderr]     |
[INFO] [stderr] 351 |                     writer.write_str(String::from_utf8_lossy(&message.info[0..message.length]).as_slice()); //don't pad with 0's
[INFO] [stderr]     |                                                                                                ^^^^^^^^ method not found in `std::borrow::Cow<'_, str>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `capture` found for struct `std::process::Stdio` in the current scope
[INFO] [stderr]    --> src/main.rs:369:59
[INFO] [stderr]     |
[INFO] [stderr] 369 |         Command::new("which").arg(cmd_path).stdout(Stdio::capture()).status().unwrap().success()
[INFO] [stderr]     |                                                           ^^^^^^^ function or associated item not found in `std::process::Stdio`
[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:388:63
[INFO] [stderr]     |
[INFO] [stderr] 388 |         Some(cmd_line) => Shell::new("").run_cmdline(cmd_line.as_slice()),
[INFO] [stderr]     |                                                               ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Read`
[INFO] [stderr]   --> src/main.rs:15:15
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::io::{Read, Write};
[INFO] [stderr]    |               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]   --> src/main.rs:15:21
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::io::{Read, Write};
[INFO] [stderr]    |                     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 29 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `pa2`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "51395804c5ed4f46a6ad06fa34ca1b6087691cd9744f9f20b07a3f59a51ad774"`
[INFO] running `"docker" "rm" "-f" "51395804c5ed4f46a6ad06fa34ca1b6087691cd9744f9f20b07a3f59a51ad774"`
[INFO] [stdout] 51395804c5ed4f46a6ad06fa34ca1b6087691cd9744f9f20b07a3f59a51ad774
