[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] testing andrew-hardin/virtual-space-cadet against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-hardin%2Fvirtual-space-cadet" "/workspace/builds/worker-65/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-65/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrew-hardin/virtual-space-cadet on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-65/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: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uinput v0.1.3 [INFO] [stderr] Downloaded cc v1.0.30 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded json v0.11.13 [INFO] [stderr] Downloaded enum_derive v0.1.7 [INFO] [stderr] Downloaded evdev-sys v0.2.0 [INFO] [stderr] Downloaded evdev-rs v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bec5ac3feb8b07c187a28ec3c0863b2c3244186ebe0414c07e217d0e420286ec [INFO] running `Command { std: "docker" "start" "-a" "bec5ac3feb8b07c187a28ec3c0863b2c3244186ebe0414c07e217d0e420286ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bec5ac3feb8b07c187a28ec3c0863b2c3244186ebe0414c07e217d0e420286ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec5ac3feb8b07c187a28ec3c0863b2c3244186ebe0414c07e217d0e420286ec", kill_on_drop: false }` [INFO] [stdout] bec5ac3feb8b07c187a28ec3c0863b2c3244186ebe0414c07e217d0e420286ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d36550e5f6b10fd0dae49771621a9b34c0e8a1ea2efcabdc32581e62f49ed49 [INFO] running `Command { std: "docker" "start" "-a" "2d36550e5f6b10fd0dae49771621a9b34c0e8a1ea2efcabdc32581e62f49ed49", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling ioctl-sys v0.5.2 [INFO] [stderr] Compiling enum_derive v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling json v0.11.13 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling uinput-sys v0.1.7 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling evdev-sys v0.2.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling evdev-rs v0.2.0 [INFO] [stderr] Compiling uinput v0.1.3 [INFO] [stderr] Compiling libspacecadet v0.1.0 (/opt/rustwide/workdir/libspacecadet) [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn OutputKeyboard` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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: `#[warn(non_fmt_panics)]` on by default [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] 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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [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] Compiling spacecadet v0.1.0 (/opt/rustwide/workdir/spacecadet) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.24s [INFO] running `Command { std: "docker" "inspect" "2d36550e5f6b10fd0dae49771621a9b34c0e8a1ea2efcabdc32581e62f49ed49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d36550e5f6b10fd0dae49771621a9b34c0e8a1ea2efcabdc32581e62f49ed49", kill_on_drop: false }` [INFO] [stdout] 2d36550e5f6b10fd0dae49771621a9b34c0e8a1ea2efcabdc32581e62f49ed49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87f7fbb89352969e52faeed3651c717281f841befa381cf4b320c56dbf05a25a [INFO] running `Command { std: "docker" "start" "-a" "87f7fbb89352969e52faeed3651c717281f841befa381cf4b320c56dbf05a25a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn OutputKeyboard` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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: `#[warn(non_fmt_panics)]` on by default [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] 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] [stderr] Compiling libspacecadet v0.1.0 (/opt/rustwide/workdir/libspacecadet) [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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [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] [stderr] Compiling spacecadet v0.1.0 (/opt/rustwide/workdir/spacecadet) [INFO] [stdout] warning: 13 warnings emitted [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn OutputKeyboard` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [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] [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: `#[warn(non_fmt_panics)]` on by default [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] 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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.89s [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87f7fbb89352969e52faeed3651c717281f841befa381cf4b320c56dbf05a25a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87f7fbb89352969e52faeed3651c717281f841befa381cf4b320c56dbf05a25a", kill_on_drop: false }` [INFO] [stdout] 87f7fbb89352969e52faeed3651c717281f841befa381cf4b320c56dbf05a25a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d80e1ed2d0b2f55b2aa619f1fd907da83a3c01cf4603ed8ad3cd3a5a516d1a3 [INFO] running `Command { std: "docker" "start" "-a" "3d80e1ed2d0b2f55b2aa619f1fd907da83a3c01cf4603ed8ad3cd3a5a516d1a3", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keyboard_driver.rs:170:39 [INFO] [stderr] | [INFO] [stderr] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keys.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | pub output_device: &'a mut OutputKeyboard, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn OutputKeyboard` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keys.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | impl FromStr for Box { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keys.rs:425:21 [INFO] [stderr] | [INFO] [stderr] 425 | pub inside: Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keys.rs:468:22 [INFO] [stderr] | [INFO] [stderr] 468 | when_tapped: Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keys.rs:478:33 [INFO] [stderr] | [INFO] [stderr] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/layer.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | pub codes: Vec>>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/layer.rs:14:36 [INFO] [stderr] | [INFO] [stderr] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/layer.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/parser.rs:276:63 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, String> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/parser.rs:281:55 [INFO] [stderr] | [INFO] [stderr] 281 | type Converter = fn(&ParsedKeyTree) -> Result, String>; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> libspacecadet/src/virtual_keyboard_matrix.rs:204:32 [INFO] [stderr] | [INFO] [stderr] 204 | panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 204 - panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stderr] 204 + panic!("Couldn't convert {} into a code.", key_code); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> libspacecadet/src/parser.rs:296:25 [INFO] [stderr] | [INFO] [stderr] 296 | for i in converters.into_iter() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 296 | for i in converters.iter() { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or remove `.into_iter()` to iterate by value [INFO] [stderr] | [INFO] [stderr] 296 - for i in converters.into_iter() { [INFO] [stderr] 296 + for i in converters { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keys.rs:557:33 [INFO] [stderr] | [INFO] [stderr] 557 | fn get_test_driver(key: Box) -> TestDriver { get_test_driver_multilayer(vec![key]) } [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keys.rs:560:49 [INFO] [stderr] | [INFO] [stderr] 560 | fn get_test_driver_multilayer(keys: Vec>) -> TestDriver { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libspacecadet/src/keys.rs:600:32 [INFO] [stderr] | [INFO] [stderr] 600 | fn check_noop_key(key: Box) { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn KeyCode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `libspacecadet` (lib) generated 13 warnings [INFO] [stderr] warning: `libspacecadet` (lib test) generated 16 warnings (13 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libspacecadet-62152cbf996bf081) [INFO] [stdout] running 28 tests [INFO] [stdout] test keys::tests::activate_layer_key ... ok [INFO] [stdout] test keys::tests::hold_enable_layer_press_key ... ok [INFO] [stdout] test keys::tests::macro_key ... ok [INFO] [stdout] test keys::tests::modifier_wrapped_key ... ok [INFO] [stdout] test keys::tests::opaque_key ... ok [INFO] [stdout] test keys::tests::space_cadet_taprelease ... ok [INFO] [stdout] test keys::tests::toggle_layer_key ... ok [INFO] [stdout] test keys::tests::normal_key ... ok [INFO] [stdout] test keys::tests::transparent_key ... ok [INFO] [stdout] test layer::tests::key_code_matrix_dims ... ok [INFO] [stdout] test keys::tests::space_cadet_hold ... ok [INFO] [stdout] test keys::tests::one_shot_layer ... ok [INFO] [stdout] test keys::tests::momentarily_enable_layer_key ... ok [INFO] [stdout] test layer::tests::layer_collection_get_set ... ok [INFO] [stdout] test parser::tests::parsed_key_tree_successes ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::block_key_states ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::state_matrix_set ... ok [INFO] [stdout] test output_keyboard::tests::event_buffer_defaults ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::state_matrix_check_held_keys ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::virtual_keyboard_matrix_held_keys ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::key_state_change_conversion ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::virtual_keyboard_matrix_update ... ok [INFO] [stdout] test layer::tests::layer_collection_event_count_callback ... ok [INFO] [stdout] test parser::tests::raw_token_failures ... ok [INFO] [stdout] test output_keyboard::tests::event_buffer_spacecadet ... ok [INFO] [stdout] test output_keyboard::tests::evdev_to_uniput_unsupported_value ... ok [INFO] [stdout] test output_keyboard::tests::evdev_to_uinput_check_one ... ok [INFO] [stdout] test parser::tests::parsed_key_tree_complex ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/matrix_collector-42a5c9e55e31dcd6) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spacecadet-636ad767b94c486a) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libspacecadet [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3d80e1ed2d0b2f55b2aa619f1fd907da83a3c01cf4603ed8ad3cd3a5a516d1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d80e1ed2d0b2f55b2aa619f1fd907da83a3c01cf4603ed8ad3cd3a5a516d1a3", kill_on_drop: false }` [INFO] [stdout] 3d80e1ed2d0b2f55b2aa619f1fd907da83a3c01cf4603ed8ad3cd3a5a516d1a3