[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [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 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded syn v0.14.9 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b1199d4cdbc7d51042f3a23048879faf4e6f3268fc43e4bb639b9d89fe127fb [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" "6b1199d4cdbc7d51042f3a23048879faf4e6f3268fc43e4bb639b9d89fe127fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b1199d4cdbc7d51042f3a23048879faf4e6f3268fc43e4bb639b9d89fe127fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1199d4cdbc7d51042f3a23048879faf4e6f3268fc43e4bb639b9d89fe127fb", kill_on_drop: false }` [INFO] [stdout] 6b1199d4cdbc7d51042f3a23048879faf4e6f3268fc43e4bb639b9d89fe127fb [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 245d3d4c94ae64dd8f6c6faf0dbd2db287bbe4e1eff47a8af999c31203c87cf2 [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" "245d3d4c94ae64dd8f6c6faf0dbd2db287bbe4e1eff47a8af999c31203c87cf2", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling hidapi v0.5.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking lazy_static v1.1.0 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking backtrace-sys v0.1.24 [INFO] [stderr] Checking memchr v2.1.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking regex v1.0.5 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking env_logger v0.5.13 [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: 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: 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: 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: 12 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.85s [INFO] running `Command { std: "docker" "inspect" "245d3d4c94ae64dd8f6c6faf0dbd2db287bbe4e1eff47a8af999c31203c87cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245d3d4c94ae64dd8f6c6faf0dbd2db287bbe4e1eff47a8af999c31203c87cf2", kill_on_drop: false }` [INFO] [stdout] 245d3d4c94ae64dd8f6c6faf0dbd2db287bbe4e1eff47a8af999c31203c87cf2