[INFO] cloning repository https://github.com/jorgeandrecastro/embassy-ssd1306-physics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jorgeandrecastro/embassy-ssd1306-physics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgeandrecastro%2Fembassy-ssd1306-physics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgeandrecastro%2Fembassy-ssd1306-physics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5026f4550b26d429aba77e8d4f19a85569d95ffb
[INFO] testing jorgeandrecastro/embassy-ssd1306-physics against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgeandrecastro%2Fembassy-ssd1306-physics" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jorgeandrecastro/embassy-ssd1306-physics
[INFO] finished tweaking git repo https://github.com/jorgeandrecastro/embassy-ssd1306-physics
[INFO] tweaked toml for git repo https://github.com/jorgeandrecastro/embassy-ssd1306-physics written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jorgeandrecastro/embassy-ssd1306-physics on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jorgeandrecastro/embassy-ssd1306-physics already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3
[INFO] running `Command { std: "docker" "start" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling embassy-time-driver v0.2.2
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling embassy-time v0.5.1
[INFO] [stderr]    Compiling embassy-ssd1306 v0.6.0
[INFO] [stderr]    Compiling embassy-ssd1306-graphics v0.1.0
[INFO] [stderr]    Compiling embassy-ssd1306-physics v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.37s
[INFO] running `Command { std: "docker" "inspect" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling embassy-ssd1306-physics v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embassy_ssd1306_physics-867e8efc8482f114)
[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 embassy_ssd1306_physics
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/gear.rs - gear::GearPair (line 237) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 29) - compile ... FAILED
[INFO] [stdout] test src/gear.rs - gear::GearTrain (line 328) - compile ... FAILED
[INFO] [stdout] test src/robotic_arm.rs - robotic_arm::RoboticArm::erase (line 568) ... FAILED
[INFO] [stdout] test src/robotic_arm.rs - robotic_arm::Facing (line 203) ... FAILED
[INFO] [stdout] test src/robotic_arm.rs - robotic_arm::RoboticArm (line 254) ... FAILED
[INFO] [stdout] test src/pendulum.rs - pendulum (line 30) - compile ... FAILED
[INFO] [stdout] test src/spring_mass.rs - spring_mass (line 36) - compile ... FAILED
[INFO] [stdout] test src/compass.rs - compass (line 32) - compile ... FAILED
[INFO] [stdout] test src/robotic_arm.rs - robotic_arm::RoboticArm (line 246) ... FAILED
[INFO] [stdout] test src/gear.rs - gear (line 54) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/gear.rs - gear::GearPair (line 237) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `embedded_trig_f32`
[INFO] [stdout]    --> src/gear.rs:240:5
[INFO] [stdout]     |
[INFO] [stdout] 240 | use embedded_trig_f32 as trig;
[INFO] [stdout]     |     -----------------^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     no external crate `embedded_trig_f32`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/gear.rs:248:16
[INFO] [stdout]     |
[INFO] [stdout] 248 | pair.draw(&mut gfx, 0.3, true, trig::cos, trig::sin);
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/lib.rs - (line 29) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `embedded_trig_f32`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use embedded_trig_f32 as trig;
[INFO] [stdout]    |     -----------------^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no external crate `embedded_trig_f32`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `arm` in this scope
[INFO] [stdout]   --> src/lib.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | arm.draw(&mut gfx, 0.785, -0.524, true, trig::cos, trig::sin);
[INFO] [stdout]    | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]   --> src/lib.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | arm.draw(&mut gfx, 0.785, -0.524, true, trig::cos, trig::sin);
[INFO] [stdout]    |               ^^^ not found in this scope
[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/gear.rs - gear::GearTrain (line 328) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `embedded_trig_f32`
[INFO] [stdout]    --> src/gear.rs:331:5
[INFO] [stdout]     |
[INFO] [stdout] 331 | use embedded_trig_f32 as trig;
[INFO] [stdout]     |     -----------------^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     no external crate `embedded_trig_f32`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/gear.rs:340:17
[INFO] [stdout]     |
[INFO] [stdout] 340 | train.draw(&mut gfx, 0.2, true, trig::cos, trig::sin);
[INFO] [stdout]     |                 ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/robotic_arm.rs - robotic_arm::RoboticArm::erase (line 568) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `arm` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:570:1
[INFO] [stdout]     |
[INFO] [stdout] 570 | arm.erase(&mut gfx, old_shoulder, old_elbow, 0.0, Facing::Right, cosf, sinf);
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:570:16
[INFO] [stdout]     |
[INFO] [stdout] 570 | arm.erase(&mut gfx, old_shoulder, old_elbow, 0.0, Facing::Right, cosf, sinf);
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `old_shoulder` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:570:21
[INFO] [stdout]     |
[INFO] [stdout] 570 | arm.erase(&mut gfx, old_shoulder, old_elbow, 0.0, Facing::Right, cosf, sinf);
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `old_elbow` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:570:35
[INFO] [stdout]     |
[INFO] [stdout] 570 | arm.erase(&mut gfx, old_shoulder, old_elbow, 0.0, Facing::Right, cosf, sinf);
[INFO] [stdout]     |                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cosf` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:570:66
[INFO] [stdout]     |
[INFO] [stdout] 570 | arm.erase(&mut gfx, old_shoulder, old_elbow, 0.0, Facing::Right, cosf, sinf);
[INFO] [stdout]     |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sinf` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:570:72
[INFO] [stdout]     |
[INFO] [stdout] 570 | arm.erase(&mut gfx, old_shoulder, old_elbow, 0.0, Facing::Right, cosf, sinf);
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `arm` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:572:1
[INFO] [stdout]     |
[INFO] [stdout] 572 | arm.draw(&mut gfx, new_shoulder, new_elbow, 0.0, Facing::Right, true, cosf, sinf);
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:572:15
[INFO] [stdout]     |
[INFO] [stdout] 572 | arm.draw(&mut gfx, new_shoulder, new_elbow, 0.0, Facing::Right, true, cosf, sinf);
[INFO] [stdout]     |               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new_shoulder` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:572:20
[INFO] [stdout]     |
[INFO] [stdout] 572 | arm.draw(&mut gfx, new_shoulder, new_elbow, 0.0, Facing::Right, true, cosf, sinf);
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new_elbow` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:572:34
[INFO] [stdout]     |
[INFO] [stdout] 572 | arm.draw(&mut gfx, new_shoulder, new_elbow, 0.0, Facing::Right, true, cosf, sinf);
[INFO] [stdout]     |                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cosf` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:572:71
[INFO] [stdout]     |
[INFO] [stdout] 572 | arm.draw(&mut gfx, new_shoulder, new_elbow, 0.0, Facing::Right, true, cosf, sinf);
[INFO] [stdout]     |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sinf` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:572:77
[INFO] [stdout]     |
[INFO] [stdout] 572 | arm.draw(&mut gfx, new_shoulder, new_elbow, 0.0, Facing::Right, true, cosf, sinf);
[INFO] [stdout]     |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:574:1
[INFO] [stdout]     |
[INFO] [stdout] 574 | gfx.flush().await?;
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/robotic_arm.rs:574:13
[INFO] [stdout]     |
[INFO] [stdout] 568 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_robotic_arm_rs_568_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 574 | gfx.flush().await?;
[INFO] [stdout]     |             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Facing` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:570:51
[INFO] [stdout]     |
[INFO] [stdout] 570 | arm.erase(&mut gfx, old_shoulder, old_elbow, 0.0, Facing::Right, cosf, sinf);
[INFO] [stdout]     |                                                   ^^^^^^ use of undeclared type `Facing`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Facing` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:572:50
[INFO] [stdout]     |
[INFO] [stdout] 572 | arm.draw(&mut gfx, new_shoulder, new_elbow, 0.0, Facing::Right, true, cosf, sinf);
[INFO] [stdout]     |                                                  ^^^^^^ use of undeclared type `Facing`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/robotic_arm.rs - robotic_arm::Facing (line 203) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Facing` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:204:9
[INFO] [stdout]     |
[INFO] [stdout] 204 | let t = Facing::Left.transform();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `Facing`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Transform2D` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:206:16
[INFO] [stdout]     |
[INFO] [stdout] 206 | let (px, py) = Transform2D::perp(gx, gy);
[INFO] [stdout]     |                ^^^^^^^^^^^ use of undeclared type `Transform2D`
[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/robotic_arm.rs - robotic_arm::RoboticArm (line 254) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `arm` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:255:1
[INFO] [stdout]     |
[INFO] [stdout] 255 | arm.draw(
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:256:10
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]     |
[INFO] [stdout] 256 |     &mut gfx,
[INFO] [stdout]     |          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Facing` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:260:5
[INFO] [stdout]     |
[INFO] [stdout] 260 |     Facing::Right,
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `Facing`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libm` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:262:5
[INFO] [stdout]     |
[INFO] [stdout] 262 |     libm::cosf,
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `libm`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libm`, use `cargo add libm` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libm` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:263:5
[INFO] [stdout]     |
[INFO] [stdout] 263 |     libm::sinf,
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `libm`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libm`, use `cargo add libm` to add it to your `Cargo.toml`
[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/pendulum.rs - pendulum (line 30) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `embedded_trig_f32`
[INFO] [stdout]   --> src/pendulum.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use embedded_trig_f32 as trig;
[INFO] [stdout]    |     -----------------^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no external crate `embedded_trig_f32`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]   --> src/pendulum.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 | pend.draw(&mut gfx, 0.4, true, trig::cos, trig::sin);
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/spring_mass.rs - spring_mass (line 36) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]   --> src/spring_mass.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | sm.draw(&mut gfx, 6, true);   // ressort étiré de 6px
[INFO] [stdout]    |              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]   --> src/spring_mass.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 | sm.draw(&mut gfx, -4, true);
[INFO] [stdout]    |              ^^^ not found in this scope
[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/compass.rs - compass (line 32) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `embedded_trig_f32`
[INFO] [stdout]   --> src/compass.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use embedded_trig_f32 as trig;
[INFO] [stdout]    |     -----------------^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no external crate `embedded_trig_f32`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]   --> src/compass.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 | compass.draw(&mut gfx, 0.785, true, trig::cos, trig::sin);
[INFO] [stdout]    |                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/robotic_arm.rs - robotic_arm::RoboticArm (line 246) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `RoboticArm` in this scope
[INFO] [stdout]    --> src/robotic_arm.rs:247:11
[INFO] [stdout]     |
[INFO] [stdout] 247 | let arm = RoboticArm::new(64, 63, 20, 18)
[INFO] [stdout]     |           ^^^^^^^^^^ use of undeclared type `RoboticArm`
[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/gear.rs - gear (line 54) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `embedded_trig_f32`
[INFO] [stdout]   --> src/gear.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | use embedded_trig_f32 as trig;
[INFO] [stdout]    |     -----------------^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no external crate `embedded_trig_f32`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]   --> src/gear.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 | g.draw(&mut gfx, 0.0, true, trig::cos, trig::sin);
[INFO] [stdout]    |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]   --> src/gear.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 | pair.draw(&mut gfx, 0.3, true, trig::cos, trig::sin);
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/gear.rs:68:5
[INFO] [stdout]     |
[INFO] [stdout]  65 | let pair = GearPair::new(
[INFO] [stdout]     |            ------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout]  68 |     0,                                     // axe de contact : 0 = droite
[INFO] [stdout]     |     ^ expected `f32`, found integer
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/gear.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 266 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: use a float literal
[INFO] [stdout]     |
[INFO] [stdout]  68 |     0.0,                                     // axe de contact : 0 = droite
[INFO] [stdout]     |      ++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/compass.rs - compass (line 32)
[INFO] [stdout]     src/gear.rs - gear (line 54)
[INFO] [stdout]     src/gear.rs - gear::GearPair (line 237)
[INFO] [stdout]     src/gear.rs - gear::GearTrain (line 328)
[INFO] [stdout]     src/lib.rs - (line 29)
[INFO] [stdout]     src/pendulum.rs - pendulum (line 30)
[INFO] [stdout]     src/robotic_arm.rs - robotic_arm::Facing (line 203)
[INFO] [stdout]     src/robotic_arm.rs - robotic_arm::RoboticArm (line 246)
[INFO] [stdout]     src/robotic_arm.rs - robotic_arm::RoboticArm (line 254)
[INFO] [stdout]     src/robotic_arm.rs - robotic_arm::RoboticArm::erase (line 568)
[INFO] [stdout]     src/spring_mass.rs - spring_mass (line 36)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.56s; merged doctests compilation took 0.21s
[INFO] running `Command { std: "docker" "inspect" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3", kill_on_drop: false }`
[INFO] [stdout] 5676281af50846fff00e29e1cb2f26aee30a889ec5df84217d54a99c395009e3
