[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 master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluzxyz%2FRManzanio" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luzxyz/RManzanio on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a177e3b59026d976ab1aef2f3fb647d9fa2cc633ceb1413b8b0ea35a2132f7a9 [INFO] running `Command { std: "docker" "start" "-a" "a177e3b59026d976ab1aef2f3fb647d9fa2cc633ceb1413b8b0ea35a2132f7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a177e3b59026d976ab1aef2f3fb647d9fa2cc633ceb1413b8b0ea35a2132f7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a177e3b59026d976ab1aef2f3fb647d9fa2cc633ceb1413b8b0ea35a2132f7a9", kill_on_drop: false }` [INFO] [stdout] a177e3b59026d976ab1aef2f3fb647d9fa2cc633ceb1413b8b0ea35a2132f7a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7d4d391d760118fe862cd351bb05f8b03c411492d53ded5a697cf3059ab040b [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" "c7d4d391d760118fe862cd351bb05f8b03c411492d53ded5a697cf3059ab040b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking termion v1.5.6 [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 heck v0.3.3 [INFO] [stderr] Checking futures-channel v0.3.15 [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] [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] [stderr] error: could not compile `rmanzanio` due to 11 previous errors; 4 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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" "c7d4d391d760118fe862cd351bb05f8b03c411492d53ded5a697cf3059ab040b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d4d391d760118fe862cd351bb05f8b03c411492d53ded5a697cf3059ab040b", kill_on_drop: false }` [INFO] [stdout] c7d4d391d760118fe862cd351bb05f8b03c411492d53ded5a697cf3059ab040b