[INFO] cloning repository https://github.com/RedOctober117/chutes_and_ladders_rewrite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RedOctober117/chutes_and_ladders_rewrite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedOctober117%2Fchutes_and_ladders_rewrite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedOctober117%2Fchutes_and_ladders_rewrite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e40d00ee1d58463c3ad73f76ceed521676505a71 [INFO] testing RedOctober117/chutes_and_ladders_rewrite against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedOctober117%2Fchutes_and_ladders_rewrite" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RedOctober117/chutes_and_ladders_rewrite [INFO] finished tweaking git repo https://github.com/RedOctober117/chutes_and_ladders_rewrite [INFO] tweaked toml for git repo https://github.com/RedOctober117/chutes_and_ladders_rewrite written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RedOctober117/chutes_and_ladders_rewrite on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RedOctober117/chutes_and_ladders_rewrite 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e385a94ab32575ff7ed1e10aff913a4399d350406b6b6f462f116ea3378a875e [INFO] running `Command { std: "docker" "start" "-a" "e385a94ab32575ff7ed1e10aff913a4399d350406b6b6f462f116ea3378a875e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e385a94ab32575ff7ed1e10aff913a4399d350406b6b6f462f116ea3378a875e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e385a94ab32575ff7ed1e10aff913a4399d350406b6b6f462f116ea3378a875e", kill_on_drop: false }` [INFO] [stdout] e385a94ab32575ff7ed1e10aff913a4399d350406b6b6f462f116ea3378a875e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0f4019c026f7751ee4175a7f69cb468b84ebdff34da9fddcf357059fd681931 [INFO] running `Command { std: "docker" "start" "-a" "a0f4019c026f7751ee4175a7f69cb468b84ebdff34da9fddcf357059fd681931", kill_on_drop: false }` [INFO] [stderr] Compiling chutes_and_ladders_rewrite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `coords` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod coords; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `coords`, create file "src/coords.rs" or "src/coords/mod.rs" [INFO] [stdout] = note: if there is a `mod coords` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `number` in initializer of `player_data::player_data::Player` [INFO] [stdout] --> src/player_data.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Player { [INFO] [stdout] | ^^^^^^ missing `number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/player_data.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get_square(&self) -> i32 { [INFO] [stdout] | ---------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | let player1 = Player::build_player('b', Coords::build_coords(10, 1)); [INFO] [stdout] | -------------------- ^^^ expected `String`, found `char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/player_data.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn build_player(identifier: String, coords: Coords) -> Player { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 9 | let player1 = Player::build_player('b'.to_string(), Coords::build_coords(10, 1)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.identifier` which is behind a shared reference [INFO] [stdout] --> src/player_data.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | self.identifier [INFO] [stdout] | ^^^^^^^^^^^^^^^ move occurs because `self.identifier` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 67 | self.identifier.clone() [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0507, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chutes_and_ladders_rewrite` (bin "chutes_and_ladders_rewrite") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a0f4019c026f7751ee4175a7f69cb468b84ebdff34da9fddcf357059fd681931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f4019c026f7751ee4175a7f69cb468b84ebdff34da9fddcf357059fd681931", kill_on_drop: false }` [INFO] [stdout] a0f4019c026f7751ee4175a7f69cb468b84ebdff34da9fddcf357059fd681931