[INFO] cloning repository https://github.com/JohnLea10197/reactbot-discord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JohnLea10197/reactbot-discord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnLea10197%2Freactbot-discord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnLea10197%2Freactbot-discord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d8ad905a38fa7529577c99345503acc3811d11d [INFO] testing JohnLea10197/reactbot-discord against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnLea10197%2Freactbot-discord" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JohnLea10197/reactbot-discord on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JohnLea10197/reactbot-discord [INFO] finished tweaking git repo https://github.com/JohnLea10197/reactbot-discord [INFO] tweaked toml for git repo https://github.com/JohnLea10197/reactbot-discord written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/JohnLea10197/reactbot-discord already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f245a8c4af22af5687255832586f761c2d84e81bc204f283a73a5f4654da5e [INFO] running `Command { std: "docker" "start" "-a" "14f245a8c4af22af5687255832586f761c2d84e81bc204f283a73a5f4654da5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f245a8c4af22af5687255832586f761c2d84e81bc204f283a73a5f4654da5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f245a8c4af22af5687255832586f761c2d84e81bc204f283a73a5f4654da5e", kill_on_drop: false }` [INFO] [stdout] 14f245a8c4af22af5687255832586f761c2d84e81bc204f283a73a5f4654da5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a93ddb01d27b5ede880a2d2f1fd8170463327a7b0c3ea0ae622c2562d3d661c [INFO] running `Command { std: "docker" "start" "-a" "1a93ddb01d27b5ede880a2d2f1fd8170463327a7b0c3ea0ae622c2562d3d661c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling serenity v0.10.8 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling postgres-protocol v0.5.3 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling postgres-types v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-postgres v0.5.5 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-pg-mapper v0.1.8 [INFO] [stderr] Compiling tokio-pg-mapper-derive v0.1.5 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling react_bot_discord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation` [INFO] [stdout] --> src/message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use unicode_segmentation::UnicodeSegmentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/message.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | if (embed.attachments.len() > 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | if (react.attachments.len() > 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | if (body.chars().count() < 2000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | if (body.chars().count() < 2000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `titleRequestSlice` should have a snake case name [INFO] [stdout] --> src/message.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let titleRequestSlice = &react.content[11..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `title_request_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `URLRequestSlice` should have a snake case name [INFO] [stdout] --> src/message.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let URLRequestSlice = &msg.content[14..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `urlrequest_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "1a93ddb01d27b5ede880a2d2f1fd8170463327a7b0c3ea0ae622c2562d3d661c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a93ddb01d27b5ede880a2d2f1fd8170463327a7b0c3ea0ae622c2562d3d661c", kill_on_drop: false }` [INFO] [stdout] 1a93ddb01d27b5ede880a2d2f1fd8170463327a7b0c3ea0ae622c2562d3d661c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3ac5c1c14f3b180781685bcf7b3f4f0fb11c21d224946c9d0a002d1fe17e347 [INFO] running `Command { std: "docker" "start" "-a" "b3ac5c1c14f3b180781685bcf7b3f4f0fb11c21d224946c9d0a002d1fe17e347", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling react_bot_discord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation` [INFO] [stdout] --> src/message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use unicode_segmentation::UnicodeSegmentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/message.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | if (embed.attachments.len() > 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | if (react.attachments.len() > 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | if (body.chars().count() < 2000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | if (body.chars().count() < 2000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `titleRequestSlice` should have a snake case name [INFO] [stdout] --> src/message.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let titleRequestSlice = &react.content[11..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `title_request_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `URLRequestSlice` should have a snake case name [INFO] [stdout] --> src/message.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let URLRequestSlice = &msg.content[14..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `urlrequest_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.55s [INFO] running `Command { std: "docker" "inspect" "b3ac5c1c14f3b180781685bcf7b3f4f0fb11c21d224946c9d0a002d1fe17e347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ac5c1c14f3b180781685bcf7b3f4f0fb11c21d224946c9d0a002d1fe17e347", kill_on_drop: false }` [INFO] [stdout] b3ac5c1c14f3b180781685bcf7b3f4f0fb11c21d224946c9d0a002d1fe17e347 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2c042cebe0da715091ca46763d74866785cb93721a9d97ad54670041b02f9b1 [INFO] running `Command { std: "docker" "start" "-a" "a2c042cebe0da715091ca46763d74866785cb93721a9d97ad54670041b02f9b1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `unicode_segmentation::UnicodeSegmentation` [INFO] [stderr] --> src/message.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use unicode_segmentation::UnicodeSegmentation; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result` [INFO] [stderr] --> src/message.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | use serde_json::{Result, Value}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/message.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | if (embed.attachments.len() > 0) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/message.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | if (react.attachments.len() > 0) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/message.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | if (body.chars().count() < 2000) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/message.rs:120:8 [INFO] [stderr] | [INFO] [stderr] 120 | if (body.chars().count() < 2000) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: variable `titleRequestSlice` should have a snake case name [INFO] [stderr] --> src/message.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let titleRequestSlice = &react.content[11..]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `title_request_slice` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `URLRequestSlice` should have a snake case name [INFO] [stderr] --> src/message.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | let URLRequestSlice = &msg.content[14..]; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `urlrequest_slice` [INFO] [stderr] [INFO] [stderr] warning: `react_bot_discord` (bin "react_bot_discord" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/react_bot_discord-7409099dc1120123) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2c042cebe0da715091ca46763d74866785cb93721a9d97ad54670041b02f9b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c042cebe0da715091ca46763d74866785cb93721a9d97ad54670041b02f9b1", kill_on_drop: false }` [INFO] [stdout] a2c042cebe0da715091ca46763d74866785cb93721a9d97ad54670041b02f9b1