[INFO] fetching crate mqtt_5 0.1.1... [INFO] testing mqtt_5-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mqtt_5 0.1.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mqtt_5 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 91 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75259f176f76bcf25c2092b7a13607145b43c0cb382c91170b786cf2f2ebfde0 [INFO] running `Command { std: "docker" "start" "-a" "75259f176f76bcf25c2092b7a13607145b43c0cb382c91170b786cf2f2ebfde0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75259f176f76bcf25c2092b7a13607145b43c0cb382c91170b786cf2f2ebfde0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75259f176f76bcf25c2092b7a13607145b43c0cb382c91170b786cf2f2ebfde0", kill_on_drop: false }` [INFO] [stdout] 75259f176f76bcf25c2092b7a13607145b43c0cb382c91170b786cf2f2ebfde0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beeed3469966f73d38e3d8acb3c91c2059fd92512f43d855f789461a442a86b5 [INFO] running `Command { std: "docker" "start" "-a" "beeed3469966f73d38e3d8acb3c91c2059fd92512f43d855f789461a442a86b5", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bit_reverse v0.1.8 [INFO] [stderr] Compiling packattack-derive v0.3.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.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 10.21s [INFO] running `Command { std: "docker" "inspect" "beeed3469966f73d38e3d8acb3c91c2059fd92512f43d855f789461a442a86b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beeed3469966f73d38e3d8acb3c91c2059fd92512f43d855f789461a442a86b5", kill_on_drop: false }` [INFO] [stdout] beeed3469966f73d38e3d8acb3c91c2059fd92512f43d855f789461a442a86b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff4a6b8606303d8fedc42df57e04b80ae9857a3fa1b75bdee3a711319e7aa5c9 [INFO] running `Command { std: "docker" "start" "-a" "ff4a6b8606303d8fedc42df57e04b80ae9857a3fa1b75bdee3a711319e7aa5c9", kill_on_drop: false }` [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] [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.13s [INFO] running `Command { std: "docker" "inspect" "ff4a6b8606303d8fedc42df57e04b80ae9857a3fa1b75bdee3a711319e7aa5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4a6b8606303d8fedc42df57e04b80ae9857a3fa1b75bdee3a711319e7aa5c9", kill_on_drop: false }` [INFO] [stdout] ff4a6b8606303d8fedc42df57e04b80ae9857a3fa1b75bdee3a711319e7aa5c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5b3fcf138604ac27df2dc370a96ce14b537e3c964ca602c23f47036639a23e91 [INFO] running `Command { std: "docker" "start" "-a" "5b3fcf138604ac27df2dc370a96ce14b537e3c964ca602c23f47036639a23e91", 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.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mqtt_5-1ee803a9b8b31429) [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" "5b3fcf138604ac27df2dc370a96ce14b537e3c964ca602c23f47036639a23e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b3fcf138604ac27df2dc370a96ce14b537e3c964ca602c23f47036639a23e91", kill_on_drop: false }` [INFO] [stdout] 5b3fcf138604ac27df2dc370a96ce14b537e3c964ca602c23f47036639a23e91