[INFO] cloning repository https://github.com/andrew-hardin/virtual-space-cadet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrew-hardin/virtual-space-cadet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-hardin%2Fvirtual-space-cadet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-hardin%2Fvirtual-space-cadet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b15950fdc58b84657e2eb49fa8ea52f3d740627f [INFO] checking andrew-hardin/virtual-space-cadet/b15950fdc58b84657e2eb49fa8ea52f3d740627f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-hardin%2Fvirtual-space-cadet" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrew-hardin/virtual-space-cadet on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrew-hardin/virtual-space-cadet [INFO] finished tweaking git repo https://github.com/andrew-hardin/virtual-space-cadet [INFO] tweaked toml for git repo https://github.com/andrew-hardin/virtual-space-cadet written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andrew-hardin/virtual-space-cadet already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uinput-sys v0.1.7 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded uinput v0.1.3 [INFO] [stderr] Downloaded enum_derive v0.1.7 [INFO] [stderr] Downloaded ioctl-sys v0.5.2 [INFO] [stderr] Downloaded evdev-rs v0.2.0 [INFO] [stderr] Downloaded redox_syscall v0.1.51 [INFO] [stderr] Downloaded cc v1.0.30 [INFO] [stderr] Downloaded evdev-sys v0.2.0 [INFO] [stderr] Downloaded nix v0.10.0 [INFO] [stderr] Downloaded bytes v0.4.11 [INFO] [stderr] Downloaded libc v0.2.49 [INFO] [stderr] Downloaded json v0.11.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c34f0fdb50c6c769144694858b1680f6df470bf7fda5f843eab1f0e0c1735010 [INFO] running `Command { std: "docker" "start" "-a" "c34f0fdb50c6c769144694858b1680f6df470bf7fda5f843eab1f0e0c1735010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c34f0fdb50c6c769144694858b1680f6df470bf7fda5f843eab1f0e0c1735010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c34f0fdb50c6c769144694858b1680f6df470bf7fda5f843eab1f0e0c1735010", kill_on_drop: false }` [INFO] [stdout] c34f0fdb50c6c769144694858b1680f6df470bf7fda5f843eab1f0e0c1735010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bc364c1fc0d4ed37ac6550179293f01786283863adf350abfb3f53ff50f6f8f [INFO] running `Command { std: "docker" "start" "-a" "2bc364c1fc0d4ed37ac6550179293f01786283863adf350abfb3f53ff50f6f8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking json v0.11.13 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling evdev-sys v0.2.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking evdev-rs v0.2.0 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Checking libspacecadet v0.1.0 (/opt/rustwide/workdir/libspacecadet) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub output_device: &'a mut OutputKeyboard, [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] 16 | pub output_device: &'a mut dyn OutputKeyboard, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | pub inside: 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] 425 | pub inside: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | when_tapped: 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] 468 | when_tapped: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub codes: Vec>>, [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] 8 | pub codes: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | impl FromStr for 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] 64 | impl FromStr for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:478:33 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [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] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/parser.rs:276:63 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, 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] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/parser.rs:281:55 [INFO] [stdout] | [INFO] [stdout] 281 | type Converter = fn(&ParsedKeyTree) -> Result, 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] 281 | type Converter = fn(&ParsedKeyTree) -> Result, String>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keyboard_driver.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [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] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub output_device: &'a mut OutputKeyboard, [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] 16 | pub output_device: &'a mut dyn OutputKeyboard, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | pub inside: 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] 425 | pub inside: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | when_tapped: 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] 468 | when_tapped: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub codes: Vec>>, [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] 8 | pub codes: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [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] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [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] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | impl FromStr for 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] 64 | impl FromStr for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:478:33 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [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] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:557:33 [INFO] [stdout] | [INFO] [stdout] 557 | fn get_test_driver(key: Box) -> TestDriver { get_test_driver_multilayer(vec![key]) } [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] 557 | fn get_test_driver(key: Box) -> TestDriver { get_test_driver_multilayer(vec![key]) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:560:49 [INFO] [stdout] | [INFO] [stdout] 560 | fn get_test_driver_multilayer(keys: Vec>) -> TestDriver { [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] 560 | fn get_test_driver_multilayer(keys: Vec>) -> TestDriver { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:600:32 [INFO] [stdout] | [INFO] [stdout] 600 | fn check_noop_key(key: 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] 600 | fn check_noop_key(key: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/parser.rs:276:63 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, 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] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/parser.rs:281:55 [INFO] [stdout] | [INFO] [stdout] 281 | type Converter = fn(&ParsedKeyTree) -> Result, 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] 281 | type Converter = fn(&ParsedKeyTree) -> Result, String>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keyboard_driver.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [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] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [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] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [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] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> libspacecadet/src/virtual_keyboard_matrix.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 204 - panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stdout] 204 + panic!("Couldn't convert {} into a code.", key_code); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> libspacecadet/src/parser.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 296 - for i in converters.into_iter() { [INFO] [stdout] 296 + for i in converters { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking spacecadet v0.1.0 (/opt/rustwide/workdir/spacecadet) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> libspacecadet/src/virtual_keyboard_matrix.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 204 - panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stdout] 204 + panic!("Couldn't convert {} into a code.", key_code); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> libspacecadet/src/parser.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 296 - for i in converters.into_iter() { [INFO] [stdout] 296 + for i in converters { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.76s [INFO] running `Command { std: "docker" "inspect" "2bc364c1fc0d4ed37ac6550179293f01786283863adf350abfb3f53ff50f6f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc364c1fc0d4ed37ac6550179293f01786283863adf350abfb3f53ff50f6f8f", kill_on_drop: false }` [INFO] [stdout] 2bc364c1fc0d4ed37ac6550179293f01786283863adf350abfb3f53ff50f6f8f