[INFO] cloning repository https://github.com/glennpratt/retry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/glennpratt/retry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglennpratt%2Fretry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglennpratt%2Fretry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92c90223fd2c6ce74cc291c58c7a5a13aab7644b [INFO] checking glennpratt/retry/92c90223fd2c6ce74cc291c58c7a5a13aab7644b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglennpratt%2Fretry" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/glennpratt/retry on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/glennpratt/retry [INFO] finished tweaking git repo https://github.com/glennpratt/retry [INFO] tweaked toml for git repo https://github.com/glennpratt/retry written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/glennpratt/retry already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 579a760ae69194735c4ddbc7d8f413abaaa2a36631c96ab7c8e806c68f28fb0a [INFO] running `Command { std: "docker" "start" "-a" "579a760ae69194735c4ddbc7d8f413abaaa2a36631c96ab7c8e806c68f28fb0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "579a760ae69194735c4ddbc7d8f413abaaa2a36631c96ab7c8e806c68f28fb0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579a760ae69194735c4ddbc7d8f413abaaa2a36631c96ab7c8e806c68f28fb0a", kill_on_drop: false }` [INFO] [stdout] 579a760ae69194735c4ddbc7d8f413abaaa2a36631c96ab7c8e806c68f28fb0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1fd51c8539713f46b4258245b6d4d943bdaa40a20c9fed37b8fe224d5e16ffc [INFO] running `Command { std: "docker" "start" "-a" "e1fd51c8539713f46b4258245b6d4d943bdaa40a20c9fed37b8fe224d5e16ffc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stderr] Checking retry_command v0.1.0 (/opt/rustwide/workdir/src/retry_command) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/retry_command/src/exit_code_ext.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(ref status) => try!(status.exit_code()), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/retry_command/src/exit_code_ext.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | Err(ref e) => try!(e.exit_code()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/retry_command/src/exit_code_ext.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(ref output) => try!(output.status.exit_code()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/retry_command/src/exit_code_ext.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | Err(ref e) => try!(e.exit_code()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/retry_command/src/lib.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let (_, code) = try!(self.status_and_code()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/retry_command/src/lib.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let (result, _) = try!(self.status_and_code()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/retry_command/src/lib.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (code, msg_opt) = try!(result.exit_code()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/retry_command/src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | (ret || ((Instant::now() - start) >= self.retry_timeout)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - (ret || ((Instant::now() - start) >= self.retry_timeout)) [INFO] [stdout] 135 + ret || ((Instant::now() - start) >= self.retry_timeout) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/retry_command/src/lib.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | logger: Option> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | logger: Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/retry_command/src/lib.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn logger(&mut self, value: Box) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn logger(&mut self, value: Box) -> &mut Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/retry_command/src/exit_code_ext.rs:56:58 [INFO] [stdout] | [INFO] [stdout] 56 | io::Error::new(self.kind(), self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/getopts-0.2.14/src/lib.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stdout] | ---------------------------------------- `state` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 959 | state = match (state, whitespace, limit) { [INFO] [stdout] | ----- borrow occurs due to use of `state` in closure [INFO] [stdout] ... [INFO] [stdout] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stdout] | ^^^^^ use of borrowed `state` [INFO] [stdout] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0503`. [INFO] [stdout] [INFO] [stderr] error: could not compile `getopts` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e1fd51c8539713f46b4258245b6d4d943bdaa40a20c9fed37b8fe224d5e16ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fd51c8539713f46b4258245b6d4d943bdaa40a20c9fed37b8fe224d5e16ffc", kill_on_drop: false }` [INFO] [stdout] e1fd51c8539713f46b4258245b6d4d943bdaa40a20c9fed37b8fe224d5e16ffc