[INFO] cloning repository https://github.com/prosavage/rock-paper-scissors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prosavage/rock-paper-scissors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprosavage%2Frock-paper-scissors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprosavage%2Frock-paper-scissors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa75aa5a01873ddd0302309c229992d99e1577ca [INFO] checking prosavage/rock-paper-scissors against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprosavage%2Frock-paper-scissors" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/prosavage/rock-paper-scissors [INFO] finished tweaking git repo https://github.com/prosavage/rock-paper-scissors [INFO] tweaked toml for git repo https://github.com/prosavage/rock-paper-scissors written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/prosavage/rock-paper-scissors on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/prosavage/rock-paper-scissors 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47c5ea40b2b8d38c16e0c9f8a07c32faa14770fcb449d3102b5052e9464703f4 [INFO] running `Command { std: "docker" "start" "-a" "47c5ea40b2b8d38c16e0c9f8a07c32faa14770fcb449d3102b5052e9464703f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47c5ea40b2b8d38c16e0c9f8a07c32faa14770fcb449d3102b5052e9464703f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c5ea40b2b8d38c16e0c9f8a07c32faa14770fcb449d3102b5052e9464703f4", kill_on_drop: false }` [INFO] [stdout] 47c5ea40b2b8d38c16e0c9f8a07c32faa14770fcb449d3102b5052e9464703f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b97a87df95a2055dcd5ed038d0e74c44afa9d5b03f51ceb609442027a42b4117 [INFO] running `Command { std: "docker" "start" "-a" "b97a87df95a2055dcd5ed038d0e74c44afa9d5b03f51ceb609442027a42b4117", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rps-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `game::Game` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use game::Game; [INFO] [stdout] | ^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `game` [INFO] [stdout] | no `Game` in `game` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::game::game::Game` exists but is inaccessible [INFO] [stdout] --> src/game/game.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Game { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round` [INFO] [stdout] --> src/game/game.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | round::Result::Win => self.total_wins += 1, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `round` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/game/round.rs, use `mod round` in this file to declare the module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + mod round; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::game::round::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - round::Result::Win => self.total_wins += 1, [INFO] [stdout] 25 + Result::Win => self.total_wins += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round` [INFO] [stdout] --> src/game/game.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | round::Result::Lose => self.total_losses += 1, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `round` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/game/round.rs, use `mod round` in this file to declare the module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + mod round; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::game::round::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - round::Result::Lose => self.total_losses += 1, [INFO] [stdout] 26 + Result::Lose => self.total_losses += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round` [INFO] [stdout] --> src/game/game.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | round::Result::Draw => self.total_draws += 1, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `round` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/game/round.rs, use `mod round` in this file to declare the module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + mod round; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::game::round::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - round::Result::Draw => self.total_draws += 1, [INFO] [stdout] 27 + Result::Draw => self.total_draws += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `game::Game` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use game::Game; [INFO] [stdout] | ^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `game` [INFO] [stdout] | no `Game` in `game` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::game::game::Game` exists but is inaccessible [INFO] [stdout] --> src/game/game.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Game { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round` [INFO] [stdout] --> src/game/game.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | round::Result::Win => self.total_wins += 1, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `round` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/game/round.rs, use `mod round` in this file to declare the module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + mod round; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::game::round::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - round::Result::Win => self.total_wins += 1, [INFO] [stdout] 25 + Result::Win => self.total_wins += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rps-rust` (bin "rps-rust") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round` [INFO] [stdout] --> src/game/game.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | round::Result::Lose => self.total_losses += 1, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `round` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/game/round.rs, use `mod round` in this file to declare the module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + mod round; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::game::round::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - round::Result::Lose => self.total_losses += 1, [INFO] [stdout] 26 + Result::Lose => self.total_losses += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round` [INFO] [stdout] --> src/game/game.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | round::Result::Draw => self.total_draws += 1, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `round` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/game/round.rs, use `mod round` in this file to declare the module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + mod round; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::game::round::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - round::Result::Draw => self.total_draws += 1, [INFO] [stdout] 27 + Result::Draw => self.total_draws += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rps-rust` (bin "rps-rust" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b97a87df95a2055dcd5ed038d0e74c44afa9d5b03f51ceb609442027a42b4117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97a87df95a2055dcd5ed038d0e74c44afa9d5b03f51ceb609442027a42b4117", kill_on_drop: false }` [INFO] [stdout] b97a87df95a2055dcd5ed038d0e74c44afa9d5b03f51ceb609442027a42b4117