[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#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluzxyz%2FRManzanio" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luzxyz/RManzanio on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3ee04e87adc2f6ee71781ba2de9816ee5be456c827ac92ef9a8e6ff483acb79 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d3ee04e87adc2f6ee71781ba2de9816ee5be456c827ac92ef9a8e6ff483acb79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3ee04e87adc2f6ee71781ba2de9816ee5be456c827ac92ef9a8e6ff483acb79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ee04e87adc2f6ee71781ba2de9816ee5be456c827ac92ef9a8e6ff483acb79", kill_on_drop: false }` [INFO] [stdout] d3ee04e87adc2f6ee71781ba2de9816ee5be456c827ac92ef9a8e6ff483acb79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f58f74cb99f3b0596a70a4944421c70bf990e9dd70e26e60e2a1f070159618e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5f58f74cb99f3b0596a70a4944421c70bf990e9dd70e26e60e2a1f070159618e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [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 (/opt/rustwide/workdir) [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: 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: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] [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: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] [stderr] error: could not compile `rmanzanio` due to 11 previous errors; 4 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "5f58f74cb99f3b0596a70a4944421c70bf990e9dd70e26e60e2a1f070159618e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f58f74cb99f3b0596a70a4944421c70bf990e9dd70e26e60e2a1f070159618e", kill_on_drop: false }` [INFO] [stdout] 5f58f74cb99f3b0596a70a4944421c70bf990e9dd70e26e60e2a1f070159618e