[INFO] cloning repository https://github.com/alexandre-roulin/Kecs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexandre-roulin/Kecs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandre-roulin%2FKecs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandre-roulin%2FKecs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5899faba885f3a293b5c6a5c35e39d71d899e87 [INFO] checking alexandre-roulin/Kecs/b5899faba885f3a293b5c6a5c35e39d71d899e87 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandre-roulin%2FKecs" "/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/alexandre-roulin/Kecs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexandre-roulin/Kecs [INFO] finished tweaking git repo https://github.com/alexandre-roulin/Kecs [INFO] tweaked toml for git repo https://github.com/alexandre-roulin/Kecs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alexandre-roulin/Kecs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1925de37e248f0cf2e05fd1d3401f2f1834193fe52d1f1cd8812887070e65971 [INFO] running `Command { std: "docker" "start" "-a" "1925de37e248f0cf2e05fd1d3401f2f1834193fe52d1f1cd8812887070e65971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1925de37e248f0cf2e05fd1d3401f2f1834193fe52d1f1cd8812887070e65971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1925de37e248f0cf2e05fd1d3401f2f1834193fe52d1f1cd8812887070e65971", kill_on_drop: false }` [INFO] [stdout] 1925de37e248f0cf2e05fd1d3401f2f1834193fe52d1f1cd8812887070e65971 [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" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da95cde1e271b131f1081515ece93c97e6d288d08db6c8c01233f265759d719b [INFO] running `Command { std: "docker" "start" "-a" "da95cde1e271b131f1081515ece93c97e6d288d08db6c8c01233f265759d719b", kill_on_drop: false }` [INFO] [stderr] Checking kinu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: struct import `Entity` is private [INFO] [stdout] --> src/cores/mod.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | Entity [INFO] [stdout] | ^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `Entity` is defined here... [INFO] [stdout] --> src/entities/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Entity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: ...and refers to the struct `Entity` which is defined here [INFO] [stdout] --> src/entities/entity.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `Entity` is private [INFO] [stdout] --> src/cores/mod.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | Entity [INFO] [stdout] | ^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `Entity` is defined here... [INFO] [stdout] --> src/entities/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Entity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: ...and refers to the struct `Entity` which is defined here [INFO] [stdout] --> src/entities/entity.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.tagged_entity_id` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(Some(tag)) = em.tagged_entity_id.get_mut(id).take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.tagged_entity_id` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(Some(tag)) = em.tagged_entity_id.get_mut(id).take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.tagged_entities` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let _ = em.tagged_entities[*tag].take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.tagged_entities` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let _ = em.tagged_entities[*tag].take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.grouped_entity_id` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(Some(tag)) = em.grouped_entity_id.get_mut(id).take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.grouped_entity_id` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(Some(tag)) = em.grouped_entity_id.get_mut(id).take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.grouped_entities` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | em.grouped_entities[*tag] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.grouped_entities` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | em.grouped_entities[*tag] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.valid_ids` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | em.valid_ids[id] = false; [INFO] [stdout] | ^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.valid_ids` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | em.valid_ids[id] = false; [INFO] [stdout] | ^^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.free_ids` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | em.free_ids.push_back(id); [INFO] [stdout] | ^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `em.free_ids` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/entities/entities_manager.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | em.free_ids.push_back(id); [INFO] [stdout] | ^^^^^^^^^^^ `em` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 64 | let em = &mut *self.0.lock().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/entities/entities_manager.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn kill_group_by_entity(&self, entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/entities/entities_manager.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn kill_group_by_entity(&self, entity: &Entity) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `entities_manager::ENTITIES_MANAGER` as mutable [INFO] [stdout] --> src/entities/entity.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ENTITIES_MANAGER.tag_entity(self, tag) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `entities_manager::ENTITIES_MANAGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grpid` [INFO] [stdout] --> src/entities/entity.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn group_by_id(&self, grpid: GrpTag) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grpid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `entities_manager::ENTITIES_MANAGER` as mutable [INFO] [stdout] --> src/entities/entity.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ENTITIES_MANAGER.tag_entity(self, tag) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `entities_manager::ENTITIES_MANAGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grpid` [INFO] [stdout] --> src/entities/entity.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn group_by_id(&self, grpid: GrpTag) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grpid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kinu` (lib test) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kinu` (lib) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da95cde1e271b131f1081515ece93c97e6d288d08db6c8c01233f265759d719b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da95cde1e271b131f1081515ece93c97e6d288d08db6c8c01233f265759d719b", kill_on_drop: false }` [INFO] [stdout] da95cde1e271b131f1081515ece93c97e6d288d08db6c8c01233f265759d719b