[INFO] fetching crate mirai_rs 0.1.1... [INFO] testing mirai_rs-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate mirai_rs 0.1.1 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate mirai_rs 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mirai_rs 0.1.1 [INFO] finished tweaking crates.io crate mirai_rs 0.1.1 [INFO] tweaked toml for crates.io crate mirai_rs 0.1.1 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate crates.io crate mirai_rs 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 644365ee449c60b7f5267e3b9594c668390f636abf3e6f662e97bc22429b1ea2 [INFO] running `Command { std: "docker" "start" "-a" "644365ee449c60b7f5267e3b9594c668390f636abf3e6f662e97bc22429b1ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "644365ee449c60b7f5267e3b9594c668390f636abf3e6f662e97bc22429b1ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644365ee449c60b7f5267e3b9594c668390f636abf3e6f662e97bc22429b1ea2", kill_on_drop: false }` [INFO] [stdout] 644365ee449c60b7f5267e3b9594c668390f636abf3e6f662e97bc22429b1ea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e153defa62d9c167190ce4a01ce85ca348666cda2528870ec3577c0478e3ece0 [INFO] running `Command { std: "docker" "start" "-a" "e153defa62d9c167190ce4a01ce85ca348666cda2528870ec3577c0478e3ece0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.51 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling mirai_rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/session.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | #[derive(Serialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 112 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/single.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | #[derive(Debug, Clone, Deserialize, Serialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/send.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | #[derive(Serialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/send.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `msg` [INFO] [stdout] --> src/session.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub msg: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | kind: BotLoginEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotLoginEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qq` [INFO] [stdout] --> src/message/event.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | qq: Target, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotLoginEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | kind: BotGroupEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotGroupEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/message/event.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | group: Group, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotGroupEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | kind: GroupChangeEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `change` [INFO] [stdout] --> src/message/event.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | change: ChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/message/event.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | group: Group, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operator` [INFO] [stdout] --> src/message/event.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | operator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.78s [INFO] running `Command { std: "docker" "inspect" "e153defa62d9c167190ce4a01ce85ca348666cda2528870ec3577c0478e3ece0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e153defa62d9c167190ce4a01ce85ca348666cda2528870ec3577c0478e3ece0", kill_on_drop: false }` [INFO] [stdout] e153defa62d9c167190ce4a01ce85ca348666cda2528870ec3577c0478e3ece0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84572d00d845ca833395fbcd6b8ff20f3e2b0aa5bc2d1645195733b950117ae2 [INFO] running `Command { std: "docker" "start" "-a" "84572d00d845ca833395fbcd6b8ff20f3e2b0aa5bc2d1645195733b950117ae2", kill_on_drop: false }` [INFO] [stderr] Compiling mirai_rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/session.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | #[derive(Serialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 112 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/single.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | #[derive(Debug, Clone, Deserialize, Serialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/send.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | #[derive(Serialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/send.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `msg` [INFO] [stdout] --> src/session.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub msg: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | kind: BotLoginEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotLoginEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qq` [INFO] [stdout] --> src/message/event.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | qq: Target, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotLoginEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | kind: BotGroupEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotGroupEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/message/event.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | group: Group, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotGroupEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | kind: GroupChangeEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `change` [INFO] [stdout] --> src/message/event.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | change: ChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/message/event.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | group: Group, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operator` [INFO] [stdout] --> src/message/event.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | operator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/subscribe.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ... subscriber.send(mp.clone()); // TODO: use Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/session.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | #[derive(Serialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 112 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/event.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/single.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | #[derive(Debug, Clone, Deserialize, Serialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/send.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | #[derive(Serialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/message/send.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `msg` [INFO] [stdout] --> src/session.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub msg: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | kind: BotLoginEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotLoginEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qq` [INFO] [stdout] --> src/message/event.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | qq: Target, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotLoginEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | kind: BotGroupEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotGroupEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/message/event.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | group: Group, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BotGroupEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/message/event.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | kind: GroupChangeEventKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `change` [INFO] [stdout] --> src/message/event.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | change: ChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/message/event.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | group: Group, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operator` [INFO] [stdout] --> src/message/event.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | operator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/event.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.98s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/mirai-3248b6abc5c3eee3) [INFO] running `Command { std: "docker" "inspect" "84572d00d845ca833395fbcd6b8ff20f3e2b0aa5bc2d1645195733b950117ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84572d00d845ca833395fbcd6b8ff20f3e2b0aa5bc2d1645195733b950117ae2", kill_on_drop: false }` [INFO] [stdout] 84572d00d845ca833395fbcd6b8ff20f3e2b0aa5bc2d1645195733b950117ae2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2790f4d1f850809dd8c4192cd1a68774517ebf468763a995dee53d33e9049de6 [INFO] running `Command { std: "docker" "start" "-a" "2790f4d1f850809dd8c4192cd1a68774517ebf468763a995dee53d33e9049de6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/session.rs:134:11 [INFO] [stderr] | [INFO] [stderr] 134 | #[serde(rename_all = "camelCase")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 135 | #[derive(Serialize)] [INFO] [stderr] | --------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/message/event.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[serde(tag = "type")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 22 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/message/event.rs:37:3 [INFO] [stderr] | [INFO] [stderr] 37 | #[serde(tag = "type")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 38 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/message/event.rs:89:3 [INFO] [stderr] | [INFO] [stderr] 89 | #[serde(tag = "type")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 90 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/message/event.rs:111:3 [INFO] [stderr] | [INFO] [stderr] 111 | #[serde(untagged)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 112 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/message/event.rs:134:3 [INFO] [stderr] | [INFO] [stderr] 134 | #[serde(untagged)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 135 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/message/single.rs:26:3 [INFO] [stderr] | [INFO] [stderr] 26 | #[serde(tag = "type")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 27 | #[derive(Debug, Clone, Deserialize, Serialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/message/send.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[serde(rename_all = "camelCase")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 12 | #[derive(Serialize)] [INFO] [stderr] | --------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/message/send.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[serde(rename_all = "camelCase")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 22 | #[derive(Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `msg` [INFO] [stderr] --> src/session.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | pub msg: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/message/event.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | kind: BotLoginEventKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BotLoginEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/event.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `qq` [INFO] [stderr] --> src/message/event.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | qq: Target, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BotLoginEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/event.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/message/event.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | kind: BotGroupEventKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BotGroupEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/event.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `group` [INFO] [stderr] --> src/message/event.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | group: Group, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BotGroupEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/event.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/message/event.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | kind: GroupChangeEventKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/event.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `change` [INFO] [stderr] --> src/message/event.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | change: ChangeType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/event.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `group` [INFO] [stderr] --> src/message/event.rs:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | group: Group, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/event.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `operator` [INFO] [stderr] --> src/message/event.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | operator: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GroupChangeEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/event.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `mirai_rs` (lib) generated 18 warnings [INFO] [stderr] warning: `mirai_rs` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/subscribe.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | ... subscriber.send(mp.clone()); // TODO: use Result [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `mirai_rs` (example "subscribe") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mirai-3248b6abc5c3eee3) [INFO] [stdout] [INFO] [stderr] Doc-tests mirai [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/session.rs - session (line 34) ... FAILED [INFO] [stdout] test src/session.rs - session (line 25) ... FAILED [INFO] [stdout] test src/message/channel.rs - message::channel (line 13) ... FAILED [INFO] [stdout] test src/session.rs - session (line 19) ... FAILED [INFO] [stdout] test src/session.rs - session (line 7) ... ok [INFO] [stdout] test src/message/mod.rs - message (line 17) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/session.rs - session (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/session.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 3 | session.release(account); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account` in this scope [INFO] [stdout] --> src/session.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 3 | session.release(account); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/session.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 4 | session.verify(account); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/channel.rs - message::channel (line 13) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `my_session` in this scope [INFO] [stdout] --> src/message/channel.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 7 | let session: Session = my_session; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `group` in this scope [INFO] [stdout] --> src/message/channel.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 8 | let target_channel = MessageChannel::Group(group); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/message/channel.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_message_channel_rs_13_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | session.send_message(&target_channel, &message).await.unwrap(); [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session (line 19) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `server` in this scope [INFO] [stdout] --> src/session.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 3 | let session = server.auth("auth_key_should_be_kept_secret"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/message/channel.rs - message::channel (line 13) [INFO] [stdout] src/session.rs - session (line 19) [INFO] [stdout] src/session.rs - session (line 25) [INFO] [stdout] src/session.rs - session (line 34) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.61s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2790f4d1f850809dd8c4192cd1a68774517ebf468763a995dee53d33e9049de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2790f4d1f850809dd8c4192cd1a68774517ebf468763a995dee53d33e9049de6", kill_on_drop: false }` [INFO] [stdout] 2790f4d1f850809dd8c4192cd1a68774517ebf468763a995dee53d33e9049de6