[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] checking nemoNoboru/obicho against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnemoNoboru%2Fobicho" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nemoNoboru/obicho on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoize v0.1.9 [INFO] [stderr] Downloaded neon-build v0.9.1 [INFO] [stderr] Downloaded neon-macros v0.9.1 [INFO] [stderr] Downloaded neon-runtime v0.9.1 [INFO] [stderr] Downloaded neon v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89732298021bc8a565bbf3acdc7545c5390a93a190c0e11e246d8c872c708ff2 [INFO] running `Command { std: "docker" "start" "-a" "89732298021bc8a565bbf3acdc7545c5390a93a190c0e11e246d8c872c708ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89732298021bc8a565bbf3acdc7545c5390a93a190c0e11e246d8c872c708ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89732298021bc8a565bbf3acdc7545c5390a93a190c0e11e246d8c872c708ff2", kill_on_drop: false }` [INFO] [stdout] 89732298021bc8a565bbf3acdc7545c5390a93a190c0e11e246d8c872c708ff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4236c2bd226a8429da7aa7670a6eb9a527cbe15b38d813a98362436e3cef951 [INFO] running `Command { std: "docker" "start" "-a" "c4236c2bd226a8429da7aa7670a6eb9a527cbe15b38d813a98362436e3cef951", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling neon-build v0.9.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking string_cache v0.8.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling neon v0.9.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking neon-runtime v0.9.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking cslice v0.2.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking 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] Checking phf v0.8.0 [INFO] [stderr] Checking scraper v0.12.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.7 [INFO] [stderr] Checking 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)]` 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:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut users = Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `users` is never read [INFO] [stdout] --> src/users.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut users = Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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)]` 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)]` 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 | while let Ok(result) = results { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 47 | if let Ok(result) = results { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [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: `BetResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 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: 4 warnings emitted [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)]` 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.88s [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" "c4236c2bd226a8429da7aa7670a6eb9a527cbe15b38d813a98362436e3cef951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4236c2bd226a8429da7aa7670a6eb9a527cbe15b38d813a98362436e3cef951", kill_on_drop: false }` [INFO] [stdout] c4236c2bd226a8429da7aa7670a6eb9a527cbe15b38d813a98362436e3cef951 [INFO] checking nemoNoboru/obicho against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnemoNoboru%2Fobicho" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nemoNoboru/obicho on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 289a98d709ffb493d7aac7f11a2a69f3bf9ecbd04a8abdd52e07ad2bddee355b [INFO] running `Command { std: "docker" "start" "-a" "289a98d709ffb493d7aac7f11a2a69f3bf9ecbd04a8abdd52e07ad2bddee355b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "289a98d709ffb493d7aac7f11a2a69f3bf9ecbd04a8abdd52e07ad2bddee355b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289a98d709ffb493d7aac7f11a2a69f3bf9ecbd04a8abdd52e07ad2bddee355b", kill_on_drop: false }` [INFO] [stdout] 289a98d709ffb493d7aac7f11a2a69f3bf9ecbd04a8abdd52e07ad2bddee355b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 564c14aa0f9698ab8545563114cc34a290a85f27b820882aee9c05d0ccc844d4 [INFO] running `Command { std: "docker" "start" "-a" "564c14aa0f9698ab8545563114cc34a290a85f27b820882aee9c05d0ccc844d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling neon-build v0.9.1 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking string_cache v0.8.2 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling neon v0.9.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking neon-runtime v0.9.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking cslice v0.2.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking bincode v0.9.2 [INFO] [stderr] Checking chrono v0.4.19 [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 cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [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] Checking phf v0.8.0 [INFO] [stderr] Checking scraper v0.12.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.7 [INFO] [stderr] Checking 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)]` 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:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut users = Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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: `BetResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 24 | async fn get_once_results(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(cx.string("")) [INFO] [stdout] | ^^--------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `users` is never read [INFO] [stdout] --> src/users.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut users = Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn run_callback(results: i32, callback: Root, channel: Channel) { [INFO] [stdout] | -------------------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | channel.send(move |mut cx| { [INFO] [stdout] | __________________^ [INFO] [stdout] 39 | | let callback = callback.into_inner(&mut cx); [INFO] [stdout] 40 | | let undefined = cx.undefined(); [INFO] [stdout] 41 | | let animals = enums::get_animal_from_number(results); [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/enums.rs:4:62 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 24 | async fn get_once_results(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(cx.string("")) [INFO] [stdout] | ^^--------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn run_callback(results: i32, callback: Root, channel: Channel) { [INFO] [stdout] | -------------------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | channel.send(move |mut cx| { [INFO] [stdout] | __________________^ [INFO] [stdout] 39 | | let callback = callback.into_inner(&mut cx); [INFO] [stdout] 40 | | let undefined = cx.undefined(); [INFO] [stdout] 41 | | let animals = enums::get_animal_from_number(results); [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/enums.rs:4:62 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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 | while let Ok(result) = results { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 47 | if let Ok(result) = results { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `obicho` (lib) due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `obicho` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "564c14aa0f9698ab8545563114cc34a290a85f27b820882aee9c05d0ccc844d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "564c14aa0f9698ab8545563114cc34a290a85f27b820882aee9c05d0ccc844d4", kill_on_drop: false }` [INFO] [stdout] 564c14aa0f9698ab8545563114cc34a290a85f27b820882aee9c05d0ccc844d4