[INFO] fetching crate rbot 0.1.6...
[INFO] testing rbot-0.1.6 against nightly-2025-01-18 for randomize-layout-2
[INFO] extracting crate rbot 0.1.6 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate rbot 0.1.6 on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate rbot 0.1.6
[INFO] finished tweaking crates.io crate rbot 0.1.6
[INFO] tweaked toml for crates.io crate rbot 0.1.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 33 packages to latest compatible versions
[INFO] [stderr]       Adding strum v0.24.1 (available: v0.26.3)
[INFO] [stderr]       Adding strum_macros v0.24.3 (available: v0.26.4)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.11)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rbot-messages v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 20babad766811f85f5c2b40c5ea880aa252e8d3df3ab3fea067078ad7c3ec98d
[INFO] running `Command { std: "docker" "start" "-a" "20babad766811f85f5c2b40c5ea880aa252e8d3df3ab3fea067078ad7c3ec98d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "20babad766811f85f5c2b40c5ea880aa252e8d3df3ab3fea067078ad7c3ec98d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20babad766811f85f5c2b40c5ea880aa252e8d3df3ab3fea067078ad7c3ec98d", kill_on_drop: false }`
[INFO] [stdout] 20babad766811f85f5c2b40c5ea880aa252e8d3df3ab3fea067078ad7c3ec98d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64a6d8f803e53c6ae2ecb1b0ac2ec4b650316931c363e1fff6c78fdd3c2acdc3
[INFO] running `Command { std: "docker" "start" "-a" "64a6d8f803e53c6ae2ecb1b0ac2ec4b650316931c363e1fff6c78fdd3c2acdc3", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling rustversion v1.0.19
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.137
[INFO] [stderr]    Compiling rbot-messages v0.1.1
[INFO] [stderr]    Compiling rbot v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.43s
[INFO] running `Command { std: "docker" "inspect" "64a6d8f803e53c6ae2ecb1b0ac2ec4b650316931c363e1fff6c78fdd3c2acdc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64a6d8f803e53c6ae2ecb1b0ac2ec4b650316931c363e1fff6c78fdd3c2acdc3", kill_on_drop: false }`
[INFO] [stdout] 64a6d8f803e53c6ae2ecb1b0ac2ec4b650316931c363e1fff6c78fdd3c2acdc3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 74ca37f65eee693d30c5dc3b8de11648eec89d826572555d8592d8020c15ecfd
[INFO] running `Command { std: "docker" "start" "-a" "74ca37f65eee693d30c5dc3b8de11648eec89d826572555d8592d8020c15ecfd", kill_on_drop: false }`
[INFO] [stderr]    Compiling rbot v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "74ca37f65eee693d30c5dc3b8de11648eec89d826572555d8592d8020c15ecfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74ca37f65eee693d30c5dc3b8de11648eec89d826572555d8592d8020c15ecfd", kill_on_drop: false }`
[INFO] [stdout] 74ca37f65eee693d30c5dc3b8de11648eec89d826572555d8592d8020c15ecfd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1d57258acc241f852f911b70f10df611283b80de2106d9d7a7cf9ff93cf0b13e
[INFO] running `Command { std: "docker" "start" "-a" "1d57258acc241f852f911b70f10df611283b80de2106d9d7a7cf9ff93cf0b13e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rbot-f8dc85a1d4e6519c)
[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 rbot
[INFO] [stdout] 
[INFO] [stdout] running 38 tests
[INFO] [stdout] test src/core.rs - core::await_component (line 259) ... FAILED
[INFO] [stdout] test src/core.rs - core::component_state (line 351) ... FAILED
[INFO] [stdout] test src/core.rs - core::await_action (line 479) ... FAILED
[INFO] [stdout] test src/core.rs - core::time (line 446) ... FAILED
[INFO] [stdout] test src/core.rs - core::await_not_activated (line 294) ... FAILED
[INFO] [stdout] test src/core.rs - core::rotate (line 110) ... FAILED
[INFO] [stdout] test src/conversions.rs - conversions::angle_to_xy (line 48) ... FAILED
[INFO] [stdout] test src/core.rs - core::use_component (line 24) ... FAILED
[INFO] [stdout] test src/core.rs - core::state (line 320) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::gps (line 423) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::laser (line 184) ... FAILED
[INFO] [stdout] test src/conversions.rs - conversions::xy_to_angle (line 21) ... FAILED
[INFO] [stdout] test src/core.rs - core::velocity (line 76) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::await_module (line 68) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::radar (line 127) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 6) ... FAILED
[INFO] [stdout] test src/core.rs - core::random (line 395) ... FAILED
[INFO] [stdout] test src/core.rs - core::at_rotation (line 152) ... FAILED
[INFO] [stdout] test src/core.rs - core::aim (line 190) ... FAILED
[INFO] [stdout] test src/core.rs - core::await_aim (line 224) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::status (line 51) ... FAILED
[INFO] [stdout] test src/core.rs - core::print (line 423) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::scan (line 318) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::thrust (line 297) ... FAILED
[INFO] [stdout] test src/core.rs - core::sleep (line 376) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::force_field (line 219) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::mine (line 240) ... FAILED
[INFO] [stdout] test src/print_macros.rs - print_macros::print (line 9) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::laser (line 189) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::repair (line 266) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::scan (line 323) ... ok
[INFO] [stdout] test src/modules.rs - modules::teleport (line 104) ... FAILED
[INFO] [stdout] test src/modules.rs - modules::scan_for_bot (line 364) ... FAILED
[INFO] [stdout] test src/rotations.rs - rotations::transform_rotation_to_component (line 19) ... FAILED
[INFO] [stdout] test src/rotations.rs - rotations::transform_rotation_from_component (line 45) ... FAILED
[INFO] [stdout] test src/print_macros.rs - print_macros::println (line 49) ... ok
[INFO] [stdout] test src/modules.rs - modules::radar (line 132) ... FAILED
[INFO] [stdout] test src/rotations.rs - rotations::angle_distance (line 72) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/core.rs - core::await_component (line 259) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `await_component` in this scope
[INFO] [stdout]  --> src/core.rs:260:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | await_component(0)?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::await_component;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `use_component` in this scope
[INFO] [stdout]  --> src/core.rs:261:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | use_component(0)?;
[INFO] [stdout]   | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::use_component;
[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/core.rs - core::component_state (line 351) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/core.rs:353:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_351_0() {
[INFO] [stdout]   |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 5 | let component_state = rbot::component_state(0)?;
[INFO] [stdout]   |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_351_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | let component_state = rbot::component_state(0)?;
[INFO] [stdout] 6 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::await_action (line 479) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/core.rs:482:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_479_0() {
[INFO] [stdout]   |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 6 | rbot::await_component(0)?;
[INFO] [stdout]   |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 5 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_479_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 6 | rbot::await_component(0)?;
[INFO] [stdout] ...
[INFO] [stdout] 19| let component_state = rbot::component_state()?;
[INFO] [stdout] 20+     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/core.rs:487:30
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_479_0() {
[INFO] [stdout]    |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | rbot::use_component(0, false)?;
[INFO] [stdout]    |                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 5  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_479_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 6  | rbot::await_component(0)?;
[INFO] [stdout] ...
[INFO] [stdout] 19 | let component_state = rbot::component_state()?;
[INFO] [stdout] 20 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/core.rs:492:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_479_0() {
[INFO] [stdout]    |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 16 | rbot::await_action()?;
[INFO] [stdout]    |                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 5  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_479_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 6  | rbot::await_component(0)?;
[INFO] [stdout] ...
[INFO] [stdout] 19 | let component_state = rbot::component_state()?;
[INFO] [stdout] 20 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/core.rs:495:23
[INFO] [stdout]     |
[INFO] [stdout] 19  | let component_state = rbot::component_state()?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `i32` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/core.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn component_state(component_id: i32) -> Result<msg::RMsgComponentStatus, MessageError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 19  | let component_state = rbot::component_state(/* i32 */)?;
[INFO] [stdout]     |                                            ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/core.rs:495:46
[INFO] [stdout]    |
[INFO] [stdout] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_479_0() {
[INFO] [stdout]    |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 19 | let component_state = rbot::component_state()?;
[INFO] [stdout]    |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 5  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_479_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 6  | rbot::await_component(0)?;
[INFO] [stdout] ...
[INFO] [stdout] 19 | let component_state = rbot::component_state()?;
[INFO] [stdout] 20 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::time (line 446) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/core.rs:448:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_446_0() {
[INFO] [stdout]   |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 5 | let timestamp = rbot::time()?;
[INFO] [stdout]   |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_446_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | let timestamp = rbot::time()?;
[INFO] [stdout] 6 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::await_not_activated (line 294) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/core.rs:297:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_294_0() {
[INFO] [stdout]   |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 6 | rbot::await_not_activated(0)?;
[INFO] [stdout]   |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 5 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_294_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 6 | rbot::await_not_activated(0)?;
[INFO] [stdout] 7 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::rotate (line 110) stdout ----
[INFO] [stdout] error[E0609]: no field `err` on type `Result<(), MessageError>`
[INFO] [stdout]  --> src/core.rs:116:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | if result.err {
[INFO] [stdout]   |           ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0609`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/conversions.rs - conversions::angle_to_xy (line 48) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `angle_to_xy` in this scope
[INFO] [stdout]  --> src/conversions.rs:50:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let [x, y] = angle_to_xy(angle);
[INFO] [stdout]   |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::conversions::angle_to_xy;
[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] ---- src/core.rs - core::use_component (line 24) stdout ----
[INFO] [stdout] error[E0609]: no field `err` on type `Result<(), MessageError>`
[INFO] [stdout]   --> src/core.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | if result.err {
[INFO] [stdout]    |           ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0609`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::state (line 320) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `state` in this scope
[INFO] [stdout]  --> src/core.rs:321:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | let robot_state = state()?;
[INFO] [stdout]   |                   ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::state;
[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] ---- src/modules.rs - modules::gps (line 423) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/modules.rs:425:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_423_0() {
[INFO] [stdout]   |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 5 | let position = rbot::modules::gps()?;
[INFO] [stdout]   |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_423_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | let position = rbot::modules::gps()?;
[INFO] [stdout] 6 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::laser (line 184) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `laser` in crate `rbot`
[INFO] [stdout]  --> src/modules.rs:186:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | let laser_msg = rbot::laser(45)?;
[INFO] [stdout]   |                       ^^^^^ not found in `rbot`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::modules::laser;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `laser`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let laser_msg = rbot::laser(45)?;
[INFO] [stdout] 5 + let laser_msg = laser(45)?;
[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] ---- src/conversions.rs - conversions::xy_to_angle (line 21) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `xy_to_angle` in this scope
[INFO] [stdout]  --> src/conversions.rs:24:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let angle = xy_to_angle(x, y);
[INFO] [stdout]   |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::conversions::xy_to_angle;
[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] ---- src/core.rs - core::velocity (line 76) stdout ----
[INFO] [stdout] error[E0609]: no field `err` on type `Result<(), MessageError>`
[INFO] [stdout]  --> src/core.rs:82:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | if result.err {
[INFO] [stdout]   |           ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0609`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::await_module (line 68) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `await_cooldown` in module `rbot::modules`
[INFO] [stdout]  --> src/modules.rs:71:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | rbot::modules::await_cooldown(Module.Radar);
[INFO] [stdout]   |                ^^^^^^^^^^^^^^ not found in `rbot::modules`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Module` in this scope
[INFO] [stdout]  --> src/modules.rs:71:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | rbot::modules::await_cooldown(Module.Radar);
[INFO] [stdout]   |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/modules.rs:73:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_68_0() {
[INFO] [stdout]   |                                      -------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let radar_msg = rbot::modules::radar()?;
[INFO] [stdout]   |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 5 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_68_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 6 | rbot::modules::await_cooldown(Module.Radar);
[INFO] [stdout] 7 | // Now we can use the module and get a valid response.
[INFO] [stdout] 8 | let radar_msg = rbot::modules::radar()?;
[INFO] [stdout] 9 +     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::radar (line 127) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/modules.rs:129:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_127_0() {
[INFO] [stdout]   |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 5 | let radar_msg = rbot::modules::radar()?;
[INFO] [stdout]   |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_127_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | let radar_msg = rbot::modules::radar()?;
[INFO] [stdout] 6 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 6) stdout ----
[INFO] [stdout] error[E0254]: the name `rbot` is defined multiple times
[INFO] [stdout]  --> src/lib.rs:10:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | extern crate r#rbot;
[INFO] [stdout]   | -------------------- previous import of the extern crate `rbot` here
[INFO] [stdout] 6 | use rbot;
[INFO] [stdout]   |     ^^^^ `rbot` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `rbot` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0254`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::random (line 395) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/core.rs:403:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use rand::Rng;
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/core.rs:404:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::at_rotation (line 152) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `at_rotation` in this scope
[INFO] [stdout]  --> src/core.rs:154:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let is_at_angle = at_rotation(0, 90, 0.5)?;
[INFO] [stdout]   |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::at_rotation;
[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] ---- src/core.rs - core::aim (line 190) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core.rs:192:27
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::aim(0, 90);
[INFO] [stdout]     |              ---------    ^^ expected `f32`, found integer
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/core.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub fn aim(component_id: i32, angle: f32) -> Result<(), MessageError> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] help: use a float literal
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::aim(0, 90.0);
[INFO] [stdout]     |                             ++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `err` on type `Result<(), MessageError>`
[INFO] [stdout]  --> src/core.rs:196:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | if result.err {
[INFO] [stdout]   |           ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::await_aim (line 224) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core.rs:226:33
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::await_aim(0, 90, 0.5);
[INFO] [stdout]     |              ---------------    ^^ expected `f32`, found integer
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/core.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub fn await_aim(component_id: i32, angle: f32, slack: f32) -> Result<(), MessageError> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] help: use a float literal
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::await_aim(0, 90.0, 0.5);
[INFO] [stdout]     |                                   ++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `err` on type `Result<(), MessageError>`
[INFO] [stdout]  --> src/core.rs:230:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | if result.err {
[INFO] [stdout]   |           ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::status (line 51) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/modules.rs:53:42
[INFO] [stdout]   |
[INFO] [stdout] 5 | let radar_status = rbot::modules::status(Module::Radar)?;
[INFO] [stdout]   |                                          ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::modules::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/modules.rs:53:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_51_0() {
[INFO] [stdout]   |                                      -------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 5 | let radar_status = rbot::modules::status(Module::Radar)?;
[INFO] [stdout]   |                                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_51_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | let radar_status = rbot::modules::status(Module::Radar)?;
[INFO] [stdout] 6 +     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::print (line 423) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustc5s7FgZ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot.rlib,libstrum-69a6d0b97da44283.rlib,libthiserror-1438ed44ce97e1d1.rlib,librbot_messages-cbe60a0bdd5b2a57.rlib,libserde_json-32b49b31e8a333b1.rlib,libmemchr-3ffe5f7a52883367.rlib,libitoa-d34da3363977f6fb.rlib,libryu-f8ba606093049f91.rlib,libserde-c600bc77d8e1d0ce.rlib}" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-006123e2ce67e99d.rlib,libpanic_unwind-e1447e1efa6f1e57.rlib,libobject-f6963a4916fcf097.rlib,libmemchr-49a2d9af912f4524.rlib,libaddr2line-04d19aad3936869d.rlib,libgimli-483c235edb789db0.rlib,librustc_demangle-294281af50b8f748.rlib,libstd_detect-3b08295250aabc2a.rlib,libhashbrown-4472d1e05ba0dfaf.rlib,librustc_std_workspace_alloc-2ef099fac590e457.rlib,libminiz_oxide-8a51f5e848546c29.rlib,libadler2-3d3fa22b868db521.rlib,libunwind-0ffda8b08e22dbea.rlib,libcfg_if-b08f62458fdd43b9.rlib,liblibc-559675126e63b890.rlib,liballoc-fcf21c8d1c9c7b75.rlib,librustc_std_workspace_core-e0b0460135bcf21d.rlib,libcore-d4097fdcbddd3bc7.rlib,libcompiler_builtins-fea484ac1eed7881.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestuym5wm/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: dbg_log
[INFO] [stdout]           >>> referenced by core.rs:430 (src/core.rs:430)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::core::print::he493d2ec651daba3) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::scan (line 318) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/modules.rs:320:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_318_0() {
[INFO] [stdout]   |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 5 | let scan_results = rbot::modules::scan()?;
[INFO] [stdout]   |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, MessageError>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_318_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | let scan_results = rbot::modules::scan()?;
[INFO] [stdout] 6 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::thrust (line 297) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/modules.rs:299:36
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::modules::thrust(0);
[INFO] [stdout]     |              --------------------- ^ expected `f32`, found integer
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/modules.rs:300:8
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub fn thrust(angle: f32) -> Result<msg::MsgEmpty, MessageError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] help: use a float literal
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::modules::thrust(0.0);
[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 E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core.rs - core::sleep (line 376) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcNVejMU/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot.rlib,libstrum-69a6d0b97da44283.rlib,libthiserror-1438ed44ce97e1d1.rlib,librbot_messages-cbe60a0bdd5b2a57.rlib,libserde_json-32b49b31e8a333b1.rlib,libmemchr-3ffe5f7a52883367.rlib,libitoa-d34da3363977f6fb.rlib,libryu-f8ba606093049f91.rlib,libserde-c600bc77d8e1d0ce.rlib}" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-006123e2ce67e99d.rlib,libpanic_unwind-e1447e1efa6f1e57.rlib,libobject-f6963a4916fcf097.rlib,libmemchr-49a2d9af912f4524.rlib,libaddr2line-04d19aad3936869d.rlib,libgimli-483c235edb789db0.rlib,librustc_demangle-294281af50b8f748.rlib,libstd_detect-3b08295250aabc2a.rlib,libhashbrown-4472d1e05ba0dfaf.rlib,librustc_std_workspace_alloc-2ef099fac590e457.rlib,libminiz_oxide-8a51f5e848546c29.rlib,libadler2-3d3fa22b868db521.rlib,libunwind-0ffda8b08e22dbea.rlib,libcfg_if-b08f62458fdd43b9.rlib,liblibc-559675126e63b890.rlib,liballoc-fcf21c8d1c9c7b75.rlib,librustc_std_workspace_core-e0b0460135bcf21d.rlib,libcore-d4097fdcbddd3bc7.rlib,libcompiler_builtins-fea484ac1eed7881.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctest7b84rr/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: dbg_log
[INFO] [stdout]           >>> referenced by core.rs:430 (src/core.rs:430)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::core::print::he493d2ec651daba3) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::force_field (line 219) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcQ7TSIa/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot.rlib,libstrum-69a6d0b97da44283.rlib,libthiserror-1438ed44ce97e1d1.rlib,librbot_messages-cbe60a0bdd5b2a57.rlib,libserde_json-32b49b31e8a333b1.rlib,libmemchr-3ffe5f7a52883367.rlib,libitoa-d34da3363977f6fb.rlib,libryu-f8ba606093049f91.rlib,libserde-c600bc77d8e1d0ce.rlib}" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-006123e2ce67e99d.rlib,libpanic_unwind-e1447e1efa6f1e57.rlib,libobject-f6963a4916fcf097.rlib,libmemchr-49a2d9af912f4524.rlib,libaddr2line-04d19aad3936869d.rlib,libgimli-483c235edb789db0.rlib,librustc_demangle-294281af50b8f748.rlib,libstd_detect-3b08295250aabc2a.rlib,libhashbrown-4472d1e05ba0dfaf.rlib,librustc_std_workspace_alloc-2ef099fac590e457.rlib,libminiz_oxide-8a51f5e848546c29.rlib,libadler2-3d3fa22b868db521.rlib,libunwind-0ffda8b08e22dbea.rlib,libcfg_if-b08f62458fdd43b9.rlib,liblibc-559675126e63b890.rlib,liballoc-fcf21c8d1c9c7b75.rlib,librustc_std_workspace_core-e0b0460135bcf21d.rlib,libcore-d4097fdcbddd3bc7.rlib,libcompiler_builtins-fea484ac1eed7881.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestzjlVva/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: tcp_send
[INFO] [stdout]           >>> referenced by hostfn.rs:92 (src/hostfn.rs:92)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::hostfn::send_message::hfa0113a5e18560f0) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::mine (line 240) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcmxqmVk/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot.rlib,libstrum-69a6d0b97da44283.rlib,libthiserror-1438ed44ce97e1d1.rlib,librbot_messages-cbe60a0bdd5b2a57.rlib,libserde_json-32b49b31e8a333b1.rlib,libmemchr-3ffe5f7a52883367.rlib,libitoa-d34da3363977f6fb.rlib,libryu-f8ba606093049f91.rlib,libserde-c600bc77d8e1d0ce.rlib}" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-006123e2ce67e99d.rlib,libpanic_unwind-e1447e1efa6f1e57.rlib,libobject-f6963a4916fcf097.rlib,libmemchr-49a2d9af912f4524.rlib,libaddr2line-04d19aad3936869d.rlib,libgimli-483c235edb789db0.rlib,librustc_demangle-294281af50b8f748.rlib,libstd_detect-3b08295250aabc2a.rlib,libhashbrown-4472d1e05ba0dfaf.rlib,librustc_std_workspace_alloc-2ef099fac590e457.rlib,libminiz_oxide-8a51f5e848546c29.rlib,libadler2-3d3fa22b868db521.rlib,libunwind-0ffda8b08e22dbea.rlib,libcfg_if-b08f62458fdd43b9.rlib,liblibc-559675126e63b890.rlib,liballoc-fcf21c8d1c9c7b75.rlib,librustc_std_workspace_core-e0b0460135bcf21d.rlib,libcore-d4097fdcbddd3bc7.rlib,libcompiler_builtins-fea484ac1eed7881.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctest6VynK3/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: tcp_send
[INFO] [stdout]           >>> referenced by hostfn.rs:92 (src/hostfn.rs:92)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::hostfn::send_message::hfb1113482893c4ef) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/print_macros.rs - print_macros::print (line 9) stdout ----
[INFO] [stdout] error: requires at least a format string argument
[INFO] [stdout]  --> src/print_macros.rs:11:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | print!();
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::laser (line 189) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RMsgLaser` in this scope
[INFO] [stdout]  --> src/modules.rs:191:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn laser_search_enemy() -> Option<RMsgLaser> {
[INFO] [stdout]   |                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::messages::RMsgLaser;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot_messages::RMsgLaser;
[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 E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::repair (line 266) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcGyFFG9/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot.rlib,libstrum-69a6d0b97da44283.rlib,libthiserror-1438ed44ce97e1d1.rlib,librbot_messages-cbe60a0bdd5b2a57.rlib,libserde_json-32b49b31e8a333b1.rlib,libmemchr-3ffe5f7a52883367.rlib,libitoa-d34da3363977f6fb.rlib,libryu-f8ba606093049f91.rlib,libserde-c600bc77d8e1d0ce.rlib}" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-006123e2ce67e99d.rlib,libpanic_unwind-e1447e1efa6f1e57.rlib,libobject-f6963a4916fcf097.rlib,libmemchr-49a2d9af912f4524.rlib,libaddr2line-04d19aad3936869d.rlib,libgimli-483c235edb789db0.rlib,librustc_demangle-294281af50b8f748.rlib,libstd_detect-3b08295250aabc2a.rlib,libhashbrown-4472d1e05ba0dfaf.rlib,librustc_std_workspace_alloc-2ef099fac590e457.rlib,libminiz_oxide-8a51f5e848546c29.rlib,libadler2-3d3fa22b868db521.rlib,libunwind-0ffda8b08e22dbea.rlib,libcfg_if-b08f62458fdd43b9.rlib,liblibc-559675126e63b890.rlib,liballoc-fcf21c8d1c9c7b75.rlib,librustc_std_workspace_core-e0b0460135bcf21d.rlib,libcore-d4097fdcbddd3bc7.rlib,libcompiler_builtins-fea484ac1eed7881.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestqQahov/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: tcp_send
[INFO] [stdout]           >>> referenced by hostfn.rs:92 (src/hostfn.rs:92)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::hostfn::send_message::h1141ce92f7bf53bb) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::teleport (line 104) stdout ----
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/modules.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::modules::teleport(10, 2);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^ --  - expected `f32`, found integer
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      expected `f32`, found integer
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/modules.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub fn teleport(x: f32, y: f32) -> Result<msg::MsgEmpty, MessageError> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: use a float literal
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::modules::teleport(10.0, 2);
[INFO] [stdout]     |                                        ++
[INFO] [stdout] help: use a float literal
[INFO] [stdout]     |
[INFO] [stdout] 5   | let result = rbot::modules::teleport(10, 2.0);
[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 E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/modules.rs - modules::scan_for_bot (line 364) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `scan_for_bot` in crate `rbot`
[INFO] [stdout]  --> src/modules.rs:367:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | match rbot::scan_for_bot()? {
[INFO] [stdout]   |             ^^^^^^^^^^^^ not found in `rbot`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 + use rbot::modules::scan_for_bot;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `scan_for_bot`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 6 - match rbot::scan_for_bot()? {
[INFO] [stdout] 6 + match scan_for_bot()? {
[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] ---- src/rotations.rs - rotations::transform_rotation_to_component (line 19) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `transform_rotation_to_component` in this scope
[INFO] [stdout]  --> src/rotations.rs:22:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let local_angle = transform_rotation_to_component(component_id, global_angle);
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::rotations::transform_rotation_to_component;
[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] ---- src/rotations.rs - rotations::transform_rotation_from_component (line 45) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `transform_rotation_from_component` in this scope
[INFO] [stdout]  --> src/rotations.rs:48:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | let global_angle = transform_rotation_from_component(component_id, local_angle);
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rbot::rotations::transform_rotation_from_component;
[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] ---- src/modules.rs - modules::radar (line 132) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustc7pwTt0/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot.rlib,libstrum-69a6d0b97da44283.rlib,libthiserror-1438ed44ce97e1d1.rlib,librbot_messages-cbe60a0bdd5b2a57.rlib,libserde_json-32b49b31e8a333b1.rlib,libmemchr-3ffe5f7a52883367.rlib,libitoa-d34da3363977f6fb.rlib,libryu-f8ba606093049f91.rlib,libserde-c600bc77d8e1d0ce.rlib}" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-006123e2ce67e99d.rlib,libpanic_unwind-e1447e1efa6f1e57.rlib,libobject-f6963a4916fcf097.rlib,libmemchr-49a2d9af912f4524.rlib,libaddr2line-04d19aad3936869d.rlib,libgimli-483c235edb789db0.rlib,librustc_demangle-294281af50b8f748.rlib,libstd_detect-3b08295250aabc2a.rlib,libhashbrown-4472d1e05ba0dfaf.rlib,librustc_std_workspace_alloc-2ef099fac590e457.rlib,libminiz_oxide-8a51f5e848546c29.rlib,libadler2-3d3fa22b868db521.rlib,libunwind-0ffda8b08e22dbea.rlib,libcfg_if-b08f62458fdd43b9.rlib,liblibc-559675126e63b890.rlib,liballoc-fcf21c8d1c9c7b75.rlib,librustc_std_workspace_core-e0b0460135bcf21d.rlib,libcore-d4097fdcbddd3bc7.rlib,libcompiler_builtins-fea484ac1eed7881.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestR5da2D/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: tcp_send
[INFO] [stdout]           >>> referenced by hostfn.rs:92 (src/hostfn.rs:92)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::hostfn::send_message::h07d18ef9fb3898ce) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           >>> referenced by hostfn.rs:92 (src/hostfn.rs:92)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::hostfn::send_message::h1c211c22edb109ed) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           >>> referenced by hostfn.rs:92 (src/hostfn.rs:92)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::hostfn::send_message::h35042bb2acb09037) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           >>> referenced 4 more times
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rotations.rs - rotations::angle_distance (line 72) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustciSzMEO/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot.rlib,libstrum-69a6d0b97da44283.rlib,libthiserror-1438ed44ce97e1d1.rlib,librbot_messages-cbe60a0bdd5b2a57.rlib,libserde_json-32b49b31e8a333b1.rlib,libmemchr-3ffe5f7a52883367.rlib,libitoa-d34da3363977f6fb.rlib,libryu-f8ba606093049f91.rlib,libserde-c600bc77d8e1d0ce.rlib}" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-006123e2ce67e99d.rlib,libpanic_unwind-e1447e1efa6f1e57.rlib,libobject-f6963a4916fcf097.rlib,libmemchr-49a2d9af912f4524.rlib,libaddr2line-04d19aad3936869d.rlib,libgimli-483c235edb789db0.rlib,librustc_demangle-294281af50b8f748.rlib,libstd_detect-3b08295250aabc2a.rlib,libhashbrown-4472d1e05ba0dfaf.rlib,librustc_std_workspace_alloc-2ef099fac590e457.rlib,libminiz_oxide-8a51f5e848546c29.rlib,libadler2-3d3fa22b868db521.rlib,libunwind-0ffda8b08e22dbea.rlib,libcfg_if-b08f62458fdd43b9.rlib,liblibc-559675126e63b890.rlib,liballoc-fcf21c8d1c9c7b75.rlib,librustc_std_workspace_core-e0b0460135bcf21d.rlib,libcore-d4097fdcbddd3bc7.rlib,libcompiler_builtins-fea484ac1eed7881.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2025-01-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctest1wm0Vq/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: dbg_log
[INFO] [stdout]           >>> referenced by core.rs:430 (src/core.rs:430)
[INFO] [stdout]           >>>               rbot.rbot.bf9798e2b74cee61-cgu.0.rcgu.o:(rbot::core::print::he493d2ec651daba3) in archive /opt/rustwide/target/debug/deps/librbot.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/conversions.rs - conversions::angle_to_xy (line 48)
[INFO] [stdout]     src/conversions.rs - conversions::xy_to_angle (line 21)
[INFO] [stdout]     src/core.rs - core::aim (line 190)
[INFO] [stdout]     src/core.rs - core::at_rotation (line 152)
[INFO] [stdout]     src/core.rs - core::await_action (line 479)
[INFO] [stdout]     src/core.rs - core::await_aim (line 224)
[INFO] [stdout]     src/core.rs - core::await_component (line 259)
[INFO] [stdout]     src/core.rs - core::await_not_activated (line 294)
[INFO] [stdout]     src/core.rs - core::component_state (line 351)
[INFO] [stdout]     src/core.rs - core::print (line 423)
[INFO] [stdout]     src/core.rs - core::random (line 395)
[INFO] [stdout]     src/core.rs - core::rotate (line 110)
[INFO] [stdout]     src/core.rs - core::sleep (line 376)
[INFO] [stdout]     src/core.rs - core::state (line 320)
[INFO] [stdout]     src/core.rs - core::time (line 446)
[INFO] [stdout]     src/core.rs - core::use_component (line 24)
[INFO] [stdout]     src/core.rs - core::velocity (line 76)
[INFO] [stdout]     src/lib.rs - (line 6)
[INFO] [stdout]     src/modules.rs - modules::await_module (line 68)
[INFO] [stdout]     src/modules.rs - modules::force_field (line 219)
[INFO] [stdout]     src/modules.rs - modules::gps (line 423)
[INFO] [stdout]     src/modules.rs - modules::laser (line 184)
[INFO] [stdout]     src/modules.rs - modules::laser (line 189)
[INFO] [stdout]     src/modules.rs - modules::mine (line 240)
[INFO] [stdout]     src/modules.rs - modules::radar (line 127)
[INFO] [stdout]     src/modules.rs - modules::radar (line 132)
[INFO] [stdout]     src/modules.rs - modules::repair (line 266)
[INFO] [stdout]     src/modules.rs - modules::scan (line 318)
[INFO] [stdout]     src/modules.rs - modules::scan_for_bot (line 364)
[INFO] [stdout]     src/modules.rs - modules::status (line 51)
[INFO] [stdout]     src/modules.rs - modules::teleport (line 104)
[INFO] [stdout]     src/modules.rs - modules::thrust (line 297)
[INFO] [stdout]     src/print_macros.rs - print_macros::print (line 9)
[INFO] [stdout]     src/rotations.rs - rotations::angle_distance (line 72)
[INFO] [stdout]     src/rotations.rs - rotations::transform_rotation_from_component (line 45)
[INFO] [stdout]     src/rotations.rs - rotations::transform_rotation_to_component (line 19)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 36 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1d57258acc241f852f911b70f10df611283b80de2106d9d7a7cf9ff93cf0b13e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d57258acc241f852f911b70f10df611283b80de2106d9d7a7cf9ff93cf0b13e", kill_on_drop: false }`
[INFO] [stdout] 1d57258acc241f852f911b70f10df611283b80de2106d9d7a7cf9ff93cf0b13e
