[INFO] fetching crate corrosive-ecs-core 0.1.0... [INFO] testing corrosive-ecs-core-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate corrosive-ecs-core 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate corrosive-ecs-core 0.1.0 [INFO] finished tweaking crates.io crate corrosive-ecs-core 0.1.0 [INFO] tweaked toml for crates.io crate corrosive-ecs-core 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate corrosive-ecs-core 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c32ea8ad0e0d36faf9b94c72bd7c18e7bcc88f585eabdedc27b16507dff1941c [INFO] running `Command { std: "docker" "start" "-a" "c32ea8ad0e0d36faf9b94c72bd7c18e7bcc88f585eabdedc27b16507dff1941c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c32ea8ad0e0d36faf9b94c72bd7c18e7bcc88f585eabdedc27b16507dff1941c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32ea8ad0e0d36faf9b94c72bd7c18e7bcc88f585eabdedc27b16507dff1941c", kill_on_drop: false }` [INFO] [stdout] c32ea8ad0e0d36faf9b94c72bd7c18e7bcc88f585eabdedc27b16507dff1941c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3af29dc90bf46a5860bdb5cabc1bd3daf5f3ada527b29c6756566f299a411e3 [INFO] running `Command { std: "docker" "start" "-a" "a3af29dc90bf46a5860bdb5cabc1bd3daf5f3ada527b29c6756566f299a411e3", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling bus v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling corrosive-ecs-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hierarchy.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut lock = &mut self.data.write().unwrap(); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.93s [INFO] running `Command { std: "docker" "inspect" "a3af29dc90bf46a5860bdb5cabc1bd3daf5f3ada527b29c6756566f299a411e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3af29dc90bf46a5860bdb5cabc1bd3daf5f3ada527b29c6756566f299a411e3", kill_on_drop: false }` [INFO] [stdout] a3af29dc90bf46a5860bdb5cabc1bd3daf5f3ada527b29c6756566f299a411e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ca85f226de519af4c6783733dba2058381b271f9d89b6ef571f82dda4c8779b [INFO] running `Command { std: "docker" "start" "-a" "9ca85f226de519af4c6783733dba2058381b271f9d89b6ef571f82dda4c8779b", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling corrosive-ecs-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hierarchy.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut lock = &mut self.data.write().unwrap(); [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/hierarchy.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut lock = &mut self.data.write().unwrap(); [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "9ca85f226de519af4c6783733dba2058381b271f9d89b6ef571f82dda4c8779b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca85f226de519af4c6783733dba2058381b271f9d89b6ef571f82dda4c8779b", kill_on_drop: false }` [INFO] [stdout] 9ca85f226de519af4c6783733dba2058381b271f9d89b6ef571f82dda4c8779b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96ce10bdb6d88310f6055eb7d1f66b1d68a52a530f4aa84793767bd35f50f8fe [INFO] running `Command { std: "docker" "start" "-a" "96ce10bdb6d88310f6055eb7d1f66b1d68a52a530f4aa84793767bd35f50f8fe", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/hierarchy.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 223 | let mut lock = &mut self.data.write().unwrap(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `corrosive-ecs-core` (lib) generated 1 warning (run `cargo fix --lib -p corrosive-ecs-core` to apply 1 suggestion) [INFO] [stderr] warning: `corrosive-ecs-core` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/corrosive_ecs_core-52b64453972aae62) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests corrosive_ecs_core [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/arch.rs - arch::Arch (line 14) ... FAILED [INFO] [stdout] test src/r_arch.rs - r_arch::RArch (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/arch.rs - arch::Arch (line 14) stdout ---- [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> src/arch.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn render_2d(meta: Arch<(&dyn Mesh2D, &RendererMeta2D)>, renderer2d_data: Res) { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] 17 | //code [INFO] [stdout] 18 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] 19 | } [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/r_arch.rs - r_arch::RArch (line 5) stdout ---- [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/r_arch.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[task] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RArch` in this scope [INFO] [stdout] --> src/r_arch.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::RArch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locked` in this scope [INFO] [stdout] --> src/r_arch.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::Locked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position1` in this scope [INFO] [stdout] --> src/r_arch.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ref` in this scope [INFO] [stdout] --> src/r_arch.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::Ref; [INFO] [stdout] | [INFO] [stdout] 5 + use syn::token::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position2` in this scope [INFO] [stdout] --> src/r_arch.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LockedRef` in this scope [INFO] [stdout] --> src/r_arch.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::LockedRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position3` in this scope [INFO] [stdout] --> src/r_arch.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RArch` in this scope [INFO] [stdout] --> src/r_arch.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | RArch<(Locked, LockedRef)>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::RArch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locked` in this scope [INFO] [stdout] --> src/r_arch.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | RArch<(Locked, LockedRef)>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::Locked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position1` in this scope [INFO] [stdout] --> src/r_arch.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | RArch<(Locked, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LockedRef` in this scope [INFO] [stdout] --> src/r_arch.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | RArch<(Locked, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::LockedRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position3` in this scope [INFO] [stdout] --> src/r_arch.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | RArch<(Locked, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RArch` in this scope [INFO] [stdout] --> src/r_arch.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut r1: RArch<(Locked, Ref, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::RArch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locked` in this scope [INFO] [stdout] --> src/r_arch.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let mut r1: RArch<(Locked, Ref, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::Locked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position1` in this scope [INFO] [stdout] --> src/r_arch.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | let mut r1: RArch<(Locked, Ref, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ref` in this scope [INFO] [stdout] --> src/r_arch.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | let mut r1: RArch<(Locked, Ref, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::Ref; [INFO] [stdout] | [INFO] [stdout] 5 + use syn::token::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position2` in this scope [INFO] [stdout] --> src/r_arch.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | let mut r1: RArch<(Locked, Ref, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LockedRef` in this scope [INFO] [stdout] --> src/r_arch.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | let mut r1: RArch<(Locked, Ref, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::LockedRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position3` in this scope [INFO] [stdout] --> src/r_arch.rs:12:69 [INFO] [stdout] | [INFO] [stdout] 12 | let mut r1: RArch<(Locked, Ref, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RArch` [INFO] [stdout] --> src/r_arch.rs:12:84 [INFO] [stdout] | [INFO] [stdout] 12 | let mut r1: RArch<(Locked, Ref, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `RArch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::RArch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RArch` in this scope [INFO] [stdout] --> src/r_arch.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut r2: RArch<(Locked, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::RArch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locked` in this scope [INFO] [stdout] --> src/r_arch.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | let mut r2: RArch<(Locked, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::Locked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position1` in this scope [INFO] [stdout] --> src/r_arch.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | let mut r2: RArch<(Locked, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LockedRef` in this scope [INFO] [stdout] --> src/r_arch.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | let mut r2: RArch<(Locked, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::LockedRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position3` in this scope [INFO] [stdout] --> src/r_arch.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | let mut r2: RArch<(Locked, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup() -> ( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RArch` [INFO] [stdout] --> src/r_arch.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | let mut r2: RArch<(Locked, LockedRef)> = RArch::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `RArch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::RArch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Locked` [INFO] [stdout] --> src/r_arch.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Locked::new(if (random_number == i) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Locked` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::Locked; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position1` in this scope [INFO] [stdout] --> src/r_arch.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | Position1 { x: 10.0, y: 10.0 } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position1` in this scope [INFO] [stdout] --> src/r_arch.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | Position1 { x: 2.0, y: 2.0 } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ref` [INFO] [stdout] --> src/r_arch.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Ref::new(Position2 { x: 2.0, y: 2.0 }), [INFO] [stdout] | ^^^ use of undeclared type `Ref` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::Ref; [INFO] [stdout] | [INFO] [stdout] 5 + use syn::token::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position2` in this scope [INFO] [stdout] --> src/r_arch.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Ref::new(Position2 { x: 2.0, y: 2.0 }), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LockedRef` [INFO] [stdout] --> src/r_arch.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | LockedRef::new(Position3 { x: 2.0, y: 2.0 }), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LockedRef` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use corrosive_ecs_core::ecs_core::LockedRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position3` in this scope [INFO] [stdout] --> src/r_arch.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | LockedRef::new(Position3 { x: 2.0, y: 2.0 }), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/r_arch.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/arch.rs - arch::Arch (line 14) [INFO] [stdout] src/r_arch.rs - r_arch::RArch (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "96ce10bdb6d88310f6055eb7d1f66b1d68a52a530f4aa84793767bd35f50f8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ce10bdb6d88310f6055eb7d1f66b1d68a52a530f4aa84793767bd35f50f8fe", kill_on_drop: false }` [INFO] [stdout] 96ce10bdb6d88310f6055eb7d1f66b1d68a52a530f4aa84793767bd35f50f8fe