[INFO] cloning repository https://github.com/rtsmarty/discord-bots [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rtsmarty/discord-bots" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frtsmarty%2Fdiscord-bots", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frtsmarty%2Fdiscord-bots'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6380e7ec26da3cc0eb5f52a857ae215f6fb9682 [INFO] checking rtsmarty/discord-bots against try#c6359cd3b4418e8472bae1a89c242796f2b86d56 for pr-147984-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frtsmarty%2Fdiscord-bots" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rtsmarty/discord-bots [INFO] finished tweaking git repo https://github.com/rtsmarty/discord-bots [INFO] tweaked toml for git repo https://github.com/rtsmarty/discord-bots written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rtsmarty/discord-bots on toolchain c6359cd3b4418e8472bae1a89c242796f2b86d56 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6359cd3b4418e8472bae1a89c242796f2b86d56" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rtsmarty/discord-bots 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" "+c6359cd3b4418e8472bae1a89c242796f2b86d56" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c6359cd3b4418e8472bae1a89c242796f2b86d56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62d1aed7b602eb0f2beec0517d460aa9ccc16756e6862b036ef48cb42ba1df2c [INFO] running `Command { std: "docker" "start" "-a" "62d1aed7b602eb0f2beec0517d460aa9ccc16756e6862b036ef48cb42ba1df2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d1aed7b602eb0f2beec0517d460aa9ccc16756e6862b036ef48cb42ba1df2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d1aed7b602eb0f2beec0517d460aa9ccc16756e6862b036ef48cb42ba1df2c", kill_on_drop: false }` [INFO] [stdout] 62d1aed7b602eb0f2beec0517d460aa9ccc16756e6862b036ef48cb42ba1df2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c6359cd3b4418e8472bae1a89c242796f2b86d56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59f909923d4aea5479c5edf984fe8a0472d4b8abea0d9f32f01f72b35aceabe2 [INFO] running `Command { std: "docker" "start" "-a" "59f909923d4aea5479c5edf984fe8a0472d4b8abea0d9f32f01f72b35aceabe2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.85 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking openssl v0.10.41 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Checking clap v3.2.20 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking discord-bots v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `total`, `remaining`, and `reset_after` are never read [INFO] [stdout] --> src/discord/model.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct BotGatewaySessionStartLimit { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 125 | pub total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | pub remaining: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 127 | pub reset_after: u64 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotGatewaySessionStartLimit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shards` and `session_start_limit` are never read [INFO] [stdout] --> src/discord/model.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct BotGatewayResponse<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 131 | pub url: &'a str, [INFO] [stdout] 132 | pub shards: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 133 | pub session_start_limit: BotGatewaySessionStartLimit [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotGatewayResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ws/message.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn message(&self) -> Message { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 106 | pub fn message(&self) -> Message<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total`, `remaining`, and `reset_after` are never read [INFO] [stdout] --> src/discord/model.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct BotGatewaySessionStartLimit { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 125 | pub total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | pub remaining: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 127 | pub reset_after: u64 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotGatewaySessionStartLimit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shards` and `session_start_limit` are never read [INFO] [stdout] --> src/discord/model.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct BotGatewayResponse<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 131 | pub url: &'a str, [INFO] [stdout] 132 | pub shards: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 133 | pub session_start_limit: BotGatewaySessionStartLimit [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotGatewayResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ws/message.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn message(&self) -> Message { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 106 | pub fn message(&self) -> Message<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "59f909923d4aea5479c5edf984fe8a0472d4b8abea0d9f32f01f72b35aceabe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f909923d4aea5479c5edf984fe8a0472d4b8abea0d9f32f01f72b35aceabe2", kill_on_drop: false }` [INFO] [stdout] 59f909923d4aea5479c5edf984fe8a0472d4b8abea0d9f32f01f72b35aceabe2