[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#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChronophylos%2Fcookiebot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chronophylos/cookiebot on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-1-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8e4c66f19d984053519cb37620ee263b298aae1c9e7ca7c63cda71f402e65b1 [INFO] running `Command { std: "docker" "start" "-a" "b8e4c66f19d984053519cb37620ee263b298aae1c9e7ca7c63cda71f402e65b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8e4c66f19d984053519cb37620ee263b298aae1c9e7ca7c63cda71f402e65b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e4c66f19d984053519cb37620ee263b298aae1c9e7ca7c63cda71f402e65b1", kill_on_drop: false }` [INFO] [stdout] b8e4c66f19d984053519cb37620ee263b298aae1c9e7ca7c63cda71f402e65b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76bae7eb59152755eaab07da9d9dcc474c26cb8d13cfb5e9d9bf33d96a7ce72e [INFO] running `Command { std: "docker" "start" "-a" "76bae7eb59152755eaab07da9d9dcc474c26cb8d13cfb5e9d9bf33d96a7ce72e", 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] Compiling cc v1.0.71 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Checking tracing-core v0.1.21 [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] Compiling indexmap v1.7.0 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling metrics v0.14.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking raw-cpuid v9.1.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking atomic-shim v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking sketches-ddsketch v0.1.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [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] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking ordered-float v2.8.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking quanta v0.7.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking url v2.2.2 [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 serde_derive v1.0.130 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling metrics-macros v0.2.0 [INFO] [stderr] Compiling zeroize_derive v1.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling git-version-macro v0.3.5 [INFO] [stderr] Compiling enum_dispatch v0.3.7 [INFO] [stderr] Checking zeroize v1.4.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking metrics-util v0.6.2 [INFO] [stderr] Checking git-version v0.3.5 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking serde v1.0.130 [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 ron v0.6.5 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking twitch-irc v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [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: 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 `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: 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 `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: 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: 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 33.43s [INFO] running `Command { std: "docker" "inspect" "76bae7eb59152755eaab07da9d9dcc474c26cb8d13cfb5e9d9bf33d96a7ce72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76bae7eb59152755eaab07da9d9dcc474c26cb8d13cfb5e9d9bf33d96a7ce72e", kill_on_drop: false }` [INFO] [stdout] 76bae7eb59152755eaab07da9d9dcc474c26cb8d13cfb5e9d9bf33d96a7ce72e