[INFO] fetching crate zinc64 0.8.0... [INFO] checking zinc64-0.8.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate zinc64 0.8.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate zinc64 0.8.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zinc64 0.8.0 [INFO] finished tweaking crates.io crate zinc64 0.8.0 [INFO] tweaked toml for crates.io crate zinc64 0.8.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.2.0) [INFO] [stderr] Adding bit_field v0.9.0 (latest: v0.10.2) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.79) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.35) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding sdl2 v0.32.2 (latest: v0.36.0) [INFO] [stderr] Adding sdl2-sys v0.32.6 (latest: v0.36.0) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding structopt v0.2.18 (latest: v0.3.26) [INFO] [stderr] Adding structopt-derive v0.2.18 (latest: v0.4.18) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.58) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zinc64-debug v0.8.0 [INFO] [stderr] Downloaded zinc64-core v0.8.0 [INFO] [stderr] Downloaded zinc64-loader v0.8.0 [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] [stderr] Downloaded resid-rs v1.1.1 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded zinc64-emu v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 699d5860fa533504ff41ad6081f5bb8b51d85b54f8a586d266acfaa725177fa8 [INFO] running `Command { std: "docker" "start" "-a" "699d5860fa533504ff41ad6081f5bb8b51d85b54f8a586d266acfaa725177fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699d5860fa533504ff41ad6081f5bb8b51d85b54f8a586d266acfaa725177fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699d5860fa533504ff41ad6081f5bb8b51d85b54f8a586d266acfaa725177fa8", kill_on_drop: false }` [INFO] [stdout] 699d5860fa533504ff41ad6081f5bb8b51d85b54f8a586d266acfaa725177fa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e112435032efd88742402e117cd678bb4298bbc280f4cccbccd34caef40ba98f [INFO] running `Command { std: "docker" "start" "-a" "e112435032efd88742402e117cd678bb4298bbc280f4cccbccd34caef40ba98f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking zinc64-core v0.8.0 [INFO] [stderr] Checking resid-rs v1.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking zinc64-emu v0.8.0 [INFO] [stderr] Checking zinc64-loader v0.8.0 [INFO] [stderr] Checking zinc64-debug v0.8.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking zinc64 v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/audio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/input.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ui/console.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/ui/console.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ui/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/util/gfx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/util/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use time; [INFO] [stdout] | ^^^^ the item `time` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/audio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/input.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ui/console.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/ui/console.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ui/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/util/gfx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/util/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use time; [INFO] [stdout] | ^^^^ the item `time` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:193:55 [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_jam_action(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_jam_action(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:202:61 [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_joy_mode(mode: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_joy_mode(mode: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:212:55 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_key_val(s: &str) -> Result<(T, U), Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_key_val(s: &str) -> Result<(T, U), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_socket_addr(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_socket_addr(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:193:55 [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_jam_action(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_jam_action(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:202:61 [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_joy_mode(mode: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_joy_mode(mode: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:212:55 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_key_val(s: &str) -> Result<(T, U), Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_key_val(s: &str) -> Result<(T, U), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_socket_addr(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_socket_addr(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | _ => Err(Box::::from("invalid jamaction".to_string())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | _ => Err(Box::::from("invalid jamaction".to_string())), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | _ => Err(Box::::from("invalid joystick".to_string())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 208 | _ => Err(Box::::from("invalid joystick".to_string())), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | .map_err(|_| Box::::from("invalid address".to_string())) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | .map_err(|_| Box::::from("invalid address".to_string())) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | _ => Err(Box::::from("invalid jamaction".to_string())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | _ => Err(Box::::from("invalid jamaction".to_string())), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | _ => Err(Box::::from("invalid joystick".to_string())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 208 | _ => Err(Box::::from("invalid joystick".to_string())), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | .map_err(|_| Box::::from("invalid address".to_string())) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | .map_err(|_| Box::::from("invalid address".to_string())) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | self.0.read(buf).map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | .map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | self.0.read(buf).map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | .map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rap_address` is never read [INFO] [stdout] --> src/app.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | pub rap_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rap_address` is never read [INFO] [stdout] --> src/cli.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | pub rap_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rap_address` is never read [INFO] [stdout] --> src/app.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | pub rap_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rap_address` is never read [INFO] [stdout] --> src/cli.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | pub rap_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.82s [INFO] running `Command { std: "docker" "inspect" "e112435032efd88742402e117cd678bb4298bbc280f4cccbccd34caef40ba98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e112435032efd88742402e117cd678bb4298bbc280f4cccbccd34caef40ba98f", kill_on_drop: false }` [INFO] [stdout] e112435032efd88742402e117cd678bb4298bbc280f4cccbccd34caef40ba98f [INFO] checking zinc64-0.8.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate zinc64 0.8.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate zinc64 0.8.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zinc64 0.8.0 [INFO] finished tweaking crates.io crate zinc64 0.8.0 [INFO] tweaked toml for crates.io crate zinc64 0.8.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9379eb60fdf9657180cb8dc2ac6d0b6534a500454004dce76ebaed132fe201a [INFO] running `Command { std: "docker" "start" "-a" "c9379eb60fdf9657180cb8dc2ac6d0b6534a500454004dce76ebaed132fe201a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9379eb60fdf9657180cb8dc2ac6d0b6534a500454004dce76ebaed132fe201a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9379eb60fdf9657180cb8dc2ac6d0b6534a500454004dce76ebaed132fe201a", kill_on_drop: false }` [INFO] [stdout] c9379eb60fdf9657180cb8dc2ac6d0b6534a500454004dce76ebaed132fe201a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5df409e0c1aea306c860dd9ea4c478d495fe6b0baed16209ae67dd7b733c45c1 [INFO] running `Command { std: "docker" "start" "-a" "5df409e0c1aea306c860dd9ea4c478d495fe6b0baed16209ae67dd7b733c45c1", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking zinc64-core v0.8.0 [INFO] [stderr] Checking resid-rs v1.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking zinc64-emu v0.8.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking zinc64-loader v0.8.0 [INFO] [stderr] Checking zinc64-debug v0.8.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking zinc64 v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/audio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/input.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ui/console.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/ui/console.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ui/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/util/gfx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/audio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/input.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ui/console.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/ui/console.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ui/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/util/gfx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/util/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/util/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use time; [INFO] [stdout] | ^^^^ the item `time` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/video_renderer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use time; [INFO] [stdout] | ^^^^ the item `time` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:193:55 [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_jam_action(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_jam_action(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:202:61 [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_joy_mode(mode: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_joy_mode(mode: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:212:55 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_key_val(s: &str) -> Result<(T, U), Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_key_val(s: &str) -> Result<(T, U), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_socket_addr(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_socket_addr(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:193:55 [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_jam_action(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_jam_action(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:202:61 [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_joy_mode(mode: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_joy_mode(mode: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:212:55 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_key_val(s: &str) -> Result<(T, U), Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_key_val(s: &str) -> Result<(T, U), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_socket_addr(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_socket_addr(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | _ => Err(Box::::from("invalid jamaction".to_string())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | _ => Err(Box::::from("invalid jamaction".to_string())), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | _ => Err(Box::::from("invalid joystick".to_string())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 208 | _ => Err(Box::::from("invalid joystick".to_string())), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | .map_err(|_| Box::::from("invalid address".to_string())) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | .map_err(|_| Box::::from("invalid address".to_string())) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | _ => Err(Box::::from("invalid jamaction".to_string())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | _ => Err(Box::::from("invalid jamaction".to_string())), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | _ => Err(Box::::from("invalid joystick".to_string())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 208 | _ => Err(Box::::from("invalid joystick".to_string())), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | .map_err(|_| Box::::from("invalid address".to_string())) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | .map_err(|_| Box::::from("invalid address".to_string())) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | self.0.read(buf).map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | .map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | self.0.read(buf).map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/reader.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | .map_err(|err| err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rap_address` is never read [INFO] [stdout] --> src/app.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | pub rap_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rap_address` is never read [INFO] [stdout] --> src/cli.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | pub rap_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rap_address` is never read [INFO] [stdout] --> src/app.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | pub rap_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rap_address` is never read [INFO] [stdout] --> src/cli.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | pub rap_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.25s [INFO] running `Command { std: "docker" "inspect" "5df409e0c1aea306c860dd9ea4c478d495fe6b0baed16209ae67dd7b733c45c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df409e0c1aea306c860dd9ea4c478d495fe6b0baed16209ae67dd7b733c45c1", kill_on_drop: false }` [INFO] [stdout] 5df409e0c1aea306c860dd9ea4c478d495fe6b0baed16209ae67dd7b733c45c1