[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtoldwind%2Frazer_test_test" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/untoldwind/razer_test_test on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af3b4f4cd3fb7dac3c2337d867b6ed86ad9d6f6ee5a934cad08987f619e968a0 [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" "af3b4f4cd3fb7dac3c2337d867b6ed86ad9d6f6ee5a934cad08987f619e968a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af3b4f4cd3fb7dac3c2337d867b6ed86ad9d6f6ee5a934cad08987f619e968a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af3b4f4cd3fb7dac3c2337d867b6ed86ad9d6f6ee5a934cad08987f619e968a0", kill_on_drop: false }` [INFO] [stdout] af3b4f4cd3fb7dac3c2337d867b6ed86ad9d6f6ee5a934cad08987f619e968a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e24ecbd39a6e619540deab4618ae3bd12fb36f29d5ac196d5efe1f05483a1c6 [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" "4e24ecbd39a6e619540deab4618ae3bd12fb36f29d5ac196d5efe1f05483a1c6", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [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] Checking quick-error v1.2.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking memchr v2.1.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling hidapi v0.5.0 [INFO] [stderr] Checking regex v1.0.5 [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: 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] | ^^^^^^ help: use `dyn`: `dyn Device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn DeviceFactory` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn DeviceFactory` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn DeviceFactory` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn DeviceFactory` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [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] | ^^^^^^ help: use `dyn`: `dyn Device` [INFO] [stdout] [INFO] [stdout] [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (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: 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.31s [INFO] running `Command { std: "docker" "inspect" "4e24ecbd39a6e619540deab4618ae3bd12fb36f29d5ac196d5efe1f05483a1c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e24ecbd39a6e619540deab4618ae3bd12fb36f29d5ac196d5efe1f05483a1c6", kill_on_drop: false }` [INFO] [stdout] 4e24ecbd39a6e619540deab4618ae3bd12fb36f29d5ac196d5efe1f05483a1c6