[INFO] cloning repository https://github.com/luzxyz/RManzanio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luzxyz/RManzanio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluzxyz%2FRManzanio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluzxyz%2FRManzanio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9febaa151cbaa8d0a0f6f1e238d83ced4a0a731a [INFO] checking luzxyz/RManzanio against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluzxyz%2FRManzanio" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luzxyz/RManzanio on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luzxyz/RManzanio [INFO] finished tweaking git repo https://github.com/luzxyz/RManzanio [INFO] tweaked toml for git repo https://github.com/luzxyz/RManzanio written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/luzxyz/RManzanio already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dcaa4d8d57d3d9bc9df2c6b175dc2723a331ddfa5557ebb1b1a2917942d4835 [INFO] running `Command { std: "docker" "start" "-a" "3dcaa4d8d57d3d9bc9df2c6b175dc2723a331ddfa5557ebb1b1a2917942d4835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dcaa4d8d57d3d9bc9df2c6b175dc2723a331ddfa5557ebb1b1a2917942d4835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dcaa4d8d57d3d9bc9df2c6b175dc2723a331ddfa5557ebb1b1a2917942d4835", kill_on_drop: false }` [INFO] [stdout] 3dcaa4d8d57d3d9bc9df2c6b175dc2723a331ddfa5557ebb1b1a2917942d4835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41f1364e90229b23af9c0954d74598182960e2c3a47bf23256f294ef6e46b813 [INFO] running `Command { std: "docker" "start" "-a" "41f1364e90229b23af9c0954d74598182960e2c3a47bf23256f294ef6e46b813", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking rmanzanio v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: expected identifier, found keyword `fn` [INFO] [stdout] --> src/timer.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut r#fn( u16 ) -> String){ [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:` or `|`, found `->` [INFO] [stdout] --> src/timer.rs:27:62 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^ expected one of `:` or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found keyword `fn` [INFO] [stdout] --> src/timer.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | -^^ expected one of 7 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time` in this scope [INFO] [stdout] --> src/timer.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | output.push_str( &(time/60).to_string() ); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time` in this scope [INFO] [stdout] --> src/timer.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | output.push_str( &(time % 60).to_string() ); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time` in this scope [INFO] [stdout] --> src/timer.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | output.push_str( &(time/3600).to_string() ); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time` in this scope [INFO] [stdout] --> src/timer.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | output.push_str( &(time%60).to_string() ); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/timer.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnMut` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/timer.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | return if ( case ) { calculate_time_hm } else { calculate_time_ms }; [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | let timeIsLarge: bool = if (time > 3601) { true } else { false }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/timer.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^^^^ help: use parenthetical notation instead: `FnMut() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `FnMut` [INFO] [stdout] --> src/timer.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `Args` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` (from trait `FnOnce`) must be specified [INFO] [stdout] --> src/timer.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^^^^ help: specify the associated type: `FnMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0191, E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmanzanio` due to 11 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected identifier, found keyword `fn` [INFO] [stdout] --> src/timer.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut r#fn( u16 ) -> String){ [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:` or `|`, found `->` [INFO] [stdout] --> src/timer.rs:27:62 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^ expected one of `:` or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found keyword `fn` [INFO] [stdout] --> src/timer.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | -^^ expected one of 7 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time` in this scope [INFO] [stdout] --> src/timer.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | output.push_str( &(time/60).to_string() ); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time` in this scope [INFO] [stdout] --> src/timer.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | output.push_str( &(time % 60).to_string() ); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time` in this scope [INFO] [stdout] --> src/timer.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | output.push_str( &(time/3600).to_string() ); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time` in this scope [INFO] [stdout] --> src/timer.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | output.push_str( &(time%60).to_string() ); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/timer.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnMut` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/timer.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | return if ( case ) { calculate_time_hm } else { calculate_time_ms }; [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | let timeIsLarge: bool = if (time > 3601) { true } else { false }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/timer.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^^^^ help: use parenthetical notation instead: `FnMut() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `FnMut` [INFO] [stdout] --> src/timer.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `Args` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` (from trait `FnOnce`) must be specified [INFO] [stdout] --> src/timer.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] | ^^^^^ help: specify the associated type: `FnMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0191, E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "41f1364e90229b23af9c0954d74598182960e2c3a47bf23256f294ef6e46b813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f1364e90229b23af9c0954d74598182960e2c3a47bf23256f294ef6e46b813", kill_on_drop: false }` [INFO] [stdout] 41f1364e90229b23af9c0954d74598182960e2c3a47bf23256f294ef6e46b813