[INFO] cloning repository https://github.com/mcapo88/rustpa2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcapo88/rustpa2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcapo88%2Frustpa2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcapo88%2Frustpa2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9452b7a6b03975baa151b8da34bf67e64acf20e [INFO] checking mcapo88/rustpa2 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcapo88%2Frustpa2" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcapo88/rustpa2 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mcapo88/rustpa2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78802904335ce9079a1370a694145a2bc297066d7cf8ff94dc7a45d03ce2a672 [INFO] running `Command { std: "docker" "start" "-a" "78802904335ce9079a1370a694145a2bc297066d7cf8ff94dc7a45d03ce2a672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78802904335ce9079a1370a694145a2bc297066d7cf8ff94dc7a45d03ce2a672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78802904335ce9079a1370a694145a2bc297066d7cf8ff94dc7a45d03ce2a672", kill_on_drop: false }` [INFO] [stdout] 78802904335ce9079a1370a694145a2bc297066d7cf8ff94dc7a45d03ce2a672 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8b950531dd33eccfe0355ce602cc72d9e612b6455edf770db95fe5d29b9a7ca [INFO] running `Command { std: "docker" "start" "-a" "a8b950531dd33eccfe0355ce602cc72d9e612b6455edf770db95fe5d29b9a7ca", kill_on_drop: false }` [INFO] [stderr] Checking pa2 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::getopts` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | 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::old_io` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use std::old_io::{BufferedReader, BufferedWriter}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | use std::old_io::stdin; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | use std::old_io::fs::PathExtensions; //this is for checking if file exists in cd [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | use std::{old_io, os}; [INFO] [stdout] | ^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::getcwd` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::os::getcwd; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `getcwd` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::getopts` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | 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::old_io` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use std::old_io::{BufferedReader, BufferedWriter}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | use std::old_io::stdin; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | use std::old_io::fs::PathExtensions; //this is for checking if file exists in cd [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | use std::{old_io, os}; [INFO] [stdout] | ^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::getcwd` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::os::getcwd; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `getcwd` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let p = Path::new(root_path); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let p = Path::new(path); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | let p = Path::new(path); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | let path = Path::new(fullpath); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:328:51 [INFO] [stdout] | [INFO] [stdout] 328 | let mut f = File::create(&Path::new(&fname)); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:349:47 [INFO] [stdout] | [INFO] [stdout] 349 | let mut f = File::create(&Path::new(filename)); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:375:20 [INFO] [stdout] | [INFO] [stdout] 375 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 + use env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 375 - let args = os::args(); [INFO] [stdout] 375 + let args = args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stdout] --> src/main.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | 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:381:14 [INFO] [stdout] | [INFO] [stdout] 381 | getopts::getopts(args.tail(), opts).unwrap().opt_str("c") [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let p = Path::new(root_path); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let p = Path::new(path); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | let p = Path::new(path); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | let path = Path::new(fullpath); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:328:51 [INFO] [stdout] | [INFO] [stdout] 328 | let mut f = File::create(&Path::new(&fname)); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:349:47 [INFO] [stdout] | [INFO] [stdout] 349 | let mut f = File::create(&Path::new(filename)); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:375:20 [INFO] [stdout] | [INFO] [stdout] 375 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 + use env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 375 - let args = os::args(); [INFO] [stdout] 375 + let args = args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stdout] --> src/main.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | 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:381:14 [INFO] [stdout] | [INFO] [stdout] 381 | getopts::getopts(args.tail(), opts).unwrap().opt_str("c") [INFO] [stdout] | ^^^^^^^ not found in `getopts` [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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [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:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | old_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 reference `&'a str` in the current scope [INFO] [stdout] --> src/main.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | old_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 `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | let cmd_split = cmd_line.split_str(" "); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 81 | let cmd_split = cmd_line.split(" "); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | let cmd_split = cmd_line.split_str(" "); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 81 | let cmd_split = cmd_line.split(" "); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let mut split = cwd_string.split_str("/"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 109 | let mut split = cwd_string.split("/"); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let mut split = cwd_string.split_str("/"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 109 | let mut split = cwd_string.split("/"); [INFO] [stdout] | ~~~~~ [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:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | let argv = arg.tail(); [INFO] [stdout] | ^^^^ method not found in `Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `capture` found for struct `Stdio` in the current scope [INFO] [stdout] --> src/main.rs:275:83 [INFO] [stdout] | [INFO] [stdout] 275 | ... let process = match Command::new(program).args(argv).stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spaw... [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Stdio` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Stdio` consider using one of the following associated functions: [INFO] [stdout] Stdio::piped [INFO] [stdout] Stdio::inherit [INFO] [stdout] Stdio::null [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:1362:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `capture` found for struct `Stdio` in the current scope [INFO] [stdout] --> src/main.rs:275:108 [INFO] [stdout] | [INFO] [stdout] 275 | ....stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Stdio` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Stdio` consider using one of the following associated functions: [INFO] [stdout] Stdio::piped [INFO] [stdout] Stdio::inherit [INFO] [stdout] Stdio::null [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:1362:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `capture` found for struct `Stdio` in the current scope [INFO] [stdout] --> src/main.rs:275:133 [INFO] [stdout] | [INFO] [stdout] 275 | ...stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Stdio` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Stdio` consider using one of the following associated functions: [INFO] [stdout] Stdio::piped [INFO] [stdout] Stdio::inherit [INFO] [stdout] Stdio::null [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:1362:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `description` found for struct `std::io::Error` in the current scope [INFO] [stdout] --> src/main.rs:276:78 [INFO] [stdout] | [INFO] [stdout] 276 | Err(why) => panic!("couldn't spawn {}: {}", program, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Error` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/error.rs:110:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::Error` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Error` which provides `description` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `description` found for struct `std::io::Error` in the current scope [INFO] [stdout] --> src/main.rs:303:76 [INFO] [stdout] | [INFO] [stdout] 303 | Err(why) => {panic!("couldn't read stdout {}", why.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Error` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/error.rs:110:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::Error` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Error` which provides `description` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [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:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | let argv = arg.tail(); [INFO] [stdout] | ^^^^ method not found in `Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `capture` found for struct `Stdio` in the current scope [INFO] [stdout] --> src/main.rs:275:83 [INFO] [stdout] | [INFO] [stdout] 275 | ... let process = match Command::new(program).args(argv).stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spaw... [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Stdio` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Stdio` consider using one of the following associated functions: [INFO] [stdout] Stdio::piped [INFO] [stdout] Stdio::inherit [INFO] [stdout] Stdio::null [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:1362:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/main.rs:330:100 [INFO] [stdout] | [INFO] [stdout] 330 | writer.write_str(String::from_utf8_lossy(&message.info[0..message.length]).as_slice()); //don't pad with 0's [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `capture` found for struct `Stdio` in the current scope [INFO] [stdout] --> src/main.rs:275:108 [INFO] [stdout] | [INFO] [stdout] 275 | ....stdin(Stdio::capture()).stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Stdio` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Stdio` consider using one of the following associated functions: [INFO] [stdout] Stdio::piped [INFO] [stdout] Stdio::inherit [INFO] [stdout] Stdio::null [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:1362:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `capture` found for struct `Stdio` in the current scope [INFO] [stdout] --> src/main.rs:275:133 [INFO] [stdout] | [INFO] [stdout] 275 | ...stdout(Stdio::capture()).stderr(Stdio::capture()).spawn() { [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Stdio` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Stdio` consider using one of the following associated functions: [INFO] [stdout] Stdio::piped [INFO] [stdout] Stdio::inherit [INFO] [stdout] Stdio::null [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:1362:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/main.rs:351:96 [INFO] [stdout] | [INFO] [stdout] 351 | writer.write_str(String::from_utf8_lossy(&message.info[0..message.length]).as_slice()); //don't pad with 0's [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `description` found for struct `std::io::Error` in the current scope [INFO] [stdout] --> src/main.rs:276:78 [INFO] [stdout] | [INFO] [stdout] 276 | Err(why) => panic!("couldn't spawn {}: {}", program, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Error` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/error.rs:110:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::Error` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Error` which provides `description` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `capture` found for struct `Stdio` in the current scope [INFO] [stdout] --> src/main.rs:369:59 [INFO] [stdout] | [INFO] [stdout] 369 | Command::new("which").arg(cmd_path).stdout(Stdio::capture()).status().unwrap().success() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Stdio` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Stdio` consider using one of the following associated functions: [INFO] [stdout] Stdio::piped [INFO] [stdout] Stdio::inherit [INFO] [stdout] Stdio::null [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:1362:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `description` found for struct `std::io::Error` in the current scope [INFO] [stdout] --> src/main.rs:303:76 [INFO] [stdout] | [INFO] [stdout] 303 | Err(why) => {panic!("couldn't read stdout {}", why.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Error` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/error.rs:110:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::Error` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Error` which provides `description` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [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:388:63 [INFO] [stdout] | [INFO] [stdout] 388 | 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[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/main.rs:330:100 [INFO] [stdout] | [INFO] [stdout] 330 | writer.write_str(String::from_utf8_lossy(&message.info[0..message.length]).as_slice()); //don't pad with 0's [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/main.rs:351:96 [INFO] [stdout] | [INFO] [stdout] 351 | writer.write_str(String::from_utf8_lossy(&message.info[0..message.length]).as_slice()); //don't pad with 0's [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pa2` (bin "pa2") due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `capture` found for struct `Stdio` in the current scope [INFO] [stdout] --> src/main.rs:369:59 [INFO] [stdout] | [INFO] [stdout] 369 | Command::new("which").arg(cmd_path).stdout(Stdio::capture()).status().unwrap().success() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Stdio` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Stdio` consider using one of the following associated functions: [INFO] [stdout] Stdio::piped [INFO] [stdout] Stdio::inherit [INFO] [stdout] Stdio::null [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:1362:5 [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:388:63 [INFO] [stdout] | [INFO] [stdout] 388 | 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 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pa2` (bin "pa2" test) due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "a8b950531dd33eccfe0355ce602cc72d9e612b6455edf770db95fe5d29b9a7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b950531dd33eccfe0355ce602cc72d9e612b6455edf770db95fe5d29b9a7ca", kill_on_drop: false }` [INFO] [stdout] a8b950531dd33eccfe0355ce602cc72d9e612b6455edf770db95fe5d29b9a7ca