[INFO] fetching crate vexide-core 0.8.0... [INFO] testing vexide-core-0.8.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate vexide-core 0.8.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate vexide-core 0.8.0 [INFO] finished tweaking crates.io crate vexide-core 0.8.0 [INFO] tweaked toml for crates.io crate vexide-core 0.8.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vexide-core 0.8.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vexide-core 0.8.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vex-libunwind v0.3.0 [INFO] [stderr] Downloaded snafu-derive v0.8.6 [INFO] [stderr] Downloaded vex-sdk v0.28.0 [INFO] [stderr] Downloaded snafu v0.8.6 [INFO] [stderr] Downloaded vex-libunwind-sys v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c0e1edc2ff6f2d66ed1ba16350caacb40106a0bfb92d70aa7549b7b755f2616 [INFO] running `Command { std: "docker" "start" "-a" "3c0e1edc2ff6f2d66ed1ba16350caacb40106a0bfb92d70aa7549b7b755f2616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c0e1edc2ff6f2d66ed1ba16350caacb40106a0bfb92d70aa7549b7b755f2616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c0e1edc2ff6f2d66ed1ba16350caacb40106a0bfb92d70aa7549b7b755f2616", kill_on_drop: false }` [INFO] [stdout] 3c0e1edc2ff6f2d66ed1ba16350caacb40106a0bfb92d70aa7549b7b755f2616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91f8b46dac40dce34204281cb2733d95830a3a7ae5a49c5920f2939f34758d33 [INFO] running `Command { std: "docker" "start" "-a" "91f8b46dac40dce34204281cb2733d95830a3a7ae5a49c5920f2939f34758d33", kill_on_drop: false }` [INFO] [stderr] Compiling vex-sdk v0.28.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling vexide-core v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.10s [INFO] running `Command { std: "docker" "inspect" "91f8b46dac40dce34204281cb2733d95830a3a7ae5a49c5920f2939f34758d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f8b46dac40dce34204281cb2733d95830a3a7ae5a49c5920f2939f34758d33", kill_on_drop: false }` [INFO] [stdout] 91f8b46dac40dce34204281cb2733d95830a3a7ae5a49c5920f2939f34758d33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d78b0781a3b1e008004b353ec4729faae6f8345cb896a987720abafc7ae3d38 [INFO] running `Command { std: "docker" "start" "-a" "1d78b0781a3b1e008004b353ec4729faae6f8345cb896a987720abafc7ae3d38", kill_on_drop: false }` [INFO] [stderr] Compiling vexide-core v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "1d78b0781a3b1e008004b353ec4729faae6f8345cb896a987720abafc7ae3d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d78b0781a3b1e008004b353ec4729faae6f8345cb896a987720abafc7ae3d38", kill_on_drop: false }` [INFO] [stdout] 1d78b0781a3b1e008004b353ec4729faae6f8345cb896a987720abafc7ae3d38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7da9075f4ed22d42c9743e4da963cf6e036a444dc61ee11cb8242d5b570b9be [INFO] running `Command { std: "docker" "start" "-a" "e7da9075f4ed22d42c9743e4da963cf6e036a444dc61ee11cb8242d5b570b9be", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vexide_core-45fb009cd3839793) [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 vexide_core [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/competition.rs - competition::system (line 240) ... FAILED [INFO] [stdout] test src/backtrace.rs - backtrace::Backtrace (line 34) ... FAILED [INFO] [stdout] test src/time.rs - time::LowResolutionTime::from_millis_since_epoch (line 85) ... FAILED [INFO] [stdout] test src/competition.rs - competition::CompetitionStatus::system (line 188) ... FAILED [INFO] [stdout] test src/competition.rs - competition::Compete (line 825) - compile ... FAILED [INFO] [stdout] test src/time.rs - time::LowResolutionTime::checked_duration_since (line 126) - compile ... FAILED [INFO] [stdout] test src/time.rs - time::LowResolutionTime::now (line 58) ... FAILED [INFO] [stdout] test src/competition.rs - competition::is_connected (line 225) ... FAILED [INFO] [stdout] test src/os.rs - os::system_version (line 67) ... FAILED [INFO] [stdout] test src/os.rs - os::Version (line 21) ... FAILED [INFO] [stdout] test src/competition.rs - competition::CompetitionStatus::mode (line 159) ... FAILED [INFO] [stdout] test src/time.rs - time::LowResolutionTime::elapsed (line 178) - compile ... FAILED [INFO] [stdout] test src/time.rs - time::LowResolutionTime::saturating_duration_since (line 155) - compile ... FAILED [INFO] [stdout] test src/competition.rs - competition (line 16) - compile ... FAILED [INFO] [stdout] test src/competition.rs - competition::mode (line 256) ... FAILED [INFO] [stdout] test src/competition.rs - competition::CompetitionStatus::is_connected (line 141) ... FAILED [INFO] [stdout] test src/time.rs - time::LowResolutionTime::duration_since (line 101) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/competition.rs - competition::system (line 240) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | use vexide::competition::{self, CompetitionSystem}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vexide` [INFO] [stdout] --> src/competition.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | use vexide::competition::{self, CompetitionSystem}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` 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/backtrace.rs - backtrace::Backtrace (line 34) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/backtrace.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use vexide::backtrace::Backtrace; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::LowResolutionTime::from_millis_since_epoch (line 85) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | use vexide::time::LowResolutionTime; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/competition.rs - competition::CompetitionStatus::system (line 188) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | use vexide::competition::{self, CompetitionSystem}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vexide` [INFO] [stdout] --> src/competition.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | use vexide::competition::{self, CompetitionSystem}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` 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/competition.rs - competition::Compete (line 825) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:826:5 [INFO] [stdout] | [INFO] [stdout] 826 | use vexide::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:840:3 [INFO] [stdout] | [INFO] [stdout] 840 | #[vexide::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Compete` in this scope [INFO] [stdout] --> src/competition.rs:830:6 [INFO] [stdout] | [INFO] [stdout] 830 | impl Compete for MyRobot { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 826 + use vexide_core::competition::Compete; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Peripherals` in this scope [INFO] [stdout] --> src/competition.rs:841:29 [INFO] [stdout] | [INFO] [stdout] 841 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::LowResolutionTime::checked_duration_since (line 126) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | use vexide::{prelude::*, time::LowResolutionTime}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vexide::time::LowResolutionTime` [INFO] [stdout] --> src/time.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | use vexide::{prelude::*, time::LowResolutionTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | #[vexide::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Peripherals` in this scope [INFO] [stdout] --> src/time.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/time.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | sleep(Duration::new(1, 0)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 127 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/time.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::LowResolutionTime::now (line 58) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use vexide::time::LowResolutionTime; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/competition.rs - competition::is_connected (line 225) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | if vexide::competition::is_connected() { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 225 + use vexide_core::competition; [INFO] [stdout] | [INFO] [stdout] help: if you import `competition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 226 - if vexide::competition::is_connected() { [INFO] [stdout] 226 + if competition::is_connected() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/os.rs - os::system_version (line 67) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/os.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use vexide::os::{Version, system_version}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/os.rs - os::Version (line 21) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/os.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use vexide::os::{Version, system_version}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/competition.rs - competition::CompetitionStatus::mode (line 159) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | use vexide::competition::{self, CompetitionMode}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vexide` [INFO] [stdout] --> src/competition.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | use vexide::competition::{self, CompetitionMode}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` 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/time.rs - time::LowResolutionTime::elapsed (line 178) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | use vexide::{prelude::*, time::LowResolutionTime}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vexide::time::LowResolutionTime` [INFO] [stdout] --> src/time.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | use vexide::{prelude::*, time::LowResolutionTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | #[vexide::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Peripherals` in this scope [INFO] [stdout] --> src/time.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/time.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | sleep(three_secs).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 179 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/time.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::LowResolutionTime::saturating_duration_since (line 155) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use vexide::{prelude::*, time::LowResolutionTime}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vexide::time::LowResolutionTime` [INFO] [stdout] --> src/time.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | use vexide::{prelude::*, time::LowResolutionTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | #[vexide::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Peripherals` in this scope [INFO] [stdout] --> src/time.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/time.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | sleep(Duration::new(1, 0)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/time.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/competition.rs - competition (line 16) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use vexide::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[vexide::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Compete` in this scope [INFO] [stdout] --> src/competition.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | impl Compete for MyRobot { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 17 + use vexide_core::competition::Compete; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Peripherals` in this scope [INFO] [stdout] --> src/competition.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/competition.rs - competition::mode (line 256) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | use vexide::competition::{self, CompetitionMode}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vexide` [INFO] [stdout] --> src/competition.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | use vexide::competition::{self, CompetitionMode}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | match vexide::competition::mode() { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 256 + use vexide_core::competition; [INFO] [stdout] | [INFO] [stdout] help: if you import `competition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 261 - match vexide::competition::mode() { [INFO] [stdout] 261 + match competition::mode() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/competition.rs - competition::CompetitionStatus::is_connected (line 141) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/competition.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | let status = vexide::competition::status(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 141 + use vexide_core::competition; [INFO] [stdout] | [INFO] [stdout] help: if you import `competition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 142 - let status = vexide::competition::status(); [INFO] [stdout] 142 + let status = competition::status(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::LowResolutionTime::duration_since (line 101) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | use vexide::{prelude::*, time::LowResolutionTime}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vexide`, use `cargo add vexide` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vexide::time::LowResolutionTime` [INFO] [stdout] --> src/time.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | use vexide::{prelude::*, time::LowResolutionTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `vexide` in this scope [INFO] [stdout] --> src/time.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | #[vexide::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `vexide` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Peripherals` in this scope [INFO] [stdout] --> src/time.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/time.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | sleep(Duration::new(1, 0)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 102 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/time.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | async fn main(_peripherals: Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/backtrace.rs - backtrace::Backtrace (line 34) [INFO] [stdout] src/competition.rs - competition (line 16) [INFO] [stdout] src/competition.rs - competition::Compete (line 825) [INFO] [stdout] src/competition.rs - competition::CompetitionStatus::is_connected (line 141) [INFO] [stdout] src/competition.rs - competition::CompetitionStatus::mode (line 159) [INFO] [stdout] src/competition.rs - competition::CompetitionStatus::system (line 188) [INFO] [stdout] src/competition.rs - competition::is_connected (line 225) [INFO] [stdout] src/competition.rs - competition::mode (line 256) [INFO] [stdout] src/competition.rs - competition::system (line 240) [INFO] [stdout] src/os.rs - os::Version (line 21) [INFO] [stdout] src/os.rs - os::system_version (line 67) [INFO] [stdout] src/time.rs - time::LowResolutionTime::checked_duration_since (line 126) [INFO] [stdout] src/time.rs - time::LowResolutionTime::duration_since (line 101) [INFO] [stdout] src/time.rs - time::LowResolutionTime::elapsed (line 178) [INFO] [stdout] src/time.rs - time::LowResolutionTime::from_millis_since_epoch (line 85) [INFO] [stdout] src/time.rs - time::LowResolutionTime::now (line 58) [INFO] [stdout] src/time.rs - time::LowResolutionTime::saturating_duration_since (line 155) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.50s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e7da9075f4ed22d42c9743e4da963cf6e036a444dc61ee11cb8242d5b570b9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7da9075f4ed22d42c9743e4da963cf6e036a444dc61ee11cb8242d5b570b9be", kill_on_drop: false }` [INFO] [stdout] e7da9075f4ed22d42c9743e4da963cf6e036a444dc61ee11cb8242d5b570b9be