[INFO] cloning repository https://github.com/andrew-hardin/virtual-space-cadet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrew-hardin/virtual-space-cadet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-hardin%2Fvirtual-space-cadet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-hardin%2Fvirtual-space-cadet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b15950fdc58b84657e2eb49fa8ea52f3d740627f [INFO] checking andrew-hardin/virtual-space-cadet/b15950fdc58b84657e2eb49fa8ea52f3d740627f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-hardin%2Fvirtual-space-cadet" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrew-hardin/virtual-space-cadet on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrew-hardin/virtual-space-cadet [INFO] finished tweaking git repo https://github.com/andrew-hardin/virtual-space-cadet [INFO] tweaked toml for git repo https://github.com/andrew-hardin/virtual-space-cadet written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andrew-hardin/virtual-space-cadet already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce99f7563a63d99c6339d9393bec2da0f3aa4ea697c6ba6110709fecefdc8f8d [INFO] running `Command { std: "docker" "start" "-a" "ce99f7563a63d99c6339d9393bec2da0f3aa4ea697c6ba6110709fecefdc8f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce99f7563a63d99c6339d9393bec2da0f3aa4ea697c6ba6110709fecefdc8f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce99f7563a63d99c6339d9393bec2da0f3aa4ea697c6ba6110709fecefdc8f8d", kill_on_drop: false }` [INFO] [stdout] ce99f7563a63d99c6339d9393bec2da0f3aa4ea697c6ba6110709fecefdc8f8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7604b0355de288dd4e3c64933268aff2cff142464ae77641d207f6d1b320ed28 [INFO] running `Command { std: "docker" "start" "-a" "7604b0355de288dd4e3c64933268aff2cff142464ae77641d207f6d1b320ed28", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking json v0.11.13 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling evdev-sys v0.2.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking evdev-rs v0.2.0 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Checking libspacecadet v0.1.0 (/opt/rustwide/workdir/libspacecadet) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub output_device: &'a mut OutputKeyboard, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub output_device: &'a mut dyn OutputKeyboard, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub output_device: &'a mut OutputKeyboard, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub output_device: &'a mut dyn OutputKeyboard, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | pub inside: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 425 | pub inside: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | pub inside: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 425 | pub inside: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | when_tapped: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 468 | when_tapped: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | when_tapped: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 468 | when_tapped: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub codes: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub codes: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub codes: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub codes: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | impl FromStr for Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | impl FromStr for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | impl FromStr for Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | impl FromStr for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:478:33 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:478:33 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 478 | pub fn new(when_tapped: Box, modifier: NormalKey) -> SpaceCadet { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:557:33 [INFO] [stdout] | [INFO] [stdout] 557 | fn get_test_driver(key: Box) -> TestDriver { get_test_driver_multilayer(vec![key]) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 557 | fn get_test_driver(key: Box) -> TestDriver { get_test_driver_multilayer(vec![key]) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:560:49 [INFO] [stdout] | [INFO] [stdout] 560 | fn get_test_driver_multilayer(keys: Vec>) -> TestDriver { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 560 | fn get_test_driver_multilayer(keys: Vec>) -> TestDriver { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keys.rs:600:32 [INFO] [stdout] | [INFO] [stdout] 600 | fn check_noop_key(key: Box) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 600 | fn check_noop_key(key: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/parser.rs:276:63 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/parser.rs:281:55 [INFO] [stdout] | [INFO] [stdout] 281 | type Converter = fn(&ParsedKeyTree) -> Result, String>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 281 | type Converter = fn(&ParsedKeyTree) -> Result, String>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keyboard_driver.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/parser.rs:276:63 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 | pub fn convert_tokens_to_key(v: &ParsedKeyTree) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/parser.rs:281:55 [INFO] [stdout] | [INFO] [stdout] 281 | type Converter = fn(&ParsedKeyTree) -> Result, String>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 281 | type Converter = fn(&ParsedKeyTree) -> Result, String>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/keyboard_driver.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 | let code: Box = str::parse(col.as_str().unwrap()).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | let mut codes: Vec>> = Vec::with_capacity(dim.0); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libspacecadet/src/layer.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | let mut row: Vec> = Vec::with_capacity(dim.1); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> libspacecadet/src/output_keyboard.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 39 | let device = uinput::default()? [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(UInputKeyboard { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | device, [INFO] [stdout] 45 | | evdev_to_uinput: EvdevToUinput::new(), [INFO] [stdout] 46 | | event_buffer: EventBuffer::new(), [INFO] [stdout] 47 | | stats: KeyStats::new(), [INFO] [stdout] 48 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> libspacecadet/src/virtual_keyboard_matrix.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 204 - panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stdout] 204 + panic!("Couldn't convert {} into a code.", key_code); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> libspacecadet/src/parser.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 296 - for i in converters.into_iter() { [INFO] [stdout] 296 + for i in converters { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libspacecadet` (lib) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> libspacecadet/src/output_keyboard.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 39 | let device = uinput::default()? [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(UInputKeyboard { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | device, [INFO] [stdout] 45 | | evdev_to_uinput: EvdevToUinput::new(), [INFO] [stdout] 46 | | event_buffer: EventBuffer::new(), [INFO] [stdout] 47 | | stats: KeyStats::new(), [INFO] [stdout] 48 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> libspacecadet/src/virtual_keyboard_matrix.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 204 - panic!(format!("Couldn't convert {} into a code.", key_code)); [INFO] [stdout] 204 + panic!("Couldn't convert {} into a code.", key_code); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> libspacecadet/src/parser.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 296 | for i in converters.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 296 - for i in converters.into_iter() { [INFO] [stdout] 296 + for i in converters { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libspacecadet` (lib test) due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7604b0355de288dd4e3c64933268aff2cff142464ae77641d207f6d1b320ed28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7604b0355de288dd4e3c64933268aff2cff142464ae77641d207f6d1b320ed28", kill_on_drop: false }` [INFO] [stdout] 7604b0355de288dd4e3c64933268aff2cff142464ae77641d207f6d1b320ed28