[INFO] cloning repository https://github.com/Milhound/Rust-Bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Milhound/Rust-Bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilhound%2FRust-Bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilhound%2FRust-Bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b84dc2d8bcfd9ad25a5d536f3181056f534b82b [INFO] checking Milhound/Rust-Bot/0b84dc2d8bcfd9ad25a5d536f3181056f534b82b against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilhound%2FRust-Bot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Milhound/Rust-Bot on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Milhound/Rust-Bot [INFO] finished tweaking git repo https://github.com/Milhound/Rust-Bot [INFO] tweaked toml for git repo https://github.com/Milhound/Rust-Bot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/SpaceManiac/discord-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/SpaceManiac/rust-websocket` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 148 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding serde_json v0.7.4 (available: v1.0.133) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding xi-unicode v0.0.1 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded opus v0.2.1 [INFO] [stderr] Downloaded base64-rs v0.1.1 [INFO] [stderr] Downloaded hyper-native-tls v0.3.0 [INFO] [stderr] Downloaded serde_json v0.7.4 [INFO] [stderr] Downloaded xi-unicode v0.0.1 [INFO] [stderr] Downloaded hyper v1.5.2 [INFO] [stderr] Downloaded opus-sys v0.2.1 [INFO] [stderr] Downloaded sodiumoxide v0.2.7 [INFO] [stderr] Downloaded libsodium-sys v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84048897b8adff58fcc27279e2ca6b47358e1528d121700e19029cf56242d70d [INFO] running `Command { std: "docker" "start" "-a" "84048897b8adff58fcc27279e2ca6b47358e1528d121700e19029cf56242d70d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84048897b8adff58fcc27279e2ca6b47358e1528d121700e19029cf56242d70d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84048897b8adff58fcc27279e2ca6b47358e1528d121700e19029cf56242d70d", kill_on_drop: false }` [INFO] [stdout] 84048897b8adff58fcc27279e2ca6b47358e1528d121700e19029cf56242d70d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b67001de9970e6c325e58cbab54fd4fa12e3e9f4e177e7a74fcc4ac4c267987 [INFO] running `Command { std: "docker" "start" "-a" "1b67001de9970e6c325e58cbab54fd4fa12e3e9f4e177e7a74fcc4ac4c267987", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling opus-sys v0.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking opus v0.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Checking base64-rs v0.1.1 [INFO] [stderr] Checking serde v0.7.15 [INFO] [stderr] Checking xi-unicode v0.0.1 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking serde_json v0.7.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking websocket v0.18.0 (https://github.com/SpaceManiac/rust-websocket?branch=hyper-bump#b5965662) [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stderr] Checking discord v0.9.0 (https://github.com/SpaceManiac/discord-rs.git#500c344c) [INFO] [stderr] Checking rust-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper` [INFO] [stdout] --> src/main.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let client = hyper::Client::new(); [INFO] [stdout] | ^^^^^^ could not find `Client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper` [INFO] [stdout] --> src/main.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | let client = hyper::Client::new(); [INFO] [stdout] | ^^^^^^ could not find `Client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper` [INFO] [stdout] --> src/main.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let client = hyper::Client::new(); [INFO] [stdout] | ^^^^^^ could not find `Client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | try!(response.read_to_string(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let mut response = try!(client.get(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | let decode: Value = try!(serde_json::from_str(&buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | try!(response.read_to_string(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | let mut response = try!(client.get(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let decode: Value = try!(serde_json::from_str(&buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper` [INFO] [stdout] --> src/main.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | let client = hyper::Client::new(); [INFO] [stdout] | ^^^^^^ could not find `Client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | fn get_cat() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 | fn get_cat() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | fn get_insult() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | fn get_insult() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | try!(response.read_to_string(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let mut response = try!(client.get(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | let decode: Value = try!(serde_json::from_str(&buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | try!(response.read_to_string(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | let mut response = try!(client.get(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let decode: Value = try!(serde_json::from_str(&buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | fn get_cat() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 | fn get_cat() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | fn get_insult() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | fn get_insult() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | let _ = discord.send_message(&self.channel_id, &s, "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 127 - let _ = discord.send_message(&self.channel_id, &s, "", false); [INFO] [stdout] 127 + let _ = discord.send_message(self.channel_id, &s, "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | let _ = discord.send_message(&self.channel_id, &s, "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 127 - let _ = discord.send_message(&self.channel_id, &s, "", false); [INFO] [stdout] 127 + let _ = discord.send_message(self.channel_id, &s, "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | let _ = discord.send_file(&self.channel_id, "Badda BOOM!!!", file, "boom1.png"); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | pub fn send_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 133 - let _ = discord.send_file(&self.channel_id, "Badda BOOM!!!", file, "boom1.png"); [INFO] [stdout] 133 + let _ = discord.send_file(self.channel_id, "Badda BOOM!!!", file, "boom1.png"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | let _ = discord.send_file(&self.channel_id, "Badda BOOM!!!", file, "boom1.png"); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | pub fn send_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 133 - let _ = discord.send_file(&self.channel_id, "Badda BOOM!!!", file, "boom1.png"); [INFO] [stdout] 133 + let _ = discord.send_file(self.channel_id, "Badda BOOM!!!", file, "boom1.png"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | let _ = discord.send_message(&self.channel_id, &pong , "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 137 - let _ = discord.send_message(&self.channel_id, &pong , "", false); [INFO] [stdout] 137 + let _ = discord.send_message(self.channel_id, &pong , "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | let _ = discord.send_message(&self.channel_id, &pong , "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 137 - let _ = discord.send_message(&self.channel_id, &pong , "", false); [INFO] [stdout] 137 + let _ = discord.send_message(self.channel_id, &pong , "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | let _ = discord.send_message(&self.channel_id, INFO_TEXT, "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 140 - let _ = discord.send_message(&self.channel_id, INFO_TEXT, "", false); [INFO] [stdout] 140 + let _ = discord.send_message(self.channel_id, INFO_TEXT, "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | let _ = discord.send_message(&self.channel_id, INFO_TEXT, "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 140 - let _ = discord.send_message(&self.channel_id, INFO_TEXT, "", false); [INFO] [stdout] 140 + let _ = discord.send_message(self.channel_id, INFO_TEXT, "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:143:46 [INFO] [stdout] | [INFO] [stdout] 143 | let _ = discord.send_message(&self.channel_id, HELP_TEXT, "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 143 - let _ = discord.send_message(&self.channel_id, HELP_TEXT, "", false); [INFO] [stdout] 143 + let _ = discord.send_message(self.channel_id, HELP_TEXT, "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:143:46 [INFO] [stdout] | [INFO] [stdout] 143 | let _ = discord.send_message(&self.channel_id, HELP_TEXT, "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 143 - let _ = discord.send_message(&self.channel_id, HELP_TEXT, "", false); [INFO] [stdout] 143 + let _ = discord.send_message(self.channel_id, HELP_TEXT, "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | let _ = discord.send_message(&self.channel_id, TOAST_TEXT, "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 146 - let _ = discord.send_message(&self.channel_id, TOAST_TEXT, "", false); [INFO] [stdout] 146 + let _ = discord.send_message(self.channel_id, TOAST_TEXT, "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | let _ = discord.send_message(&self.channel_id, &text[..], "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 150 - let _ = discord.send_message(&self.channel_id, &text[..], "", false); [INFO] [stdout] 150 + let _ = discord.send_message(self.channel_id, &text[..], "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | let _ = discord.send_message(&self.channel_id, TOAST_TEXT, "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 146 - let _ = discord.send_message(&self.channel_id, TOAST_TEXT, "", false); [INFO] [stdout] 146 + let _ = discord.send_message(self.channel_id, TOAST_TEXT, "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | warn(discord.send_message(&self.channel_id, &output, "", false)); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 169 - warn(discord.send_message(&self.channel_id, &output, "", false)); [INFO] [stdout] 169 + warn(discord.send_message(self.channel_id, &output, "", false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:181:54 [INFO] [stdout] | [INFO] [stdout] 181 | let _ = discord.send_message(&self.channel_id, &format!("<@{:?}>, {}", mention.id.0, insult) , "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 181 - let _ = discord.send_message(&self.channel_id, &format!("<@{:?}>, {}", mention.id.0, insult) , "", false); [INFO] [stdout] 181 + let _ = discord.send_message(self.channel_id, &format!("<@{:?}>, {}", mention.id.0, insult) , "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | let _ = discord.send_message(&self.channel_id, &text[..], "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 150 - let _ = discord.send_message(&self.channel_id, &text[..], "", false); [INFO] [stdout] 150 + let _ = discord.send_message(self.channel_id, &text[..], "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | warn(discord.send_message(&self.channel_id, &output, "", false)); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 169 - warn(discord.send_message(&self.channel_id, &output, "", false)); [INFO] [stdout] 169 + warn(discord.send_message(self.channel_id, &output, "", false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/main.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | let _ = discord.delete_message(&self.channel_id, &self.message_id); [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------------- ---------------- expected `MessageId`, found `&MessageId` [INFO] [stdout] | | [INFO] [stdout] | expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn delete_message(&self, channel: ChannelId, message: MessageId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 194 - let _ = discord.delete_message(&self.channel_id, &self.message_id); [INFO] [stdout] 194 + let _ = discord.delete_message(self.channel_id, &self.message_id); [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 194 - let _ = discord.delete_message(&self.channel_id, &self.message_id); [INFO] [stdout] 194 + let _ = discord.delete_message(&self.channel_id, self.message_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:181:54 [INFO] [stdout] | [INFO] [stdout] 181 | let _ = discord.send_message(&self.channel_id, &format!("<@{:?}>, {}", mention.id.0, insult) , "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 181 - let _ = discord.send_message(&self.channel_id, &format!("<@{:?}>, {}", mention.id.0, insult) , "", false); [INFO] [stdout] 181 + let _ = discord.send_message(self.channel_id, &format!("<@{:?}>, {}", mention.id.0, insult) , "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/main.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | let _ = discord.delete_message(&self.channel_id, &self.message_id); [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------------- ---------------- expected `MessageId`, found `&MessageId` [INFO] [stdout] | | [INFO] [stdout] | expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn delete_message(&self, channel: ChannelId, message: MessageId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 194 - let _ = discord.delete_message(&self.channel_id, &self.message_id); [INFO] [stdout] 194 + let _ = discord.delete_message(self.channel_id, &self.message_id); [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 194 - let _ = discord.delete_message(&self.channel_id, &self.message_id); [INFO] [stdout] 194 + let _ = discord.delete_message(&self.channel_id, self.message_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:385:58 [INFO] [stdout] | [INFO] [stdout] 385 | ... let _ = discord.send_message(&message.channel_id, "You are not authorized to use this command.", "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 385 - let _ = discord.send_message(&message.channel_id, "You are not authorized to use this command.", "", false); [INFO] [stdout] 385 + let _ = discord.send_message(message.channel_id, "You are not authorized to use this command.", "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:385:58 [INFO] [stdout] | [INFO] [stdout] 385 | ... let _ = discord.send_message(&message.channel_id, "You are not authorized to use this command.", "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 385 - let _ = discord.send_message(&message.channel_id, "You are not authorized to use this command.", "", false); [INFO] [stdout] 385 + let _ = discord.send_message(message.channel_id, "You are not authorized to use this command.", "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:391:62 [INFO] [stdout] | [INFO] [stdout] 391 | ... let _ = discord.send_message(&message.channel_id, "Invalid argument", "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 391 - let _ = discord.send_message(&message.channel_id, "Invalid argument", "", false); [INFO] [stdout] 391 + let _ = discord.send_message(message.channel_id, "Invalid argument", "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:402:69 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(srv) = state.servers().iter().find(|srv| srv.id == server_id) { [INFO] [stdout] | ------ ^^^^^^^^^ expected `ServerId`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `ServerId` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ServerId` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(srv) = state.servers().iter().find(|srv| srv.id == server_id.expect("REASON")) { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `discord::Discord::logout`: Accomplishes nothing and may fail for no reason. [INFO] [stdout] --> src/main.rs:413:10 [INFO] [stdout] | [INFO] [stdout] 413 | discord.logout().expect("logout failed"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:391:62 [INFO] [stdout] | [INFO] [stdout] 391 | ... let _ = discord.send_message(&message.channel_id, "Invalid argument", "", false); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ expected `ChannelId`, found `&ChannelId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/500c344/src/lib.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 391 - let _ = discord.send_message(&message.channel_id, "Invalid argument", "", false); [INFO] [stdout] 391 + let _ = discord.send_message(message.channel_id, "Invalid argument", "", false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:402:69 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(srv) = state.servers().iter().find(|srv| srv.id == server_id) { [INFO] [stdout] | ------ ^^^^^^^^^ expected `ServerId`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `ServerId` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ServerId` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(srv) = state.servers().iter().find(|srv| srv.id == server_id.expect("REASON")) { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `discord::Discord::logout`: Accomplishes nothing and may fail for no reason. [INFO] [stdout] --> src/main.rs:413:10 [INFO] [stdout] | [INFO] [stdout] 413 | discord.logout().expect("logout failed"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-bot` (bin "rust-bot" test) due to 15 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-bot` (bin "rust-bot") due to 15 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b67001de9970e6c325e58cbab54fd4fa12e3e9f4e177e7a74fcc4ac4c267987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b67001de9970e6c325e58cbab54fd4fa12e3e9f4e177e7a74fcc4ac4c267987", kill_on_drop: false }` [INFO] [stdout] 1b67001de9970e6c325e58cbab54fd4fa12e3e9f4e177e7a74fcc4ac4c267987