[INFO] cloning repository https://github.com/xStFtx/RRPG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xStFtx/RRPG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxStFtx%2FRRPG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxStFtx%2FRRPG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b168b89d33e35cb22f47506e94af3832ec58b891 [INFO] building xStFtx/RRPG 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%2FxStFtx%2FRRPG" "/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/xStFtx/RRPG 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/xStFtx/RRPG [INFO] finished tweaking git repo https://github.com/xStFtx/RRPG [INFO] tweaked toml for git repo https://github.com/xStFtx/RRPG written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xStFtx/RRPG 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] 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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3af1ccbc51b4058f4a0850cd873744006a2b58d5036f22fef03ca8ce6dd0c2d [INFO] running `Command { std: "docker" "start" "-a" "e3af1ccbc51b4058f4a0850cd873744006a2b58d5036f22fef03ca8ce6dd0c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3af1ccbc51b4058f4a0850cd873744006a2b58d5036f22fef03ca8ce6dd0c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3af1ccbc51b4058f4a0850cd873744006a2b58d5036f22fef03ca8ce6dd0c2d", kill_on_drop: false }` [INFO] [stdout] e3af1ccbc51b4058f4a0850cd873744006a2b58d5036f22fef03ca8ce6dd0c2d [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 -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] 4dc9320ff7a56236fcbc0b15f48d263322011db2de620de0f4a0909125ab8332 [INFO] running `Command { std: "docker" "start" "-a" "4dc9320ff7a56236fcbc0b15f48d263322011db2de620de0f4a0909125ab8332", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rrpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `damage_increase` [INFO] [stdout] --> src/main.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | ItemEffect::DamageIncrease(damage_increase) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_increase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mage` and `Rogue` are never constructed [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum CharacterClass { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 6 | Warrior, [INFO] [stdout] 7 | Mage, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Rogue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` 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: variants `Common`, `Rare`, and `Epic` are never constructed [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum ItemRarity { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | Common, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Rare, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Epic, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemRarity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HealthPotion`, `MagicPotion`, and `DamageBoost` are never constructed [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum ItemType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 20 | HealthPotion, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | MagicPotion, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | DamageBoost, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Heal`, `RestoreMagicPoints`, and `DamageIncrease` are never constructed [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum ItemEffect { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 27 | Heal(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | RestoreMagicPoints(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | DamageIncrease(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `experience_points` and `experience_to_level_up` are never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Character { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | experience_points: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | experience_to_level_up: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuestObjective` is never constructed [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct QuestObjective { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quest` is never constructed [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct Quest { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "4dc9320ff7a56236fcbc0b15f48d263322011db2de620de0f4a0909125ab8332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc9320ff7a56236fcbc0b15f48d263322011db2de620de0f4a0909125ab8332", kill_on_drop: false }` [INFO] [stdout] 4dc9320ff7a56236fcbc0b15f48d263322011db2de620de0f4a0909125ab8332 [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 -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] 675db56b03dd52866e59fb9760ffa4a9b94392bcea8188a134cc374ea78ffcc5 [INFO] running `Command { std: "docker" "start" "-a" "675db56b03dd52866e59fb9760ffa4a9b94392bcea8188a134cc374ea78ffcc5", kill_on_drop: false }` [INFO] [stderr] Compiling rrpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `damage_increase` [INFO] [stdout] --> src/main.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | ItemEffect::DamageIncrease(damage_increase) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_increase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mage` and `Rogue` are never constructed [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum CharacterClass { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 6 | Warrior, [INFO] [stdout] 7 | Mage, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Rogue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` 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: variants `Common`, `Rare`, and `Epic` are never constructed [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum ItemRarity { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | Common, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Rare, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Epic, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemRarity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HealthPotion`, `MagicPotion`, and `DamageBoost` are never constructed [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum ItemType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 20 | HealthPotion, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | MagicPotion, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | DamageBoost, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Heal`, `RestoreMagicPoints`, and `DamageIncrease` are never constructed [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum ItemEffect { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 27 | Heal(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | RestoreMagicPoints(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | DamageIncrease(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `experience_points` and `experience_to_level_up` are never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Character { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | experience_points: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | experience_to_level_up: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuestObjective` is never constructed [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct QuestObjective { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quest` is never constructed [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct Quest { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "675db56b03dd52866e59fb9760ffa4a9b94392bcea8188a134cc374ea78ffcc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "675db56b03dd52866e59fb9760ffa4a9b94392bcea8188a134cc374ea78ffcc5", kill_on_drop: false }` [INFO] [stdout] 675db56b03dd52866e59fb9760ffa4a9b94392bcea8188a134cc374ea78ffcc5