[INFO] cloning repository https://github.com/nemoNoboru/obicho [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nemoNoboru/obicho" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnemoNoboru%2Fobicho", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnemoNoboru%2Fobicho'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae52902adaebfbc5340c09979a16abc25be92b72 [INFO] building nemoNoboru/obicho against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnemoNoboru%2Fobicho" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nemoNoboru/obicho [INFO] finished tweaking git repo https://github.com/nemoNoboru/obicho [INFO] tweaked toml for git repo https://github.com/nemoNoboru/obicho written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nemoNoboru/obicho on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nemoNoboru/obicho already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.6.0 [INFO] [stderr] Downloaded tendril v0.4.2 [INFO] [stderr] Downloaded cslice v0.2.0 [INFO] [stderr] Downloaded neon-build v0.9.1 [INFO] [stderr] Downloaded pkg-config v0.3.23 [INFO] [stderr] Downloaded proc-macro2 v1.0.33 [INFO] [stderr] Downloaded memoize v0.1.9 [INFO] [stderr] Downloaded neon-macros v0.9.1 [INFO] [stderr] Downloaded futures-task v0.3.18 [INFO] [stderr] Downloaded bincode v0.9.2 [INFO] [stderr] Downloaded neon-runtime v0.9.1 [INFO] [stderr] Downloaded openssl-sys v0.9.71 [INFO] [stderr] Downloaded futures-channel v0.3.18 [INFO] [stderr] Downloaded futures-core v0.3.18 [INFO] [stderr] Downloaded futures-sink v0.3.18 [INFO] [stderr] Downloaded serde_json v1.0.72 [INFO] [stderr] Downloaded futures-util v0.3.18 [INFO] [stderr] Downloaded h2 v0.3.7 [INFO] [stderr] Downloaded hyper v0.14.15 [INFO] [stderr] Downloaded neon v0.9.1 [INFO] [stderr] Downloaded string_cache v0.8.2 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded libc v0.2.109 [INFO] [stderr] Downloaded tokio v1.14.0 [INFO] [stderr] Downloaded encoding_rs v0.8.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b45526fd8203202c31e1707950d06b27c2728fdcde55ff6877f9b19c0c37d9a7 [INFO] running `Command { std: "docker" "start" "-a" "b45526fd8203202c31e1707950d06b27c2728fdcde55ff6877f9b19c0c37d9a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b45526fd8203202c31e1707950d06b27c2728fdcde55ff6877f9b19c0c37d9a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b45526fd8203202c31e1707950d06b27c2728fdcde55ff6877f9b19c0c37d9a7", kill_on_drop: false }` [INFO] [stdout] b45526fd8203202c31e1707950d06b27c2728fdcde55ff6877f9b19c0c37d9a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5740c300923195186a0bc26e96cc9418bc7c337dd6b87fdb5b3cb06fc1f5f32 [INFO] running `Command { std: "docker" "start" "-a" "e5740c300923195186a0bc26e96cc9418bc7c337dd6b87fdb5b3cb06fc1f5f32", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling neon-build v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling neon v0.9.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling neon-runtime v0.9.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cslice v0.2.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bincode v0.9.2 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling neon-macros v0.9.1 [INFO] [stderr] Compiling memoize v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling obicho v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::bets::Bet` [INFO] [stdout] --> src/tests/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::bets::Bet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bicho::Game` [INFO] [stdout] --> src/tests/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bicho::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::enums::Animal` [INFO] [stdout] --> src/tests/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::enums::Animal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `users` is never read [INFO] [stdout] --> src/users.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let mut users = Users { [INFO] [stdout] | _________________________^ [INFO] [stdout] 26 | | users: HashMap::new(), [INFO] [stdout] 27 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BetResult` is never constructed [INFO] [stdout] --> src/bets.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BetResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bets` is never constructed [INFO] [stdout] --> src/bets.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Bets { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bets.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Bets { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 27 | pub fn new() -> Bets { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_bet(&mut self, bet: Bet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_total_amount(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_all_animals(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_amount_by_animal(&self, animal: Animal) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_animals_percentage(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_amount_by_user_and_animal(&self, user: i64, animal: Animal) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_all_users(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_results(&self, result: Animal) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn load(path: &str) -> Bets { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn save(&self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/bicho.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_lottery`, and `add_bet` are never used [INFO] [stdout] --> src/bicho.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(test: bool) -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn check_lottery( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn add_bet(&mut self, bet: Bet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/users.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Users` is never constructed [INFO] [stdout] --> src/users.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, `save`, `add_user`, `get_user`, and `update_amount` are never used [INFO] [stdout] --> src/users.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Users { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Users { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn load(file: &str) -> Users { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn save(&self, file: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_user(&mut self, user: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_user(&self, user: i64) -> Option<&User> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn update_amount(&mut self, user: i64, amount: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / tokio::spawn(async move { [INFO] [stdout] 29 | | let results = scraper::get_once_results().await.unwrap(); [INFO] [stdout] 30 | | run_callback(results.clone(), callback, channel); [INFO] [stdout] 31 | | }) [INFO] [stdout] 32 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = tokio::spawn(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e5740c300923195186a0bc26e96cc9418bc7c337dd6b87fdb5b3cb06fc1f5f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5740c300923195186a0bc26e96cc9418bc7c337dd6b87fdb5b3cb06fc1f5f32", kill_on_drop: false }` [INFO] [stdout] e5740c300923195186a0bc26e96cc9418bc7c337dd6b87fdb5b3cb06fc1f5f32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 272a39cfc2a071cd8c261bab2517e75607af51c1b2174cb1fd202bdad26c3513 [INFO] running `Command { std: "docker" "start" "-a" "272a39cfc2a071cd8c261bab2517e75607af51c1b2174cb1fd202bdad26c3513", kill_on_drop: false }` [INFO] [stderr] Compiling obicho v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `users` is never read [INFO] [stdout] --> src/users.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let mut users = Users { [INFO] [stdout] | _________________________^ [INFO] [stdout] 26 | | users: HashMap::new(), [INFO] [stdout] 27 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_animals` and `get_animals_percentage` are never used [INFO] [stdout] --> src/bets.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Bets { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_all_animals(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_animals_percentage(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / tokio::spawn(async move { [INFO] [stdout] 29 | | let results = scraper::get_once_results().await.unwrap(); [INFO] [stdout] 30 | | run_callback(results.clone(), callback, channel); [INFO] [stdout] 31 | | }) [INFO] [stdout] 32 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = tokio::spawn(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/tests/mod.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | for result in results { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 47 - for result in results { [INFO] [stdout] 47 + while let Ok(result) = results { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 47 - for result in results { [INFO] [stdout] 47 + if let Ok(result) = results { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "272a39cfc2a071cd8c261bab2517e75607af51c1b2174cb1fd202bdad26c3513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "272a39cfc2a071cd8c261bab2517e75607af51c1b2174cb1fd202bdad26c3513", kill_on_drop: false }` [INFO] [stdout] 272a39cfc2a071cd8c261bab2517e75607af51c1b2174cb1fd202bdad26c3513