[INFO] fetching crate motion 0.1.4...
[INFO] testing motion-0.1.4 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate motion 0.1.4 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate motion 0.1.4 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate motion 0.1.4
[INFO] finished tweaking crates.io crate motion 0.1.4
[INFO] tweaked toml for crates.io crate motion 0.1.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d5d5aece4c0e11ab2961e734f453d41becbf0c9f6efc6a27311f08c6cae46be
[INFO] running `Command { std: "docker" "start" "-a" "3d5d5aece4c0e11ab2961e734f453d41becbf0c9f6efc6a27311f08c6cae46be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d5d5aece4c0e11ab2961e734f453d41becbf0c9f6efc6a27311f08c6cae46be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d5d5aece4c0e11ab2961e734f453d41becbf0c9f6efc6a27311f08c6cae46be", kill_on_drop: false }`
[INFO] [stdout] 3d5d5aece4c0e11ab2961e734f453d41becbf0c9f6efc6a27311f08c6cae46be
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ade268286cf2f7dbcc5b31300b8ad36512ad8196684f3e069c23695dca8b59af
[INFO] running `Command { std: "docker" "start" "-a" "ade268286cf2f7dbcc5b31300b8ad36512ad8196684f3e069c23695dca8b59af", kill_on_drop: false }`
[INFO] [stderr]    Compiling motion v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "ade268286cf2f7dbcc5b31300b8ad36512ad8196684f3e069c23695dca8b59af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ade268286cf2f7dbcc5b31300b8ad36512ad8196684f3e069c23695dca8b59af", kill_on_drop: false }`
[INFO] [stdout] ade268286cf2f7dbcc5b31300b8ad36512ad8196684f3e069c23695dca8b59af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 998405fae9ed4188951e503f5472e3888c70666adcab9509f2aab3269496803e
[INFO] running `Command { std: "docker" "start" "-a" "998405fae9ed4188951e503f5472e3888c70666adcab9509f2aab3269496803e", kill_on_drop: false }`
[INFO] [stderr]    Compiling motion v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "998405fae9ed4188951e503f5472e3888c70666adcab9509f2aab3269496803e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "998405fae9ed4188951e503f5472e3888c70666adcab9509f2aab3269496803e", kill_on_drop: false }`
[INFO] [stdout] 998405fae9ed4188951e503f5472e3888c70666adcab9509f2aab3269496803e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 72fa17267a88865d06c6be72d991d56e3f0fb5c376927bf3d931852ba81ea0e5
[INFO] running `Command { std: "docker" "start" "-a" "72fa17267a88865d06c6be72d991d56e3f0fb5c376927bf3d931852ba81ea0e5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/motion-3940a5d51cb6a5f1)
[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 motion
[INFO] [stdout] 
[INFO] [stdout] running 27 tests
[INFO] [stdout] test src/forces/gravity.rs - forces::gravity::gravity (line 61) ... FAILED
[INFO] [stdout] test src/event_loop/mod.rs - event_loop::EventLoop::new (line 21) ... FAILED
[INFO] [stdout] test src/event_loop/mod.rs - event_loop::EventLoop::start (line 42) ... FAILED
[INFO] [stdout] test src/collision/mod.rs - collision::Collision2d::collider (line 45) ... FAILED
[INFO] [stdout] test src/collision/shape.rs - collision::shape::Shape::get_aabb (line 19) ... FAILED
[INFO] [stdout] test src/forces/force.rs - forces::force::Force (line 9) ... FAILED
[INFO] [stdout] test src/collision/mod.rs - collision::Collision2d::new (line 27) ... FAILED
[INFO] [stdout] test src/forces/gravity.rs - forces::gravity::Gravity::apply_2d (line 27) ... FAILED
[INFO] [stdout] test src/forces/move.rs - forces::r#move::Move2d::apply_2d (line 30) ... FAILED
[INFO] [stdout] test src/formulas/pitagoras.rs - formulas::pitagoras::calculate_pt (line 7) ... FAILED
[INFO] [stdout] test src/forces/move.rs - forces::r#move::move2d (line 72) ... FAILED
[INFO] [stdout] test src/formulas/dot.rs - formulas::dot::length (line 55) ... FAILED
[INFO] [stdout] test src/formulas/dot.rs - formulas::dot::dot (line 9) ... FAILED
[INFO] [stdout] test src/formulas/dot.rs - formulas::dot::length2 (line 33) ... FAILED
[INFO] [stdout] test src/formulas/elastic_collision.rs - formulas::elastic_collision::calculate (line 7) ... FAILED
[INFO] [stdout] test src/formulas/pow.rs - formulas::pow::powf (line 5) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 12) ... FAILED
[INFO] [stdout] test src/obj/obj_2d.rs - obj::obj_2d::obj2d (line 105) ... FAILED
[INFO] [stdout] test src/vec/vec_2d.rs - vec::vec_2d::Vec2d (line 8) ... FAILED
[INFO] [stdout] test src/obj/obj_2d.rs - obj::obj_2d::Object2d::apply (line 77) ... FAILED
[INFO] [stdout] test src/formulas/sqrt.rs - formulas::sqrt::sqrt (line 5) ... FAILED
[INFO] [stdout] test src/vec/vec_2d.rs - vec::vec_2d::Vec2d::magnitude (line 62) ... FAILED
[INFO] [stdout] test src/obj/obj_2d.rs - obj::obj_2d::Object2d::new (line 45) ... FAILED
[INFO] [stdout] test src/vec/vec_2d.rs - vec::vec_2d::Vec2d::new (line 29) ... FAILED
[INFO] [stdout] test src/vec/vec_2d.rs - vec::vec_2d::Vec2d::distance (line 75) ... FAILED
[INFO] [stdout] test src/vec/vec_2d.rs - vec::vec_2d::Vec2d::component (line 43) ... FAILED
[INFO] [stdout] test src/vec/vec_2d.rs - vec::vec_2d::vec2 (line 181) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] ---- src/forces/gravity.rs - forces::gravity::gravity (line 61) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `gravity` in this scope
[INFO] [stdout]  --> src/forces/gravity.rs:62:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let gravity = gravity(EARTH_GRAVITY, 1.0, 0.016);
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::gravity::gravity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EARTH_GRAVITY` in this scope
[INFO] [stdout]  --> src/forces/gravity.rs:62:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | let gravity = gravity(EARTH_GRAVITY, 1.0, 0.016);
[INFO] [stdout]   |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::gravity::EARTH_GRAVITY;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/event_loop/mod.rs - event_loop::EventLoop::new (line 21) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EventLoopConfig` in this scope
[INFO] [stdout]  --> src/event_loop/mod.rs:22:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let config = EventLoopConfig { fps: 60 };
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::event_loop::EventLoopConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]  --> src/event_loop/mod.rs:23:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let event_loop = EventLoop::new(config);
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `EventLoop`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::event_loop::EventLoop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/event_loop/mod.rs - event_loop::EventLoop::start (line 42) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EventLoopConfig` in this scope
[INFO] [stdout]  --> src/event_loop/mod.rs:43:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let config = EventLoopConfig { fps: 60 };
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::event_loop::EventLoopConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]  --> src/event_loop/mod.rs:44:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let event_loop = EventLoop::new(config);
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `EventLoop`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::event_loop::EventLoop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/collision/mod.rs - collision::Collision2d::collider (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object2d`
[INFO] [stdout]  --> src/collision/mod.rs:46:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj1 = Object2d::new(/* parameters */);
[INFO] [stdout]   |            ^^^^^^^^ use of undeclared type `Object2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object2d`
[INFO] [stdout]  --> src/collision/mod.rs:47:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let obj2 = Object2d::new(/* parameters */);
[INFO] [stdout]   |            ^^^^^^^^ use of undeclared type `Object2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collision2d`
[INFO] [stdout]  --> src/collision/mod.rs:48:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | let collision = Collision2d::new(obj1, obj2);
[INFO] [stdout]   |                 ^^^^^^^^^^^ use of undeclared type `Collision2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::collision::Collision2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/collision/shape.rs - collision::shape::Shape::get_aabb (line 19) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shape`
[INFO] [stdout]  --> src/collision/shape.rs:20:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let shape = Shape::AABB(Vec2d::new(0.0, 0.0), Vec2d::new(1.0, 1.0));
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Shape`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::collision::shape::Shape;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/collision/shape.rs:20:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | let shape = Shape::AABB(Vec2d::new(0.0, 0.0), Vec2d::new(1.0, 1.0));
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/collision/shape.rs:20:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | let shape = Shape::AABB(Vec2d::new(0.0, 0.0), Vec2d::new(1.0, 1.0));
[INFO] [stdout]   |                                               ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/collision/shape.rs:22:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | assert_eq!(v1, Vec2d::new(0.0, 0.0));
[INFO] [stdout]   |                ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/collision/shape.rs:23:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert_eq!(v2, Vec2d::new(1.0, 1.0));
[INFO] [stdout]   |                ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/forces/force.rs - forces::force::Force (line 9) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Force` in this scope
[INFO] [stdout]  --> src/forces/force.rs:12:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Force for Gravity {
[INFO] [stdout]   |      ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::force::Force;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Object2d` in this scope
[INFO] [stdout]  --> src/forces/force.rs:13:34
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn apply_2d(&self, obj: &mut Object2d) {
[INFO] [stdout]   |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/collision/mod.rs - collision::Collision2d::new (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object2d`
[INFO] [stdout]  --> src/collision/mod.rs:28:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj1 = Object2d::new(/* parameters */);
[INFO] [stdout]   |            ^^^^^^^^ use of undeclared type `Object2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object2d`
[INFO] [stdout]  --> src/collision/mod.rs:29:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let obj2 = Object2d::new(/* parameters */);
[INFO] [stdout]   |            ^^^^^^^^ use of undeclared type `Object2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collision2d`
[INFO] [stdout]  --> src/collision/mod.rs:30:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | let collision = Collision2d::new(obj1, obj2);
[INFO] [stdout]   |                 ^^^^^^^^^^^ use of undeclared type `Collision2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::collision::Collision2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/forces/gravity.rs - forces::gravity::Gravity::apply_2d (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object2d`
[INFO] [stdout]  --> src/forces/gravity.rs:28:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut obj = Object2d::new(/* initial parameters */);
[INFO] [stdout]   |               ^^^^^^^^ use of undeclared type `Object2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Gravity` in this scope
[INFO] [stdout]  --> src/forces/gravity.rs:29:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gravity = Gravity {
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::gravity::Gravity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EARTH_GRAVITY` in this scope
[INFO] [stdout]  --> src/forces/gravity.rs:30:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     force: EARTH_GRAVITY,
[INFO] [stdout]   |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::gravity::EARTH_GRAVITY;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/forces/move.rs - forces::r#move::Move2d::apply_2d (line 30) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object2d`
[INFO] [stdout]  --> src/forces/move.rs:31:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut obj = Object2d::new(/* initial parameters */);
[INFO] [stdout]   |               ^^^^^^^^ use of undeclared type `Object2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move2d` in this scope
[INFO] [stdout]  --> src/forces/move.rs:32:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let move_force = Move2d {
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::r#move::Move2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction2d`
[INFO] [stdout]  --> src/forces/move.rs:33:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     direction: Direction2d::X,
[INFO] [stdout]   |                ^^^^^^^^^^^ use of undeclared type `Direction2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::r#move::Direction2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/formulas/pitagoras.rs - formulas::pitagoras::calculate_pt (line 7) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `calculate_pt` in this scope
[INFO] [stdout]  --> src/formulas/pitagoras.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let result = calculate_pt(3.0, 4.0);
[INFO] [stdout]   |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::pitagoras::calculate_pt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_pt` in this scope
[INFO] [stdout]  --> src/formulas/pitagoras.rs:11:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let result = calculate_pt(6.0, 8.0);
[INFO] [stdout]   |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::pitagoras::calculate_pt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/forces/move.rs - forces::r#move::move2d (line 72) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `move2d` in this scope
[INFO] [stdout]  --> src/forces/move.rs:73:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let move_force = move2d(Direction2d::X, 0.016, 60.0);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::r#move::move2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction2d`
[INFO] [stdout]  --> src/forces/move.rs:73:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | let move_force = move2d(Direction2d::X, 0.016, 60.0);
[INFO] [stdout]   |                         ^^^^^^^^^^^ use of undeclared type `Direction2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::r#move::Direction2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/formulas/dot.rs - formulas::dot::length (line 55) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/formulas/dot.rs:56:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | let u = Vec2d::new(3.0, 4.0);
[INFO] [stdout]   |         ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `length` in this scope
[INFO] [stdout]  --> src/formulas/dot.rs:57:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let result = length(u);
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::dot::length;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/formulas/dot.rs - formulas::dot::dot (line 9) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/formulas/dot.rs:10:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | let u = Vec2d::new(3.0, 4.0);
[INFO] [stdout]   |         ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/formulas/dot.rs:11:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | let v = Vec2d::new(1.0, 2.0);
[INFO] [stdout]   |         ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dot` in this scope
[INFO] [stdout]  --> src/formulas/dot.rs:12:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let result = dot(u, v);
[INFO] [stdout]   |              ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::dot::dot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/formulas/dot.rs - formulas::dot::length2 (line 33) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/formulas/dot.rs:34:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | let u = Vec2d::new(3.0, 4.0);
[INFO] [stdout]   |         ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `length2` in this scope
[INFO] [stdout]  --> src/formulas/dot.rs:35:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let result = length2(u);
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::dot::length2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/formulas/elastic_collision.rs - formulas::elastic_collision::calculate (line 7) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/formulas/elastic_collision.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | let v1 = Vec2d::new(3.0, 4.0);
[INFO] [stdout]   |          ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/formulas/elastic_collision.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | let v2 = Vec2d::new(1.0, 2.0);
[INFO] [stdout]   |          ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate` in this scope
[INFO] [stdout]  --> src/formulas/elastic_collision.rs:13:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | let new_velocity = calculate(v1, m1, m2, v2);
[INFO] [stdout]   |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::elastic_collision::calculate;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/formulas/pow.rs - formulas::pow::powf (line 5) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `powf` in this scope
[INFO] [stdout]  --> src/formulas/pow.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let result = powf(2.0, 3);
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::pow::powf;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `powf` in this scope
[INFO] [stdout]  --> src/formulas/pow.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let result = powf(5.0, -2);
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::pow::powf;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `powf` in this scope
[INFO] [stdout]  --> src/formulas/pow.rs:12:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let result = powf(2.0, 0);
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::pow::powf;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 12) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `:`
[INFO] [stdout]   --> src/lib.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |  https://github.com/Juanperias/motion/blob/main/examples/event_loop_example/src/main.rs
[INFO] [stdout]    |       ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/obj/obj_2d.rs - obj::obj_2d::obj2d (line 105) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `obj2d` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:106:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = obj2d(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |           ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::obj2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:106:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = obj2d(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                 ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:106:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = obj2d(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:106:59
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = obj2d(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                                           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shape`
[INFO] [stdout]  --> src/obj/obj_2d.rs:106:80
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = obj2d(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                                                                ^^^^^ use of undeclared type `Shape`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::collision::shape::Shape;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vec/vec_2d.rs - vec::vec_2d::Vec2d (line 8) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/vec/vec_2d.rs:10:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | let v1 = Vec2d::new(3.0, 4.0);
[INFO] [stdout]   |          ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/vec/vec_2d.rs:11:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | let v2 = Vec2d::new(6.0, 8.0);
[INFO] [stdout]   |          ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/obj/obj_2d.rs - obj::obj_2d::Object2d::apply (line 77) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object2d`
[INFO] [stdout]  --> src/obj/obj_2d.rs:78:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |               ^^^^^^^^ use of undeclared type `Object2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:78:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                             ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:78:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                                       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:78:71
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shape`
[INFO] [stdout]  --> src/obj/obj_2d.rs:78:92
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                                                                            ^^^^^ use of undeclared type `Shape`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::collision::shape::Shape;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gravity`
[INFO] [stdout]  --> src/obj/obj_2d.rs:79:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gravity = Gravity::new(EARTH_GRAVITY, 1.0, 0.016);
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Gravity`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::gravity::Gravity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EARTH_GRAVITY` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:79:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gravity = Gravity::new(EARTH_GRAVITY, 1.0, 0.016);
[INFO] [stdout]   |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::forces::gravity::EARTH_GRAVITY;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/formulas/sqrt.rs - formulas::sqrt::sqrt (line 5) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `sqrt` in this scope
[INFO] [stdout]  --> src/formulas/sqrt.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let result = sqrt(4.0);
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::sqrt::sqrt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sqrt` in this scope
[INFO] [stdout]  --> src/formulas/sqrt.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let result = sqrt(9.0);
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::sqrt::sqrt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sqrt` in this scope
[INFO] [stdout]  --> src/formulas/sqrt.rs:12:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let result = sqrt(-1.0);
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::formulas::sqrt::sqrt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vec/vec_2d.rs - vec::vec_2d::Vec2d::magnitude (line 62) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/vec/vec_2d.rs:63:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | let v = Vec2d::new(3.0, 4.0);
[INFO] [stdout]   |         ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/obj/obj_2d.rs - obj::obj_2d::Object2d::new (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object2d`
[INFO] [stdout]  --> src/obj/obj_2d.rs:46:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |           ^^^^^^^^ use of undeclared type `Object2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::obj::obj_2d::Object2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:46:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                         ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:46:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                                   ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/obj/obj_2d.rs:46:67
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                                                   ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shape`
[INFO] [stdout]  --> src/obj/obj_2d.rs:46:88
[INFO] [stdout]   |
[INFO] [stdout] 3 | let obj = Object2d::new(vec2(1.0, 2.0), 1.0, 1.0, vec2(0.0, 0.0), vec2(0.0, 0.0), 1.0, Shape::Circle);
[INFO] [stdout]   |                                                                                        ^^^^^ use of undeclared type `Shape`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::collision::shape::Shape;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vec/vec_2d.rs - vec::vec_2d::Vec2d::new (line 29) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/vec/vec_2d.rs:30:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | let vec = Vec2d::new(1.0, 2.0);
[INFO] [stdout]   |           ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vec/vec_2d.rs - vec::vec_2d::Vec2d::distance (line 75) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/vec/vec_2d.rs:76:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | let v1 = Vec2d::new(1.0, 2.0);
[INFO] [stdout]   |          ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/vec/vec_2d.rs:77:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | let v2 = Vec2d::new(4.0, 6.0);
[INFO] [stdout]   |          ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vec/vec_2d.rs - vec::vec_2d::Vec2d::component (line 43) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/vec/vec_2d.rs:44:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | let v1 = Vec2d::new(1.0, 2.0);
[INFO] [stdout]   |          ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2d`
[INFO] [stdout]  --> src/vec/vec_2d.rs:45:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | let v2 = Vec2d::new(4.0, 6.0);
[INFO] [stdout]   |          ^^^^^ use of undeclared type `Vec2d`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::Vec2d;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/vec/vec_2d.rs - vec::vec_2d::vec2 (line 181) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope
[INFO] [stdout]  --> src/vec/vec_2d.rs:182:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | let vec = vec2(1.0, 2.0);
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use motion::vec::vec_2d::vec2;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/collision/mod.rs - collision::Collision2d::collider (line 45)
[INFO] [stdout]     src/collision/mod.rs - collision::Collision2d::new (line 27)
[INFO] [stdout]     src/collision/shape.rs - collision::shape::Shape::get_aabb (line 19)
[INFO] [stdout]     src/event_loop/mod.rs - event_loop::EventLoop::new (line 21)
[INFO] [stdout]     src/event_loop/mod.rs - event_loop::EventLoop::start (line 42)
[INFO] [stdout]     src/forces/force.rs - forces::force::Force (line 9)
[INFO] [stdout]     src/forces/gravity.rs - forces::gravity::Gravity::apply_2d (line 27)
[INFO] [stdout]     src/forces/gravity.rs - forces::gravity::gravity (line 61)
[INFO] [stdout]     src/forces/move.rs - forces::r#move::Move2d::apply_2d (line 30)
[INFO] [stdout]     src/forces/move.rs - forces::r#move::move2d (line 72)
[INFO] [stdout]     src/formulas/dot.rs - formulas::dot::dot (line 9)
[INFO] [stdout]     src/formulas/dot.rs - formulas::dot::length (line 55)
[INFO] [stdout]     src/formulas/dot.rs - formulas::dot::length2 (line 33)
[INFO] [stdout]     src/formulas/elastic_collision.rs - formulas::elastic_collision::calculate (line 7)
[INFO] [stdout]     src/formulas/pitagoras.rs - formulas::pitagoras::calculate_pt (line 7)
[INFO] [stdout]     src/formulas/pow.rs - formulas::pow::powf (line 5)
[INFO] [stdout]     src/formulas/sqrt.rs - formulas::sqrt::sqrt (line 5)
[INFO] [stdout]     src/lib.rs - (line 12)
[INFO] [stdout]     src/obj/obj_2d.rs - obj::obj_2d::Object2d::apply (line 77)
[INFO] [stdout]     src/obj/obj_2d.rs - obj::obj_2d::Object2d::new (line 45)
[INFO] [stdout]     src/obj/obj_2d.rs - obj::obj_2d::obj2d (line 105)
[INFO] [stdout]     src/vec/vec_2d.rs - vec::vec_2d::Vec2d (line 8)
[INFO] [stdout]     src/vec/vec_2d.rs - vec::vec_2d::Vec2d::component (line 43)
[INFO] [stdout]     src/vec/vec_2d.rs - vec::vec_2d::Vec2d::distance (line 75)
[INFO] [stdout]     src/vec/vec_2d.rs - vec::vec_2d::Vec2d::magnitude (line 62)
[INFO] [stdout]     src/vec/vec_2d.rs - vec::vec_2d::Vec2d::new (line 29)
[INFO] [stdout]     src/vec/vec_2d.rs - vec::vec_2d::vec2 (line 181)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 27 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "72fa17267a88865d06c6be72d991d56e3f0fb5c376927bf3d931852ba81ea0e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72fa17267a88865d06c6be72d991d56e3f0fb5c376927bf3d931852ba81ea0e5", kill_on_drop: false }`
[INFO] [stdout] 72fa17267a88865d06c6be72d991d56e3f0fb5c376927bf3d931852ba81ea0e5
