[INFO] updating cached repository https://github.com/zmbush/rustfuck
[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] ccbda3b19273e93625436e6b5cf11d1f0655757e
[INFO] checking zmbush/rustfuck against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzmbush%2Frustfuck" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/zmbush/rustfuck on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/zmbush/rustfuck
[INFO] finished tweaking git repo https://github.com/zmbush/rustfuck
[INFO] tweaked toml for git repo https://github.com/zmbush/rustfuck written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/zmbush/rustfuck already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 807ebd00484cb7c7fd0230424f9ba89aaf1eaa108851312dfd73e2c7f82b7d65
[INFO] running `"docker" "start" "-a" "807ebd00484cb7c7fd0230424f9ba89aaf1eaa108851312dfd73e2c7f82b7d65"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking rustfuck v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected parameter name, found `:`
[INFO] [stderr]   --> src/main.rs:75:42
[INFO] [stderr]    |
[INFO] [stderr] 75 |                 let v = v.trim_matches(|&: c: char| c == ' ');
[INFO] [stderr]    |                                          ^ expected parameter name
[INFO] [stderr] 
[INFO] [stderr] error: expected parameter name, found `:`
[INFO] [stderr]   --> src/main.rs:75:42
[INFO] [stderr]    |
[INFO] [stderr] 75 |                 let v = v.trim_matches(|&: c: char| c == ' ');
[INFO] [stderr]    |                                          ^ expected parameter name
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stderr]  --> src/main.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::old_io::fs::File;
[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:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::old_io::fs::File;
[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:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::old_io;
[INFO] [stderr]   |     ^^^^^^^^^^^ no `old_io` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::old_io;
[INFO] [stderr]   |     ^^^^^^^^^^^ no `old_io` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage`
[INFO] [stderr]  --> src/main.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 | use getopts::{optopt,optflag, getopts,OptGroup,usage};
[INFO] [stderr]   |               ^^^^^^ ^^^^^^^  ^^^^^^^          ^^^^^ no `usage` in the root
[INFO] [stderr]   |               |      |        |
[INFO] [stderr]   |               |      |        no `getopts` in the root
[INFO] [stderr]   |               |      no `optflag` in the root
[INFO] [stderr]   |               no `optopt` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stderr]  --> src/tokenizer.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::old_io::fs::File;
[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:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::old_io::Command;
[INFO] [stderr]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage`
[INFO] [stderr]  --> src/main.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 | use getopts::{optopt,optflag, getopts,OptGroup,usage};
[INFO] [stderr]   |               ^^^^^^ ^^^^^^^  ^^^^^^^          ^^^^^ no `usage` in the root
[INFO] [stderr]   |               |      |        |
[INFO] [stderr]   |               |      |        no `getopts` in the root
[INFO] [stderr]   |               |      no `optflag` in the root
[INFO] [stderr]   |               no `optopt` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stderr]  --> src/tokenizer.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::old_io::fs::File;
[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:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::old_io::Command;
[INFO] [stderr]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stderr]   --> src/tokenizer.rs:38:23
[INFO] [stderr]    |
[INFO] [stderr] 38 |         let content = File::open(path).read_to_string().unwrap_or("".to_string());
[INFO] [stderr]    |                       ^^^^ use of undeclared type or module `File`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stderr]   --> src/tokenizer.rs:38:23
[INFO] [stderr]    |
[INFO] [stderr] 38 |         let content = File::open(path).read_to_string().unwrap_or("".to_string());
[INFO] [stderr]    |                       ^^^^ use of undeclared type or module `File`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/main.rs:44:16
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let path = Path::new(&matches.free[0]);
[INFO] [stderr]    |                ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stderr]   --> src/main.rs:50:16
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let file = File::open(&path).read_to_string().unwrap_or("".to_string());
[INFO] [stderr]    |                ^^^^ use of undeclared type or module `File`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/main.rs:44:16
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let path = Path::new(&matches.free[0]);
[INFO] [stderr]    |                ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stderr]   --> src/main.rs:50:16
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let file = File::open(&path).read_to_string().unwrap_or("".to_string());
[INFO] [stderr]    |                ^^^^ use of undeclared type or module `File`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/tokenizer.rs:33:30
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub fn parse_file(path: &Path) -> Vec<BFToken> {
[INFO] [stderr]    |                              ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]   --> src/main.rs:17:20
[INFO] [stderr]    |
[INFO] [stderr] 17 |     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] 3  | use std::env::args;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `OptGroup` is private
[INFO] [stderr]    --> src/main.rs:6:39
[INFO] [stderr]     |
[INFO] [stderr] 6   | use getopts::{optopt,optflag, getopts,OptGroup,usage};
[INFO] [stderr]     |                                       ^^^^^^^^ private struct
[INFO] [stderr]     |
[INFO] [stderr] note: the struct `OptGroup` is defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/tokenizer.rs:33:30
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub fn parse_file(path: &Path) -> Vec<BFToken> {
[INFO] [stderr]    |                              ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]   --> src/main.rs:17:20
[INFO] [stderr]    |
[INFO] [stderr] 17 |     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] 3  | use std::env::args;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `OptGroup` is private
[INFO] [stderr]    --> src/main.rs:6:39
[INFO] [stderr]     |
[INFO] [stderr] 6   | use getopts::{optopt,optflag, getopts,OptGroup,usage};
[INFO] [stderr]     |                                       ^^^^^^^^ private struct
[INFO] [stderr]     |
[INFO] [stderr] note: the struct `OptGroup` is defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]  --> src/main.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | 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[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:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | 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 struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:13:30
[INFO] [stderr]    |
[INFO] [stderr] 13 |     print!("{}", usage(brief.as_slice(), opts));
[INFO] [stderr]    |                              ^^^^^^^^ method not found in `std::string::String`
[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:13:30
[INFO] [stderr]    |
[INFO] [stderr] 13 |     print!("{}", usage(brief.as_slice(), opts));
[INFO] [stderr]    |                              ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0603, E0658.
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0603, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `rustfuck`.
[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: could not compile `rustfuck`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "807ebd00484cb7c7fd0230424f9ba89aaf1eaa108851312dfd73e2c7f82b7d65"`
[INFO] running `"docker" "rm" "-f" "807ebd00484cb7c7fd0230424f9ba89aaf1eaa108851312dfd73e2c7f82b7d65"`
[INFO] [stdout] 807ebd00484cb7c7fd0230424f9ba89aaf1eaa108851312dfd73e2c7f82b7d65
