[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] testing luzxyz/RManzanio against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluzxyz%2FRManzanio" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luzxyz/RManzanio on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-26/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 319ab7f96e0bfab77d807e0dc6d658e48443b8a514b595c6d003ef2447ba5798 [INFO] running `Command { std: "docker" "start" "-a" "319ab7f96e0bfab77d807e0dc6d658e48443b8a514b595c6d003ef2447ba5798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "319ab7f96e0bfab77d807e0dc6d658e48443b8a514b595c6d003ef2447ba5798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "319ab7f96e0bfab77d807e0dc6d658e48443b8a514b595c6d003ef2447ba5798", kill_on_drop: false }` [INFO] [stdout] 319ab7f96e0bfab77d807e0dc6d658e48443b8a514b595c6d003ef2447ba5798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b3c5a28f0f9e4502efc626da06b9959910c1402e4658c72a2fe9abfba1f9ee8 [INFO] running `Command { std: "docker" "start" "-a" "4b3c5a28f0f9e4502efc626da06b9959910c1402e4658c72a2fe9abfba1f9ee8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling 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: escape `fn` to use it as an identifier [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: 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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - return if ( case ) { calculate_time_hm } else { calculate_time_ms }; [INFO] [stdout] 37 + return if case { calculate_time_hm } else { calculate_time_ms }; [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - let timeIsLarge: bool = if (time > 3601) { true } else { false }; [INFO] [stdout] 23 + let timeIsLarge: bool = if time > 3601 { true } else { false }; [INFO] [stdout] | [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] | ^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn timer_loop(_time: u16 ,calculate: FnMut fn( u16 ) -> String){ [INFO] [stdout] 27 + pub fn timer_loop(_time: u16 ,calculate: dyn FnMut fn( u16 ) -> String){ [INFO] [stdout] | [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] [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] 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] running `Command { std: "docker" "inspect" "4b3c5a28f0f9e4502efc626da06b9959910c1402e4658c72a2fe9abfba1f9ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3c5a28f0f9e4502efc626da06b9959910c1402e4658c72a2fe9abfba1f9ee8", kill_on_drop: false }` [INFO] [stdout] 4b3c5a28f0f9e4502efc626da06b9959910c1402e4658c72a2fe9abfba1f9ee8