[INFO] fetching crate mqtt_5 0.1.1... [INFO] testing mqtt_5-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate mqtt_5 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate mqtt_5 0.1.1 [INFO] finished tweaking crates.io crate mqtt_5 0.1.1 [INFO] tweaked toml for crates.io crate mqtt_5 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mqtt_5 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6e2572169878fe0a7cb31fb13bcda7476f4c5e8bba77938a02e089d50110713 [INFO] running `Command { std: "docker" "start" "-a" "c6e2572169878fe0a7cb31fb13bcda7476f4c5e8bba77938a02e089d50110713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6e2572169878fe0a7cb31fb13bcda7476f4c5e8bba77938a02e089d50110713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e2572169878fe0a7cb31fb13bcda7476f4c5e8bba77938a02e089d50110713", kill_on_drop: false }` [INFO] [stdout] c6e2572169878fe0a7cb31fb13bcda7476f4c5e8bba77938a02e089d50110713 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71e11b9581d9e2ab2d7bbe5708b79804d37192fd0115f64085c6b70281dcf298 [INFO] running `Command { std: "docker" "start" "-a" "71e11b9581d9e2ab2d7bbe5708b79804d37192fd0115f64085c6b70281dcf298", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling bit_reverse v0.1.8 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling packattack-derive v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling bitreader_async v0.2.0 [INFO] [stderr] Compiling packattack v0.1.0 [INFO] [stderr] Compiling mqtt_5 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `arbitrary_enum_discriminant` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(arbitrary_enum_discriminant)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subscribe` is never constructed [INFO] [stdout] --> src/subscribe.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Subscribe [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/subscribe.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Suback` is never constructed [INFO] [stdout] --> src/suback.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Suback [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/suback.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unsubscribe` is never constructed [INFO] [stdout] --> src/unsubscribe.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Unsubscribe [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/unsubscribe.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unsuback` is never constructed [INFO] [stdout] --> src/unsuback.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Unsuback [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pingreq` is never constructed [INFO] [stdout] --> src/pingreq.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pingreq [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pingresp` is never constructed [INFO] [stdout] --> src/pingresp.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pingresp [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Disconnect` is never constructed [INFO] [stdout] --> src/disconnect.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Disconnect [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Auth` is never constructed [INFO] [stdout] --> src/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Auth [INFO] [stdout] | ^^^^ [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:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MQTTParserError` [INFO] [stdout] 5 | pub enum MQTTParserError [INFO] [stdout] | --------------- `MQTTParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MQTTParserError` [INFO] [stdout] 5 | pub enum MQTTParserError [INFO] [stdout] | --------------- `MQTTParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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 45.61s [INFO] running `Command { std: "docker" "inspect" "71e11b9581d9e2ab2d7bbe5708b79804d37192fd0115f64085c6b70281dcf298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e11b9581d9e2ab2d7bbe5708b79804d37192fd0115f64085c6b70281dcf298", kill_on_drop: false }` [INFO] [stdout] 71e11b9581d9e2ab2d7bbe5708b79804d37192fd0115f64085c6b70281dcf298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6f3b9835eddfa82daf5b36d7942194a533efa9168a55f06bc477d595bfabf36 [INFO] running `Command { std: "docker" "start" "-a" "b6f3b9835eddfa82daf5b36d7942194a533efa9168a55f06bc477d595bfabf36", kill_on_drop: false }` [INFO] [stdout] warning: the feature `arbitrary_enum_discriminant` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(arbitrary_enum_discriminant)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subscribe` is never constructed [INFO] [stdout] --> src/subscribe.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Subscribe [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/subscribe.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Suback` is never constructed [INFO] [stdout] --> src/suback.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Suback [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/suback.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unsubscribe` is never constructed [INFO] [stdout] --> src/unsubscribe.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Unsubscribe [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/unsubscribe.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unsuback` is never constructed [INFO] [stdout] --> src/unsuback.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Unsuback [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pingreq` is never constructed [INFO] [stdout] --> src/pingreq.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pingreq [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pingresp` is never constructed [INFO] [stdout] --> src/pingresp.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pingresp [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Disconnect` is never constructed [INFO] [stdout] --> src/disconnect.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Disconnect [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Auth` is never constructed [INFO] [stdout] --> src/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Auth [INFO] [stdout] | ^^^^ [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:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MQTTParserError` [INFO] [stdout] 5 | pub enum MQTTParserError [INFO] [stdout] | --------------- `MQTTParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MQTTParserError` [INFO] [stdout] 5 | pub enum MQTTParserError [INFO] [stdout] | --------------- `MQTTParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mqtt_5 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `arbitrary_enum_discriminant` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(arbitrary_enum_discriminant)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subscribe` is never constructed [INFO] [stdout] --> src/subscribe.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Subscribe [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/subscribe.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Suback` is never constructed [INFO] [stdout] --> src/suback.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Suback [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/suback.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unsubscribe` is never constructed [INFO] [stdout] --> src/unsubscribe.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Unsubscribe [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketIdentifier` is never used [INFO] [stdout] --> src/unsubscribe.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unsuback` is never constructed [INFO] [stdout] --> src/unsuback.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Unsuback [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pingreq` is never constructed [INFO] [stdout] --> src/pingreq.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pingreq [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pingresp` is never constructed [INFO] [stdout] --> src/pingresp.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pingresp [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Disconnect` is never constructed [INFO] [stdout] --> src/disconnect.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Disconnect [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Auth` is never constructed [INFO] [stdout] --> src/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Auth [INFO] [stdout] | ^^^^ [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:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MQTTParserError` [INFO] [stdout] 5 | pub enum MQTTParserError [INFO] [stdout] | --------------- `MQTTParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MQTTParserError` [INFO] [stdout] 5 | pub enum MQTTParserError [INFO] [stdout] | --------------- `MQTTParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "b6f3b9835eddfa82daf5b36d7942194a533efa9168a55f06bc477d595bfabf36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f3b9835eddfa82daf5b36d7942194a533efa9168a55f06bc477d595bfabf36", kill_on_drop: false }` [INFO] [stdout] b6f3b9835eddfa82daf5b36d7942194a533efa9168a55f06bc477d595bfabf36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c650ac173e665d0ae173668c75825f99027137faa59a38c0caad14c4265e6c28 [INFO] running `Command { std: "docker" "start" "-a" "c650ac173e665d0ae173668c75825f99027137faa59a38c0caad14c4265e6c28", kill_on_drop: false }` [INFO] [stderr] warning: the feature `arbitrary_enum_discriminant` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(arbitrary_enum_discriminant)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Subscribe` is never constructed [INFO] [stderr] --> src/subscribe.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Subscribe [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `PacketIdentifier` is never used [INFO] [stderr] --> src/subscribe.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Suback` is never constructed [INFO] [stderr] --> src/suback.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Suback [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `PacketIdentifier` is never used [INFO] [stderr] --> src/suback.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Unsubscribe` is never constructed [INFO] [stderr] --> src/unsubscribe.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Unsubscribe [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `PacketIdentifier` is never used [INFO] [stderr] --> src/unsubscribe.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | pub type PacketIdentifier = TwoByteInteger; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Unsuback` is never constructed [INFO] [stderr] --> src/unsuback.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Unsuback [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Pingreq` is never constructed [INFO] [stderr] --> src/pingreq.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Pingreq [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Pingresp` is never constructed [INFO] [stderr] --> src/pingresp.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Pingresp [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Disconnect` is never constructed [INFO] [stderr] --> src/disconnect.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Disconnect [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Auth` is never constructed [INFO] [stderr] --> src/auth.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Auth [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MQTTParserError` [INFO] [stderr] 5 | pub enum MQTTParserError [INFO] [stderr] | --------------- `MQTTParserError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MQTTParserError` [INFO] [stderr] 5 | pub enum MQTTParserError [INFO] [stderr] | --------------- `MQTTParserError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `mqtt_5` (lib) generated 14 warnings [INFO] [stderr] warning: `mqtt_5` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mqtt_5-878696be492846db) [INFO] [stdout] [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] [stderr] Doc-tests mqtt_5 [INFO] [stdout] [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" "c650ac173e665d0ae173668c75825f99027137faa59a38c0caad14c4265e6c28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c650ac173e665d0ae173668c75825f99027137faa59a38c0caad14c4265e6c28", kill_on_drop: false }` [INFO] [stdout] c650ac173e665d0ae173668c75825f99027137faa59a38c0caad14c4265e6c28