[INFO] cloning repository https://github.com/kubil6y/rust_ecs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kubil6y/rust_ecs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubil6y%2Frust_ecs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubil6y%2Frust_ecs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9971d0d7247a9892ae3f66998fdf64e35b19f38f [INFO] checking kubil6y/rust_ecs against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubil6y%2Frust_ecs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kubil6y/rust_ecs on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kubil6y/rust_ecs [INFO] finished tweaking git repo https://github.com/kubil6y/rust_ecs [INFO] tweaked toml for git repo https://github.com/kubil6y/rust_ecs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kubil6y/rust_ecs 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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 kubil6y/rust_ecs against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubil6y%2Frust_ecs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kubil6y/rust_ecs on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kubil6y/rust_ecs [INFO] finished tweaking git repo https://github.com/kubil6y/rust_ecs [INFO] tweaked toml for git repo https://github.com/kubil6y/rust_ecs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kubil6y/rust_ecs 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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5518582f1dd16198eddeacebecd93081bb1cf88ca55e3d6c5a08073b5667b94a [INFO] running `Command { std: "docker" "start" "-a" "5518582f1dd16198eddeacebecd93081bb1cf88ca55e3d6c5a08073b5667b94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5518582f1dd16198eddeacebecd93081bb1cf88ca55e3d6c5a08073b5667b94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5518582f1dd16198eddeacebecd93081bb1cf88ca55e3d6c5a08073b5667b94a", kill_on_drop: false }` [INFO] [stdout] 5518582f1dd16198eddeacebecd93081bb1cf88ca55e3d6c5a08073b5667b94a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82e5ffd8468dbdf938671008abdd8c843ff491d7471d766a06d2f45c2892c6bf [INFO] running `Command { std: "docker" "start" "-a" "82e5ffd8468dbdf938671008abdd8c843ff491d7471d766a06d2f45c2892c6bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `components::TransformComponent` [INFO] [stdout] --> src/ecs/systems/movement_system.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ecs::{components::TransformComponent, registry::Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::SystemMaskBuilder` [INFO] [stdout] --> src/ecs/systems/movement_system.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::SystemMaskBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::TransformComponent` [INFO] [stdout] --> src/ecs/systems/render_system.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ecs::{components::TransformComponent, registry::Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::TransformComponent` [INFO] [stdout] --> src/ecs/systems/movement_system.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ecs::{components::TransformComponent, registry::Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::SystemMaskBuilder` [INFO] [stdout] --> src/ecs/systems/movement_system.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::SystemMaskBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::TransformComponent` [INFO] [stdout] --> src/ecs/systems/render_system.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ecs::{components::TransformComponent, registry::Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/ecs/registry.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 55 | for (system_type_id, system_mask) in self.system_masks.borrow_mut().iter_mut() { [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 56 | for entity in &self.entities_to_be_added { [INFO] [stdout] 57 | let entity_mask = self.get_entity_mask_mut(*entity).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 63 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/ecs/registry.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 55 | for (system_type_id, system_mask) in self.system_masks.borrow_mut().iter_mut() { [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 60 | self.add_entity_to_system_with_id(system_type_id, *entity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 63 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/ecs/systems/movement_system.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn update(register: &mut Registry, dt: f64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/ecs/systems/movement_system.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn update(register: &mut Registry, dt: f64) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/ecs/systems/render_system.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | for entity in register.get_system_entities::()? { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/ecs/systems/render_system.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn update(register: &mut Registry, dt: f64) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` (bin "engine") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/ecs/registry.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 55 | for (system_type_id, system_mask) in self.system_masks.borrow_mut().iter_mut() { [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 56 | for entity in &self.entities_to_be_added { [INFO] [stdout] 57 | let entity_mask = self.get_entity_mask_mut(*entity).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 63 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/ecs/registry.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 55 | for (system_type_id, system_mask) in self.system_masks.borrow_mut().iter_mut() { [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 60 | self.add_entity_to_system_with_id(system_type_id, *entity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 63 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/ecs/systems/movement_system.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn update(register: &mut Registry, dt: f64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/ecs/systems/movement_system.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn update(register: &mut Registry, dt: f64) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/ecs/systems/render_system.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | for entity in register.get_system_entities::()? { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/ecs/systems/render_system.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn update(register: &mut Registry, dt: f64) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` (bin "engine" test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82e5ffd8468dbdf938671008abdd8c843ff491d7471d766a06d2f45c2892c6bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e5ffd8468dbdf938671008abdd8c843ff491d7471d766a06d2f45c2892c6bf", kill_on_drop: false }` [INFO] [stdout] 82e5ffd8468dbdf938671008abdd8c843ff491d7471d766a06d2f45c2892c6bf