[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#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-wright%2Fbowling_kata" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sam-wright/bowling_kata on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-6/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: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f6ce48b813f0960a323397cde4c00e425dc8677ba33f84cec16e3e153632c33
[INFO] running `Command { std: "docker" "start" "-a" "4f6ce48b813f0960a323397cde4c00e425dc8677ba33f84cec16e3e153632c33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f6ce48b813f0960a323397cde4c00e425dc8677ba33f84cec16e3e153632c33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f6ce48b813f0960a323397cde4c00e425dc8677ba33f84cec16e3e153632c33", kill_on_drop: false }`
[INFO] [stdout] 4f6ce48b813f0960a323397cde4c00e425dc8677ba33f84cec16e3e153632c33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 099a4aec9b0eb0ab8d8d8d392ea7e4f9d69f74eef9de8566dd765d6fd1248933
[INFO] running `Command { std: "docker" "start" "-a" "099a4aec9b0eb0ab8d8d8d392ea7e4f9d69f74eef9de8566dd765d6fd1248933", 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: 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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 is never used: `Result`
[INFO] [stdout] --> src/main.rs:18:1
[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: field is never read: `roll1`
[INFO] [stdout] --> src/main.rs:22:5
[INFO] [stdout] |
[INFO] [stdout] 22 | roll1: u8,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `roll2`
[INFO] [stdout] --> src/main.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 23 | roll2: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `fill_ball`
[INFO] [stdout] --> src/main.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 24 | fill_ball: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `validate_game`
[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 is never used: `validate_frame`
[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 never used: `is_strike`
[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 never used: `is_spare`
[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 is never used: `score_game`
[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: 14 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "099a4aec9b0eb0ab8d8d8d392ea7e4f9d69f74eef9de8566dd765d6fd1248933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "099a4aec9b0eb0ab8d8d8d392ea7e4f9d69f74eef9de8566dd765d6fd1248933", kill_on_drop: false }`
[INFO] [stdout] 099a4aec9b0eb0ab8d8d8d392ea7e4f9d69f74eef9de8566dd765d6fd1248933