[INFO] cloning repository https://github.com/timothyb89/sds011-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timothyb89/sds011-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimothyb89%2Fsds011-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimothyb89%2Fsds011-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03f51ded8c127a5610682425a49ff3263c482157 [INFO] checking timothyb89/sds011-exporter against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimothyb89%2Fsds011-exporter" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timothyb89/sds011-exporter [INFO] finished tweaking git repo https://github.com/timothyb89/sds011-exporter [INFO] tweaked toml for git repo https://github.com/timothyb89/sds011-exporter written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timothyb89/sds011-exporter on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timothyb89/sds011-exporter 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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "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] Updating git repository `https://github.com/timothyb89/simple-prometheus-exporter-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v1.1.1 [INFO] [stderr] Downloaded generator v0.6.21 [INFO] [stderr] Downloaded bytes v0.5.5 [INFO] [stderr] Downloaded input_buffer v0.3.1 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded rustversion v1.0.3 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded err-derive v0.2.4 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded proc-macro-hack v0.5.16 [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded serialport v3.3.0 [INFO] [stderr] Downloaded structopt v0.3.15 [INFO] [stderr] Downloaded multipart v0.16.1 [INFO] [stderr] Downloaded headers v0.3.2 [INFO] [stderr] Downloaded pin-project v0.4.22 [INFO] [stderr] Downloaded serde_json v1.0.56 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded h2 v0.2.5 [INFO] [stderr] Downloaded hyper v0.13.6 [INFO] [stderr] Downloaded warp v0.2.3 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded syn v1.0.33 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded loom v0.3.4 [INFO] [stderr] Downloaded tungstenite v0.10.1 [INFO] [stderr] Downloaded indexmap v1.4.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.18 [INFO] [stderr] Downloaded proc-macro-error v1.0.3 [INFO] [stderr] Downloaded pin-project-internal v0.4.22 [INFO] [stderr] Downloaded tokio v0.2.21 [INFO] [stderr] Downloaded libc v0.2.72 [INFO] [stderr] Downloaded structopt-derive v0.4.8 [INFO] [stderr] Downloaded mime_guess v1.8.8 [INFO] [stderr] Downloaded tokio-tungstenite v0.10.1 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04505e5490e2772dd968205a1d02b31954c2afa28e43cb4159fea130493c1c51 [INFO] running `Command { std: "docker" "start" "-a" "04505e5490e2772dd968205a1d02b31954c2afa28e43cb4159fea130493c1c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04505e5490e2772dd968205a1d02b31954c2afa28e43cb4159fea130493c1c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04505e5490e2772dd968205a1d02b31954c2afa28e43cb4159fea130493c1c51", kill_on_drop: false }` [INFO] [stdout] 04505e5490e2772dd968205a1d02b31954c2afa28e43cb4159fea130493c1c51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cabdd0c56714e499dcd6623987ce20b5534364dbda0d4f7f6b012d66a84cd000 [INFO] running `Command { std: "docker" "start" "-a" "cabdd0c56714e499dcd6623987ce20b5534364dbda0d4f7f6b012d66a84cd000", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking sds011-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 9 | #[error(no_from)] [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 9 | #[error(no_from)] [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 9 | #[error(no_from)] [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 9 | #[error(no_from)] [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.96s [INFO] running `Command { std: "docker" "inspect" "cabdd0c56714e499dcd6623987ce20b5534364dbda0d4f7f6b012d66a84cd000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cabdd0c56714e499dcd6623987ce20b5534364dbda0d4f7f6b012d66a84cd000", kill_on_drop: false }` [INFO] [stdout] cabdd0c56714e499dcd6623987ce20b5534364dbda0d4f7f6b012d66a84cd000