[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcapo88%2Frustpa2" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcapo88/rustpa2 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b7636c006a10961f3f020ef6e33eb20c3563356de474902a664d71f639c02dc [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" "3b7636c006a10961f3f020ef6e33eb20c3563356de474902a664d71f639c02dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b7636c006a10961f3f020ef6e33eb20c3563356de474902a664d71f639c02dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7636c006a10961f3f020ef6e33eb20c3563356de474902a664d71f639c02dc", kill_on_drop: false }` [INFO] [stdout] 3b7636c006a10961f3f020ef6e33eb20c3563356de474902a664d71f639c02dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 850e37bbdc02a5bf44c81cd5e9835dce716ecd6a6aa16a01656b9058aa8f9cf0 [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" "850e37bbdc02a5bf44c81cd5e9835dce716ecd6a6aa16a01656b9058aa8f9cf0", 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] | ^^^^ not found in this scope [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:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let p = Path::new(root_path); [INFO] [stdout] | ^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] [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] | ^^^^ not found in this scope [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 `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] warning: unused import: `Sender` [INFO] [stdout] --> src/main.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] | ^^^^ not found in this scope [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] warning: type `message` should have an upper camel case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct message{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [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] | ^^^^ not found in this scope [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] [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] warning: unused import: `Sender` [INFO] [stdout] --> src/main.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `message` should have an upper camel case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct message{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [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] [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] [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] | ^^^^^^^^^ help: there is an associated function with a similar name: `split_at` [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] | ^^^^^^^^^ help: there is an associated function with a similar name: `split_at` [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] | ^^^^^^^^^ help: there is an associated function with a similar name: `split_at` [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] | ^^^^^^^^^ help: there is an associated function with a similar name: `split_at` [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] [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] [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] [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 `std::io::Error` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 11 | 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] [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] [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] [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 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 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] [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 `std::io::Error` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 11 | 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] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 4 warnings emitted [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: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] [stderr] error: could not compile `pa2` [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] [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] [INFO] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 4 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "850e37bbdc02a5bf44c81cd5e9835dce716ecd6a6aa16a01656b9058aa8f9cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850e37bbdc02a5bf44c81cd5e9835dce716ecd6a6aa16a01656b9058aa8f9cf0", kill_on_drop: false }` [INFO] [stdout] 850e37bbdc02a5bf44c81cd5e9835dce716ecd6a6aa16a01656b9058aa8f9cf0