[INFO] cloning repository https://github.com/IceDynamix/uc_helper_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IceDynamix/uc_helper_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceDynamix%2Fuc_helper_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceDynamix%2Fuc_helper_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fa7b844f0e3f2779b7b51b197e4b9f3335e4b6e [INFO] testing IceDynamix/uc_helper_rust against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceDynamix%2Fuc_helper_rust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IceDynamix/uc_helper_rust on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IceDynamix/uc_helper_rust [INFO] finished tweaking git repo https://github.com/IceDynamix/uc_helper_rust [INFO] tweaked toml for git repo https://github.com/IceDynamix/uc_helper_rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/IceDynamix/uc_helper_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c8d865b9e182dcf3b315283862e8e7d32810043a26424da7e7a66eda0851572 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0c8d865b9e182dcf3b315283862e8e7d32810043a26424da7e7a66eda0851572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c8d865b9e182dcf3b315283862e8e7d32810043a26424da7e7a66eda0851572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8d865b9e182dcf3b315283862e8e7d32810043a26424da7e7a66eda0851572", kill_on_drop: false }` [INFO] [stdout] 0c8d865b9e182dcf3b315283862e8e7d32810043a26424da7e7a66eda0851572 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2332bf915869ab1dd3626b9781a3e29a91f4561b86b7971bacdc01845b0bf5f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2332bf915869ab1dd3626b9781a3e29a91f4561b86b7971bacdc01845b0bf5f7", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling serenity v0.10.4 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling typemap_rev v0.1.4 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling sharded-slab v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling polling v1.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling os_info v2.0.8 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling futures-intrusive v0.3.1 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling async-io v1.1.1 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.21.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling command_attr v0.3.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.3.0 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling h2 v0.3.1 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_with v1.6.0 [INFO] [stderr] Compiling bson v1.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling mongodb v1.1.1 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.1 [INFO] [stderr] Compiling uc_helper_rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 56s [INFO] running `Command { std: "docker" "inspect" "2332bf915869ab1dd3626b9781a3e29a91f4561b86b7971bacdc01845b0bf5f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2332bf915869ab1dd3626b9781a3e29a91f4561b86b7971bacdc01845b0bf5f7", kill_on_drop: false }` [INFO] [stdout] 2332bf915869ab1dd3626b9781a3e29a91f4561b86b7971bacdc01845b0bf5f7 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce629013f7e8d87ea1e9f46fe17940df577c04ba75613de99c9e19f7a06ea724 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce629013f7e8d87ea1e9f46fe17940df577c04ba75613de99c9e19f7a06ea724", kill_on_drop: false }` [INFO] [stderr] Compiling uc_helper_rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.18s [INFO] running `Command { std: "docker" "inspect" "ce629013f7e8d87ea1e9f46fe17940df577c04ba75613de99c9e19f7a06ea724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce629013f7e8d87ea1e9f46fe17940df577c04ba75613de99c9e19f7a06ea724", kill_on_drop: false }` [INFO] [stdout] ce629013f7e8d87ea1e9f46fe17940df577c04ba75613de99c9e19f7a06ea724 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b6ac55fc8115d7501dc0d26be88759856aeba83b9713df3fb3a737c6275c6f1d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b6ac55fc8115d7501dc0d26be88759856aeba83b9713df3fb3a737c6275c6f1d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/uc_helper_rust-f0a092b1eeb18e7c) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/main-5322f0a7b1d7a3a6) [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] [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 uc_helper_rust [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/discord.rs - discord (line 7) ... FAILED [INFO] [stdout] test src/database.rs - database (line 8) ... FAILED [INFO] [stdout] test src/database/tournaments.rs - database::tournaments (line 7) ... FAILED [INFO] [stdout] test src/database/players.rs - database::players (line 8) ... FAILED [INFO] [stdout] test src/tetrio.rs - tetrio (line 10) ... FAILED [INFO] [stdout] test src/tetrio/leaderboard.rs - tetrio::leaderboard::request (line 58) ... FAILED [INFO] [stdout] test src/tetrio/news.rs - tetrio::news::request (line 34) ... FAILED [INFO] [stdout] test src/tetrio/user.rs - tetrio::user::request (line 26) ... FAILED [INFO] [stdout] test src/tetrio.rs - tetrio::Rank (line 133) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/discord.rs - discord (line 7) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/discord.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_discord_rs_7_0() { [INFO] [stdout] | -------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let mut bot = uc::discord::new_client(db).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/discord.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_discord_rs_7_0() { [INFO] [stdout] | -------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | if let Err(why) = bot.start().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database.rs - database (line 8) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_rs_8_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | let db = uc_helper_rust::database::connect()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | let player = db.players.get_player_by_tetrio("icedynamix")?; [INFO] [stdout] 6 | | let tournament = db.tournaments.get_tournament("UC7")?; [INFO] [stdout] 7 | | } _doctest_main_src_database_rs_8_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_rs_8_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | let db = uc_helper_rust::database::connect()?; [INFO] [stdout] 5 | | let player = db.players.get_player_by_tetrio("icedynamix")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | let tournament = db.tournaments.get_tournament("UC7")?; [INFO] [stdout] 7 | | } _doctest_main_src_database_rs_8_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database.rs:11:54 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_rs_8_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | let db = uc_helper_rust::database::connect()?; [INFO] [stdout] 5 | | let player = db.players.get_player_by_tetrio("icedynamix")?; [INFO] [stdout] 6 | | let tournament = db.tournaments.get_tournament("UC7")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | } _doctest_main_src_database_rs_8_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database/tournaments.rs - database::tournaments (line 7) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database/tournaments.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_tournaments_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use uc_helper_rust::database::tournaments; [INFO] [stdout] 5 | | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] 6 | | use uc_helper_rust::tetrio::Rank; [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | let db = uc_helper_rust::database::connect()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 18 | | db.tournaments.set_active(Some(&tournament.shorthand))?; // Using None would set all tournaments to inactive [INFO] [stdout] 19 | | } _doctest_main_src_database_tournaments_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database/tournaments.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_tournaments_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use uc_helper_rust::database::tournaments; [INFO] [stdout] 5 | | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] 6 | | use uc_helper_rust::tetrio::Rank; [INFO] [stdout] ... | [INFO] [stdout] 11 | | db.players.update_from_leaderboard()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 18 | | db.tournaments.set_active(Some(&tournament.shorthand))?; // Using None would set all tournaments to inactive [INFO] [stdout] 19 | | } _doctest_main_src_database_tournaments_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database/tournaments.rs:19:92 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_tournaments_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use uc_helper_rust::database::tournaments; [INFO] [stdout] 5 | | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] 6 | | use uc_helper_rust::tetrio::Rank; [INFO] [stdout] ... | [INFO] [stdout] 15 | | let tournament = db.tournaments.create_tournament("Test Tournament 1", "TT1", restrictions)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 18 | | db.tournaments.set_active(Some(&tournament.shorthand))?; // Using None would set all tournaments to inactive [INFO] [stdout] 19 | | } _doctest_main_src_database_tournaments_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database/tournaments.rs:22:55 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_tournaments_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use uc_helper_rust::database::tournaments; [INFO] [stdout] 5 | | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] 6 | | use uc_helper_rust::tetrio::Rank; [INFO] [stdout] ... | [INFO] [stdout] 18 | | db.tournaments.set_active(Some(&tournament.shorthand))?; // Using None would set all tournaments to inactive [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 19 | | } _doctest_main_src_database_tournaments_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database/players.rs - database::players (line 8) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database/players.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_players_rs_8_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | let db = uc_helper_rust::database::connect()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | let player = db.players.get_player_by_tetrio("icedynamix")?; [INFO] [stdout] 6 | | db.players.update_from_leaderboard()?; [INFO] [stdout] 7 | | } _doctest_main_src_database_players_rs_8_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database/players.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_players_rs_8_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | let db = uc_helper_rust::database::connect()?; [INFO] [stdout] 5 | | let player = db.players.get_player_by_tetrio("icedynamix")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | db.players.update_from_leaderboard()?; [INFO] [stdout] 7 | | } _doctest_main_src_database_players_rs_8_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/database/players.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_database_players_rs_8_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | let db = uc_helper_rust::database::connect()?; [INFO] [stdout] 5 | | let player = db.players.get_player_by_tetrio("icedynamix")?; [INFO] [stdout] 6 | | db.players.update_from_leaderboard()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | } _doctest_main_src_database_players_rs_8_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tetrio.rs - tetrio (line 10) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/tetrio.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tetrio_rs_10_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use uc_helper_rust::tetrio; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let leaderboard = tetrio::leaderboard::request()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | let user = tetrio::user::request("icedynamix")?; [INFO] [stdout] 8 | | } _doctest_main_src_tetrio_rs_10_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/tetrio.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tetrio_rs_10_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use uc_helper_rust::tetrio; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let leaderboard = tetrio::leaderboard::request()?; [INFO] [stdout] 7 | | let user = tetrio::user::request("icedynamix")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | } _doctest_main_src_tetrio_rs_10_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tetrio/leaderboard.rs - tetrio::leaderboard::request (line 58) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/tetrio/leaderboard.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tetrio_leaderboard_rs_58_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use uc_helper_rust::tetrio; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let leaderboard = tetrio::leaderboard::request()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } _doctest_main_src_tetrio_leaderboard_rs_58_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `users` on type `SuccessfulResponse` [INFO] [stdout] --> src/tetrio/leaderboard.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 7 | for user in leaderboard.users { [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data`, `cache` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 7 | for user in leaderboard.data.users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tetrio/news.rs - tetrio::news::request (line 34) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/tetrio/news.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tetrio_news_rs_34_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use uc_helper_rust::tetrio; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let leaderboard = tetrio::leaderboard::request()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } _doctest_main_src_tetrio_news_rs_34_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `users` on type `SuccessfulResponse` [INFO] [stdout] --> src/tetrio/news.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 7 | for user in leaderboard.users { [INFO] [stdout] | ^^^^^ unknown field [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data`, `cache` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 7 | for user in leaderboard.data.users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tetrio/user.rs - tetrio::user::request (line 26) stdout ---- [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/tetrio/user.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 10 | Err(e) => { println("{}", e); } // Most often "not found" [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 10 | Err(e) => { println!("{}", e); } // Most often "not found" [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `username` on type `SuccessfulResponse` [INFO] [stdout] --> src/tetrio/user.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(user) => { println!("{}", user.username); }, [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data`, `cache` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 9 | Ok(user) => { println!("{}", user.data.user.username); }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tetrio.rs - tetrio::Rank (line 133) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tetrio.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Rank::SPlus, rank); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Rank`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Rank` [INFO] [stdout] found enum `Result` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `{integer}` to `Result` [INFO] [stdout] --> src/tetrio.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(Rank::SS, rank + 1); [INFO] [stdout] | ---- ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | Result [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tetrio.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(Rank::U > rank); [INFO] [stdout] | ^^^^ expected enum `Rank`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Rank` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/database.rs - database (line 8) [INFO] [stdout] src/database/players.rs - database::players (line 8) [INFO] [stdout] src/database/tournaments.rs - database::tournaments (line 7) [INFO] [stdout] src/discord.rs - discord (line 7) [INFO] [stdout] src/tetrio.rs - tetrio (line 10) [INFO] [stdout] src/tetrio.rs - tetrio::Rank (line 133) [INFO] [stdout] src/tetrio/leaderboard.rs - tetrio::leaderboard::request (line 58) [INFO] [stdout] src/tetrio/news.rs - tetrio::news::request (line 34) [INFO] [stdout] src/tetrio/user.rs - tetrio::user::request (line 26) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b6ac55fc8115d7501dc0d26be88759856aeba83b9713df3fb3a737c6275c6f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ac55fc8115d7501dc0d26be88759856aeba83b9713df3fb3a737c6275c6f1d", kill_on_drop: false }` [INFO] [stdout] b6ac55fc8115d7501dc0d26be88759856aeba83b9713df3fb3a737c6275c6f1d