[INFO] cloning repository https://github.com/jamestthompson3/Rustventure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamestthompson3/Rustventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamestthompson3%2FRustventure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamestthompson3%2FRustventure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a37c6fcd670edf3a114b88df2656fc22dd938b09 [INFO] checking jamestthompson3/Rustventure against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamestthompson3%2FRustventure" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamestthompson3/Rustventure on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamestthompson3/Rustventure [INFO] finished tweaking git repo https://github.com/jamestthompson3/Rustventure [INFO] tweaked toml for git repo https://github.com/jamestthompson3/Rustventure written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jamestthompson3/Rustventure 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.40 [INFO] [stderr] Downloaded serde_derive v1.0.81 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.40 [INFO] [stderr] Downloaded serde v1.0.81 [INFO] [stderr] Downloaded js-sys v0.3.17 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.5 [INFO] [stderr] Downloaded bumpalo v2.3.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.40 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.40 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.40 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a78b8ca44e4a067934ebe2074f3c86243a8411c72f1ed771b27fbfea2dc344d9 [INFO] running `Command { std: "docker" "start" "-a" "a78b8ca44e4a067934ebe2074f3c86243a8411c72f1ed771b27fbfea2dc344d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a78b8ca44e4a067934ebe2074f3c86243a8411c72f1ed771b27fbfea2dc344d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78b8ca44e4a067934ebe2074f3c86243a8411c72f1ed771b27fbfea2dc344d9", kill_on_drop: false }` [INFO] [stdout] a78b8ca44e4a067934ebe2074f3c86243a8411c72f1ed771b27fbfea2dc344d9 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c146ec077350872a7860a0a9b8485ce336a19ce66de148f3582105c96e713d70 [INFO] running `Command { std: "docker" "start" "-a" "c146ec077350872a7860a0a9b8485ce336a19ce66de148f3582105c96e713d70", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.40 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling bumpalo v2.3.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling wasm-bindgen v0.2.40 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.40 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.40 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.40 [INFO] [stderr] Checking js-sys v0.3.17 [INFO] [stderr] Checking console_error_panic_hook v0.1.5 [INFO] [stderr] Checking rust_game v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rust_game` [INFO] [stdout] --> tests/unit_test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rust_game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/unit_test.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_game` (test "unit_test") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::prelude::v1::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::prelude::v1::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/lib.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/lib.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Heal`, `Damage`, and `Special` are never constructed [INFO] [stdout] --> src/characters.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | enum PotionEffect { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 26 | Heal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Damage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | Special, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Heal`, `Damage`, and `Special` are never constructed [INFO] [stdout] --> src/characters.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | enum PotionEffect { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 26 | Heal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Damage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | Special, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c146ec077350872a7860a0a9b8485ce336a19ce66de148f3582105c96e713d70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c146ec077350872a7860a0a9b8485ce336a19ce66de148f3582105c96e713d70", kill_on_drop: false }` [INFO] [stdout] c146ec077350872a7860a0a9b8485ce336a19ce66de148f3582105c96e713d70