[INFO] cloning repository https://github.com/jacksonbrim/fantastic-octo-adventure
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacksonbrim/fantastic-octo-adventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksonbrim%2Ffantastic-octo-adventure", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksonbrim%2Ffantastic-octo-adventure'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b04291ce455586d9d33a0976f711c28f311f4590
[INFO] testing jacksonbrim/fantastic-octo-adventure against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksonbrim%2Ffantastic-octo-adventure" "/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/jacksonbrim/fantastic-octo-adventure
[INFO] finished tweaking git repo https://github.com/jacksonbrim/fantastic-octo-adventure
[INFO] tweaked toml for git repo https://github.com/jacksonbrim/fantastic-octo-adventure written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jacksonbrim/fantastic-octo-adventure on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jacksonbrim/fantastic-octo-adventure 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" "+1.98.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f
[INFO] running `Command { std: "docker" "start" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling bytemuck v1.14.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling wide v0.7.15
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling anstyle-query v1.0.2
[INFO] [stderr]    Compiling anstyle v1.0.5
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling anstream v0.6.11
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-complex v0.4.4
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling clap_lex v0.6.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling simba v0.6.0
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling clap_builder v4.4.18
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling iana-time-zone v0.1.59
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling chrono v0.4.33
[INFO] [stderr]    Compiling ctrlc v3.4.2
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling clap v4.4.18
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling nalgebra v0.29.0
[INFO] [stderr]    Compiling statrs v0.16.0
[INFO] [stderr]    Compiling jane_street_mock_interview v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ArgMatches`
[INFO] [stdout]  --> src/cli.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Arg, ArgAction, ArgMatches, Command};
[INFO] [stdout]   |                            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/dice_game.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/dice_game.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/game.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::{debug, info};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude`
[INFO] [stdout]  --> src/dice_game.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/conversion.rs:153:39
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 (ConversionUnit::Time(time), ConversionUnit::Distance(_)) => {
[INFO] [stdout]     |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]    --> src/conversion.rs:159:43
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 (ConversionUnit::Distance(distance), ConversionUnit::Time(_)) => {
[INFO] [stdout]     |                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `take_rest` and `is_game_over` are never used
[INFO] [stdout]    --> src/dice_game.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 172 |     fn take_rest(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn is_game_over(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/expected_values.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ExpectedValues {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn get(&self, turn: usize, die_value: i32) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]  --> src/game.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Game {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/game.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Game {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new(num_turns: usize, num_sides: i32, seed: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn game_loop(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn game_loop_twenty_only_strategy(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn take_rest(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn roll(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     fn take(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn is_game_over(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn should_roll(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.67s
[INFO] running `Command { std: "docker" "inspect" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling jane_street_mock_interview v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ArgMatches`
[INFO] [stdout]  --> src/cli.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Arg, ArgAction, ArgMatches, Command};
[INFO] [stdout]   |                            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/dice_game.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/dice_game.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/game.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::{debug, info};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> src/conversion.rs:187:30
[INFO] [stdout]     |
[INFO] [stdout]  71 |         fn new(n: f32, from: &str, to: &str) -> Result<Self, ConversionError> {
[INFO] [stdout]     |         --------------------------------------------------------------------- private associated function defined here
[INFO] [stdout] ...
[INFO] [stdout] 187 |             ConversionQuery::new(2.0, "m", "in").expect("Expected creation of Conversion Query");
[INFO] [stdout]     |                              ^^^ private associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `convert_units` is private
[INFO] [stdout]    --> src/conversion.rs:189:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn convert_units(&self) -> Result<f32, ConversionError> {
[INFO] [stdout]     |         ------------------------------------------------------- private method defined here
[INFO] [stdout] ...
[INFO] [stdout] 189 |             .convert_units()
[INFO] [stdout]     |              ^^^^^^^^^^^^^ private method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> src/conversion.rs:197:30
[INFO] [stdout]     |
[INFO] [stdout]  71 |         fn new(n: f32, from: &str, to: &str) -> Result<Self, ConversionError> {
[INFO] [stdout]     |         --------------------------------------------------------------------- private associated function defined here
[INFO] [stdout] ...
[INFO] [stdout] 197 |             ConversionQuery::new(13.0, "in", "m").expect("Expected creation of Conversion Query");
[INFO] [stdout]     |                              ^^^ private associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `convert_units` is private
[INFO] [stdout]    --> src/conversion.rs:199:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn convert_units(&self) -> Result<f32, ConversionError> {
[INFO] [stdout]     |         ------------------------------------------------------- private method defined here
[INFO] [stdout] ...
[INFO] [stdout] 199 |             .convert_units()
[INFO] [stdout]     |              ^^^^^^^^^^^^^ private method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> src/conversion.rs:211:39
[INFO] [stdout]     |
[INFO] [stdout]  71 |         fn new(n: f32, from: &str, to: &str) -> Result<Self, ConversionError> {
[INFO] [stdout]     |         --------------------------------------------------------------------- private associated function defined here
[INFO] [stdout] ...
[INFO] [stdout] 211 |         let result = ConversionQuery::new(13., "in", "hr");
[INFO] [stdout]     |                                       ^^^ private associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude`
[INFO] [stdout]  --> src/dice_game.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/conversion.rs:153:39
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 (ConversionUnit::Time(time), ConversionUnit::Distance(_)) => {
[INFO] [stdout]     |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]    --> src/conversion.rs:159:43
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 (ConversionUnit::Distance(distance), ConversionUnit::Time(_)) => {
[INFO] [stdout]     |                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0624`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jane_street_mock_interview` (bin "jane_street_mock_interview" test) due to 5 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f", kill_on_drop: false }`
[INFO] [stdout] 26cae61ff4e6bdf351e20a911aac2e8385462f04a182f7b21d09d48acaf80a2f
