[INFO] cloning repository https://github.com/Chronophylos/cookiebot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chronophylos/cookiebot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChronophylos%2Fcookiebot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChronophylos%2Fcookiebot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24294d69d0b635b735ecbc1e69170205fc1f30c2 [INFO] checking Chronophylos/cookiebot/24294d69d0b635b735ecbc1e69170205fc1f30c2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChronophylos%2Fcookiebot" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chronophylos/cookiebot on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Chronophylos/cookiebot [INFO] finished tweaking git repo https://github.com/Chronophylos/cookiebot [INFO] tweaked toml for git repo https://github.com/Chronophylos/cookiebot written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Chronophylos/cookiebot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53765945f8165aa66d35e6d1f8c27d08fb2d394377c5ca55758ea5238e70a26b [INFO] running `Command { std: "docker" "start" "-a" "53765945f8165aa66d35e6d1f8c27d08fb2d394377c5ca55758ea5238e70a26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53765945f8165aa66d35e6d1f8c27d08fb2d394377c5ca55758ea5238e70a26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53765945f8165aa66d35e6d1f8c27d08fb2d394377c5ca55758ea5238e70a26b", kill_on_drop: false }` [INFO] [stdout] 53765945f8165aa66d35e6d1f8c27d08fb2d394377c5ca55758ea5238e70a26b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5d7a075b73cd2946977c53533428b143456e7be0c60fa508def798f851dda65 [INFO] running `Command { std: "docker" "start" "-a" "d5d7a075b73cd2946977c53533428b143456e7be0c60fa508def798f851dda65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling metrics v0.14.2 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking raw-cpuid v9.1.1 [INFO] [stderr] Checking atomic-shim v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ordered-float v2.8.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking quanta v0.7.2 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking sketches-ddsketch v0.1.2 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling metrics-macros v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling zeroize_derive v1.2.0 [INFO] [stderr] Checking metrics-util v0.6.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking zeroize v1.4.2 [INFO] [stderr] Compiling git-version-macro v0.3.5 [INFO] [stderr] Compiling enum_dispatch v0.3.7 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking git-version v0.3.5 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking ron v0.6.5 [INFO] [stderr] Checking twitch-irc v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking metrics-exporter-prometheus v0.3.0 [INFO] [stderr] Checking reqwest v0.11.5 [INFO] [stderr] Checking cookiebot v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `chatter_count` is never read [INFO] [stdout] --> src/bot.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct ChatterResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 225 | pub chatter_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatterResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CDR_MESSAGE` is never used [INFO] [stdout] --> src/leavesbot/bot.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | static CDR_MESSAGE: &str = "*cdr"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MULTIPLIER_MESSAGE` is never used [INFO] [stdout] --> src/leavesbot/bot.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | static MULTIPLIER_MESSAGE: &str = "*multiplier"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `userid`, `username`, and `egs` are never read [INFO] [stdout] --> src/okayegbot/bot.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct UserResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 56 | userid: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | egs: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rank` and `booster_cooldown` are never read [INFO] [stdout] --> src/thepositivebot/bot.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct UserResponse<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 72 | cookies: u32, [INFO] [stdout] 73 | rank: Rank, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | prestige: u32, [INFO] [stdout] 75 | booster_cooldown: Cow<'a, str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/secrettoken.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Zeroize, Deserialize, Serialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_Token` [INFO] [stdout] 7 | pub struct Token(String); [INFO] [stdout] | ----- `Token` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chatter_count` is never read [INFO] [stdout] --> src/bot.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct ChatterResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 225 | pub chatter_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatterResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CDR_MESSAGE` is never used [INFO] [stdout] --> src/leavesbot/bot.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | static CDR_MESSAGE: &str = "*cdr"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MULTIPLIER_MESSAGE` is never used [INFO] [stdout] --> src/leavesbot/bot.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | static MULTIPLIER_MESSAGE: &str = "*multiplier"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `userid`, `username`, and `egs` are never read [INFO] [stdout] --> src/okayegbot/bot.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct UserResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 56 | userid: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | egs: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rank` and `booster_cooldown` are never read [INFO] [stdout] --> src/thepositivebot/bot.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct UserResponse<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 72 | cookies: u32, [INFO] [stdout] 73 | rank: Rank, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | prestige: u32, [INFO] [stdout] 75 | booster_cooldown: Cow<'a, str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/secrettoken.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Zeroize, Deserialize, Serialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_Token` [INFO] [stdout] 7 | pub struct Token(String); [INFO] [stdout] | ----- `Token` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.15s [INFO] running `Command { std: "docker" "inspect" "d5d7a075b73cd2946977c53533428b143456e7be0c60fa508def798f851dda65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5d7a075b73cd2946977c53533428b143456e7be0c60fa508def798f851dda65", kill_on_drop: false }` [INFO] [stdout] d5d7a075b73cd2946977c53533428b143456e7be0c60fa508def798f851dda65