[INFO] fetching crate rbot 0.1.9... [INFO] testing rbot-0.1.9 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rbot 0.1.9 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rbot 0.1.9 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31cbe9fd9c64f2ecfc8af2d7a558b58d9e584884794313045a4e696cf2ca4d5c [INFO] running `Command { std: "docker" "start" "-a" "31cbe9fd9c64f2ecfc8af2d7a558b58d9e584884794313045a4e696cf2ca4d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31cbe9fd9c64f2ecfc8af2d7a558b58d9e584884794313045a4e696cf2ca4d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31cbe9fd9c64f2ecfc8af2d7a558b58d9e584884794313045a4e696cf2ca4d5c", kill_on_drop: false }` [INFO] [stdout] 31cbe9fd9c64f2ecfc8af2d7a558b58d9e584884794313045a4e696cf2ca4d5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b63f3f4636212a0e9a69f4ee4beaa4b77abc14a508ae73124893708d532e5b7 [INFO] running `Command { std: "docker" "start" "-a" "8b63f3f4636212a0e9a69f4ee4beaa4b77abc14a508ae73124893708d532e5b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [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 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 strum_macros v0.24.3 [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 21.35s [INFO] running `Command { std: "docker" "inspect" "8b63f3f4636212a0e9a69f4ee4beaa4b77abc14a508ae73124893708d532e5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b63f3f4636212a0e9a69f4ee4beaa4b77abc14a508ae73124893708d532e5b7", kill_on_drop: false }` [INFO] [stdout] 8b63f3f4636212a0e9a69f4ee4beaa4b77abc14a508ae73124893708d532e5b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61e38535e5d166a2751184d7d96a6b3e5dea96c7ac3b8dee03f1aac8b556aae0 [INFO] running `Command { std: "docker" "start" "-a" "61e38535e5d166a2751184d7d96a6b3e5dea96c7ac3b8dee03f1aac8b556aae0", 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.54s [INFO] running `Command { std: "docker" "inspect" "61e38535e5d166a2751184d7d96a6b3e5dea96c7ac3b8dee03f1aac8b556aae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e38535e5d166a2751184d7d96a6b3e5dea96c7ac3b8dee03f1aac8b556aae0", kill_on_drop: false }` [INFO] [stdout] 61e38535e5d166a2751184d7d96a6b3e5dea96c7ac3b8dee03f1aac8b556aae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f0ce2832798b7fcc3a9994ca4e6f930fb0b33c31a8fff0e3f2e17df2e21d78c [INFO] running `Command { std: "docker" "start" "-a" "2f0ce2832798b7fcc3a9994ca4e6f930fb0b33c31a8fff0e3f2e17df2e21d78c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rbot-e08255e66c3c3855) [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] [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/core.rs - core::use_component (line 24) ... FAILED [INFO] [stdout] test src/core.rs - core::await_aim (line 224) ... FAILED [INFO] [stdout] test src/core.rs - core::velocity (line 76) ... FAILED [INFO] [stdout] test src/core.rs - core::rotate (line 110) ... FAILED [INFO] [stdout] test src/core.rs - core::await_not_activated (line 301) ... FAILED [INFO] [stdout] test src/core.rs - core::component_state (line 358) ... FAILED [INFO] [stdout] test src/core.rs - core::aim (line 190) ... FAILED [INFO] [stdout] test src/core.rs - core::await_action (line 486) ... FAILED [INFO] [stdout] test src/core.rs - core::time (line 453) ... FAILED [INFO] [stdout] test src/conversions.rs - conversions::angle_to_xy (line 48) ... 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/core.rs - core::random (line 402) ... 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/core.rs - core::sleep (line 383) ... FAILED [INFO] [stdout] test src/core.rs - core::at_rotation (line 152) ... FAILED [INFO] [stdout] test src/modules.rs - modules::scan (line 319) ... FAILED [INFO] [stdout] test src/core.rs - core::await_component (line 259) ... FAILED [INFO] [stdout] test src/conversions.rs - conversions::xy_to_angle (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/modules.rs - modules::teleport (line 105) ... FAILED [INFO] [stdout] test src/modules.rs - modules::laser (line 185) ... FAILED [INFO] [stdout] test src/modules.rs - modules::status (line 52) ... FAILED [INFO] [stdout] test src/print_macros.rs - print_macros::print (line 9) ... FAILED [INFO] [stdout] test src/rotations.rs - rotations::transform_rotation_from_component (line 45) ... FAILED [INFO] [stdout] test src/core.rs - core::print (line 430) ... FAILED [INFO] [stdout] test src/rotations.rs - rotations::transform_rotation_to_component (line 19) ... FAILED [INFO] [stdout] test src/modules.rs - modules::thrust (line 298) ... FAILED [INFO] [stdout] test src/modules.rs - modules::scan (line 324) ... ok [INFO] [stdout] test src/modules.rs - modules::scan_for_bot (line 365) ... FAILED [INFO] [stdout] test src/modules.rs - modules::force_field (line 220) ... FAILED [INFO] [stdout] test src/modules.rs - modules::laser (line 190) ... FAILED [INFO] [stdout] test src/print_macros.rs - print_macros::println (line 49) ... ok [INFO] [stdout] test src/modules.rs - modules::radar (line 133) ... 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/rotations.rs - rotations::angle_distance (line 72) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 10 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 10 | 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::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[E0615]: attempted to take value of method `err` on type `Result<(), MessageError>` [INFO] [stdout] --> src/core.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 9 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 9 | 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::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] 9 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 9 | 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::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] 9 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 9 | 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::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] 4 | 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] 5 | // Wait for the component with ID 0 to no longer be activated. [INFO] [stdout] 6 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_301_0() -> Result<(), Box> { [INFO] [stdout] 5 | // Wait for the component with ID 0 to no longer be activated. [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::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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_358_0() -> Result<(), Box> { [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::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[E0615]: attempted to take value of method `err` on type `Result<(), MessageError>` [INFO] [stdout] --> src/core.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 9 | if result.err { [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 9 | 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_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] 4 | 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] 5 | // Wait for the component to be ready. [INFO] [stdout] 6 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() -> Result<(), Box> { [INFO] [stdout] 5 | // Wait for the component to be ready. [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:494:30 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 11 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() -> Result<(), Box> { [INFO] [stdout] 5 | // Wait for the component to be ready. [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:499:21 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 16 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() -> Result<(), Box> { [INFO] [stdout] 5 | // Wait for the component to be ready. [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:502: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: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] 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:502:46 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 19 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_486_0() -> Result<(), Box> { [INFO] [stdout] 5 | // Wait for the component to be ready. [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 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_rs_453_0() -> Result<(), Box> { [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/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::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] 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::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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_128_0() -> Result<(), Box> { [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/core.rs - core::random (line 402) stdout ---- [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/core.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 11 | 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/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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_424_0() -> Result<(), Box> { [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::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] 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:72: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:74:39 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_69_0() -> Result<(), Box> { [INFO] [stdout] 5 | // Wait for the cooldown of the module to expire. [INFO] [stdout] ... [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/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/rustcUUkef1/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/rustcUUkef1/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/rustdoctest7V1exw/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.e02dd61828ec5c64-cgu.1.rcgu.o:(rbot::core::print::h96c709410c576b81) 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.e02dd61828ec5c64-cgu.1.rcgu.o:(rbot::core::sleep::hab3bf0b89780733c) 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::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/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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_319_0() -> Result<(), Box> { [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/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/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/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] 6 | extern crate r#rbot; [INFO] [stdout] | -------------------- previous import of the extern crate `rbot` here [INFO] [stdout] 7 | 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/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] 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: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] 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::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] 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/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] 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:54:56 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 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: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_modules_rs_52_0() -> Result<(), Box> { [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/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/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/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/rustcYzYI9h/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/rustcYzYI9h/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/rustdoctestq71ivI/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.e02dd61828ec5c64-cgu.1.rcgu.o:(rbot::core::print::h96c709410c576b81) 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/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/modules.rs - modules::thrust (line 298) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modules.rs:300: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: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] 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/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] 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] 2 + 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/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/rustccaW3kT/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/rustccaW3kT/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/rustdoctestVBRESU/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.e02dd61828ec5c64-cgu.0.rcgu.o:(rbot::hostfn::send_message::hbe70e669db98b90a) 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::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] 5 | 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] 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::radar (line 133) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcpK3Yxa/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/rustcpK3Yxa/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/rustdoctest5CorpG/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.e02dd61828ec5c64-cgu.1.rcgu.o:(rbot::core::sleep::hab3bf0b89780733c) 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.e02dd61828ec5c64-cgu.0.rcgu.o:(rbot::hostfn::send_message::h0f4986c3fb0a048d) in archive /opt/rustwide/target/debug/deps/librbot.rlib [INFO] [stdout] >>> referenced by hostfn.rs:92 (src/hostfn.rs:92) [INFO] [stdout] >>> rbot.rbot.e02dd61828ec5c64-cgu.0.rcgu.o:(rbot::hostfn::send_message::h35ddd5c7af9c391b) in archive /opt/rustwide/target/debug/deps/librbot.rlib [INFO] [stdout] >>> referenced by hostfn.rs:92 (src/hostfn.rs:92) [INFO] [stdout] >>> rbot.rbot.e02dd61828ec5c64-cgu.0.rcgu.o:(rbot::hostfn::send_message::h8bab722f66321e79) 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::mine (line 241) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc0P7IDm/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/rustc0P7IDm/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/rustdoctesttwSfnn/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.e02dd61828ec5c64-cgu.0.rcgu.o:(rbot::hostfn::send_message::h75884dcff8f717b4) 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/rustccrKvY7/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/rustccrKvY7/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/rustdoctesthf01J4/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.e02dd61828ec5c64-cgu.0.rcgu.o:(rbot::hostfn::send_message::hbe54f7d31137580b) 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/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/rustcuRRfIG/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/rustcuRRfIG/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/rustdoctestku8U3F/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.e02dd61828ec5c64-cgu.1.rcgu.o:(rbot::core::print::h96c709410c576b81) 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 1.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f0ce2832798b7fcc3a9994ca4e6f930fb0b33c31a8fff0e3f2e17df2e21d78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0ce2832798b7fcc3a9994ca4e6f930fb0b33c31a8fff0e3f2e17df2e21d78c", kill_on_drop: false }` [INFO] [stdout] 2f0ce2832798b7fcc3a9994ca4e6f930fb0b33c31a8fff0e3f2e17df2e21d78c