[INFO] cloning repository https://github.com/tljubej/ascendancy-wars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tljubej/ascendancy-wars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftljubej%2Fascendancy-wars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftljubej%2Fascendancy-wars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c0ae8c6550e103715cd5b18741984aa81fdc0ee [INFO] checking tljubej/ascendancy-wars against try#349c4bfa6ac87b818f6fd19d4869c0b24790ac6a for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftljubej%2Fascendancy-wars" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tljubej/ascendancy-wars [INFO] finished tweaking git repo https://github.com/tljubej/ascendancy-wars [INFO] tweaked toml for git repo https://github.com/tljubej/ascendancy-wars written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tljubej/ascendancy-wars on toolchain 349c4bfa6ac87b818f6fd19d4869c0b24790ac6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tljubej/ascendancy-wars 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" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tljubej/ascendancy-wars against try#349c4bfa6ac87b818f6fd19d4869c0b24790ac6a for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftljubej%2Fascendancy-wars" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tljubej/ascendancy-wars [INFO] finished tweaking git repo https://github.com/tljubej/ascendancy-wars [INFO] tweaked toml for git repo https://github.com/tljubej/ascendancy-wars written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tljubej/ascendancy-wars on toolchain 349c4bfa6ac87b818f6fd19d4869c0b24790ac6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tljubej/ascendancy-wars 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" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33f0df20e4fbdac6477fee639cd61c2511b01d4fc97b42f1c46e55bfa4f4c895 [INFO] running `Command { std: "docker" "start" "-a" "33f0df20e4fbdac6477fee639cd61c2511b01d4fc97b42f1c46e55bfa4f4c895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33f0df20e4fbdac6477fee639cd61c2511b01d4fc97b42f1c46e55bfa4f4c895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f0df20e4fbdac6477fee639cd61c2511b01d4fc97b42f1c46e55bfa4f4c895", kill_on_drop: false }` [INFO] [stdout] 33f0df20e4fbdac6477fee639cd61c2511b01d4fc97b42f1c46e55bfa4f4c895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6f12dad759229820cd1de2e426939add0558ae9e26ea850c7999460cffd1ddc [INFO] running `Command { std: "docker" "start" "-a" "d6f12dad759229820cd1de2e426939add0558ae9e26ea850c7999460cffd1ddc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.26 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking ascendancy-wars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/mod.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut person = self.get_person_by_id_mut(id); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/mod.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let mut leader = self.get_person_by_id_mut(id); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/mod.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut subordinate = self.get_person_by_id_mut(subordinate); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let world = World::new(1000000, 10); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `culture`, `subordinates`, and `leader` are never read [INFO] [stdout] --> src/world/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pub id: Id, [INFO] [stdout] 14 | pub culture: Rc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub subordinates: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | pub leader: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cultures` is never read [INFO] [stdout] --> src/world/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | cultures: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_power_level`, `remove_people`, `rebuild_power_level_lookup`, `get_power_level_with_subordinates`, `get_person_by_id_mut`, and `get_power_level_range` are never used [INFO] [stdout] --> src/world/mod.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn update_power_level(&mut self, id: Id, new_power_level: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn remove_people(&mut self, people: HashSet) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn rebuild_power_level_lookup(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn get_power_level_with_subordinates(&self, id: Id) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn get_person_by_id_mut(&mut self, id: Id) -> &mut Person { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn get_power_level_range(&self, from: f64, to: f64) -> &[Id] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Actions` is never used [INFO] [stdout] --> src/actions/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Actions { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/world/mod.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | let index_from = if index_from < 0 { 0 } else { index_from }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/mod.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut person = self.get_person_by_id_mut(id); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/mod.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let mut leader = self.get_person_by_id_mut(id); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/mod.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut subordinate = self.get_person_by_id_mut(subordinate); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let world = World::new(1000000, 10); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `culture`, `subordinates`, and `leader` are never read [INFO] [stdout] --> src/world/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pub id: Id, [INFO] [stdout] 14 | pub culture: Rc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub subordinates: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | pub leader: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cultures` is never read [INFO] [stdout] --> src/world/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | cultures: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_power_level`, `remove_people`, `rebuild_power_level_lookup`, `get_power_level_with_subordinates`, `get_person_by_id_mut`, and `get_power_level_range` are never used [INFO] [stdout] --> src/world/mod.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn update_power_level(&mut self, id: Id, new_power_level: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn remove_people(&mut self, people: HashSet) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn rebuild_power_level_lookup(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn get_power_level_with_subordinates(&self, id: Id) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn get_person_by_id_mut(&mut self, id: Id) -> &mut Person { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn get_power_level_range(&self, from: f64, to: f64) -> &[Id] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Actions` is never used [INFO] [stdout] --> src/actions/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Actions { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/world/mod.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | let index_from = if index_from < 0 { 0 } else { index_from }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "d6f12dad759229820cd1de2e426939add0558ae9e26ea850c7999460cffd1ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f12dad759229820cd1de2e426939add0558ae9e26ea850c7999460cffd1ddc", kill_on_drop: false }` [INFO] [stdout] d6f12dad759229820cd1de2e426939add0558ae9e26ea850c7999460cffd1ddc