[INFO] fetching crate rbot 0.1.9... [INFO] testing rbot-0.1.9 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rbot 0.1.9 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate rbot 0.1.9 [INFO] finished tweaking crates.io crate rbot 0.1.9 [INFO] tweaked toml for crates.io crate rbot 0.1.9 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rbot 0.1.9 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rbot 0.1.9 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3e6056e533e1350072a011e66f074c19f56e696f53961eea5350cbd451a4337 [INFO] running `Command { std: "docker" "start" "-a" "e3e6056e533e1350072a011e66f074c19f56e696f53961eea5350cbd451a4337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3e6056e533e1350072a011e66f074c19f56e696f53961eea5350cbd451a4337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3e6056e533e1350072a011e66f074c19f56e696f53961eea5350cbd451a4337", kill_on_drop: false }` [INFO] [stdout] e3e6056e533e1350072a011e66f074c19f56e696f53961eea5350cbd451a4337 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed7bc0548573ac4bcad4d513418aed2d42002d78a9cc1a014a7e5e9a5450c924 [INFO] running `Command { std: "docker" "start" "-a" "ed7bc0548573ac4bcad4d513418aed2d42002d78a9cc1a014a7e5e9a5450c924", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling strum_macros v0.24.3 [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 num-derive v0.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rbot-messages v0.1.1 [INFO] [stderr] Compiling rbot v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.24s [INFO] running `Command { std: "docker" "inspect" "ed7bc0548573ac4bcad4d513418aed2d42002d78a9cc1a014a7e5e9a5450c924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7bc0548573ac4bcad4d513418aed2d42002d78a9cc1a014a7e5e9a5450c924", kill_on_drop: false }` [INFO] [stdout] ed7bc0548573ac4bcad4d513418aed2d42002d78a9cc1a014a7e5e9a5450c924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e383bf1633d19eebb26e08576109f1fd29ed14d7b7ea771646ea63c307b39d4 [INFO] running `Command { std: "docker" "start" "-a" "6e383bf1633d19eebb26e08576109f1fd29ed14d7b7ea771646ea63c307b39d4", kill_on_drop: false }` [INFO] [stderr] Compiling rbot v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "6e383bf1633d19eebb26e08576109f1fd29ed14d7b7ea771646ea63c307b39d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e383bf1633d19eebb26e08576109f1fd29ed14d7b7ea771646ea63c307b39d4", kill_on_drop: false }` [INFO] [stdout] 6e383bf1633d19eebb26e08576109f1fd29ed14d7b7ea771646ea63c307b39d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc436e5103f2a33f22af5a64471158718607ee649163dc2d3a0dbc2417df7884 [INFO] running `Command { std: "docker" "start" "-a" "cc436e5103f2a33f22af5a64471158718607ee649163dc2d3a0dbc2417df7884", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rbot-e08255e66c3c3855) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rbot [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] warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function [INFO] [stderr] --> src/core.rs:402:1 [INFO] [stderr] | [INFO] [stderr] 402 | /// ``` [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test src/conversions.rs - conversions::angle_to_xy (line 48) ... FAILED [INFO] [stdout] test src/core.rs - core::await_component (line 259) ... FAILED [INFO] [stdout] test src/core.rs - core::aim (line 190) ... FAILED [INFO] [stdout] test src/core.rs - core::await_not_activated (line 301) ... FAILED [INFO] [stdout] test src/core.rs - core::await_action (line 486) ... FAILED [INFO] [stdout] test src/conversions.rs - conversions::xy_to_angle (line 21) ... FAILED [INFO] [stdout] test src/core.rs - core::component_state (line 358) ... FAILED [INFO] [stdout] test src/core.rs - core::at_rotation (line 152) ... FAILED [INFO] [stdout] test src/core.rs - core::await_aim (line 224) ... FAILED [INFO] [stdout] test src/core.rs - core::rotate (line 110) ... FAILED [INFO] [stdout] test src/core.rs - core::time (line 453) ... FAILED [INFO] [stdout] test src/core.rs - core::velocity (line 76) ... FAILED [INFO] [stdout] test src/core.rs - core::random (line 402) ... FAILED [INFO] [stdout] test src/core.rs - core::print (line 430) ... FAILED [INFO] [stdout] test src/core.rs - core::use_component (line 24) ... FAILED [INFO] [stdout] test src/core.rs - core::sleep (line 383) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/core.rs - core::state (line 327) ... FAILED [INFO] [stdout] test src/modules.rs - modules::radar (line 128) ... FAILED [INFO] [stdout] test src/modules.rs - modules::laser (line 185) ... FAILED [INFO] [stdout] test src/modules.rs - modules::gps (line 424) ... FAILED [INFO] [stdout] test src/modules.rs - modules::await_module (line 69) ... FAILED [INFO] [stdout] test src/modules.rs - modules::laser (line 190) ... FAILED [INFO] [stdout] test src/modules.rs - modules::force_field (line 220) ... FAILED [INFO] [stdout] test src/modules.rs - modules::scan (line 319) ... FAILED [INFO] [stdout] test src/modules.rs - modules::scan_for_bot (line 365) ... FAILED [INFO] [stdout] test src/modules.rs - modules::thrust (line 298) ... FAILED [INFO] [stdout] test src/modules.rs - modules::teleport (line 105) ... FAILED [INFO] [stdout] test src/modules.rs - modules::mine (line 241) ... FAILED [INFO] [stdout] test src/modules.rs - modules::repair (line 267) ... FAILED [INFO] [stdout] test src/modules.rs - modules::scan (line 324) ... ok [INFO] [stdout] test src/print_macros.rs - print_macros::print (line 9) ... FAILED [INFO] [stdout] test src/modules.rs - modules::radar (line 133) ... FAILED [INFO] [stdout] test src/modules.rs - modules::status (line 52) ... 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/rotations.rs - rotations::angle_distance (line 72) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 50 | 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] 48 + 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::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] 260 | await_component(0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 259 + 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] 261 | use_component(0)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 259 + 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::aim (line 190) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | 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] 192 | let result = rbot::aim(0, 90.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `err` on type `Result<(), MessageError>` [INFO] [stdout] --> src/core.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 196 | if result.err() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0615. [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_not_activated (line 301) 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:304:29 [INFO] [stdout] | [INFO] [stdout] 302 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_301_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 303 | // Wait for the component with ID 0 to no longer be activated. [INFO] [stdout] 304 | rbot::await_not_activated(0)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 302 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_301_0() -> Result<(), Box> { [INFO] [stdout] 303 | // Wait for the component with ID 0 to no longer be activated. [INFO] [stdout] 304 | rbot::await_not_activated(0)?; [INFO] [stdout] 305 + 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 486) 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:489:25 [INFO] [stdout] | [INFO] [stdout] 487 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 488 | // Wait for the component to be ready. [INFO] [stdout] 489 | rbot::await_component(0)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 487 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() -> Result<(), Box> { [INFO] [stdout] 488 | // Wait for the component to be ready. [INFO] [stdout] ... [INFO] [stdout] 502 | let component_state = rbot::component_state()?; [INFO] [stdout] 503 + 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:494:30 [INFO] [stdout] | [INFO] [stdout] 487 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 494 | rbot::use_component(0, false)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 487 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() -> Result<(), Box> { [INFO] [stdout] 488 | // Wait for the component to be ready. [INFO] [stdout] ... [INFO] [stdout] 502 | let component_state = rbot::component_state()?; [INFO] [stdout] 503 + 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:499:21 [INFO] [stdout] | [INFO] [stdout] 487 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 499 | rbot::await_action()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 487 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() -> Result<(), Box> { [INFO] [stdout] 488 | // Wait for the component to be ready. [INFO] [stdout] ... [INFO] [stdout] 502 | let component_state = rbot::component_state()?; [INFO] [stdout] 503 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/core.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 502 | 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:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn component_state(component_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 502 | 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:502:46 [INFO] [stdout] | [INFO] [stdout] 487 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 502 | let component_state = rbot::component_state()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 487 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() -> Result<(), Box> { [INFO] [stdout] 488 | // Wait for the component to be ready. [INFO] [stdout] ... [INFO] [stdout] 502 | let component_state = rbot::component_state()?; [INFO] [stdout] 503 + 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/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] 24 | 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] 21 + 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::component_state (line 358) 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:360:47 [INFO] [stdout] | [INFO] [stdout] 359 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_358_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 360 | let component_state = rbot::component_state(0)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 359 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_358_0() -> Result<(), Box> { [INFO] [stdout] 360 | let component_state = rbot::component_state(0)?; [INFO] [stdout] 361 + 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::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] 154 | 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] 151 + 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::await_aim (line 224) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | 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] 226 | let result = rbot::await_aim(0, 90.0, 0.5); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `err` on type `Result<(), MessageError>` [INFO] [stdout] --> src/core.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 230 | if result.err() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0615. [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::rotate (line 110) stdout ---- [INFO] [stdout] error[E0615]: attempted to take value of method `err` on type `Result<(), MessageError>` [INFO] [stdout] --> src/core.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 116 | if result.err() { [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 E0615`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core.rs - core::time (line 453) 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:455:29 [INFO] [stdout] | [INFO] [stdout] 454 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_453_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 455 | let timestamp = rbot::time()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 454 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_453_0() -> Result<(), Box> { [INFO] [stdout] 455 | let timestamp = rbot::time()?; [INFO] [stdout] 456 + 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::velocity (line 76) stdout ---- [INFO] [stdout] error[E0615]: attempted to take value of method `err` on type `Result<(), MessageError>` [INFO] [stdout] --> src/core.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 82 | if result.err() { [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 E0615`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core.rs - core::random (line 402) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/core.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/core.rs:411:19 [INFO] [stdout] | [INFO] [stdout] 411 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [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::print (line 430) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcfe828v/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot,libstrum-69a6d0b97da44283,libnum_traits-1a0074f98e3a6d0e,libthiserror-0fca08b1a2f4bcdc,librbot_messages-4b137091b6c960a6,libserde_json-e748b232b1a1db4d,libmemchr-3ffe5f7a52883367,libitoa-d34da3363977f6fb,libryu-f8ba606093049f91,libserde-a5268ea50d0b6908}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcfe828v/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestUrdOXc/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:437 (src/core.rs:437) [INFO] [stdout] >>> rbot.rbot.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::core::print::h897126588751ba4a) 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/core.rs - core::use_component (line 24) stdout ---- [INFO] [stdout] error[E0615]: attempted to take value of method `err` on type `Result<(), MessageError>` [INFO] [stdout] --> src/core.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 31 | if result.err() { [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 E0615`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core.rs - core::sleep (line 383) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcxMSvNC/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot,libstrum-69a6d0b97da44283,libnum_traits-1a0074f98e3a6d0e,libthiserror-0fca08b1a2f4bcdc,librbot_messages-4b137091b6c960a6,libserde_json-e748b232b1a1db4d,libmemchr-3ffe5f7a52883367,libitoa-d34da3363977f6fb,libryu-f8ba606093049f91,libserde-a5268ea50d0b6908}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcxMSvNC/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestNLdUtJ/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:437 (src/core.rs:437) [INFO] [stdout] >>> rbot.rbot.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::core::print::h897126588751ba4a) in archive /opt/rustwide/target/debug/deps/librbot.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: bot_sleep [INFO] [stdout] >>> referenced by core.rs:389 (src/core.rs:389) [INFO] [stdout] >>> rbot.rbot.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::core::sleep::hb2f2849b9caee8e6) 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/lib.rs - (line 6) stdout ---- [INFO] [stdout] error[E0254]: the name `rbot` is defined multiple times [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate r#rbot; [INFO] [stdout] | -------------------- previous import of the extern crate `rbot` here [INFO] [stdout] 11 | 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::state (line 327) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `state` in this scope [INFO] [stdout] --> src/core.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | let robot_state = state()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 327 + 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::radar (line 128) 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:130:39 [INFO] [stdout] | [INFO] [stdout] 129 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_128_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 130 | let radar_msg = rbot::modules::radar()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 129 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_128_0() -> Result<(), Box> { [INFO] [stdout] 130 | let radar_msg = rbot::modules::radar()?; [INFO] [stdout] 131 + 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 185) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `laser` in crate `rbot` [INFO] [stdout] --> src/modules.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | 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] 184 + use rbot::modules::laser; [INFO] [stdout] | [INFO] [stdout] help: if you import `laser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 187 - let laser_msg = rbot::laser(45)?; [INFO] [stdout] 187 + 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/modules.rs - modules::gps (line 424) 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:426:36 [INFO] [stdout] | [INFO] [stdout] 425 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_424_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 426 | let position = rbot::modules::gps()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 425 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_424_0() -> Result<(), Box> { [INFO] [stdout] 426 | let position = rbot::modules::gps()?; [INFO] [stdout] 427 + 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::await_module (line 69) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `await_cooldown` in module `rbot::modules` [INFO] [stdout] --> src/modules.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | 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:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | 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:74:39 [INFO] [stdout] | [INFO] [stdout] 70 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_69_0() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 74 | let radar_msg = rbot::modules::radar()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 70 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_69_0() -> Result<(), Box> { [INFO] [stdout] 71 | // Wait for the cooldown of the module to expire. [INFO] [stdout] ... [INFO] [stdout] 74 | let radar_msg = rbot::modules::radar()?; [INFO] [stdout] 75 + 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::laser (line 190) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RMsgLaser` in this scope [INFO] [stdout] --> src/modules.rs:192:35 [INFO] [stdout] | [INFO] [stdout] 192 | fn laser_search_enemy() -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 189 + use rbot::messages::RMsgLaser; [INFO] [stdout] | [INFO] [stdout] 189 + 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::force_field (line 220) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcbAqYfo/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot,libstrum-69a6d0b97da44283,libnum_traits-1a0074f98e3a6d0e,libthiserror-0fca08b1a2f4bcdc,librbot_messages-4b137091b6c960a6,libserde_json-e748b232b1a1db4d,libmemchr-3ffe5f7a52883367,libitoa-d34da3363977f6fb,libryu-f8ba606093049f91,libserde-a5268ea50d0b6908}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcbAqYfo/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestzOO8u0/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.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::hostfn::send_message::h1a8ebd4162856d90) 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 319) 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:321:41 [INFO] [stdout] | [INFO] [stdout] 320 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_319_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 321 | let scan_results = rbot::modules::scan()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 320 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_319_0() -> Result<(), Box> { [INFO] [stdout] 321 | let scan_results = rbot::modules::scan()?; [INFO] [stdout] 322 + 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::scan_for_bot (line 365) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `scan_for_bot` in crate `rbot` [INFO] [stdout] --> src/modules.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | match rbot::scan_for_bot()? { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `rbot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 364 + 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] 368 - match rbot::scan_for_bot()? { [INFO] [stdout] 368 + 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/modules.rs - modules::thrust (line 298) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modules.rs:300:36 [INFO] [stdout] | [INFO] [stdout] 300 | 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:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn thrust(angle: f32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 300 | 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/modules.rs - modules::teleport (line 105) stdout ---- [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/modules.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | 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:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn teleport(x: f32, y: f32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 107 | let result = rbot::modules::teleport(10.0, 2); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 107 | 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::mine (line 241) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcIUpNQa/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot,libstrum-69a6d0b97da44283,libnum_traits-1a0074f98e3a6d0e,libthiserror-0fca08b1a2f4bcdc,librbot_messages-4b137091b6c960a6,libserde_json-e748b232b1a1db4d,libmemchr-3ffe5f7a52883367,libitoa-d34da3363977f6fb,libryu-f8ba606093049f91,libserde-a5268ea50d0b6908}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcIUpNQa/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestjGwmC6/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.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::hostfn::send_message::hcc494fb7054f6238) 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::repair (line 267) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcJMXPVi/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot,libstrum-69a6d0b97da44283,libnum_traits-1a0074f98e3a6d0e,libthiserror-0fca08b1a2f4bcdc,librbot_messages-4b137091b6c960a6,libserde_json-e748b232b1a1db4d,libmemchr-3ffe5f7a52883367,libitoa-d34da3363977f6fb,libryu-f8ba606093049f91,libserde-a5268ea50d0b6908}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcJMXPVi/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctest1ihchJ/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.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::hostfn::send_message::h7c6bb7a03df9c49e) 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] 11 | 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::radar (line 133) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcAIXlNE/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot,libstrum-69a6d0b97da44283,libnum_traits-1a0074f98e3a6d0e,libthiserror-0fca08b1a2f4bcdc,librbot_messages-4b137091b6c960a6,libserde_json-e748b232b1a1db4d,libmemchr-3ffe5f7a52883367,libitoa-d34da3363977f6fb,libryu-f8ba606093049f91,libserde-a5268ea50d0b6908}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcAIXlNE/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestnNWIx4/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: bot_sleep [INFO] [stdout] >>> referenced by core.rs:389 (src/core.rs:389) [INFO] [stdout] >>> rbot.rbot.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::core::sleep::hb2f2849b9caee8e6) in archive /opt/rustwide/target/debug/deps/librbot.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: tcp_send [INFO] [stdout] >>> referenced by hostfn.rs:92 (src/hostfn.rs:92) [INFO] [stdout] >>> rbot.rbot.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::hostfn::send_message::h21ada3ef54a3d0fc) in archive /opt/rustwide/target/debug/deps/librbot.rlib [INFO] [stdout] >>> referenced by hostfn.rs:92 (src/hostfn.rs:92) [INFO] [stdout] >>> rbot.rbot.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::hostfn::send_message::h500c39c78e37d8fc) in archive /opt/rustwide/target/debug/deps/librbot.rlib [INFO] [stdout] >>> referenced by hostfn.rs:92 (src/hostfn.rs:92) [INFO] [stdout] >>> rbot.rbot.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::hostfn::send_message::h5a0d4fa6b74280a0) 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/modules.rs - modules::status (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> src/modules.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 51 + 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:54:56 [INFO] [stdout] | [INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_52_0() { [INFO] [stdout] | -------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 54 | let radar_status = rbot::modules::status(Module::Radar)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 53 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_52_0() -> Result<(), Box> { [INFO] [stdout] 54 | let radar_status = rbot::modules::status(Module::Radar)?; [INFO] [stdout] 55 + 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/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] 22 | 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] 19 + 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] 48 | 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] 45 + 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/rotations.rs - rotations::angle_distance (line 72) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc5QOI4s/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librbot,libstrum-69a6d0b97da44283,libnum_traits-1a0074f98e3a6d0e,libthiserror-0fca08b1a2f4bcdc,librbot_messages-4b137091b6c960a6,libserde_json-e748b232b1a1db4d,libmemchr-3ffe5f7a52883367,libitoa-d34da3363977f6fb,libryu-f8ba606093049f91,libserde-a5268ea50d0b6908}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc5QOI4s/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestXAig8f/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:437 (src/core.rs:437) [INFO] [stdout] >>> rbot.rbot.9a7204bf6fa06b38-cgu.0.rcgu.o:(rbot::core::print::h897126588751ba4a) 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 486) [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 301) [INFO] [stdout] src/core.rs - core::component_state (line 358) [INFO] [stdout] src/core.rs - core::print (line 430) [INFO] [stdout] src/core.rs - core::random (line 402) [INFO] [stdout] src/core.rs - core::rotate (line 110) [INFO] [stdout] src/core.rs - core::sleep (line 383) [INFO] [stdout] src/core.rs - core::state (line 327) [INFO] [stdout] src/core.rs - core::time (line 453) [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 69) [INFO] [stdout] src/modules.rs - modules::force_field (line 220) [INFO] [stdout] src/modules.rs - modules::gps (line 424) [INFO] [stdout] src/modules.rs - modules::laser (line 185) [INFO] [stdout] src/modules.rs - modules::laser (line 190) [INFO] [stdout] src/modules.rs - modules::mine (line 241) [INFO] [stdout] src/modules.rs - modules::radar (line 128) [INFO] [stdout] src/modules.rs - modules::radar (line 133) [INFO] [stdout] src/modules.rs - modules::repair (line 267) [INFO] [stdout] src/modules.rs - modules::scan (line 319) [INFO] [stdout] src/modules.rs - modules::scan_for_bot (line 365) [INFO] [stdout] src/modules.rs - modules::status (line 52) [INFO] [stdout] src/modules.rs - modules::teleport (line 105) [INFO] [stdout] src/modules.rs - modules::thrust (line 298) [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 2.86s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cc436e5103f2a33f22af5a64471158718607ee649163dc2d3a0dbc2417df7884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc436e5103f2a33f22af5a64471158718607ee649163dc2d3a0dbc2417df7884", kill_on_drop: false }` [INFO] [stdout] cc436e5103f2a33f22af5a64471158718607ee649163dc2d3a0dbc2417df7884