[INFO] fetching crate corrosive-ecs-core 0.1.0... [INFO] testing corrosive-ecs-core-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate corrosive-ecs-core 0.1.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate corrosive-ecs-core 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f16b5bdea47e064cb90104d97ba066716f6b1869589872d3fb3fd1018583608 [INFO] running `Command { std: "docker" "start" "-a" "2f16b5bdea47e064cb90104d97ba066716f6b1869589872d3fb3fd1018583608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f16b5bdea47e064cb90104d97ba066716f6b1869589872d3fb3fd1018583608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f16b5bdea47e064cb90104d97ba066716f6b1869589872d3fb3fd1018583608", kill_on_drop: false }` [INFO] [stdout] 2f16b5bdea47e064cb90104d97ba066716f6b1869589872d3fb3fd1018583608 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ba795444dc4afe781397bbb236d56e8237a77c5d2af5be816eb7f4d11f46caa [INFO] running `Command { std: "docker" "start" "-a" "5ba795444dc4afe781397bbb236d56e8237a77c5d2af5be816eb7f4d11f46caa", 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 proc-macro2 v1.0.101 [INFO] [stderr] Compiling bus v2.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [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 13.10s [INFO] running `Command { std: "docker" "inspect" "5ba795444dc4afe781397bbb236d56e8237a77c5d2af5be816eb7f4d11f46caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba795444dc4afe781397bbb236d56e8237a77c5d2af5be816eb7f4d11f46caa", kill_on_drop: false }` [INFO] [stdout] 5ba795444dc4afe781397bbb236d56e8237a77c5d2af5be816eb7f4d11f46caa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57715d4b52a39d05c9800dc25d2cd917eaf6925b037bf023dbb8bd526e87bc6e [INFO] running `Command { std: "docker" "start" "-a" "57715d4b52a39d05c9800dc25d2cd917eaf6925b037bf023dbb8bd526e87bc6e", 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.82s [INFO] running `Command { std: "docker" "inspect" "57715d4b52a39d05c9800dc25d2cd917eaf6925b037bf023dbb8bd526e87bc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57715d4b52a39d05c9800dc25d2cd917eaf6925b037bf023dbb8bd526e87bc6e", kill_on_drop: false }` [INFO] [stdout] 57715d4b52a39d05c9800dc25d2cd917eaf6925b037bf023dbb8bd526e87bc6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 849c84f77540973b29d8dfcf4280060d21c6812a3f8c9ce33fd3c196d9f9aa68 [INFO] running `Command { std: "docker" "start" "-a" "849c84f77540973b29d8dfcf4280060d21c6812a3f8c9ce33fd3c196d9f9aa68", 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/corrosive_ecs_core-de5bf983d2e12bfc) [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] 2 | pub fn render_2d(meta: Arch<(&dyn Mesh2D, &RendererMeta2D)>, renderer2d_data: Res) { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] 3 | //code [INFO] [stdout] 4 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] 5 | } [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] 3 | #[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] 5 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 5 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 5 | 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] 4 | 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] 5 | 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] 2 + use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 + use corrosive_ecs_core::ecs_core::Ref; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 5 | 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] 4 | 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] 5 | RArch<(Locked, Ref, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 5 | 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] 4 | 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] 6 | RArch<(Locked, LockedRef)>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 6 | RArch<(Locked, LockedRef)>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 6 | 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] 4 | 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] 6 | RArch<(Locked, LockedRef)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 6 | 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] 4 | 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] 9 | 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] 2 + 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] 9 | 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] 2 + 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] 9 | 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] 4 | 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] 9 | 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] 2 + use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 + use corrosive_ecs_core::ecs_core::Ref; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 9 | 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] 4 | 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] 9 | 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] 2 + 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] 9 | 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] 4 | 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] 9 | 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] 2 + 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] 10 | 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] 2 + 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] 10 | 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] 2 + 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] 10 | 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] 4 | 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] 10 | 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] 2 + 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] 10 | 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] 4 | 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] 10 | 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] 2 + 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] 15 | 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] 2 + 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] 16 | 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] 18 | 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] 20 | 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] 2 + use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 + use corrosive_ecs_core::ecs_core::Ref; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 20 | 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] 21 | 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] 2 + 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] 21 | 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] 8 | 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.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "849c84f77540973b29d8dfcf4280060d21c6812a3f8c9ce33fd3c196d9f9aa68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "849c84f77540973b29d8dfcf4280060d21c6812a3f8c9ce33fd3c196d9f9aa68", kill_on_drop: false }` [INFO] [stdout] 849c84f77540973b29d8dfcf4280060d21c6812a3f8c9ce33fd3c196d9f9aa68