[INFO] updating cached repository https://github.com/suzumi/grep
[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] bb02fc09ed1783601e946e537445f2136d1739ce
[INFO] checking suzumi/grep against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuzumi%2Fgrep" "/workspace/builds/worker-8/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/suzumi/grep 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/suzumi/grep
[INFO] finished tweaking git repo https://github.com/suzumi/grep
[INFO] tweaked toml for git repo https://github.com/suzumi/grep written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/suzumi/grep 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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stdout] 15563a022a0ef3f7578b5ea68f12be2bdb9910708c50fbda9e504c50a259d42d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "15563a022a0ef3f7578b5ea68f12be2bdb9910708c50fbda9e504c50a259d42d"`
[INFO] [stderr]     Checking libc v0.2.17
[INFO] [stderr]     Checking regex-syntax v0.3.7
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking regex v0.1.77
[INFO] [stderr]     Checking grep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]  --> src/main.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 |   let mut file = try!(File::open(filename));
[INFO] [stderr]   |                  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:11:3
[INFO] [stderr]    |
[INFO] [stderr] 11 |   try!(file.read_to_string(&mut content));
[INFO] [stderr]    |   ^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stderr]   --> src/main.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 |   let re = Regex::new(r"{}+", pattern).unwrap();
[INFO] [stderr]    |            ^^^^^^^^^^ ------  ------- supplied 2 arguments
[INFO] [stderr]    |            |
[INFO] [stderr]    |            expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:17:26
[INFO] [stderr]    |
[INFO] [stderr] 17 |   let caps = re.captures(content).unwrap();
[INFO] [stderr]    |                          ^^^^^^^
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          expected `&str`, found struct `std::string::String`
[INFO] [stderr]    |                          help: consider borrowing here: `&content`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `()` doesn't implement `std::fmt::Display`
[INFO] [stderr]   --> src/main.rs:26:20
[INFO] [stderr]    |
[INFO] [stderr] 26 |       println!("{}", match read_file(args[2].clone()) {
[INFO] [stderr]    |  ____________________^
[INFO] [stderr] 27 | |         Ok(content) => {
[INFO] [stderr] 28 | |           extract_pattern(args[1], content)
[INFO] [stderr] 29 | |         },
[INFO] [stderr] 30 | |         Err(reason) => panic!("{}", reason)
[INFO] [stderr] 31 | |     });
[INFO] [stderr]    | |_____^ `()` cannot be formatted with the default formatter
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Display` is not implemented for `()`
[INFO] [stderr]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stderr]    = note: required by `std::fmt::Display::fmt`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `grep`.
[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] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]  --> src/main.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 |   let mut file = try!(File::open(filename));
[INFO] [stderr]   |                  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:11:3
[INFO] [stderr]    |
[INFO] [stderr] 11 |   try!(file.read_to_string(&mut content));
[INFO] [stderr]    |   ^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stderr]   --> src/main.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 |   let re = Regex::new(r"{}+", pattern).unwrap();
[INFO] [stderr]    |            ^^^^^^^^^^ ------  ------- supplied 2 arguments
[INFO] [stderr]    |            |
[INFO] [stderr]    |            expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:17:26
[INFO] [stderr]    |
[INFO] [stderr] 17 |   let caps = re.captures(content).unwrap();
[INFO] [stderr]    |                          ^^^^^^^
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          expected `&str`, found struct `std::string::String`
[INFO] [stderr]    |                          help: consider borrowing here: `&content`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `()` doesn't implement `std::fmt::Display`
[INFO] [stderr]   --> src/main.rs:26:20
[INFO] [stderr]    |
[INFO] [stderr] 26 |       println!("{}", match read_file(args[2].clone()) {
[INFO] [stderr]    |  ____________________^
[INFO] [stderr] 27 | |         Ok(content) => {
[INFO] [stderr] 28 | |           extract_pattern(args[1], content)
[INFO] [stderr] 29 | |         },
[INFO] [stderr] 30 | |         Err(reason) => panic!("{}", reason)
[INFO] [stderr] 31 | |     });
[INFO] [stderr]    | |_____^ `()` cannot be formatted with the default formatter
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Display` is not implemented for `()`
[INFO] [stderr]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stderr]    = note: required by `std::fmt::Display::fmt`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `grep`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "15563a022a0ef3f7578b5ea68f12be2bdb9910708c50fbda9e504c50a259d42d"`
[INFO] running `"docker" "rm" "-f" "15563a022a0ef3f7578b5ea68f12be2bdb9910708c50fbda9e504c50a259d42d"`
[INFO] [stdout] 15563a022a0ef3f7578b5ea68f12be2bdb9910708c50fbda9e504c50a259d42d
