[INFO] cloning repository https://github.com/McArthur-Alford/pf2e [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/McArthur-Alford/pf2e" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcArthur-Alford%2Fpf2e", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcArthur-Alford%2Fpf2e'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25dfc6d439df08659f824a9a1d9eabc68d167bfb [INFO] building McArthur-Alford/pf2e 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%2FMcArthur-Alford%2Fpf2e" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/McArthur-Alford/pf2e 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/McArthur-Alford/pf2e [INFO] finished tweaking git repo https://github.com/McArthur-Alford/pf2e [INFO] tweaked toml for git repo https://github.com/McArthur-Alford/pf2e written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/McArthur-Alford/pf2e 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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2f5b9c0f68ca346eaae3fcd72f5b4e86ace43763d2bee1a496b2515cb0a9eaa2 [INFO] running `Command { std: "docker" "start" "-a" "2f5b9c0f68ca346eaae3fcd72f5b4e86ace43763d2bee1a496b2515cb0a9eaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f5b9c0f68ca346eaae3fcd72f5b4e86ace43763d2bee1a496b2515cb0a9eaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5b9c0f68ca346eaae3fcd72f5b4e86ace43763d2bee1a496b2515cb0a9eaa2", kill_on_drop: false }` [INFO] [stdout] 2f5b9c0f68ca346eaae3fcd72f5b4e86ace43763d2bee1a496b2515cb0a9eaa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c1181c866e4e6a6cf0f0c0921c2204fd80ce7c0941a1e988e005000f5f22de42 [INFO] running `Command { std: "docker" "start" "-a" "c1181c866e4e6a6cf0f0c0921c2204fd80ce7c0941a1e988e005000f5f22de42", kill_on_drop: false }` [INFO] [stderr] Compiling pf2e v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/engine.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 157 | / match response { [INFO] [stdout] 158 | | ActionResponse::Valid(updates) => { [INFO] [stdout] 159 | | todo!(); [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 168 | true [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updates` [INFO] [stdout] --> src/engine.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | ActionResponse::Valid(updates) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Meta` is never constructed [INFO] [stdout] --> src/engine.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Meta {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestBase` is never constructed [INFO] [stdout] --> src/engine.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct TestBase { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/engine.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Filter` is never used [INFO] [stdout] --> src/engine.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) type Filter = Box) -> State>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tag` is never used [INFO] [stdout] --> src/engine.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) enum Tag {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Resolved` is never used [INFO] [stdout] --> src/engine.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum Resolved { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Update` is never constructed [INFO] [stdout] --> src/engine.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UserInput` is never used [INFO] [stdout] --> src/engine.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) enum UserInput {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InvalidAction` is never used [INFO] [stdout] --> src/engine.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) enum InvalidAction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActionResponse` is never used [INFO] [stdout] --> src/engine.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) enum ActionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Action` is never constructed [INFO] [stdout] --> src/engine.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) struct Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `apply` are never used [INFO] [stdout] --> src/engine.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 63 | impl Action { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 64 | pub(crate) fn new(generator: Box) -> ActionResponse>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn apply(&self, state: &State) -> ActionResponse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuleResponse` is never used [INFO] [stdout] --> src/engine.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) enum RuleResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rule` is never used [INFO] [stdout] --> src/engine.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) type Rule = Box, &Update) -> RuleResponse>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Engine` is never constructed [INFO] [stdout] --> src/engine.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct Engine { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step`, `process_rule`, `process_action`, `process_update`, and `resolve` are never used [INFO] [stdout] --> src/engine.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 93 | impl Engine { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 94 | pub(crate) fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn process_rule(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn process_action(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn process_update(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub(crate) fn resolve(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "c1181c866e4e6a6cf0f0c0921c2204fd80ce7c0941a1e988e005000f5f22de42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1181c866e4e6a6cf0f0c0921c2204fd80ce7c0941a1e988e005000f5f22de42", kill_on_drop: false }` [INFO] [stdout] c1181c866e4e6a6cf0f0c0921c2204fd80ce7c0941a1e988e005000f5f22de42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 50342c79e7326ebe2da8f7d8ed044c95dfbf4edd39ba38a35c1993edc37a49cf [INFO] running `Command { std: "docker" "start" "-a" "50342c79e7326ebe2da8f7d8ed044c95dfbf4edd39ba38a35c1993edc37a49cf", kill_on_drop: false }` [INFO] [stderr] Compiling pf2e v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/engine.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 157 | / match response { [INFO] [stdout] 158 | | ActionResponse::Valid(updates) => { [INFO] [stdout] 159 | | todo!(); [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 168 | true [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updates` [INFO] [stdout] --> src/engine.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | ActionResponse::Valid(updates) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `woos` and `name` are never read [INFO] [stdout] --> src/engine.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct TestBase { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | pub(crate) magics: u8, [INFO] [stdout] 9 | pub(crate) woos: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestBase` 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: field `meta` is never read [INFO] [stdout] --> src/engine.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | pub(crate) meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Partial` is never constructed [INFO] [stdout] --> src/engine.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum Resolved { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Partial, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/engine.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct Update { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 36 | pub(crate) filter: Filter, [INFO] [stdout] 37 | pub(crate) id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadPredicate` is never constructed [INFO] [stdout] --> src/engine.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) enum InvalidAction { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 45 | BadPredicate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Valid`, `Invalid`, and `RequestInput` are never constructed [INFO] [stdout] --> src/engine.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) enum ActionResponse { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 49 | Valid(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Invalid(InvalidAction), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | RequestInput(UserInput), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 63 | impl Action { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 64 | pub(crate) fn new(generator: Box) -> ActionResponse>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Skip`, `Divert`, `Revert`, `Inject`, and `Attach` are never constructed [INFO] [stdout] --> src/engine.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) enum RuleResponse { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 74 | Skip, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | Divert(Action), // Kill all future updates in the chain, create a new action [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | Revert(Action), // Kill all future and past updates in the chain [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | Inject(Action), // Inject a new action into the update chain [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | // (This must satisfy the predicate of the next update) [INFO] [stdout] 79 | Attach(Tag), // Attach a tag to the current update (to be used by future rules) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "50342c79e7326ebe2da8f7d8ed044c95dfbf4edd39ba38a35c1993edc37a49cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50342c79e7326ebe2da8f7d8ed044c95dfbf4edd39ba38a35c1993edc37a49cf", kill_on_drop: false }` [INFO] [stdout] 50342c79e7326ebe2da8f7d8ed044c95dfbf4edd39ba38a35c1993edc37a49cf