[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] testing rgrativol/lotto6 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgrativol%2Flotto6" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rgrativol/lotto6 on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rgrativol/lotto6 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98dfac5cc757706938eb8a4787ad5ead4546642d76e5d3e2f95824ceed8c335d [INFO] running `Command { std: "docker" "start" "-a" "98dfac5cc757706938eb8a4787ad5ead4546642d76e5d3e2f95824ceed8c335d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98dfac5cc757706938eb8a4787ad5ead4546642d76e5d3e2f95824ceed8c335d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98dfac5cc757706938eb8a4787ad5ead4546642d76e5d3e2f95824ceed8c335d", kill_on_drop: false }` [INFO] [stdout] 98dfac5cc757706938eb8a4787ad5ead4546642d76e5d3e2f95824ceed8c335d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3ea4e64675263c4a8e70e269d69700d72e8d75ad74f49e723e5da5980daca72 [INFO] running `Command { std: "docker" "start" "-a" "d3ea4e64675263c4a8e70e269d69700d72e8d75ad74f49e723e5da5980daca72", kill_on_drop: false }` [INFO] [stderr] Compiling lotto6 v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [INFO] [stdout] warning: field `n_bonus` is never read [INFO] [stdout] --> src/models.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Draw { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | n_bonus: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Draw` 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: type alias `DrawSummary` is never used [INFO] [stdout] --> src/stats.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type DrawSummary = (u8, u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequency` is never used [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 `most_overdue_numbers` is never used [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 `most_common_numbers` is never used [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 `least_often_picked_numbers` is never used [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 `most_common_pair` is never used [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 `most_common_triplets` is never used [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 `FrequencyStack` is never constructed [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: methods `push` and `pop` are never used [INFO] [stdout] --> src/frequency_stack.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl FrequencyStack{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 9 | fn push(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn pop(&self){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "d3ea4e64675263c4a8e70e269d69700d72e8d75ad74f49e723e5da5980daca72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ea4e64675263c4a8e70e269d69700d72e8d75ad74f49e723e5da5980daca72", kill_on_drop: false }` [INFO] [stdout] d3ea4e64675263c4a8e70e269d69700d72e8d75ad74f49e723e5da5980daca72 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 590764d5a3d30c7f2981596da415e7b133f932cf841ad816258d00371c3aedf8 [INFO] running `Command { std: "docker" "start" "-a" "590764d5a3d30c7f2981596da415e7b133f932cf841ad816258d00371c3aedf8", kill_on_drop: false }` [INFO] [stderr] Compiling lotto6 v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [INFO] [stdout] warning: field `n_bonus` is never read [INFO] [stdout] --> src/models.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Draw { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | n_bonus: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Draw` 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: type alias `DrawSummary` is never used [INFO] [stdout] --> src/stats.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type DrawSummary = (u8, u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequency` is never used [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 `most_overdue_numbers` is never used [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 `most_common_numbers` is never used [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 `least_often_picked_numbers` is never used [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 `most_common_pair` is never used [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 `most_common_triplets` is never used [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 `FrequencyStack` is never constructed [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: methods `push` and `pop` are never used [INFO] [stdout] --> src/frequency_stack.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl FrequencyStack{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 9 | fn push(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn pop(&self){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `lotto6` (bin "lotto6" test); 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/bin/rustc --crate-name lotto6 --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=7beda6514574d01d -C extra-filename=-1cbf5acbec93e184 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "590764d5a3d30c7f2981596da415e7b133f932cf841ad816258d00371c3aedf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590764d5a3d30c7f2981596da415e7b133f932cf841ad816258d00371c3aedf8", kill_on_drop: false }` [INFO] [stdout] 590764d5a3d30c7f2981596da415e7b133f932cf841ad816258d00371c3aedf8