[INFO] cloning repository https://github.com/andymadden/VampireNotebook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andymadden/VampireNotebook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandymadden%2FVampireNotebook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandymadden%2FVampireNotebook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f7182fe8a3d1e44f9da39ede4237d7adb3be634 [INFO] building andymadden/VampireNotebook against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandymadden%2FVampireNotebook" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andymadden/VampireNotebook on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andymadden/VampireNotebook [INFO] finished tweaking git repo https://github.com/andymadden/VampireNotebook [INFO] tweaked toml for git repo https://github.com/andymadden/VampireNotebook written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andymadden/VampireNotebook 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pancurses v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79df0f3c8b6e28d07e80f5a583fa142541111e035c8ba4107872b7a8da88c6b5 [INFO] running `Command { std: "docker" "start" "-a" "79df0f3c8b6e28d07e80f5a583fa142541111e035c8ba4107872b7a8da88c6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79df0f3c8b6e28d07e80f5a583fa142541111e035c8ba4107872b7a8da88c6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79df0f3c8b6e28d07e80f5a583fa142541111e035c8ba4107872b7a8da88c6b5", kill_on_drop: false }` [INFO] [stdout] 79df0f3c8b6e28d07e80f5a583fa142541111e035c8ba4107872b7a8da88c6b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8efc86a29d6930b5aa1747df3c0a1c6c65f7f78db5bf4034163af057cec8929 [INFO] running `Command { std: "docker" "start" "-a" "b8efc86a29d6930b5aa1747df3c0a1c6c65f7f78db5bf4034163af057cec8929", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling pancurses v0.17.0 [INFO] [stderr] Compiling vampire_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gamecore.rs:17:61 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> GameCore<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 17 | pub fn new(state: GameState, window: &'a mut Window) -> GameCore { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `curses_service::Screen` [INFO] [stdout] --> src/services.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use curses_service::Screen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/state/main_menu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transition` [INFO] [stdout] --> src/state/title_state.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{GameCore, Transition, GameState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/screen/character_creation.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/screen/new_npc.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/screen/new_resource.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/screen/new_skill.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/game_play.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn game_play_init(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/game_play.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn game_play_loop(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/game_play.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn game_play_cleanup(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/main_menu.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn main_menu_init(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/title_state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn title_screen_init(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CharacterCreation`, `NewNPC`, `NewSkill`, and `NewResource` are never constructed [INFO] [stdout] --> src/screen.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Screen<'a> { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | CharacterCreation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | NewNPC, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | NewSkill, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | NewResource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Screen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GamePlay` is never constructed [INFO] [stdout] --> src/state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | GamePlay, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.73s [INFO] running `Command { std: "docker" "inspect" "b8efc86a29d6930b5aa1747df3c0a1c6c65f7f78db5bf4034163af057cec8929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8efc86a29d6930b5aa1747df3c0a1c6c65f7f78db5bf4034163af057cec8929", kill_on_drop: false }` [INFO] [stdout] b8efc86a29d6930b5aa1747df3c0a1c6c65f7f78db5bf4034163af057cec8929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14c6e9f2bb0008bbc7240f1d4e877b60f50c38f4965212f7402017cbc704c960 [INFO] running `Command { std: "docker" "start" "-a" "14c6e9f2bb0008bbc7240f1d4e877b60f50c38f4965212f7402017cbc704c960", kill_on_drop: false }` [INFO] [stderr] Compiling vampire_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gamecore.rs:17:61 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> GameCore<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 17 | pub fn new(state: GameState, window: &'a mut Window) -> GameCore { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `curses_service::Screen` [INFO] [stdout] --> src/services.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use curses_service::Screen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/state/main_menu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transition` [INFO] [stdout] --> src/state/title_state.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{GameCore, Transition, GameState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/screen/character_creation.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/screen/new_npc.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/screen/new_resource.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/screen/new_skill.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/game_play.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn game_play_init(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/game_play.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn game_play_loop(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/game_play.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn game_play_cleanup(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/main_menu.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn main_menu_init(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamecore` [INFO] [stdout] --> src/state/title_state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn title_screen_init(gamecore: &mut GameCore) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamecore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CharacterCreation`, `NewNPC`, `NewSkill`, and `NewResource` are never constructed [INFO] [stdout] --> src/screen.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Screen<'a> { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | CharacterCreation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | NewNPC, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | NewSkill, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | NewResource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Screen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GamePlay` is never constructed [INFO] [stdout] --> src/state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | GamePlay, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "14c6e9f2bb0008bbc7240f1d4e877b60f50c38f4965212f7402017cbc704c960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c6e9f2bb0008bbc7240f1d4e877b60f50c38f4965212f7402017cbc704c960", kill_on_drop: false }` [INFO] [stdout] 14c6e9f2bb0008bbc7240f1d4e877b60f50c38f4965212f7402017cbc704c960