[INFO] cloning repository https://github.com/byzon/math-console [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/byzon/math-console" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyzon%2Fmath-console", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyzon%2Fmath-console'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77778b285c344a2164483ed990979ec1c58155cd [INFO] testing byzon/math-console/77778b285c344a2164483ed990979ec1c58155cd against 1.82.0 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbyzon%2Fmath-console" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/byzon/math-console on toolchain 1.82.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/byzon/math-console [INFO] finished tweaking git repo https://github.com/byzon/math-console [INFO] tweaked toml for git repo https://github.com/byzon/math-console written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/byzon/math-console 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.82.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 874f58e123b0e230fec6b9af26bd40923a2751ef42cb141ba59b257b4509ae42 [INFO] running `Command { std: "docker" "start" "-a" "874f58e123b0e230fec6b9af26bd40923a2751ef42cb141ba59b257b4509ae42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "874f58e123b0e230fec6b9af26bd40923a2751ef42cb141ba59b257b4509ae42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "874f58e123b0e230fec6b9af26bd40923a2751ef42cb141ba59b257b4509ae42", kill_on_drop: false }` [INFO] [stdout] 874f58e123b0e230fec6b9af26bd40923a2751ef42cb141ba59b257b4509ae42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2eac7ca9e814990a1da6e178e8d81a5aa66a82ea480cfc67d20bb266fa09ccb [INFO] running `Command { std: "docker" "start" "-a" "a2eac7ca9e814990a1da6e178e8d81a5aa66a82ea480cfc67d20bb266fa09ccb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.24 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling math-console v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/game/basic.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | InvalidInput(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | InvalidInput(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "a2eac7ca9e814990a1da6e178e8d81a5aa66a82ea480cfc67d20bb266fa09ccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2eac7ca9e814990a1da6e178e8d81a5aa66a82ea480cfc67d20bb266fa09ccb", kill_on_drop: false }` [INFO] [stdout] a2eac7ca9e814990a1da6e178e8d81a5aa66a82ea480cfc67d20bb266fa09ccb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7bc1e6ac9ea7f496a47eadf94c11a7f9f5fe64687c7e06c009a46f759cfcd9 [INFO] running `Command { std: "docker" "start" "-a" "6e7bc1e6ac9ea7f496a47eadf94c11a7f9f5fe64687c7e06c009a46f759cfcd9", kill_on_drop: false }` [INFO] [stderr] Compiling math-console v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/game/basic.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | InvalidInput(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | InvalidInput(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "6e7bc1e6ac9ea7f496a47eadf94c11a7f9f5fe64687c7e06c009a46f759cfcd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7bc1e6ac9ea7f496a47eadf94c11a7f9f5fe64687c7e06c009a46f759cfcd9", kill_on_drop: false }` [INFO] [stdout] 6e7bc1e6ac9ea7f496a47eadf94c11a7f9f5fe64687c7e06c009a46f759cfcd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8492e984e3db18925fa27d8b47dd7b910aacf2aeb300030968df4164a58ddd3c [INFO] running `Command { std: "docker" "start" "-a" "8492e984e3db18925fa27d8b47dd7b910aacf2aeb300030968df4164a58ddd3c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/game/basic.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | InvalidInput(String), [INFO] [stderr] | ------------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 6 | InvalidInput(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `math-console` (bin "math-console" test) generated 2 warnings (run `cargo fix --bin "math-console" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/math_console-fa62a70425803f37) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test problem::addition::tests::test_gets_question ... ok [INFO] [stdout] test generator::basic::tests::test_generates_with_correct_number ... ok [INFO] [stdout] test problem::addition::tests::test_gets_question_with_solution ... ok [INFO] [stdout] test problem::division::tests::test_gets_question ... ok [INFO] [stdout] test problem::division::tests::test_gets_question_with_solution ... ok [INFO] [stdout] test problem::multiplication::tests::test_gets_question ... ok [INFO] [stdout] test problem::multiplication::tests::test_gets_question_with_solution ... ok [INFO] [stdout] test problem::subtraction::tests::test_gets_question ... ok [INFO] [stdout] test problem::subtraction::tests::test_gets_question_with_solution ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8492e984e3db18925fa27d8b47dd7b910aacf2aeb300030968df4164a58ddd3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8492e984e3db18925fa27d8b47dd7b910aacf2aeb300030968df4164a58ddd3c", kill_on_drop: false }` [INFO] [stdout] 8492e984e3db18925fa27d8b47dd7b910aacf2aeb300030968df4164a58ddd3c