[INFO] cloning repository https://github.com/maxiwu13133/Multiplayer-Snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxiwu13133/Multiplayer-Snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxiwu13133%2FMultiplayer-Snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxiwu13133%2FMultiplayer-Snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ec2e9df58188d3b03eaaef9ecaa6469c9f55192 [INFO] documenting maxiwu13133/Multiplayer-Snake against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxiwu13133%2FMultiplayer-Snake" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxiwu13133/Multiplayer-Snake on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxiwu13133/Multiplayer-Snake [INFO] finished tweaking git repo https://github.com/maxiwu13133/Multiplayer-Snake [INFO] tweaked toml for git repo https://github.com/maxiwu13133/Multiplayer-Snake written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/maxiwu13133/Multiplayer-Snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66c630d44cf813b71cddf044ab4378e63cf08be7fd0140626502ebd55aed047f [INFO] running `Command { std: "docker" "start" "-a" "66c630d44cf813b71cddf044ab4378e63cf08be7fd0140626502ebd55aed047f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66c630d44cf813b71cddf044ab4378e63cf08be7fd0140626502ebd55aed047f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c630d44cf813b71cddf044ab4378e63cf08be7fd0140626502ebd55aed047f", kill_on_drop: false }` [INFO] [stdout] 66c630d44cf813b71cddf044ab4378e63cf08be7fd0140626502ebd55aed047f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24e9fe162e9c7689803afe4dc1450df07dff06d78c92695d6d04d65884aaaca7 [INFO] running `Command { std: "docker" "start" "-a" "24e9fe162e9c7689803afe4dc1450df07dff06d78c92695d6d04d65884aaaca7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Documenting lib-multiplayer v0.1.0 (/opt/rustwide/workdir/libs/multiplayer) [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking getrandom v0.2.5 [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] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Checking lib-game v0.1.0 (/opt/rustwide/workdir/libs/game) [INFO] [stderr] Documenting lib-game v0.1.0 (/opt/rustwide/workdir/libs/game) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> libs/game/src/lib.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::{RngCore, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `SpeedModifier` is named the same as one of the variants of the type `ItemType` [INFO] [stdout] --> libs/game/src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ItemType::SpeedModifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `InvincibilityModifier` is named the same as one of the variants of the type `ItemType` [INFO] [stdout] --> libs/game/src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | InvincibilityModifier => snake.set_is_invincible() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `ItemType::InvincibilityModifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> libs/game/src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 44 | SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()), [INFO] [stdout] | ------------- matches any value [INFO] [stdout] 45 | InvincibilityModifier => snake.set_is_invincible() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> libs/game/src/lib.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(config: Config, rng: &mut dyn RngCore) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SpeedModifier` [INFO] [stdout] --> libs/game/src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_SpeedModifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `InvincibilityModifier` [INFO] [stdout] --> libs/game/src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | InvincibilityModifier => snake.set_is_invincible() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_InvincibilityModifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invincibility` [INFO] [stdout] --> libs/game/src/item.rs:19:76 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(item_type: ItemType, x: usize, y: usize, speed_effect: i32, invincibility: bool) -> Item { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invincibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SpeedModifier` should have a snake case name [INFO] [stdout] --> libs/game/src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `speed_modifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `InvincibilityModifier` should have a snake case name [INFO] [stdout] --> libs/game/src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | InvincibilityModifier => snake.set_is_invincible() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `invincibility_modifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Checking js-sys v0.3.56 [INFO] [stderr] Checking web-sys v0.3.56 [INFO] [stderr] Documenting lib-game-wasm v0.1.0 (/opt/rustwide/workdir/libs/game-wasm) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.80s [INFO] running `Command { std: "docker" "inspect" "24e9fe162e9c7689803afe4dc1450df07dff06d78c92695d6d04d65884aaaca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e9fe162e9c7689803afe4dc1450df07dff06d78c92695d6d04d65884aaaca7", kill_on_drop: false }` [INFO] [stdout] 24e9fe162e9c7689803afe4dc1450df07dff06d78c92695d6d04d65884aaaca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 7c2b2581d045c607e583a3116a3f91915bf7a67d2154c4a4765f7ee2e439f829 [INFO] running `Command { std: "docker" "start" "-a" "7c2b2581d045c607e583a3116a3f91915bf7a67d2154c4a4765f7ee2e439f829", kill_on_drop: false }` [INFO] [stderr] error: manifest path `/opt/rustwide/workdir/Cargo.toml` is a virtual manifest, but this command requires running against an actual package in this workspace [INFO] running `Command { std: "docker" "inspect" "7c2b2581d045c607e583a3116a3f91915bf7a67d2154c4a4765f7ee2e439f829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c2b2581d045c607e583a3116a3f91915bf7a67d2154c4a4765f7ee2e439f829", kill_on_drop: false }` [INFO] [stdout] 7c2b2581d045c607e583a3116a3f91915bf7a67d2154c4a4765f7ee2e439f829