[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-hardin%2Fvirtual-space-cadet" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrew-hardin/virtual-space-cadet on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-1/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e05ad67831b034bc4cc1c57de53af6cbfa1ac4f41300e903c84c74cd7d55bf13 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e05ad67831b034bc4cc1c57de53af6cbfa1ac4f41300e903c84c74cd7d55bf13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e05ad67831b034bc4cc1c57de53af6cbfa1ac4f41300e903c84c74cd7d55bf13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05ad67831b034bc4cc1c57de53af6cbfa1ac4f41300e903c84c74cd7d55bf13", kill_on_drop: false }` [INFO] [stdout] e05ad67831b034bc4cc1c57de53af6cbfa1ac4f41300e903c84c74cd7d55bf13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fedfa2a0dd69e153eb341d408c15c428213bff76e30306cf143eec448afd3e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9fedfa2a0dd69e153eb341d408c15c428213bff76e30306cf143eec448afd3e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling ioctl-sys v0.5.2 [INFO] [stderr] Compiling enum_derive v0.1.7 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling json v0.11.13 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling uinput-sys v0.1.7 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling evdev-sys 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("Couldn't convert {} into a code.", key_code); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> libspacecadet/src/parser.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [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 54.12s [INFO] running `Command { std: "docker" "inspect" "9fedfa2a0dd69e153eb341d408c15c428213bff76e30306cf143eec448afd3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fedfa2a0dd69e153eb341d408c15c428213bff76e30306cf143eec448afd3e3", kill_on_drop: false }` [INFO] [stdout] 9fedfa2a0dd69e153eb341d408c15c428213bff76e30306cf143eec448afd3e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 876d8689652c5184e67ae6c462674e6885df7c1976d424e5a37659ed4722b6b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "876d8689652c5184e67ae6c462674e6885df7c1976d424e5a37659ed4722b6b2", kill_on_drop: false }` [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("Couldn't convert {} into a code.", key_code); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> libspacecadet/src/parser.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libspacecadet v0.1.0 (/opt/rustwide/workdir/libspacecadet) [INFO] [stderr] Compiling spacecadet v0.1.0 (/opt/rustwide/workdir/spacecadet) [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("Couldn't convert {} into a code.", key_code); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> libspacecadet/src/parser.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.21s [INFO] running `Command { std: "docker" "inspect" "876d8689652c5184e67ae6c462674e6885df7c1976d424e5a37659ed4722b6b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "876d8689652c5184e67ae6c462674e6885df7c1976d424e5a37659ed4722b6b2", kill_on_drop: false }` [INFO] [stdout] 876d8689652c5184e67ae6c462674e6885df7c1976d424e5a37659ed4722b6b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e6fe374ee80651a54500525daf52ef9d35659cc2f2c6dfd0e32ece300a4b7545 [INFO] running `Command { std: "docker" "start" "-a" "e6fe374ee80651a54500525daf52ef9d35659cc2f2c6dfd0e32ece300a4b7545", 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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!("Couldn't convert {} into a code.", key_code); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> libspacecadet/src/parser.rs:296:25 [INFO] [stderr] | [INFO] [stderr] 296 | for i in converters.into_iter() { [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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!("Couldn't convert {} into a code.", key_code); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> libspacecadet/src/parser.rs:296:25 [INFO] [stderr] | [INFO] [stderr] 296 | for i in converters.into_iter() { [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libspacecadet-b2e0aa16343e7c35) [INFO] [stdout] running 28 tests [INFO] [stdout] test keys::tests::momentarily_enable_layer_key ... ok [INFO] [stdout] test keys::tests::one_shot_layer ... ok [INFO] [stdout] test layer::tests::layer_collection_get_set ... ok [INFO] [stdout] test layer::tests::layer_collection_event_count_callback ... ok [INFO] [stdout] test layer::tests::key_code_matrix_dims ... ok [INFO] [stdout] test keys::tests::transparent_key ... ok [INFO] [stdout] test output_keyboard::tests::evdev_to_uniput_unsupported_value ... ok [INFO] [stdout] test parser::tests::raw_token_failures ... ok [INFO] [stdout] test output_keyboard::tests::event_buffer_spacecadet ... ok [INFO] [stdout] test parser::tests::parsed_key_tree_successes ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::state_matrix_check_held_keys ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::state_matrix_set ... ok [INFO] [stdout] test parser::tests::parsed_key_tree_complex ... ok [INFO] [stdout] test keys::tests::macro_key ... ok [INFO] [stdout] test keys::tests::space_cadet_hold ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::virtual_keyboard_matrix_update ... ok [INFO] [stdout] test keys::tests::toggle_layer_key ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::block_key_states ... ok [INFO] [stdout] test keys::tests::modifier_wrapped_key ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::virtual_keyboard_matrix_held_keys ... ok [INFO] [stdout] test keys::tests::hold_enable_layer_press_key ... ok [INFO] [stdout] test keys::tests::activate_layer_key ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/matrix_collector-be97ce18d236a97a) [INFO] [stdout] test keys::tests::opaque_key ... ok [INFO] [stdout] test output_keyboard::tests::event_buffer_defaults ... ok [INFO] [stdout] test keys::tests::space_cadet_taprelease ... ok [INFO] [stdout] test keys::tests::normal_key ... ok [INFO] [stdout] test output_keyboard::tests::evdev_to_uinput_check_one ... ok [INFO] [stdout] test virtual_keyboard_matrix::tests::key_state_change_conversion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spacecadet-752ba6ce165ef0b1) [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] [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] running `Command { std: "docker" "inspect" "e6fe374ee80651a54500525daf52ef9d35659cc2f2c6dfd0e32ece300a4b7545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6fe374ee80651a54500525daf52ef9d35659cc2f2c6dfd0e32ece300a4b7545", kill_on_drop: false }` [INFO] [stdout] e6fe374ee80651a54500525daf52ef9d35659cc2f2c6dfd0e32ece300a4b7545