[INFO] cloning repository https://github.com/caiorulli/tic_tac_toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caiorulli/tic_tac_toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiorulli%2Ftic_tac_toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiorulli%2Ftic_tac_toe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b019fd598eb3b00ccfb6e3aef4bbc452749b100 [INFO] checking caiorulli/tic_tac_toe against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiorulli%2Ftic_tac_toe" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/caiorulli/tic_tac_toe [INFO] finished tweaking git repo https://github.com/caiorulli/tic_tac_toe [INFO] tweaked toml for git repo https://github.com/caiorulli/tic_tac_toe written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caiorulli/tic_tac_toe on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caiorulli/tic_tac_toe 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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd75013740dcc99a7034039d741d95887a7466e590f115331e44800081a51c2f [INFO] running `Command { std: "docker" "start" "-a" "fd75013740dcc99a7034039d741d95887a7466e590f115331e44800081a51c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd75013740dcc99a7034039d741d95887a7466e590f115331e44800081a51c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd75013740dcc99a7034039d741d95887a7466e590f115331e44800081a51c2f", kill_on_drop: false }` [INFO] [stdout] fd75013740dcc99a7034039d741d95887a7466e590f115331e44800081a51c2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 410aa8db0c91b2f303749ee256a6fb26e93950696751477fa3e4f7898658e1cb [INFO] running `Command { std: "docker" "start" "-a" "410aa8db0c91b2f303749ee256a6fb26e93950696751477fa3e4f7898658e1cb", kill_on_drop: false }` [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tui_tac_toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `{integer}: SampleRange<_>` is not satisfied [INFO] [stdout] --> src/main.rs:45:64 [INFO] [stdout] | [INFO] [stdout] 45 | let computer_move_x = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] | --------- ^ the trait `SampleRange<_>` is not implemented for `{integer}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `SampleRange` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/uniform.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl SampleRange for Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::Range` [INFO] [stdout] ... [INFO] [stdout] 369 | impl SampleRange for RangeInclusive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::RangeInclusive` [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 132 | R: SampleRange [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:45:54 [INFO] [stdout] | [INFO] [stdout] 45 | let computer_move_x = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] | ^^^^^^^^^ - unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 - let computer_move_x = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] 45 + let computer_move_x = rand::thread_rng().gen_range(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{integer}: SampleRange<_>` is not satisfied [INFO] [stdout] --> src/main.rs:45:64 [INFO] [stdout] | [INFO] [stdout] 45 | let computer_move_x = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] | --------- ^ the trait `SampleRange<_>` is not implemented for `{integer}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `SampleRange` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/uniform.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl SampleRange for Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::Range` [INFO] [stdout] ... [INFO] [stdout] 369 | impl SampleRange for RangeInclusive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::RangeInclusive` [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 132 | R: SampleRange [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{integer}: SampleRange<_>` is not satisfied [INFO] [stdout] --> src/main.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | let computer_move_y = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] | --------- ^ the trait `SampleRange<_>` is not implemented for `{integer}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `SampleRange` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/uniform.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl SampleRange for Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::Range` [INFO] [stdout] ... [INFO] [stdout] 369 | impl SampleRange for RangeInclusive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::RangeInclusive` [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 132 | R: SampleRange [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let computer_move_y = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] | ^^^^^^^^^ - unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 46 - let computer_move_y = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] 46 + let computer_move_y = rand::thread_rng().gen_range(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:45:54 [INFO] [stdout] | [INFO] [stdout] 45 | let computer_move_x = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] | ^^^^^^^^^ - unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 - let computer_move_x = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] 45 + let computer_move_x = rand::thread_rng().gen_range(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{integer}: SampleRange<_>` is not satisfied [INFO] [stdout] --> src/main.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | let computer_move_y = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] | --------- ^ the trait `SampleRange<_>` is not implemented for `{integer}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `SampleRange` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/uniform.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | impl SampleRange for Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::Range` [INFO] [stdout] ... [INFO] [stdout] 369 | impl SampleRange for RangeInclusive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ops::RangeInclusive` [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 132 | R: SampleRange [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let computer_move_y = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] | ^^^^^^^^^ - unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 46 - let computer_move_y = rand::thread_rng().gen_range(0, 3); [INFO] [stdout] 46 + let computer_move_y = rand::thread_rng().gen_range(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tui_tac_toe` (bin "tui_tac_toe" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tui_tac_toe` (bin "tui_tac_toe") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "410aa8db0c91b2f303749ee256a6fb26e93950696751477fa3e4f7898658e1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410aa8db0c91b2f303749ee256a6fb26e93950696751477fa3e4f7898658e1cb", kill_on_drop: false }` [INFO] [stdout] 410aa8db0c91b2f303749ee256a6fb26e93950696751477fa3e4f7898658e1cb