[INFO] cloning repository https://github.com/alanhoff/rust-endless-jumper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alanhoff/rust-endless-jumper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falanhoff%2Frust-endless-jumper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falanhoff%2Frust-endless-jumper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7be7fcff73857868aca95172e34ac6d94a0a6e95 [INFO] checking alanhoff/rust-endless-jumper against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falanhoff%2Frust-endless-jumper" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alanhoff/rust-endless-jumper on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alanhoff/rust-endless-jumper [INFO] finished tweaking git repo https://github.com/alanhoff/rust-endless-jumper [INFO] tweaked toml for git repo https://github.com/alanhoff/rust-endless-jumper written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/alanhoff/rust-endless-jumper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ceb56d165f2e8bac5e23a0d626b3aa409bc58368c460a369df548703562c3135 [INFO] running `Command { std: "docker" "start" "-a" "ceb56d165f2e8bac5e23a0d626b3aa409bc58368c460a369df548703562c3135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ceb56d165f2e8bac5e23a0d626b3aa409bc58368c460a369df548703562c3135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceb56d165f2e8bac5e23a0d626b3aa409bc58368c460a369df548703562c3135", kill_on_drop: false }` [INFO] [stdout] ceb56d165f2e8bac5e23a0d626b3aa409bc58368c460a369df548703562c3135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d5bf5233d91f20735c8da29e13072c5e43831ef220ad846d15ed85882835f13 [INFO] running `Command { std: "docker" "start" "-a" "0d5bf5233d91f20735c8da29e13072c5e43831ef220ad846d15ed85882835f13", 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] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking lazy_static v0.2.6 [INFO] [stderr] Checking c_vec v1.0.12 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking sdl2 v0.29.1 [INFO] [stderr] Checking rust-endless-jumper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | pub scenarios: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Scene + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | fn on_load(&mut self, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | fn on_unload(&mut self, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | fn on_event(&mut self, Event, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Event` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | fn on_event(&mut self, Event, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | fn on_tick(&mut self, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | Rect::new(((config::WINDOW_WIDTH as i32 / 2i32) - (width / 2i32) + horizontal_offset as i32), [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 function argument [INFO] [stdout] --> src/helpers.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | ((config::WINDOW_HEIGHT as i32 / 2i32) - (height / 2i32) + vertical_offset as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | pub scenarios: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Scene + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | fn on_load(&mut self, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | fn on_unload(&mut self, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | fn on_event(&mut self, Event, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Event` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | fn on_event(&mut self, Event, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/engine.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | fn on_tick(&mut self, &mut Context) -> Loop { [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | Rect::new(((config::WINDOW_WIDTH as i32 / 2i32) - (width / 2i32) + horizontal_offset as i32), [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 function argument [INFO] [stdout] --> src/helpers.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | ((config::WINDOW_HEIGHT as i32 / 2i32) - (height / 2i32) + vertical_offset as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scenarios/menu.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | fn on_load(&mut self, mut ctx: &mut Context) -> Loop { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scenarios/game.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut font = ctx.fonts.get_mut("default".into()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scenarios/menu.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | fn on_load(&mut self, mut ctx: &mut Context) -> Loop { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scenarios/game.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut font = ctx.fonts.get_mut("default".into()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.02s [INFO] running `Command { std: "docker" "inspect" "0d5bf5233d91f20735c8da29e13072c5e43831ef220ad846d15ed85882835f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5bf5233d91f20735c8da29e13072c5e43831ef220ad846d15ed85882835f13", kill_on_drop: false }` [INFO] [stdout] 0d5bf5233d91f20735c8da29e13072c5e43831ef220ad846d15ed85882835f13