[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#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuzumi%2Fgrep" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/suzumi/grep 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/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-6/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "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] [stdout] 59560c1739e00044b6d7ab78731f1dcb8aa0bbbae0376596aab185db154f4de2
[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" "59560c1739e00044b6d7ab78731f1dcb8aa0bbbae0376596aab185db154f4de2"`
[INFO] [stderr]     Checking regex-syntax v0.3.7
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread-id v2.0.0
[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] 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] 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" "59560c1739e00044b6d7ab78731f1dcb8aa0bbbae0376596aab185db154f4de2"`
[INFO] running `"docker" "rm" "-f" "59560c1739e00044b6d7ab78731f1dcb8aa0bbbae0376596aab185db154f4de2"`
[INFO] [stdout] 59560c1739e00044b6d7ab78731f1dcb8aa0bbbae0376596aab185db154f4de2
