[INFO] fetching crate cogs-gamedev 0.2.0... [INFO] testing cogs-gamedev-0.2.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate cogs-gamedev 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate cogs-gamedev 0.2.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cogs-gamedev 0.2.0 [INFO] finished tweaking crates.io crate cogs-gamedev 0.2.0 [INFO] tweaked toml for crates.io crate cogs-gamedev 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d3ffe3d72ca94e9adfe7af83ae3b24ea6c8964cbb76ae943b7b7e663a13022b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4d3ffe3d72ca94e9adfe7af83ae3b24ea6c8964cbb76ae943b7b7e663a13022b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d3ffe3d72ca94e9adfe7af83ae3b24ea6c8964cbb76ae943b7b7e663a13022b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3ffe3d72ca94e9adfe7af83ae3b24ea6c8964cbb76ae943b7b7e663a13022b", kill_on_drop: false }` [INFO] [stdout] 4d3ffe3d72ca94e9adfe7af83ae3b24ea6c8964cbb76ae943b7b7e663a13022b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba1cba52f4e78e4ea0e30c29ab9b0c5883bf3051684f0e78f06a3bb80e2eda1b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ba1cba52f4e78e4ea0e30c29ab9b0c5883bf3051684f0e78f06a3bb80e2eda1b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling enum-map-derive v0.6.0 [INFO] [stderr] Compiling enum-map v1.1.1 [INFO] [stderr] Compiling cogs-gamedev v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.92s [INFO] running `Command { std: "docker" "inspect" "ba1cba52f4e78e4ea0e30c29ab9b0c5883bf3051684f0e78f06a3bb80e2eda1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1cba52f4e78e4ea0e30c29ab9b0c5883bf3051684f0e78f06a3bb80e2eda1b", kill_on_drop: false }` [INFO] [stdout] ba1cba52f4e78e4ea0e30c29ab9b0c5883bf3051684f0e78f06a3bb80e2eda1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6149face4a6ddfd28955c082f2680c6a08636874f49e28683c5e45e7333dc9f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b6149face4a6ddfd28955c082f2680c6a08636874f49e28683c5e45e7333dc9f", kill_on_drop: false }` [INFO] [stderr] Compiling cogs-gamedev v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "b6149face4a6ddfd28955c082f2680c6a08636874f49e28683c5e45e7333dc9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6149face4a6ddfd28955c082f2680c6a08636874f49e28683c5e45e7333dc9f", kill_on_drop: false }` [INFO] [stdout] b6149face4a6ddfd28955c082f2680c6a08636874f49e28683c5e45e7333dc9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0e1daeaa256bf8841602f8684201bfebf79d682e5defff6929dd38b418679cb2 [INFO] running `Command { std: "docker" "start" "-a" "0e1daeaa256bf8841602f8684201bfebf79d682e5defff6929dd38b418679cb2", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cogs_gamedev-5d5a7d45bee97094) [INFO] [stdout] [INFO] [stderr] Doc-tests cogs-gamedev [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] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/controls/mod.rs - controls (line 42) ... ignored [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction8::flip (line 192) ... FAILED [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction8::radians (line 213) ... FAILED [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction4::flip (line 66) ... FAILED [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction4::deltas (line 104) ... FAILED [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction4::radians (line 86) ... FAILED [INFO] [stdout] test src/grids/coords.rs - grids::coords::ICoord::quadrant (line 111) ... FAILED [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction8::deltas (line 235) ... FAILED [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction8::rotate_by (line 173) ... ok [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction4::rotate (line 34) ... ok [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction4::rotate_by (line 49) ... ok [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction8::rotate (line 158) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/grids/directions.rs - grids::directions::Direction8::flip (line 192) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `cogs_gamedev::directions`, `Direction8::*` [INFO] [stdout] --> src/grids/directions.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 4 | use cogs_gamedev::directions::Direction8; [INFO] [stdout] | ^^^^^^^^^^ could not find `directions` in `cogs_gamedev` [INFO] [stdout] 5 | use Direction8::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/grids/directions.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(North.flip(), South); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::North; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `South` in this scope [INFO] [stdout] --> src/grids/directions.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(North.flip(), South); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::South; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::South; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/grids/directions.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(West.flip(), East); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::West; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/grids/directions.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(West.flip(), East); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::East; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SouthWest` in this scope [INFO] [stdout] --> src/grids/directions.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(SouthWest.flip(), NorthEast); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::SouthWest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NorthEast` in this scope [INFO] [stdout] --> src/grids/directions.rs:197:30 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(SouthWest.flip(), NorthEast); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::NorthEast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/grids/directions.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(East.flip().flip(), East); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::East; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/grids/directions.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(East.flip().flip(), East); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::East; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/grids/directions.rs - grids::directions::Direction8::radians (line 213) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `cogs_gamedev::directions`, `Direction8::*` [INFO] [stdout] --> src/grids/directions.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 4 | use cogs_gamedev::directions::Direction8; [INFO] [stdout] | ^^^^^^^^^^ could not find `directions` in `cogs_gamedev` [INFO] [stdout] 5 | use Direction8::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/grids/directions.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 8 | let north_radians = North.radians(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::North; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/grids/directions.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 11 | let west_radians = West.radians(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::West; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SouthEast` in this scope [INFO] [stdout] --> src/grids/directions.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 14 | let southeast_radians = SouthEast.radians(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::SouthEast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/grids/directions.rs - grids::directions::Direction4::flip (line 66) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `cogs_gamedev::directions`, `Direction4::*` [INFO] [stdout] --> src/grids/directions.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 4 | use cogs_gamedev::directions::Direction4; [INFO] [stdout] | ^^^^^^^^^^ could not find `directions` in `cogs_gamedev` [INFO] [stdout] 5 | use Direction4::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/grids/directions.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(North.flip(), South); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::North; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `South` in this scope [INFO] [stdout] --> src/grids/directions.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(North.flip(), South); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::South; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::South; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/grids/directions.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(West.flip(), East); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::West; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/grids/directions.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(West.flip(), East); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::East; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/grids/directions.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(East.flip().flip(), East); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::East; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/grids/directions.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(East.flip().flip(), East); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::East; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/grids/directions.rs - grids::directions::Direction4::deltas (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cogs_gamedev::directions` [INFO] [stdout] --> src/grids/directions.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 4 | use cogs_gamedev::directions::Direction4; [INFO] [stdout] | ^^^^^^^^^^ could not find `directions` in `cogs_gamedev` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cogs_gamedev::int_coords`, `Direction4::*` [INFO] [stdout] --> src/grids/directions.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 5 | use cogs_gamedev::int_coords::ICoord; [INFO] [stdout] | ^^^^^^^^^^ could not find `int_coords` in `cogs_gamedev` [INFO] [stdout] 6 | use Direction4::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/grids/directions.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(North.deltas(), ICoord {x: 0, y: -1}); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::North; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/grids/directions.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(West.deltas(), ICoord {x: -1, y: 0}); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::West; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/grids/directions.rs - grids::directions::Direction4::radians (line 86) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `cogs_gamedev::directions`, `Direction4::*` [INFO] [stdout] --> src/grids/directions.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 4 | use cogs_gamedev::directions::Direction4; [INFO] [stdout] | ^^^^^^^^^^ could not find `directions` in `cogs_gamedev` [INFO] [stdout] 5 | use Direction4::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/grids/directions.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 8 | let north_radians = North.radians(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::North; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/grids/directions.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 11 | let west_radians = West.radians(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::West; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/grids/coords.rs - grids::coords::ICoord::quadrant (line 111) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cogs_gamedev::int_coords` [INFO] [stdout] --> src/grids/coords.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 4 | use cogs_gamedev::int_coords::ICoord; [INFO] [stdout] | ^^^^^^^^^^ could not find `int_coords` in `cogs_gamedev` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/grids/directions.rs - grids::directions::Direction8::deltas (line 235) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cogs_gamedev::directions` [INFO] [stdout] --> src/grids/directions.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 4 | use cogs_gamedev::directions::Direction8; [INFO] [stdout] | ^^^^^^^^^^ could not find `directions` in `cogs_gamedev` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cogs_gamedev::int_coords`, `Direction8::*` [INFO] [stdout] --> src/grids/directions.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 5 | use cogs_gamedev::int_coords::ICoord; [INFO] [stdout] | ^^^^^^^^^^ could not find `int_coords` in `cogs_gamedev` [INFO] [stdout] 6 | use Direction8::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/grids/directions.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(East.deltas(), ICoord {x: 1, y: 0}); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction4::East; [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NorthWest` in this scope [INFO] [stdout] --> src/grids/directions.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(NorthWest.deltas(), ICoord {x: -1, y: -1}); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use cogs_gamedev::grids::Direction8::NorthWest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/grids/directions.rs - grids::directions::Direction8::rotate (line 158) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `SouthEast`, [INFO] [stdout] right: `SouthWest`', src/grids/directions.rs:9:1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56424cfa38d0 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56424cfa38d0 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56424cfa38d0 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56424cfa38d0 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56424cfbcebc - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x56424cfa21e5 - std::io::Write::write_fmt::h4c802b6f761026c1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x56424cfa54fb - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56424cfa54fb - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56424cfa54fb - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56424cfa4fd1 - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x56424cfa5ba1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x56424cfa56a7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x56424cfa3dac - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56424cfa5609 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x56424cf94e21 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x56424cfbc178 - core::panicking::assert_failed_inner::h4fdb1013d187f202 [INFO] [stdout] 16: 0x56424cf95806 - core::panicking::assert_failed::h3949abb72732a815 [INFO] [stdout] 17: 0x56424cf959e2 - rust_out::main::_doctest_main_src_grids_directions_rs_158_0::h81f36f881ae9e262 [INFO] [stdout] 18: 0x56424cf95886 - rust_out::main::h2a38bb51b9580a7d [INFO] [stdout] 19: 0x56424cf95723 - core::ops::function::FnOnce::call_once::h2b2994027e3ddb49 [INFO] [stdout] 20: 0x56424cf95649 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0646a71575223ddb [INFO] [stdout] 21: 0x56424cf956b9 - std::rt::lang_start::{{closure}}::h56dae38fc2742666 [INFO] [stdout] 22: 0x56424cfa6099 - core::ops::function::impls:: for &F>::call_once::h04259e4a34d07c2f [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x56424cfa6099 - std::panicking::try::do_call::hb8da45704d5cfbbf [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x56424cfa6099 - std::panicking::try::h4beadc19a78fec52 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x56424cfa6099 - std::panic::catch_unwind::hc58016cd36ba81a4 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 26: 0x56424cfa6099 - std::rt::lang_start_internal::hc51399759a90501a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/rt.rs:34:21 [INFO] [stdout] 27: 0x56424cf956a1 - std::rt::lang_start::h186ee2dda057dd14 [INFO] [stdout] 28: 0x56424cf95a03 - main [INFO] [stdout] 29: 0x7f39ed1ed0b3 - __libc_start_main [INFO] [stdout] 30: 0x56424cf9557e - _start [INFO] [stdout] 31: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/grids/coords.rs - grids::coords::ICoord::quadrant (line 111) [INFO] [stdout] src/grids/directions.rs - grids::directions::Direction4::deltas (line 104) [INFO] [stdout] src/grids/directions.rs - grids::directions::Direction4::flip (line 66) [INFO] [stdout] src/grids/directions.rs - grids::directions::Direction4::radians (line 86) [INFO] [stdout] src/grids/directions.rs - grids::directions::Direction8::deltas (line 235) [INFO] [stdout] src/grids/directions.rs - grids::directions::Direction8::flip (line 192) [INFO] [stdout] src/grids/directions.rs - grids::directions::Direction8::radians (line 213) [INFO] [stdout] src/grids/directions.rs - grids::directions::Direction8::rotate (line 158) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 8 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.99s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0e1daeaa256bf8841602f8684201bfebf79d682e5defff6929dd38b418679cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e1daeaa256bf8841602f8684201bfebf79d682e5defff6929dd38b418679cb2", kill_on_drop: false }` [INFO] [stdout] 0e1daeaa256bf8841602f8684201bfebf79d682e5defff6929dd38b418679cb2