[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] testing untoldwind/razer_test_test against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtoldwind%2Frazer_test_test" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/untoldwind/razer_test_test on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-9/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddfb3989917959c8a73c6200e10e672ffecc42f36a6f5c8b57b1a7ef58a0ce5c [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" "ddfb3989917959c8a73c6200e10e672ffecc42f36a6f5c8b57b1a7ef58a0ce5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddfb3989917959c8a73c6200e10e672ffecc42f36a6f5c8b57b1a7ef58a0ce5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddfb3989917959c8a73c6200e10e672ffecc42f36a6f5c8b57b1a7ef58a0ce5c", kill_on_drop: false }` [INFO] [stdout] ddfb3989917959c8a73c6200e10e672ffecc42f36a6f5c8b57b1a7ef58a0ce5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 460e317a7ef3ce5bf8945e017a0ac3abb263da47461ddb3bf74d33e377f51864 [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" "460e317a7ef3ce5bf8945e017a0ac3abb263da47461ddb3bf74d33e377f51864", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling hidapi v0.5.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling razer_test_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - static ref known_devices: HashMap> = { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - pub fn list_devices() -> Result>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn open(&self, hid_device: HidDevice) -> Box; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn open(&self, hid_device: HidDevice) -> Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn open(&self, hid_device: HidDevice) -> Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn open(&self, hid_device: HidDevice) -> Box { [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - let mut devices: Vec> = Vec::new(); [INFO] [stdout] 147 + let mut devices: Vec> = Vec::new(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - let mut map = HashMap::>::new(); [INFO] [stdout] 127 + let mut map = HashMap::>::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.39s [INFO] running `Command { std: "docker" "inspect" "460e317a7ef3ce5bf8945e017a0ac3abb263da47461ddb3bf74d33e377f51864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "460e317a7ef3ce5bf8945e017a0ac3abb263da47461ddb3bf74d33e377f51864", kill_on_drop: false }` [INFO] [stdout] 460e317a7ef3ce5bf8945e017a0ac3abb263da47461ddb3bf74d33e377f51864 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f1003a19beef5aeed45e44bf0e6f1f6401884fe52d44225da361bd8bda942ad [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" "0f1003a19beef5aeed45e44bf0e6f1f6401884fe52d44225da361bd8bda942ad", kill_on_drop: false }` [INFO] [stderr] Compiling razer_test_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - static ref known_devices: HashMap> = { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - pub fn list_devices() -> Result>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn open(&self, hid_device: HidDevice) -> Box; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn open(&self, hid_device: HidDevice) -> Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn open(&self, hid_device: HidDevice) -> Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn open(&self, hid_device: HidDevice) -> Box { [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - let mut devices: Vec> = Vec::new(); [INFO] [stdout] 147 + let mut devices: Vec> = Vec::new(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - let mut map = HashMap::>::new(); [INFO] [stdout] 127 + let mut map = HashMap::>::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "0f1003a19beef5aeed45e44bf0e6f1f6401884fe52d44225da361bd8bda942ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1003a19beef5aeed45e44bf0e6f1f6401884fe52d44225da361bd8bda942ad", kill_on_drop: false }` [INFO] [stdout] 0f1003a19beef5aeed45e44bf0e6f1f6401884fe52d44225da361bd8bda942ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "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] 1b1b3946904522e51ca18e9467c4167dee40745f204e6f93d57f47d31e682d9b [INFO] running `Command { std: "docker" "start" "-a" "1b1b3946904522e51ca18e9467c4167dee40745f204e6f93d57f47d31e682d9b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_chain! { [INFO] [stderr] 2 | | types { [INFO] [stderr] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stderr] 4 | | } [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/devices/mod.rs:126:53 [INFO] [stderr] | [INFO] [stderr] 126 | static ref known_devices: HashMap> = { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 126 - static ref known_devices: HashMap> = { [INFO] [stderr] 126 + static ref known_devices: HashMap> = { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/devices/mod.rs:145:41 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn list_devices() -> Result>> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 145 - pub fn list_devices() -> Result>> { [INFO] [stderr] 145 + pub fn list_devices() -> Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/devices/mod.rs:33:50 [INFO] [stderr] | [INFO] [stderr] 33 | fn open(&self, hid_device: HidDevice) -> Box; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - fn open(&self, hid_device: HidDevice) -> Box; [INFO] [stderr] 33 + fn open(&self, hid_device: HidDevice) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/devices/matrix_keyboard.rs:23:50 [INFO] [stderr] | [INFO] [stderr] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] 23 + fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/devices/matrix_mice.rs:23:50 [INFO] [stderr] | [INFO] [stderr] 23 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] 23 + fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/devices/soft_keyboard.rs:21:50 [INFO] [stderr] | [INFO] [stderr] 21 | fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 - fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] 21 + fn open(&self, hid_device: HidDevice) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/devices/mod.rs:147:30 [INFO] [stderr] | [INFO] [stderr] 147 | let mut devices: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 147 - let mut devices: Vec> = Vec::new(); [INFO] [stderr] 147 + let mut devices: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/devices/mod.rs:127:47 [INFO] [stderr] | [INFO] [stderr] 127 | let mut map = HashMap::>::new(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 127 - let mut map = HashMap::>::new(); [INFO] [stderr] 127 + let mut map = HashMap::>::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_chain! { [INFO] [stderr] 2 | | types { [INFO] [stderr] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stderr] 4 | | } [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: static variable `known_devices` should have an upper case name [INFO] [stderr] --> src/devices/mod.rs:126:16 [INFO] [stderr] | [INFO] [stderr] 126 | static ref known_devices: HashMap> = { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `KNOWN_DEVICES` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `razer_test_test` (bin "razer_test_test" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/razer_test_test-a17a1257f5c6a190) [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" "1b1b3946904522e51ca18e9467c4167dee40745f204e6f93d57f47d31e682d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b1b3946904522e51ca18e9467c4167dee40745f204e6f93d57f47d31e682d9b", kill_on_drop: false }` [INFO] [stdout] 1b1b3946904522e51ca18e9467c4167dee40745f204e6f93d57f47d31e682d9b