[INFO] cloning repository https://github.com/sam-wright/bowling_kata
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sam-wright/bowling_kata" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-wright%2Fbowling_kata", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-wright%2Fbowling_kata'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ffab561c4ee004f14e0ff31fbbbc3ba11d06fd2
[INFO] checking sam-wright/bowling_kata against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-wright%2Fbowling_kata" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sam-wright/bowling_kata on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sam-wright/bowling_kata
[INFO] finished tweaking git repo https://github.com/sam-wright/bowling_kata
[INFO] tweaked toml for git repo https://github.com/sam-wright/bowling_kata written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/sam-wright/bowling_kata 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] faa02fff8cf298825a047ea96645e43f275c93e36e938a819b3ac1cec84d9e39
[INFO] running `Command { std: "docker" "start" "-a" "faa02fff8cf298825a047ea96645e43f275c93e36e938a819b3ac1cec84d9e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "faa02fff8cf298825a047ea96645e43f275c93e36e938a819b3ac1cec84d9e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faa02fff8cf298825a047ea96645e43f275c93e36e938a819b3ac1cec84d9e39", kill_on_drop: false }`
[INFO] [stdout] faa02fff8cf298825a047ea96645e43f275c93e36e938a819b3ac1cec84d9e39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85ee040e71cdd85000b87dcf99eaa7ce1067653f25ab5a6ad6ce1bc75cf99dd9
[INFO] running `Command { std: "docker" "start" "-a" "85ee040e71cdd85000b87dcf99eaa7ce1067653f25ab5a6ad6ce1bc75cf99dd9", kill_on_drop: false }`
[INFO] [stderr] Checking quick-error v1.2.2
[INFO] [stderr] Checking bowling_kata v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout] --> src/main.rs:37:48
[INFO] [stdout] |
[INFO] [stdout] 37 | fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 37 - fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] 37 + fn validate_game(num_frames: usize, game: &Vec) -> Result<()> {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout] --> src/main.rs:37:48
[INFO] [stdout] |
[INFO] [stdout] 37 | fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 37 - fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] 37 + fn validate_game(num_frames: usize, game: &Vec) -> Result<()> {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout] --> src/main.rs:18:6
[INFO] [stdout] |
[INFO] [stdout] 18 | type Result = StdResult;
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `roll1`, `roll2`, and `fill_ball` are never read
[INFO] [stdout] --> src/main.rs:22:5
[INFO] [stdout] |
[INFO] [stdout] 21 | struct Frame {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 22 | roll1: u8,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 23 | roll2: Option,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 24 | fill_ball: Option,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Frame` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `validate_game` is never used
[INFO] [stdout] --> src/main.rs:37:4
[INFO] [stdout] |
[INFO] [stdout] 37 | fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `validate_frame` is never used
[INFO] [stdout] --> src/main.rs:45:4
[INFO] [stdout] |
[INFO] [stdout] 45 | fn validate_frame(is_last_frame: bool, frame: &Frame) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `is_strike` is never used
[INFO] [stdout] --> src/main.rs:64:4
[INFO] [stdout] |
[INFO] [stdout] 64 | fn is_strike(frame: &Frame) -> bool {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `is_spare` is never used
[INFO] [stdout] --> src/main.rs:68:4
[INFO] [stdout] |
[INFO] [stdout] 68 | fn is_spare(frame: &Frame) -> bool {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `score_game` is never used
[INFO] [stdout] --> src/main.rs:78:4
[INFO] [stdout] |
[INFO] [stdout] 78 | fn score_game(num_frames: usize, game: &Vec) -> Result {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "85ee040e71cdd85000b87dcf99eaa7ce1067653f25ab5a6ad6ce1bc75cf99dd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85ee040e71cdd85000b87dcf99eaa7ce1067653f25ab5a6ad6ce1bc75cf99dd9", kill_on_drop: false }`
[INFO] [stdout] 85ee040e71cdd85000b87dcf99eaa7ce1067653f25ab5a6ad6ce1bc75cf99dd9
[INFO] checking sam-wright/bowling_kata against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-wright%2Fbowling_kata" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sam-wright/bowling_kata on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sam-wright/bowling_kata
[INFO] finished tweaking git repo https://github.com/sam-wright/bowling_kata
[INFO] tweaked toml for git repo https://github.com/sam-wright/bowling_kata written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/sam-wright/bowling_kata 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9559bb07af5244c627dae17cd7cab08b2c518f38b0d686af1c31612acdf82fa3
[INFO] running `Command { std: "docker" "start" "-a" "9559bb07af5244c627dae17cd7cab08b2c518f38b0d686af1c31612acdf82fa3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9559bb07af5244c627dae17cd7cab08b2c518f38b0d686af1c31612acdf82fa3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9559bb07af5244c627dae17cd7cab08b2c518f38b0d686af1c31612acdf82fa3", kill_on_drop: false }`
[INFO] [stdout] 9559bb07af5244c627dae17cd7cab08b2c518f38b0d686af1c31612acdf82fa3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de8833cd4d8f18626c9a9571f16b31041b4429abaf8eddc781fc501c4594c77d
[INFO] running `Command { std: "docker" "start" "-a" "de8833cd4d8f18626c9a9571f16b31041b4429abaf8eddc781fc501c4594c77d", kill_on_drop: false }`
[INFO] [stderr] Checking quick-error v1.2.2
[INFO] [stderr] Checking bowling_kata v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout] --> src/main.rs:37:48
[INFO] [stdout] |
[INFO] [stdout] 37 | fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 37 - fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] 37 + fn validate_game(num_frames: usize, game: &Vec) -> Result<()> {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout] --> src/main.rs:37:48
[INFO] [stdout] |
[INFO] [stdout] 37 | fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 37 - fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] 37 + fn validate_game(num_frames: usize, game: &Vec) -> Result<()> {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/main.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / quick_error! {
[INFO] [stdout] 10 | | #[derive(Debug, PartialEq)]
[INFO] [stdout] 11 | | pub enum BowlingError{
[INFO] [stdout] 12 | | InvalidFrameScore{description("Impossible frame score detected")}
[INFO] [stdout] ... |
[INFO] [stdout] 16 | | }
[INFO] [stdout] 17 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout] --> src/main.rs:18:6
[INFO] [stdout] |
[INFO] [stdout] 18 | type Result = StdResult;
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `roll1`, `roll2`, and `fill_ball` are never read
[INFO] [stdout] --> src/main.rs:22:5
[INFO] [stdout] |
[INFO] [stdout] 21 | struct Frame {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 22 | roll1: u8,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 23 | roll2: Option,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 24 | fill_ball: Option,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Frame` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `validate_game` is never used
[INFO] [stdout] --> src/main.rs:37:4
[INFO] [stdout] |
[INFO] [stdout] 37 | fn validate_game(num_frames: usize, game: &Vec<(Frame)>) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `validate_frame` is never used
[INFO] [stdout] --> src/main.rs:45:4
[INFO] [stdout] |
[INFO] [stdout] 45 | fn validate_frame(is_last_frame: bool, frame: &Frame) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `is_strike` is never used
[INFO] [stdout] --> src/main.rs:64:4
[INFO] [stdout] |
[INFO] [stdout] 64 | fn is_strike(frame: &Frame) -> bool {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `is_spare` is never used
[INFO] [stdout] --> src/main.rs:68:4
[INFO] [stdout] |
[INFO] [stdout] 68 | fn is_spare(frame: &Frame) -> bool {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `score_game` is never used
[INFO] [stdout] --> src/main.rs:78:4
[INFO] [stdout] |
[INFO] [stdout] 78 | fn score_game(num_frames: usize, game: &Vec) -> Result {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "de8833cd4d8f18626c9a9571f16b31041b4429abaf8eddc781fc501c4594c77d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de8833cd4d8f18626c9a9571f16b31041b4429abaf8eddc781fc501c4594c77d", kill_on_drop: false }`
[INFO] [stdout] de8833cd4d8f18626c9a9571f16b31041b4429abaf8eddc781fc501c4594c77d