[INFO] cloning repository https://github.com/tomasgvivo/cliciv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomasgvivo/cliciv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasgvivo%2Fcliciv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasgvivo%2Fcliciv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7327f21b7f50f64170d0e22e9108cf51b7f0ca7d [INFO] checking tomasgvivo/cliciv against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasgvivo%2Fcliciv" "/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/tomasgvivo/cliciv on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomasgvivo/cliciv [INFO] finished tweaking git repo https://github.com/tomasgvivo/cliciv [INFO] tweaked toml for git repo https://github.com/tomasgvivo/cliciv written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tomasgvivo/cliciv 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c7f8dca0fe990519a4290831100b818588b881282b141aeef25cae092f20530 [INFO] running `Command { std: "docker" "start" "-a" "4c7f8dca0fe990519a4290831100b818588b881282b141aeef25cae092f20530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c7f8dca0fe990519a4290831100b818588b881282b141aeef25cae092f20530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7f8dca0fe990519a4290831100b818588b881282b141aeef25cae092f20530", kill_on_drop: false }` [INFO] [stdout] 4c7f8dca0fe990519a4290831100b818588b881282b141aeef25cae092f20530 [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" "-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2de8aa9e17a3b72414acb1782306b843547415332c8e1e69e327e5e5bb4f017e [INFO] running `Command { std: "docker" "start" "-a" "2de8aa9e17a3b72414acb1782306b843547415332c8e1e69e327e5e5bb4f017e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking cliciv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PrimaryResource`, `Resource` [INFO] [stdout] --> src/game/state.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use super::resources::{Resource, Resources, PrimaryResource}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/game/state.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use super::errors::{CheckError, Error, IterationError}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrimaryResource`, `Resource` [INFO] [stdout] --> src/game/state.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use super::resources::{Resource, Resources, PrimaryResource}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/game/state.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use super::errors::{CheckError, Error, IterationError}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/citizens.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn apply_action(self, action: &Action, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/citizens.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn apply_action(self, action: &Action, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/land.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn apply_action(self, action: &Action, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/land.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn apply_action(self, action: &Action, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/game/state.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let hash = self.hash(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/game/state.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let hash = self.hash(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_and_check_log` is never used [INFO] [stdout] --> src/game/state.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn apply_and_check_log(self, log: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/game/errors.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_and_check_log` is never used [INFO] [stdout] --> src/game/state.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn apply_and_check_log(self, log: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/game/errors.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | NotEnaughtResource(Resource), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | NotEnaughtResource(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | NotEnaughtResource(Resource), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | NotEnaughtResource(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | NotEnaughtWorkersInJob(Job), [INFO] [stdout] | ---------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | NotEnaughtWorkersInJob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | NotEnaughtWorkersInJob(Job), [INFO] [stdout] | ---------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | NotEnaughtWorkersInJob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | InvalidStateRecreation(IterationError) [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | InvalidStateRecreation(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | InvalidStateRecreation(IterationError) [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | InvalidStateRecreation(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.02s [INFO] running `Command { std: "docker" "inspect" "2de8aa9e17a3b72414acb1782306b843547415332c8e1e69e327e5e5bb4f017e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de8aa9e17a3b72414acb1782306b843547415332c8e1e69e327e5e5bb4f017e", kill_on_drop: false }` [INFO] [stdout] 2de8aa9e17a3b72414acb1782306b843547415332c8e1e69e327e5e5bb4f017e [INFO] checking tomasgvivo/cliciv against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasgvivo%2Fcliciv" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomasgvivo/cliciv on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomasgvivo/cliciv [INFO] finished tweaking git repo https://github.com/tomasgvivo/cliciv [INFO] tweaked toml for git repo https://github.com/tomasgvivo/cliciv written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tomasgvivo/cliciv 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a183687497992f650aa08f6366be3aefdc9f83ad3263d5fa668805e3a5096617 [INFO] running `Command { std: "docker" "start" "-a" "a183687497992f650aa08f6366be3aefdc9f83ad3263d5fa668805e3a5096617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a183687497992f650aa08f6366be3aefdc9f83ad3263d5fa668805e3a5096617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a183687497992f650aa08f6366be3aefdc9f83ad3263d5fa668805e3a5096617", kill_on_drop: false }` [INFO] [stdout] a183687497992f650aa08f6366be3aefdc9f83ad3263d5fa668805e3a5096617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dde903667a49f8b8fb716ee2d9486836d5c2a8c7037b8987f95c1d327bd92b99 [INFO] running `Command { std: "docker" "start" "-a" "dde903667a49f8b8fb716ee2d9486836d5c2a8c7037b8987f95c1d327bd92b99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking cliciv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PrimaryResource`, `Resource` [INFO] [stdout] --> src/game/state.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use super::resources::{Resource, Resources, PrimaryResource}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/game/state.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use super::errors::{CheckError, Error, IterationError}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrimaryResource`, `Resource` [INFO] [stdout] --> src/game/state.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use super::resources::{Resource, Resources, PrimaryResource}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/game/state.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use super::errors::{CheckError, Error, IterationError}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/citizens.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn apply_action(self, action: &Action, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/land.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn apply_action(self, action: &Action, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/citizens.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn apply_action(self, action: &Action, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/land.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn apply_action(self, action: &Action, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/game/state.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let hash = self.hash(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/game/state.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let hash = self.hash(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_and_check_log` is never used [INFO] [stdout] --> src/game/state.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn apply_and_check_log(self, log: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/game/errors.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | NotEnaughtResource(Resource), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | NotEnaughtResource(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | NotEnaughtWorkersInJob(Job), [INFO] [stdout] | ---------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | NotEnaughtWorkersInJob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | InvalidStateRecreation(IterationError) [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | InvalidStateRecreation(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_and_check_log` is never used [INFO] [stdout] --> src/game/state.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn apply_and_check_log(self, log: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/game/errors.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | NotEnaughtResource(Resource), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | NotEnaughtResource(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | NotEnaughtWorkersInJob(Job), [INFO] [stdout] | ---------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | NotEnaughtWorkersInJob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/errors.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | InvalidStateRecreation(IterationError) [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | InvalidStateRecreation(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.88s [INFO] running `Command { std: "docker" "inspect" "dde903667a49f8b8fb716ee2d9486836d5c2a8c7037b8987f95c1d327bd92b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dde903667a49f8b8fb716ee2d9486836d5c2a8c7037b8987f95c1d327bd92b99", kill_on_drop: false }` [INFO] [stdout] dde903667a49f8b8fb716ee2d9486836d5c2a8c7037b8987f95c1d327bd92b99