[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 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frtsmarty%2Fdiscord-bots" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rtsmarty/discord-bots on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", 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]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-impl v1.0.34
[INFO] [stderr]   Downloaded openssl-sys v0.9.75
[INFO] [stderr]   Downloaded thiserror v1.0.34
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.82
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.82
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.82
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.82
[INFO] [stderr]   Downloaded js-sys v0.3.59
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.82
[INFO] [stderr]   Downloaded openssl v0.10.41
[INFO] [stderr]   Downloaded clap v3.2.20
[INFO] [stderr]   Downloaded tokio v1.21.0
[INFO] [stderr]   Downloaded web-sys v0.3.59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954
[INFO] running `Command { std: "docker" "start" "9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]     Checking once_cell v1.14.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]     Checking futures-sink v0.3.24
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]    Compiling tokio v1.21.0
[INFO] [stderr]     Checking futures-io v0.3.24
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking os_str_bytes v6.3.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-macro v0.3.24
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.34
[INFO] [stderr]     Checking serde_json v1.0.85
[INFO] [stderr]     Checking clap v3.2.20
[INFO] [stderr]     Checking thiserror v1.0.34
[INFO] [stderr]     Checking futures-executor v0.3.24
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking futures v0.3.24
[INFO] [stderr]     Checking discord-bots v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `maybe_uninit_slice` has been stable since 1.93.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(hash_set_entry, maybe_uninit_slice, try_blocks)]
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `maybe_uninit_slice` has been stable since 1.93.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(hash_set_entry, maybe_uninit_slice, try_blocks)]
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/discord.rs:470:34
[INFO] [stdout]     |
[INFO] [stdout] 470 |                 .body(Body::from(serde_json::to_string(&model::CreateMessageRequest { content: message })?))?
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Request<Body>, Error>`, found `Result<_, Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `serde_json::Error` and `error::Error` have similar names, but are actually distinct types
[INFO] [stdout] note: `serde_json::Error` is defined in crate `serde_json`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.85/src/error.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub struct Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `error::Error` is defined in the current crate
[INFO] [stdout]    --> src/error.rs:2:1
[INFO] [stdout]     |
[INFO] [stdout]   2 | pub enum Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<_, serde_json::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 470 |                 .body(Body::from(serde_json::to_string(&model::CreateMessageRequest { content: message })?.expect("REASON")))?
[INFO] [stdout]     |                                                                                                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/discord.rs:470:34
[INFO] [stdout]     |
[INFO] [stdout] 470 |                 .body(Body::from(serde_json::to_string(&model::CreateMessageRequest { content: message })?))?
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Request<Body>, Error>`, found `Result<_, Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `serde_json::Error` and `error::Error` have similar names, but are actually distinct types
[INFO] [stdout] note: `serde_json::Error` is defined in crate `serde_json`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.85/src/error.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub struct Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `error::Error` is defined in the current crate
[INFO] [stdout]    --> src/error.rs:2:1
[INFO] [stdout]     |
[INFO] [stdout]   2 | pub enum Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<_, serde_json::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 470 |                 .body(Body::from(serde_json::to_string(&model::CreateMessageRequest { content: message })?.expect("REASON")))?
[INFO] [stdout]     |                                                                                                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `discord-bots` (lib) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `discord-bots` (lib test) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954", kill_on_drop: false }`
[INFO] [stdout] 9bcb1c97b013c0c03737f6a73a4addafbd9fbc485bf28cea3f31fd8c2eeb9954
