[INFO] fetching crate discrab 0.1.1... [INFO] testing discrab-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate discrab 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate discrab 0.1.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate discrab 0.1.1 [INFO] finished tweaking crates.io crate discrab 0.1.1 [INFO] tweaked toml for crates.io crate discrab 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate discrab 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.16.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded security-framework v2.4.2 [INFO] [stderr] Downloaded openssl-sys v0.9.70 [INFO] [stderr] Downloaded httpdate v1.0.1 [INFO] [stderr] Downloaded hyper v0.14.14 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded async-global-executor v2.0.2 [INFO] [stderr] Downloaded gloo-timers v0.2.1 [INFO] [stderr] Downloaded async-std v1.10.0 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.28 [INFO] [stderr] Downloaded h2 v0.3.7 [INFO] [stderr] Downloaded tokio-tungstenite v0.16.1 [INFO] [stderr] Downloaded http v0.2.5 [INFO] [stderr] Downloaded discrab_codegen v0.1.0 [INFO] [stderr] Downloaded pkg-config v0.3.22 [INFO] [stderr] Downloaded tokio-macros v1.5.1 [INFO] [stderr] Downloaded serde_json v1.0.69 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] [stderr] Downloaded security-framework-sys v2.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 293519a405704f087483258d55be15bd60916517e73b48be6c807302e37a7100 [INFO] running `Command { std: "docker" "start" "-a" "293519a405704f087483258d55be15bd60916517e73b48be6c807302e37a7100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "293519a405704f087483258d55be15bd60916517e73b48be6c807302e37a7100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293519a405704f087483258d55be15bd60916517e73b48be6c807302e37a7100", kill_on_drop: false }` [INFO] [stdout] 293519a405704f087483258d55be15bd60916517e73b48be6c807302e37a7100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f7f07d334cc69ad1b1e382ec31407cdcf3b6ff08f17be8b0eb477a4ceafffe4 [INFO] running `Command { std: "docker" "start" "-a" "6f7f07d334cc69ad1b1e382ec31407cdcf3b6ff08f17be8b0eb477a4ceafffe4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling discrab_codegen v0.1.0 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling discrab v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `requests_sent` is assigned to, but never used [INFO] [stdout] --> src/core/http/request_thread.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut requests_sent: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_requests_sent` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PNG` [INFO] [stdout] --> src/discord/image_formats.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | PNG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JPG` [INFO] [stdout] --> src/discord/image_formats.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | JPG, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WEBP` [INFO] [stdout] --> src/discord/image_formats.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | WEBP, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLEAN_EVERY_N_REQUESTS` [INFO] [stdout] --> src/core/http/request_thread.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const CLEAN_EVERY_N_REQUESTS: u64 = 10_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.93s [INFO] running `Command { std: "docker" "inspect" "6f7f07d334cc69ad1b1e382ec31407cdcf3b6ff08f17be8b0eb477a4ceafffe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7f07d334cc69ad1b1e382ec31407cdcf3b6ff08f17be8b0eb477a4ceafffe4", kill_on_drop: false }` [INFO] [stdout] 6f7f07d334cc69ad1b1e382ec31407cdcf3b6ff08f17be8b0eb477a4ceafffe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25656ce40ada5ef861fffd53b97d668ffdcd08f0149e5b7965d96b1ed66e19e6 [INFO] running `Command { std: "docker" "start" "-a" "25656ce40ada5ef861fffd53b97d668ffdcd08f0149e5b7965d96b1ed66e19e6", kill_on_drop: false }` [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stdout] warning: variable `requests_sent` is assigned to, but never used [INFO] [stdout] --> src/core/http/request_thread.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut requests_sent: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_requests_sent` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PNG` [INFO] [stdout] --> src/discord/image_formats.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | PNG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JPG` [INFO] [stdout] --> src/discord/image_formats.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | JPG, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WEBP` [INFO] [stdout] --> src/discord/image_formats.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | WEBP, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLEAN_EVERY_N_REQUESTS` [INFO] [stdout] --> src/core/http/request_thread.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const CLEAN_EVERY_N_REQUESTS: u64 = 10_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling discrab v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Snowflake` [INFO] [stdout] --> examples/basic.rs:2:64 [INFO] [stdout] | [INFO] [stdout] 2 | api::{channel::message::MessageBuilder, embed::EmbedField, Snowflake}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> examples/basic.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | a: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `requests_sent` is assigned to, but never used [INFO] [stdout] --> src/core/http/request_thread.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut requests_sent: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_requests_sent` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PNG` [INFO] [stdout] --> src/discord/image_formats.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | PNG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JPG` [INFO] [stdout] --> src/discord/image_formats.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | JPG, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WEBP` [INFO] [stdout] --> src/discord/image_formats.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | WEBP, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLEAN_EVERY_N_REQUESTS` [INFO] [stdout] --> src/core/http/request_thread.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const CLEAN_EVERY_N_REQUESTS: u64 = 10_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.11s [INFO] running `Command { std: "docker" "inspect" "25656ce40ada5ef861fffd53b97d668ffdcd08f0149e5b7965d96b1ed66e19e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25656ce40ada5ef861fffd53b97d668ffdcd08f0149e5b7965d96b1ed66e19e6", kill_on_drop: false }` [INFO] [stdout] 25656ce40ada5ef861fffd53b97d668ffdcd08f0149e5b7965d96b1ed66e19e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c565e89f76e012ec53a1bc53b9c591abf862988f314792541938640082b9e20 [INFO] running `Command { std: "docker" "start" "-a" "3c565e89f76e012ec53a1bc53b9c591abf862988f314792541938640082b9e20", kill_on_drop: false }` [INFO] [stderr] warning: variable `requests_sent` is assigned to, but never used [INFO] [stderr] --> src/core/http/request_thread.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | let mut requests_sent: u64 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: consider using `_requests_sent` instead [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PNG` [INFO] [stderr] --> src/discord/image_formats.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | PNG, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JPG` [INFO] [stderr] --> src/discord/image_formats.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | JPG, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WEBP` [INFO] [stderr] --> src/discord/image_formats.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | WEBP, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CLEAN_EVERY_N_REQUESTS` [INFO] [stderr] --> src/core/http/request_thread.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | const CLEAN_EVERY_N_REQUESTS: u64 = 10_000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `discrab` (lib) generated 5 warnings [INFO] [stderr] warning: `discrab` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: unused import: `Snowflake` [INFO] [stderr] --> examples/basic.rs:2:64 [INFO] [stderr] | [INFO] [stderr] 2 | api::{channel::message::MessageBuilder, embed::EmbedField, Snowflake}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `a` [INFO] [stderr] --> examples/basic.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | a: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `discrab` (example "basic") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/discrab-bea0d376c03ebd74) [INFO] [stdout] [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] [stderr] Doc-tests discrab [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/core/abstraction/event_dispatcher.rs - core::abstraction::event_dispatcher::Events::GuildCreate (line 132) ... FAILED [INFO] [stdout] test src/core/abstraction/abstraction_traits.rs - core::abstraction::abstraction_traits::Registerable (line 23) - compile ... FAILED [INFO] [stdout] test src/core/abstraction/bot.rs - core::abstraction::bot::Bot (line 20) - compile ... FAILED [INFO] [stdout] test src/core/abstraction/abstraction_traits.rs - core::abstraction::abstraction_traits::Registerable (line 43) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/core/abstraction/event_dispatcher.rs - core::abstraction::event_dispatcher::Events::GuildCreate (line 132) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `event` [INFO] [stdout] --> src/core/abstraction/event_dispatcher.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 3 | * This event can be sent in three different scenarios: [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/abstraction/abstraction_traits.rs - core::abstraction::abstraction_traits::Registerable (line 23) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/core/abstraction/abstraction_traits.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 5 | impl EventHandlerImpl for MyStruct { ... } [INFO] [stdout] | - ^^^ - item list ends here [INFO] [stdout] | | | [INFO] [stdout] | | non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EventHandlerImpl` in this scope [INFO] [stdout] --> src/core/abstraction/abstraction_traits.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl EventHandlerImpl for MyStruct { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InteractionCreate` in this scope [INFO] [stdout] --> src/core/abstraction/abstraction_traits.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 5 | impl EventHandlerImpl for MyStruct { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discrab::events::InteractionCreate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/abstraction/bot.rs - core::abstraction::bot::Bot (line 20) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/core/abstraction/bot.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 6 | bot.register_all(vec![...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 | bot.register_all(vec![..]); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 | bot.register_all(vec![..=]); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/core/abstraction/bot.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 6 | bot.register_all(vec![...]); [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bot` [INFO] [stdout] --> src/core/abstraction/bot.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 4 | let bot = Bot::new(token); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 | let bot = Box::new(token); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discrab::Bot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/core/abstraction/bot.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 4 | let bot = Bot::new(token); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/core/abstraction/bot.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_abstraction_bot_rs_20_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | bot.listen().await; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/abstraction/abstraction_traits.rs - core::abstraction::abstraction_traits::Registerable (line 43) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/core/abstraction/abstraction_traits.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 5 | impl EventHandlerImpl for MyStruct { ... } [INFO] [stdout] | - ^^^ - item list ends here [INFO] [stdout] | | | [INFO] [stdout] | | non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EventHandlerImpl` in this scope [INFO] [stdout] --> src/core/abstraction/abstraction_traits.rs:45:6 [INFO] [stdout] | [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] 5 | impl EventHandlerImpl for MyStruct { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InteractionCreate` in this scope [INFO] [stdout] --> src/core/abstraction/abstraction_traits.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 5 | impl EventHandlerImpl for MyStruct { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discrab::events::InteractionCreate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/core/abstraction/abstraction_traits.rs - core::abstraction::abstraction_traits::Registerable (line 23) [INFO] [stdout] src/core/abstraction/abstraction_traits.rs - core::abstraction::abstraction_traits::Registerable (line 43) [INFO] [stdout] src/core/abstraction/bot.rs - core::abstraction::bot::Bot (line 20) [INFO] [stdout] src/core/abstraction/event_dispatcher.rs - core::abstraction::event_dispatcher::Events::GuildCreate (line 132) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3c565e89f76e012ec53a1bc53b9c591abf862988f314792541938640082b9e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c565e89f76e012ec53a1bc53b9c591abf862988f314792541938640082b9e20", kill_on_drop: false }` [INFO] [stdout] 3c565e89f76e012ec53a1bc53b9c591abf862988f314792541938640082b9e20