[INFO] fetching crate cogs-gamedev 0.2.0... [INFO] testing cogs-gamedev-0.2.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate cogs-gamedev 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cogs-gamedev 0.2.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-map v1.1.1 [INFO] [stderr] Downloaded enum-map-derive v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2085661bacac7ac543c3866c9d6ffc8df008d5c8d13f0685a07b678847e389d7 [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" "2085661bacac7ac543c3866c9d6ffc8df008d5c8d13f0685a07b678847e389d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2085661bacac7ac543c3866c9d6ffc8df008d5c8d13f0685a07b678847e389d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2085661bacac7ac543c3866c9d6ffc8df008d5c8d13f0685a07b678847e389d7", kill_on_drop: false }` [INFO] [stdout] 2085661bacac7ac543c3866c9d6ffc8df008d5c8d13f0685a07b678847e389d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e72e999068cdf0f172a69a9fce63f4d7a7058b79beb291a3ab4b888d80926f58 [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" "e72e999068cdf0f172a69a9fce63f4d7a7058b79beb291a3ab4b888d80926f58", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling quote v1.0.9 [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 8.93s [INFO] running `Command { std: "docker" "inspect" "e72e999068cdf0f172a69a9fce63f4d7a7058b79beb291a3ab4b888d80926f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e72e999068cdf0f172a69a9fce63f4d7a7058b79beb291a3ab4b888d80926f58", kill_on_drop: false }` [INFO] [stdout] e72e999068cdf0f172a69a9fce63f4d7a7058b79beb291a3ab4b888d80926f58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb9d7cdadd9f0da1533a366d2c73b8e72fd10af5a361917692020140f2fc41a0 [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" "fb9d7cdadd9f0da1533a366d2c73b8e72fd10af5a361917692020140f2fc41a0", 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.64s [INFO] running `Command { std: "docker" "inspect" "fb9d7cdadd9f0da1533a366d2c73b8e72fd10af5a361917692020140f2fc41a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9d7cdadd9f0da1533a366d2c73b8e72fd10af5a361917692020140f2fc41a0", kill_on_drop: false }` [INFO] [stdout] fb9d7cdadd9f0da1533a366d2c73b8e72fd10af5a361917692020140f2fc41a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 03373bd150c60fff3e437de963a4b8879356f697794f4bb9649a774b7635dfb4 [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" "03373bd150c60fff3e437de963a4b8879356f697794f4bb9649a774b7635dfb4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cogs_gamedev-5d5a7d45bee97094) [INFO] [stderr] Doc-tests cogs-gamedev [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] [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::deltas (line 235) ... FAILED [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction8::flip (line 192) ... FAILED [INFO] [stdout] test src/grids/coords.rs - grids::coords::ICoord::quadrant (line 111) ... FAILED [INFO] [stdout] test src/grids/directions.rs - grids::directions::Direction4::flip (line 66) ... 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::radians (line 86) ... 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::rotate (line 34) ... ok [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_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::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] [stderr] error: test failed, to rerun pass '--doc' [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::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/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::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::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::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/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::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: 0x55dacbd678d0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55dacbd678d0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55dacbd678d0 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55dacbd678d0 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55dacbd80ebc - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55dacbd66335 - ::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55dacbd694fb - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55dacbd694fb - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55dacbd694fb - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55dacbd68fd1 - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55dacbd69ba1 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55dacbd696a7 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55dacbd67dcc - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55dacbd69609 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55dacbd58e21 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55dacbd80178 - core[ee1ca6415511a9c4]::panicking::assert_failed_inner [INFO] [stdout] 16: 0x55dacbd596f6 - core[ee1ca6415511a9c4]::panicking::assert_failed:: [INFO] [stdout] 17: 0x55dacbd599e2 - rust_out[17891616a171812d]::main::_doctest_main_src_grids_directions_rs_158_0 [INFO] [stdout] 18: 0x55dacbd59886 - rust_out[17891616a171812d]::main [INFO] [stdout] 19: 0x55dacbd59823 - >::call_once [INFO] [stdout] 20: 0x55dacbd59709 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x55dacbd59749 - std[77c0456e0eb29f0c]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 22: 0x55dacbd6a099 - <&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x55dacbd6a099 - std[77c0456e0eb29f0c]::panicking::try::do_call::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x55dacbd6a099 - std[77c0456e0eb29f0c]::panicking::try:: + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x55dacbd6a099 - std[77c0456e0eb29f0c]::panic::catch_unwind::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 26: 0x55dacbd6a099 - std[77c0456e0eb29f0c]::rt::lang_start_internal [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/rt.rs:34:21 [INFO] [stdout] 27: 0x55dacbd59661 - std[77c0456e0eb29f0c]::rt::lang_start::<()> [INFO] [stdout] 28: 0x55dacbd59a03 - main [INFO] [stdout] 29: 0x7f4ab1b170b3 - __libc_start_main [INFO] [stdout] 30: 0x55dacbd5957e - _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 1.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "03373bd150c60fff3e437de963a4b8879356f697794f4bb9649a774b7635dfb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03373bd150c60fff3e437de963a4b8879356f697794f4bb9649a774b7635dfb4", kill_on_drop: false }` [INFO] [stdout] 03373bd150c60fff3e437de963a4b8879356f697794f4bb9649a774b7635dfb4