[INFO] cloning repository https://github.com/untoldwind/razer_test_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/untoldwind/razer_test_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtoldwind%2Frazer_test_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtoldwind%2Frazer_test_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b289383f7304d827b3b92aa4ae22c97b46e74ffa [INFO] checking untoldwind/razer_test_test against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtoldwind%2Frazer_test_test" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/untoldwind/razer_test_test on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/untoldwind/razer_test_test [INFO] finished tweaking git repo https://github.com/untoldwind/razer_test_test [INFO] tweaked toml for git repo https://github.com/untoldwind/razer_test_test written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/untoldwind/razer_test_test 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking untoldwind/razer_test_test against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtoldwind%2Frazer_test_test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/untoldwind/razer_test_test on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/untoldwind/razer_test_test [INFO] finished tweaking git repo https://github.com/untoldwind/razer_test_test [INFO] tweaked toml for git repo https://github.com/untoldwind/razer_test_test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/untoldwind/razer_test_test 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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded hidapi v0.5.0 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded error-chain v0.12.0 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded proc-macro2 v0.4.20 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded memchr v2.1.0 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 202cdb3473779f8a88be1c334da6a43c65815a9e1483783a73a3a185990477be [INFO] running `Command { std: "docker" "start" "-a" "202cdb3473779f8a88be1c334da6a43c65815a9e1483783a73a3a185990477be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "202cdb3473779f8a88be1c334da6a43c65815a9e1483783a73a3a185990477be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202cdb3473779f8a88be1c334da6a43c65815a9e1483783a73a3a185990477be", kill_on_drop: false }` [INFO] [stdout] 202cdb3473779f8a88be1c334da6a43c65815a9e1483783a73a3a185990477be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0305f5f3d07f413ddd9c4dfd0e8e8c17b9974e166b28bf315c7ea6fe50279b3 [INFO] running `Command { std: "docker" "start" "-a" "a0305f5f3d07f413ddd9c4dfd0e8e8c17b9974e166b28bf315c7ea6fe50279b3", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling hidapi v0.5.0 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking razer_test_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:126:53 [INFO] [stdout] | [INFO] [stdout] 126 | static ref known_devices: HashMap> = { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 126 | static ref known_devices: HashMap> = { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn list_devices() -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 145 | pub fn list_devices() -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | fn open(&self, hid_device: HidDevice) -> Box; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 33 | fn open(&self, hid_device: HidDevice) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/matrix_keyboard.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/matrix_mice.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/soft_keyboard.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 21 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:126:53 [INFO] [stdout] | [INFO] [stdout] 126 | static ref known_devices: HashMap> = { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 126 | static ref known_devices: HashMap> = { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn list_devices() -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 145 | pub fn list_devices() -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | fn open(&self, hid_device: HidDevice) -> Box; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 33 | fn open(&self, hid_device: HidDevice) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/matrix_keyboard.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/matrix_mice.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/soft_keyboard.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 21 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:127:47 [INFO] [stdout] | [INFO] [stdout] 127 | let mut map = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 127 | let mut map = HashMap::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | let mut devices: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 147 | let mut devices: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:127:47 [INFO] [stdout] | [INFO] [stdout] 127 | let mut map = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 127 | let mut map = HashMap::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/devices/mod.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | let mut devices: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 147 | let mut devices: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/devices/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait DeviceFactory: Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 31 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/devices/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait DeviceFactory: Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 31 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_manufacturer` is never used [INFO] [stdout] --> src/devices/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait Device { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_manufacturer(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `known_devices` should have an upper case name [INFO] [stdout] --> src/devices/mod.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | static ref known_devices: HashMap> = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `KNOWN_DEVICES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/devices/soft_keyboard.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | self.name.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_manufacturer` is never used [INFO] [stdout] --> src/devices/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait Device { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_manufacturer(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `known_devices` should have an upper case name [INFO] [stdout] --> src/devices/mod.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | static ref known_devices: HashMap> = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `KNOWN_DEVICES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/devices/soft_keyboard.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | self.name.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a0305f5f3d07f413ddd9c4dfd0e8e8c17b9974e166b28bf315c7ea6fe50279b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0305f5f3d07f413ddd9c4dfd0e8e8c17b9974e166b28bf315c7ea6fe50279b3", kill_on_drop: false }` [INFO] [stdout] a0305f5f3d07f413ddd9c4dfd0e8e8c17b9974e166b28bf315c7ea6fe50279b3