[INFO] fetching crate loop-rs 0.6.1...
[INFO] checking loop-rs-0.6.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate loop-rs 0.6.1 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate loop-rs 0.6.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate loop-rs 0.6.1
[INFO] finished tweaking crates.io crate loop-rs 0.6.1
[INFO] tweaked toml for crates.io crate loop-rs 0.6.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded subprocess v0.1.20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ef315f461f494b5ee8f77b0c40f94016d266b3f7f456408ae15ad55e23e6e91
[INFO] running `Command { std: "docker" "start" "-a" "1ef315f461f494b5ee8f77b0c40f94016d266b3f7f456408ae15ad55e23e6e91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ef315f461f494b5ee8f77b0c40f94016d266b3f7f456408ae15ad55e23e6e91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ef315f461f494b5ee8f77b0c40f94016d266b3f7f456408ae15ad55e23e6e91", kill_on_drop: false }`
[INFO] [stdout] 1ef315f461f494b5ee8f77b0c40f94016d266b3f7f456408ae15ad55e23e6e91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29779ed5fb731078db18bc5f43df9edfd0263ef708fdc22f9536039e3125e3a8
[INFO] running `Command { std: "docker" "start" "-a" "29779ed5fb731078db18bc5f43df9edfd0263ef708fdc22f9536039e3125e3a8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking subprocess v0.1.20
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]     Checking structopt v0.2.18
[INFO] [stderr]     Checking loop-rs v0.6.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `BufRead` is imported redundantly
[INFO] [stdout]   --> src/main.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::prelude::*;
[INFO] [stdout]    |     ------------------- the item `BufRead` is already imported here
[INFO] [stdout] 12 | use std::io::{self, BufRead, SeekFrom};
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `BufRead` is imported redundantly
[INFO] [stdout]   --> src/main.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::prelude::*;
[INFO] [stdout]    |     ------------------- the item `BufRead` is already imported here
[INFO] [stdout] 12 | use std::io::{self, BufRead, SeekFrom};
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in function arguments
[INFO] [stdout]    --> src/main.rs:238:48
[INFO] [stdout]     |
[INFO] [stdout] 216 | #[derive(StructOpt, Debug)]
[INFO] [stdout]     |          --------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 238 |     #[structopt(long = "for", parse(from_str = "get_values"))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^ expected due to this
[INFO] [stdout] ...
[INFO] [stdout] 322 | fn get_values(input: &&str) -> Vec<String> {
[INFO] [stdout]     | ------------------------------------------ found signature defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected function signature `fn(&_) -> _`
[INFO] [stdout]                found function signature `for<'a, 'b> fn(&'a &'b _) -> _`
[INFO] [stdout] note: required by a bound in `Option::<T>::map`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/option.rs:1068:5
[INFO] [stdout] help: consider wrapping the function in a closure
[INFO] [stdout]     |
[INFO] [stdout] 238 |     #[structopt(long = "for", parse(from_str = |input: &str| "get_values"(&input)))]
[INFO] [stdout]     |                                                +++++++++++++             ++++++++
[INFO] [stdout] help: consider adjusting the signature so it does not borrow its argument
[INFO] [stdout]     |
[INFO] [stdout] 322 - fn get_values(input: &&str) -> Vec<String> {
[INFO] [stdout] 322 + fn get_values(input: &str) -> Vec<String> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in function arguments
[INFO] [stdout]    --> src/main.rs:266:69
[INFO] [stdout]     |
[INFO] [stdout] 216 | #[derive(StructOpt, Debug)]
[INFO] [stdout]     |          --------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 266 |     #[structopt(short = "r", long = "until-error", parse(from_str = "get_error_code"))]
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^^^ expected due to this
[INFO] [stdout] ...
[INFO] [stdout] 314 | fn get_error_code(input: &&str) -> ErrorCode {
[INFO] [stdout]     | -------------------------------------------- found signature defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected function signature `fn(&_) -> _`
[INFO] [stdout]                found function signature `for<'a, 'b> fn(&'a &'b _) -> _`
[INFO] [stdout] note: required by a bound in `Option::<T>::map`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/option.rs:1068:5
[INFO] [stdout] help: consider wrapping the function in a closure
[INFO] [stdout]     |
[INFO] [stdout] 266 |     #[structopt(short = "r", long = "until-error", parse(from_str = |input: &str| "get_error_code"(&input)))]
[INFO] [stdout]     |                                                                     +++++++++++++                 ++++++++
[INFO] [stdout] help: consider adjusting the signature so it does not borrow its argument
[INFO] [stdout]     |
[INFO] [stdout] 314 - fn get_error_code(input: &&str) -> ErrorCode {
[INFO] [stdout] 314 + fn get_error_code(input: &str) -> ErrorCode {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in function arguments
[INFO] [stdout]    --> src/main.rs:238:48
[INFO] [stdout]     |
[INFO] [stdout] 216 | #[derive(StructOpt, Debug)]
[INFO] [stdout]     |          --------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 238 |     #[structopt(long = "for", parse(from_str = "get_values"))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^ expected due to this
[INFO] [stdout] ...
[INFO] [stdout] 322 | fn get_values(input: &&str) -> Vec<String> {
[INFO] [stdout]     | ------------------------------------------ found signature defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected function signature `fn(&_) -> _`
[INFO] [stdout]                found function signature `for<'a, 'b> fn(&'a &'b _) -> _`
[INFO] [stdout] note: required by a bound in `Option::<T>::map`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/option.rs:1068:5
[INFO] [stdout] help: consider wrapping the function in a closure
[INFO] [stdout]     |
[INFO] [stdout] 238 |     #[structopt(long = "for", parse(from_str = |input: &str| "get_values"(&input)))]
[INFO] [stdout]     |                                                +++++++++++++             ++++++++
[INFO] [stdout] help: consider adjusting the signature so it does not borrow its argument
[INFO] [stdout]     |
[INFO] [stdout] 322 - fn get_values(input: &&str) -> Vec<String> {
[INFO] [stdout] 322 + fn get_values(input: &str) -> Vec<String> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in function arguments
[INFO] [stdout]    --> src/main.rs:266:69
[INFO] [stdout]     |
[INFO] [stdout] 216 | #[derive(StructOpt, Debug)]
[INFO] [stdout]     |          --------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 266 |     #[structopt(short = "r", long = "until-error", parse(from_str = "get_error_code"))]
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^^^ expected due to this
[INFO] [stdout] ...
[INFO] [stdout] 314 | fn get_error_code(input: &&str) -> ErrorCode {
[INFO] [stdout]     | -------------------------------------------- found signature defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected function signature `fn(&_) -> _`
[INFO] [stdout]                found function signature `for<'a, 'b> fn(&'a &'b _) -> _`
[INFO] [stdout] note: required by a bound in `Option::<T>::map`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/option.rs:1068:5
[INFO] [stdout] help: consider wrapping the function in a closure
[INFO] [stdout]     |
[INFO] [stdout] 266 |     #[structopt(short = "r", long = "until-error", parse(from_str = |input: &str| "get_error_code"(&input)))]
[INFO] [stdout]     |                                                                     +++++++++++++                 ++++++++
[INFO] [stdout] help: consider adjusting the signature so it does not borrow its argument
[INFO] [stdout]     |
[INFO] [stdout] 314 - fn get_error_code(input: &&str) -> ErrorCode {
[INFO] [stdout] 314 + fn get_error_code(input: &str) -> ErrorCode {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0631`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0631`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `loop-rs` (bin "loop") due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `loop-rs` (bin "loop" test) due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "29779ed5fb731078db18bc5f43df9edfd0263ef708fdc22f9536039e3125e3a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29779ed5fb731078db18bc5f43df9edfd0263ef708fdc22f9536039e3125e3a8", kill_on_drop: false }`
[INFO] [stdout] 29779ed5fb731078db18bc5f43df9edfd0263ef708fdc22f9536039e3125e3a8
