[INFO] cloning repository https://github.com/rgrativol/lotto6 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rgrativol/lotto6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgrativol%2Flotto6", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgrativol%2Flotto6'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1cf9ca4ab5aff21d0c62abfae4dde01b617cc309 [INFO] checking rgrativol/lotto6 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgrativol%2Flotto6" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rgrativol/lotto6 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rgrativol/lotto6 [INFO] finished tweaking git repo https://github.com/rgrativol/lotto6 [INFO] tweaked toml for git repo https://github.com/rgrativol/lotto6 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/rgrativol/lotto6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e01bbabeeabfacf2f07bfc3f2c2c7e8c3f3ffb1dea52364a29942841d8f14be9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e01bbabeeabfacf2f07bfc3f2c2c7e8c3f3ffb1dea52364a29942841d8f14be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e01bbabeeabfacf2f07bfc3f2c2c7e8c3f3ffb1dea52364a29942841d8f14be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01bbabeeabfacf2f07bfc3f2c2c7e8c3f3ffb1dea52364a29942841d8f14be9", kill_on_drop: false }` [INFO] [stdout] e01bbabeeabfacf2f07bfc3f2c2c7e8c3f3ffb1dea52364a29942841d8f14be9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edea7c40c5f59b9aceb5d59ce335f0430e06ef25ae07ce28f2dd83133e08a3ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "edea7c40c5f59b9aceb5d59ce335f0430e06ef25ae07ce28f2dd83133e08a3ff", kill_on_drop: false }` [INFO] [stderr] Checking lotto6 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let draws = load_csv(csv_path); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn frequency(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn most_overdue_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | fn most_common_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn least_often_picked_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | fn most_common_pair(draws: &Vec) -> Vec<(u8,u8, u32)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn most_common_triplets(draws: &Vec) -> Vec<(u8, u8, u8, u32)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DrawSummary` [INFO] [stdout] --> src/stats.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | type DrawSummary = (u8, u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `frequency` [INFO] [stdout] --> src/stats.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn frequency(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `most_overdue_numbers` [INFO] [stdout] --> src/stats.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn most_overdue_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `most_common_numbers` [INFO] [stdout] --> src/stats.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn most_common_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `least_often_picked_numbers` [INFO] [stdout] --> src/stats.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn least_often_picked_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `most_common_pair` [INFO] [stdout] --> src/stats.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn most_common_pair(draws: &Vec) -> Vec<(u8,u8, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `most_common_triplets` [INFO] [stdout] --> src/stats.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn most_common_triplets(draws: &Vec) -> Vec<(u8, u8, u8, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FrequencyStack` [INFO] [stdout] --> src/frequency_stack.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct FrequencyStack{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/frequency_stack.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn push(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/frequency_stack.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn pop(&self){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let draws = load_csv(csv_path); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn frequency(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn most_overdue_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | fn most_common_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn least_often_picked_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | fn most_common_pair(draws: &Vec) -> Vec<(u8,u8, u32)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draws` [INFO] [stdout] --> src/stats.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn most_common_triplets(draws: &Vec) -> Vec<(u8, u8, u8, u32)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DrawSummary` [INFO] [stdout] --> src/stats.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | type DrawSummary = (u8, u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `frequency` [INFO] [stdout] --> src/stats.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn frequency(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `most_overdue_numbers` [INFO] [stdout] --> src/stats.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn most_overdue_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `most_common_numbers` [INFO] [stdout] --> src/stats.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn most_common_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `least_often_picked_numbers` [INFO] [stdout] --> src/stats.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn least_often_picked_numbers(draws: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `most_common_pair` [INFO] [stdout] --> src/stats.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn most_common_pair(draws: &Vec) -> Vec<(u8,u8, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `most_common_triplets` [INFO] [stdout] --> src/stats.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn most_common_triplets(draws: &Vec) -> Vec<(u8, u8, u8, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FrequencyStack` [INFO] [stdout] --> src/frequency_stack.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct FrequencyStack{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/frequency_stack.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn push(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/frequency_stack.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn pop(&self){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "edea7c40c5f59b9aceb5d59ce335f0430e06ef25ae07ce28f2dd83133e08a3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edea7c40c5f59b9aceb5d59ce335f0430e06ef25ae07ce28f2dd83133e08a3ff", kill_on_drop: false }` [INFO] [stdout] edea7c40c5f59b9aceb5d59ce335f0430e06ef25ae07ce28f2dd83133e08a3ff