[INFO] cloning repository https://github.com/Malique-Auguste/FlashCards [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Malique-Auguste/FlashCards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FFlashCards", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FFlashCards'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d16fcf4709aa36c3bd5c102a6a3c27e0f6c3a3d8 [INFO] checking Malique-Auguste/FlashCards against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FFlashCards" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Malique-Auguste/FlashCards on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Malique-Auguste/FlashCards [INFO] finished tweaking git repo https://github.com/Malique-Auguste/FlashCards [INFO] tweaked toml for git repo https://github.com/Malique-Auguste/FlashCards written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Malique-Auguste/FlashCards 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f9a93690816cc5df172cb2fe5527fa9df47309d1c65ce97971ced8baf334994 [INFO] running `Command { std: "docker" "start" "-a" "9f9a93690816cc5df172cb2fe5527fa9df47309d1c65ce97971ced8baf334994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f9a93690816cc5df172cb2fe5527fa9df47309d1c65ce97971ced8baf334994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9a93690816cc5df172cb2fe5527fa9df47309d1c65ce97971ced8baf334994", kill_on_drop: false }` [INFO] [stdout] 9f9a93690816cc5df172cb2fe5527fa9df47309d1c65ce97971ced8baf334994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76d0e530ac08f3b58b159efcad3d562b61da48d7ff79ae49d05cc8b7a309048d [INFO] running `Command { std: "docker" "start" "-a" "76d0e530ac08f3b58b159efcad3d562b61da48d7ff79ae49d05cc8b7a309048d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking flash_cards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::difficulty::Difficulty` [INFO] [stdout] --> src/card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::difficulty::Difficulty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read_to_string` [INFO] [stdout] --> src/deck.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::read_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/tester.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::difficulty::{Difficulty, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deck::Deck` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use deck::Deck; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:138:39 [INFO] [stdout] | [INFO] [stdout] 138 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 138 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | ... changes = Tester::test_cards(&mut cards_to_test[0..8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 141 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..8]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 154 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | ... changes = Tester::test_cards(&mut cards_to_test[0..7]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 157 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..7]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 175 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | ... changes = Tester::test_cards(&mut cards_to_test[0..7]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 178 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..7]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 190 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 190 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:193:39 [INFO] [stdout] | [INFO] [stdout] 193 | ... changes = Tester::test_cards(&mut cards_to_test[0..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 193 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..4]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:208:39 [INFO] [stdout] | [INFO] [stdout] 208 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 208 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:211:39 [INFO] [stdout] | [INFO] [stdout] 211 | ... changes = Tester::test_cards(&mut cards_to_test[0..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 211 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..4]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:229:39 [INFO] [stdout] | [INFO] [stdout] 229 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 229 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::difficulty::Difficulty` [INFO] [stdout] --> src/card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::difficulty::Difficulty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read_to_string` [INFO] [stdout] --> src/deck.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::read_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/tester.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::difficulty::{Difficulty, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deck::Deck` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use deck::Deck; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | ... changes= Tester::test_cards(&mut cards_to_test[0..8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 232 | changes= Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..8]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:245:39 [INFO] [stdout] | [INFO] [stdout] 245 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 245 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:248:39 [INFO] [stdout] | [INFO] [stdout] 248 | ... changes = Tester::test_cards(&mut cards_to_test[0..7]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 248 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..7]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/deck.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut cards = match difficulty { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tester.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut deck: &mut Deck = &mut self.inner[deck_index]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flash_cards` (bin "flash_cards") due to 14 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:138:39 [INFO] [stdout] | [INFO] [stdout] 138 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 138 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | ... changes = Tester::test_cards(&mut cards_to_test[0..8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 141 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..8]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 154 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | ... changes = Tester::test_cards(&mut cards_to_test[0..7]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 157 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..7]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 175 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | ... changes = Tester::test_cards(&mut cards_to_test[0..7]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 178 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..7]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 190 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 190 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:193:39 [INFO] [stdout] | [INFO] [stdout] 193 | ... changes = Tester::test_cards(&mut cards_to_test[0..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 193 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..4]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:208:39 [INFO] [stdout] | [INFO] [stdout] 208 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 208 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:211:39 [INFO] [stdout] | [INFO] [stdout] 211 | ... changes = Tester::test_cards(&mut cards_to_test[0..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 211 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..4]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:229:39 [INFO] [stdout] | [INFO] [stdout] 229 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 229 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | ... changes= Tester::test_cards(&mut cards_to_test[0..8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 232 | changes= Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..8]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:245:39 [INFO] [stdout] | [INFO] [stdout] 245 | ... changes = Tester::test_cards(&mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------- argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 245 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..cards_to_test_length]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tester.rs:248:39 [INFO] [stdout] | [INFO] [stdout] 248 | ... changes = Tester::test_cards(&mut cards_to_test[0..7]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ argument #1 of type `&mut Tester` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tester.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn test_cards(&mut self, cards: &mut [Card]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 248 | changes = Tester::test_cards(/* &mut Tester */, &mut cards_to_test[0..7]); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/deck.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut cards = match difficulty { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tester.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut deck: &mut Deck = &mut self.inner[deck_index]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flash_cards` (bin "flash_cards" test) due to 14 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "76d0e530ac08f3b58b159efcad3d562b61da48d7ff79ae49d05cc8b7a309048d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d0e530ac08f3b58b159efcad3d562b61da48d7ff79ae49d05cc8b7a309048d", kill_on_drop: false }` [INFO] [stdout] 76d0e530ac08f3b58b159efcad3d562b61da48d7ff79ae49d05cc8b7a309048d