[INFO] cloning repository https://github.com/Pauan/SaltyBetBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pauan/SaltyBetBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauan%2FSaltyBetBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauan%2FSaltyBetBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdea0cb01975c88c5beaeb3db9bf0fe6a673834a [INFO] checking Pauan/SaltyBetBot against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauan%2FSaltyBetBot" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 86% (68/79) Updating files: 87% (69/79) Updating files: 88% (70/79) Updating files: 89% (71/79) Updating files: 91% (72/79) Updating files: 92% (73/79) Updating files: 93% (74/79) Updating files: 94% (75/79) Updating files: 96% (76/79) Updating files: 97% (77/79) Updating files: 98% (78/79) Updating files: 100% (79/79) Updating files: 100% (79/79), done. [INFO] validating manifest of git repo https://github.com/Pauan/SaltyBetBot on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pauan/SaltyBetBot [INFO] finished tweaking git repo https://github.com/Pauan/SaltyBetBot [INFO] tweaked toml for git repo https://github.com/Pauan/SaltyBetBot written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pauan/SaltyBetBot 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.1.13 [INFO] [stderr] Downloaded termios v0.3.2 [INFO] [stderr] Downloaded glicko2 v0.3.1 [INFO] [stderr] Downloaded console v0.12.0 [INFO] [stderr] Downloaded futures-signals v0.3.15 [INFO] [stderr] Downloaded dominator v0.5.11 [INFO] [stderr] Downloaded chrono v0.4.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17e2750c796192de13d1163bf93cc85dc782c73023d1ba1931cbcd5fc5ac55d0 [INFO] running `Command { std: "docker" "start" "-a" "17e2750c796192de13d1163bf93cc85dc782c73023d1ba1931cbcd5fc5ac55d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17e2750c796192de13d1163bf93cc85dc782c73023d1ba1931cbcd5fc5ac55d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e2750c796192de13d1163bf93cc85dc782c73023d1ba1931cbcd5fc5ac55d0", kill_on_drop: false }` [INFO] [stdout] 17e2750c796192de13d1163bf93cc85dc782c73023d1ba1931cbcd5fc5ac55d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adbdbf2ad21d9053780da986846a996af2dcb6ff0014bb5ada21aa05afef1eb9 [INFO] running `Command { std: "docker" "start" "-a" "adbdbf2ad21d9053780da986846a996af2dcb6ff0014bb5ada21aa05afef1eb9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking number_prefix v0.2.8 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking glicko2 v0.3.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking console v0.12.0 [INFO] [stderr] Checking indicatif v0.11.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking js-sys v0.3.44 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking algorithm v0.1.0 (/opt/rustwide/workdir/algorithm) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> algorithm/src/random.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> algorithm/src/genetic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> algorithm/src/genetic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> algorithm/src/record.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: algorithm/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> algorithm/src/record.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: algorithm/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> algorithm/src/simulation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> algorithm/src/simulation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> algorithm/src/simulation.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> algorithm/src/simulation.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TOURNAMENT_BALANCE` [INFO] [stdout] --> algorithm/src/strategy.rs:4:77 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::simulation::{Bet, Simulator, Strategy, lookup, SALT_MINE_AMOUNT, TOURNAMENT_BALANCE, NUMBER_OF_BOTS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TOURNAMENT_BALANCE` [INFO] [stdout] --> algorithm/src/strategy.rs:4:77 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::simulation::{Bet, Simulator, Strategy, lookup, SALT_MINE_AMOUNT, TOURNAMENT_BALANCE, NUMBER_OF_BOTS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-signals v0.3.15 [INFO] [stderr] Checking web-sys v0.3.44 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.17 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking process-records v0.1.0 (/opt/rustwide/workdir/bin/process-records) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `s: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:49 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `a: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `b: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `p: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `s: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:49 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `a: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `b: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> algorithm/src/bin/migrate/main.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 79 | NumericCalculator::Tier { x, s, a, b, p } => panic!(), /*types::NumericCalculator::Tier { [INFO] [stdout] | ^ help: try ignoring the field: `p: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dominator v0.5.11 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking salty_bet_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Closure` is imported redundantly [INFO] [stdout] --> src/indexeddb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen::closure::Closure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use wasm_bindgen::JsCast; [INFO] [stdout] 9 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `Closure` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/indexeddb.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | / closure!(move |_event: &JsValue| { [INFO] [stdout] 372 | | let cursor = request.result().unwrap(); [INFO] [stdout] 373 | | [INFO] [stdout] 374 | | let current = initial.take().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 383 | | } [INFO] [stdout] 384 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `closure` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/lib.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use wasm_bindgen::{JsValue, JsCast}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 186 | let onprogress = closure!(move |event: &ProgressEvent| { [INFO] [stdout] | ______________________- [INFO] [stdout] 187 | | on_progress(ReadProgress { [INFO] [stdout] 188 | | is_size_known: event.length_computable(), [INFO] [stdout] 189 | | // TODO are these conversions safe ? [INFO] [stdout] ... | [INFO] [stdout] 192 | | }); [INFO] [stdout] 193 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 894 | let on_message = Listener::new(self.state.port.on_message(), closure!(move |message: String, _port: JsValue| { [INFO] [stdout] | ______________________________________________________________________- [INFO] [stdout] 895 | | f(serde_json::from_str(&message).unwrap()); [INFO] [stdout] 896 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 980 | let listener = Listener::new(chrome_on_connect(), closure!(move |port: RawPort| { [INFO] [stdout] | ___________________________________________________________- [INFO] [stdout] 981 | | f(ServerPort(Port::new(port))); [INFO] [stdout] 982 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1077 | let closure = closure!(move |records: js_sys::Array, _observer: web_sys::MutationObserver| { [INFO] [stdout] | _______________________- [INFO] [stdout] 1078 | | f(records.iter().map(|x| x.dyn_into().unwrap()).collect()); [INFO] [stdout] 1079 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Closure` is imported redundantly [INFO] [stdout] --> src/indexeddb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen::closure::Closure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use wasm_bindgen::JsCast; [INFO] [stdout] 9 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `Closure` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/indexeddb.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | / closure!(move |_event: &JsValue| { [INFO] [stdout] 372 | | let cursor = request.result().unwrap(); [INFO] [stdout] 373 | | [INFO] [stdout] 374 | | let current = initial.take().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 383 | | } [INFO] [stdout] 384 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `closure` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/lib.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use wasm_bindgen::{JsValue, JsCast}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 186 | let onprogress = closure!(move |event: &ProgressEvent| { [INFO] [stdout] | ______________________- [INFO] [stdout] 187 | | on_progress(ReadProgress { [INFO] [stdout] 188 | | is_size_known: event.length_computable(), [INFO] [stdout] 189 | | // TODO are these conversions safe ? [INFO] [stdout] ... | [INFO] [stdout] 192 | | }); [INFO] [stdout] 193 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 894 | let on_message = Listener::new(self.state.port.on_message(), closure!(move |message: String, _port: JsValue| { [INFO] [stdout] | ______________________________________________________________________- [INFO] [stdout] 895 | | f(serde_json::from_str(&message).unwrap()); [INFO] [stdout] 896 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 980 | let listener = Listener::new(chrome_on_connect(), closure!(move |port: RawPort| { [INFO] [stdout] | ___________________________________________________________- [INFO] [stdout] 981 | | f(ServerPort(Port::new(port))); [INFO] [stdout] 982 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | $crate::closure!(move |$($arg: $type),*| -> () $body); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1077 | let closure = closure!(move |records: js_sys::Array, _observer: web_sys::MutationObserver| { [INFO] [stdout] | _______________________- [INFO] [stdout] 1078 | | f(records.iter().map(|x| x.dyn_into().unwrap()).collect()); [INFO] [stdout] 1079 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `closure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | assert!(old_records.is_sorted_by(|x, y| Some(Record::sort_date(x, y)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 144 | assert!(old_records.is_sorted_by(|x, y| Some(Record::sort_date(x, y)).is_some())); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | assert!(old_records.is_sorted_by(|x, y| Some(Record::sort_date(x, y)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 144 | assert!(old_records.is_sorted_by(|x, y| Some(Record::sort_date(x, y)).is_some())); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `salty_bet_bot` (lib) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `salty_bet_bot` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "adbdbf2ad21d9053780da986846a996af2dcb6ff0014bb5ada21aa05afef1eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adbdbf2ad21d9053780da986846a996af2dcb6ff0014bb5ada21aa05afef1eb9", kill_on_drop: false }` [INFO] [stdout] adbdbf2ad21d9053780da986846a996af2dcb6ff0014bb5ada21aa05afef1eb9 [INFO] checking Pauan/SaltyBetBot against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauan%2FSaltyBetBot" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 86% (68/79) Updating files: 87% (69/79) Updating files: 88% (70/79) Updating files: 89% (71/79) Updating files: 91% (72/79) Updating files: 92% (73/79) Updating files: 93% (74/79) Updating files: 94% (75/79) Updating files: 96% (76/79) Updating files: 97% (77/79) Updating files: 98% (78/79) Updating files: 100% (79/79) Updating files: 100% (79/79), done. [INFO] validating manifest of git repo https://github.com/Pauan/SaltyBetBot on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pauan/SaltyBetBot [INFO] finished tweaking git repo https://github.com/Pauan/SaltyBetBot [INFO] tweaked toml for git repo https://github.com/Pauan/SaltyBetBot written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Pauan/SaltyBetBot 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdfef065b7de6029f5767c06c563bdbae9e01220b0bb47ea47b4cecc3c45cec3 [INFO] running `Command { std: "docker" "start" "-a" "cdfef065b7de6029f5767c06c563bdbae9e01220b0bb47ea47b4cecc3c45cec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdfef065b7de6029f5767c06c563bdbae9e01220b0bb47ea47b4cecc3c45cec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdfef065b7de6029f5767c06c563bdbae9e01220b0bb47ea47b4cecc3c45cec3", kill_on_drop: false }` [INFO] [stdout] cdfef065b7de6029f5767c06c563bdbae9e01220b0bb47ea47b4cecc3c45cec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 975e3d1987282b58e5e35646d9174d353c852887d38c425e1b20fe346df56cd1 [INFO] running `Command { std: "docker" "start" "-a" "975e3d1987282b58e5e35646d9174d353c852887d38c425e1b20fe346df56cd1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "975e3d1987282b58e5e35646d9174d353c852887d38c425e1b20fe346df56cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975e3d1987282b58e5e35646d9174d353c852887d38c425e1b20fe346df56cd1", kill_on_drop: false }` [INFO] [stdout] 975e3d1987282b58e5e35646d9174d353c852887d38c425e1b20fe346df56cd1