[INFO] cloning repository https://github.com/CunningBard/Bad_Country_Simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CunningBard/Bad_Country_Simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCunningBard%2FBad_Country_Simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCunningBard%2FBad_Country_Simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 654d290237783a71282585c8590a192385f67758 [INFO] building CunningBard/Bad_Country_Simulation 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%2FCunningBard%2FBad_Country_Simulation" "/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/CunningBard/Bad_Country_Simulation 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/CunningBard/Bad_Country_Simulation [INFO] finished tweaking git repo https://github.com/CunningBard/Bad_Country_Simulation [INFO] tweaked toml for git repo https://github.com/CunningBard/Bad_Country_Simulation written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CunningBard/Bad_Country_Simulation 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-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] b7a691c5b036794bd0936f157ef2e748e0c8d6e3d58c9774087cb12fd5777620 [INFO] running `Command { std: "docker" "start" "-a" "b7a691c5b036794bd0936f157ef2e748e0c8d6e3d58c9774087cb12fd5777620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7a691c5b036794bd0936f157ef2e748e0c8d6e3d58c9774087cb12fd5777620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a691c5b036794bd0936f157ef2e748e0c8d6e3d58c9774087cb12fd5777620", kill_on_drop: false }` [INFO] [stdout] b7a691c5b036794bd0936f157ef2e748e0c8d6e3d58c9774087cb12fd5777620 [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] 49b0ee3a473ed8f79a3616fbcd8b0c1a5df9a9252925182033b4bc52f3c66a9d [INFO] running `Command { std: "docker" "start" "-a" "49b0ee3a473ed8f79a3616fbcd8b0c1a5df9a9252925182033b4bc52f3c66a9d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling country_shit_again v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Settlement` is never constructed [INFO] [stdout] --> src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Settlement [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Settlement [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct World [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl World [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 30 | { [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_prob` is never used [INFO] [stdout] --> src/esen_func.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rand_prob(number: i32) -> bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_range` is never used [INFO] [stdout] --> src/esen_func.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn rand_range(start: i32, stop: i32) -> i32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_shuffle` is never used [INFO] [stdout] --> src/esen_func.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn vec_shuffle(vec: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_item_index` is never used [INFO] [stdout] --> src/esen_func.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn rand_item_index(vec: Vec) -> usize {rand_range(0, vec.len() as i32) as usize} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `switch_bool` is never used [INFO] [stdout] --> src/esen_func.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn switch_bool(boolean: bool) -> bool { !boolean } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_prob_` is never used [INFO] [stdout] --> src/esen_func.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn rand_prob_(number: i32, to: i32) -> bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_number_increase_prob` is never used [INFO] [stdout] --> src/esen_func.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn rand_number_increase_prob(mut start_prob: i32, minus_per_iteration: i32) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "49b0ee3a473ed8f79a3616fbcd8b0c1a5df9a9252925182033b4bc52f3c66a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b0ee3a473ed8f79a3616fbcd8b0c1a5df9a9252925182033b4bc52f3c66a9d", kill_on_drop: false }` [INFO] [stdout] 49b0ee3a473ed8f79a3616fbcd8b0c1a5df9a9252925182033b4bc52f3c66a9d [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] 5d29f06a90a0ccd7e43a8928ffeffec6f739b2bd92b146dc011272aa0514a31d [INFO] running `Command { std: "docker" "start" "-a" "5d29f06a90a0ccd7e43a8928ffeffec6f739b2bd92b146dc011272aa0514a31d", kill_on_drop: false }` [INFO] [stderr] Compiling country_shit_again v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Settlement` is never constructed [INFO] [stdout] --> src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Settlement [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Settlement [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct World [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl World [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 30 | { [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_prob` is never used [INFO] [stdout] --> src/esen_func.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rand_prob(number: i32) -> bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_range` is never used [INFO] [stdout] --> src/esen_func.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn rand_range(start: i32, stop: i32) -> i32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_shuffle` is never used [INFO] [stdout] --> src/esen_func.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn vec_shuffle(vec: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_item_index` is never used [INFO] [stdout] --> src/esen_func.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn rand_item_index(vec: Vec) -> usize {rand_range(0, vec.len() as i32) as usize} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `switch_bool` is never used [INFO] [stdout] --> src/esen_func.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn switch_bool(boolean: bool) -> bool { !boolean } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_prob_` is never used [INFO] [stdout] --> src/esen_func.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn rand_prob_(number: i32, to: i32) -> bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_number_increase_prob` is never used [INFO] [stdout] --> src/esen_func.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn rand_number_increase_prob(mut start_prob: i32, minus_per_iteration: i32) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "5d29f06a90a0ccd7e43a8928ffeffec6f739b2bd92b146dc011272aa0514a31d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d29f06a90a0ccd7e43a8928ffeffec6f739b2bd92b146dc011272aa0514a31d", kill_on_drop: false }` [INFO] [stdout] 5d29f06a90a0ccd7e43a8928ffeffec6f739b2bd92b146dc011272aa0514a31d