[INFO] cloning repository https://github.com/BrianTib/discord-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BrianTib/discord-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianTib%2Fdiscord-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianTib%2Fdiscord-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e70c40fbb8deaadfc073fb0df3152957a1ae8ed2
[INFO] building BrianTib/discord-rs against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianTib%2Fdiscord-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BrianTib/discord-rs on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BrianTib/discord-rs
[INFO] finished tweaking git repo https://github.com/BrianTib/discord-rs
[INFO] tweaked toml for git repo https://github.com/BrianTib/discord-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/BrianTib/discord-rs 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-tungstenite v0.19.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.88
[INFO] [stderr]   Downloaded serde_derive v1.0.164
[INFO] [stderr]   Downloaded serde v1.0.164
[INFO] [stderr]   Downloaded cpufeatures v0.2.8
[INFO] [stderr]   Downloaded proc-macro2 v1.0.60
[INFO] [stderr]   Downloaded tungstenite v0.19.0
[INFO] [stderr]   Downloaded h2 v0.3.19
[INFO] [stderr]   Downloaded openssl v0.10.54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a2169184b8c345e50bbea0b92fbbc7473c402256b18ccc09385a17f3a40202f
[INFO] running `Command { std: "docker" "start" "-a" "5a2169184b8c345e50bbea0b92fbbc7473c402256b18ccc09385a17f3a40202f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a2169184b8c345e50bbea0b92fbbc7473c402256b18ccc09385a17f3a40202f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a2169184b8c345e50bbea0b92fbbc7473c402256b18ccc09385a17f3a40202f", kill_on_drop: false }`
[INFO] [stdout] 5a2169184b8c345e50bbea0b92fbbc7473c402256b18ccc09385a17f3a40202f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 484da1b047b18314f13619b299c97e15e9048dccfbfaf8a3aae3b27cd2f68182
[INFO] running `Command { std: "docker" "start" "-a" "484da1b047b18314f13619b299c97e15e9048dccfbfaf8a3aae3b27cd2f68182", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling proc-macro2 v1.0.60
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling openssl v0.10.54
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling openssl-sys v0.9.88
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling cpufeatures v0.2.8
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling data-encoding v2.4.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling url v2.4.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ipnet v2.7.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling tungstenite v0.19.0
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.19.0
[INFO] [stderr]    Compiling h2 v0.3.19
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.18
[INFO] [stderr]    Compiling discord-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/embed/mod.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{Utc, DateTime, TimeZone};
[INFO] [stdout]   |              ^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]    --> src/client/mod.rs:318:5
[INFO] [stdout]     |
[INFO] [stdout] 318 |     channel: &mut mpsc::Receiver<GatewayEvent>
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TimeZone`
[INFO] [stdout]  --> src/embed/mod.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{Utc, DateTime, TimeZone};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_data`
[INFO] [stdout]    --> src/client/mod.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |     let event_data = event.d.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_code`
[INFO] [stdout]    --> src/client/mod.rs:301:9
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let event_code = ReceiveEventIndexer[&event_type];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `on_heartbeat_ack` is never used
[INFO] [stdout]    --> src/client/mod.rs:288:4
[INFO] [stdout]     |
[INFO] [stdout] 288 | fn on_heartbeat_ack(event: GatewayEvent) -> Result<Option<Message>, &'static str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `example`
[INFO] [stdout]  --> src/main.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod example;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `example`, create file "src/example.rs" or "src/example/mod.rs"
[INFO] [stdout]   = note: if there is a `mod example` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/embed/mod.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{Utc, DateTime, TimeZone};
[INFO] [stdout]   |              ^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]    --> src/client/mod.rs:318:5
[INFO] [stdout]     |
[INFO] [stdout] 318 |     channel: &mut mpsc::Receiver<GatewayEvent>
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TimeZone`
[INFO] [stdout]  --> src/embed/mod.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{Utc, DateTime, TimeZone};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_data`
[INFO] [stdout]    --> src/client/mod.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |     let event_data = event.d.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_code`
[INFO] [stdout]    --> src/client/mod.rs:301:9
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let event_code = ReceiveEventIndexer[&event_type];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `discord-rs` (bin "discord-rs") due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "484da1b047b18314f13619b299c97e15e9048dccfbfaf8a3aae3b27cd2f68182", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "484da1b047b18314f13619b299c97e15e9048dccfbfaf8a3aae3b27cd2f68182", kill_on_drop: false }`
[INFO] [stdout] 484da1b047b18314f13619b299c97e15e9048dccfbfaf8a3aae3b27cd2f68182
