[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandre-roulin%2FKecs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexandre-roulin/Kecs on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-3-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c5d75b67427e35bfdba3be6c9fbec6e40ca814078fdaa24834676c6863e2b9c [INFO] running `Command { std: "docker" "start" "-a" "3c5d75b67427e35bfdba3be6c9fbec6e40ca814078fdaa24834676c6863e2b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c5d75b67427e35bfdba3be6c9fbec6e40ca814078fdaa24834676c6863e2b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5d75b67427e35bfdba3be6c9fbec6e40ca814078fdaa24834676c6863e2b9c", kill_on_drop: false }` [INFO] [stdout] 3c5d75b67427e35bfdba3be6c9fbec6e40ca814078fdaa24834676c6863e2b9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b76168e3a3512e1a7bf806e71d5ad243f249e1d105a47a67c5a10b2dad18c7e0 [INFO] running `Command { std: "docker" "start" "-a" "b76168e3a3512e1a7bf806e71d5ad243f249e1d105a47a67c5a10b2dad18c7e0", 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.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.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 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] 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] 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] 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) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kinu` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "b76168e3a3512e1a7bf806e71d5ad243f249e1d105a47a67c5a10b2dad18c7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b76168e3a3512e1a7bf806e71d5ad243f249e1d105a47a67c5a10b2dad18c7e0", kill_on_drop: false }` [INFO] [stdout] b76168e3a3512e1a7bf806e71d5ad243f249e1d105a47a67c5a10b2dad18c7e0