[INFO] cloning repository https://github.com/denis-papin/ava-home [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denis-papin/ava-home" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenis-papin%2Fava-home", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenis-papin%2Fava-home'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0636eac67b8eeadb4891f722f4997666d81e06b [INFO] checking denis-papin/ava-home against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenis-papin%2Fava-home" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/denis-papin/ava-home on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/denis-papin/ava-home [INFO] finished tweaking git repo https://github.com/denis-papin/ava-home [INFO] tweaked toml for git repo https://github.com/denis-papin/ava-home written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/denis-papin/ava-home 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a701b6acdacb80525212ee170baa2924770f42c8880884c0fb4f31cdb8b06439 [INFO] running `Command { std: "docker" "start" "-a" "a701b6acdacb80525212ee170baa2924770f42c8880884c0fb4f31cdb8b06439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a701b6acdacb80525212ee170baa2924770f42c8880884c0fb4f31cdb8b06439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a701b6acdacb80525212ee170baa2924770f42c8880884c0fb4f31cdb8b06439", kill_on_drop: false }` [INFO] [stdout] a701b6acdacb80525212ee170baa2924770f42c8880884c0fb4f31cdb8b06439 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adf08708f55f21dd056685163c3db406181431290a1f1da52c40ad3be2c803b4 [INFO] running `Command { std: "docker" "start" "-a" "adf08708f55f21dd056685163c3db406181431290a1f1da52c40ad3be2c803b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking mqtt-protocol v0.11.2 [INFO] [stderr] Checking ava v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> src/main.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | let delay = time::Duration::from_millis(10); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/messages.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 53 | impl LampRGB { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 54 | pub (crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/messages.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl InterSwitch { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 116 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/messages.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 155 | impl TempSensor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 156 | pub (crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/messages.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl InterDim { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 191 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:446:34 [INFO] [stdout] | [INFO] [stdout] 446 | let dd = borr.deref().clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn DynDevice` does not implement `Clone`, so calling `clone` on `&dyn DynDevice` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:486:46 [INFO] [stdout] | [INFO] [stdout] 486 | let dd = borr.deref().clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn DynDevice` does not implement `Clone`, so calling `clone` on `&dyn DynDevice` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ava` (bin "ava") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "adf08708f55f21dd056685163c3db406181431290a1f1da52c40ad3be2c803b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf08708f55f21dd056685163c3db406181431290a1f1da52c40ad3be2c803b4", kill_on_drop: false }` [INFO] [stdout] adf08708f55f21dd056685163c3db406181431290a1f1da52c40ad3be2c803b4