[INFO] fetching crate vexide-async 0.2.0-alpha.2... [INFO] testing vexide-async-0.2.0-alpha.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate vexide-async 0.2.0-alpha.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate vexide-async 0.2.0-alpha.2 [INFO] finished tweaking crates.io crate vexide-async 0.2.0-alpha.2 [INFO] tweaked toml for crates.io crate vexide-async 0.2.0-alpha.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vexide-async 0.2.0-alpha.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vexide-async 0.2.0-alpha.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 126f7592abae519b865566d6ee155af2f3d54e0d20d9e02a939c127d2b256859 [INFO] running `Command { std: "docker" "start" "-a" "126f7592abae519b865566d6ee155af2f3d54e0d20d9e02a939c127d2b256859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "126f7592abae519b865566d6ee155af2f3d54e0d20d9e02a939c127d2b256859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "126f7592abae519b865566d6ee155af2f3d54e0d20d9e02a939c127d2b256859", kill_on_drop: false }` [INFO] [stdout] 126f7592abae519b865566d6ee155af2f3d54e0d20d9e02a939c127d2b256859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be50cec56f12be06be271e6d1e4cf06c74388f675adeacfe0188fdb8c7ebeb05 [INFO] running `Command { std: "docker" "start" "-a" "be50cec56f12be06be271e6d1e4cf06c74388f675adeacfe0188fdb8c7ebeb05", kill_on_drop: false }` [INFO] [stderr] Compiling vex-sdk v0.27.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling vexide-async v0.2.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "be50cec56f12be06be271e6d1e4cf06c74388f675adeacfe0188fdb8c7ebeb05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be50cec56f12be06be271e6d1e4cf06c74388f675adeacfe0188fdb8c7ebeb05", kill_on_drop: false }` [INFO] [stdout] be50cec56f12be06be271e6d1e4cf06c74388f675adeacfe0188fdb8c7ebeb05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e911ee20cfba95ac03a7170430bafe3c559043f48f3f92b692ca6a7495dbc7b0 [INFO] running `Command { std: "docker" "start" "-a" "e911ee20cfba95ac03a7170430bafe3c559043f48f3f92b692ca6a7495dbc7b0", kill_on_drop: false }` [INFO] [stderr] Compiling vex-sdk-mock v0.0.1 [INFO] [stderr] Compiling vexide-async v0.2.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "e911ee20cfba95ac03a7170430bafe3c559043f48f3f92b692ca6a7495dbc7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e911ee20cfba95ac03a7170430bafe3c559043f48f3f92b692ca6a7495dbc7b0", kill_on_drop: false }` [INFO] [stdout] e911ee20cfba95ac03a7170430bafe3c559043f48f3f92b692ca6a7495dbc7b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b83c59f29c8114822f1906eaaa56dd69bbdae4d5b49968e7a288536f8d23c46 [INFO] running `Command { std: "docker" "start" "-a" "9b83c59f29c8114822f1906eaaa56dd69bbdae4d5b49968e7a288536f8d23c46", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vexide_async-7cc1376f8537b2b6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test executor::test::spawns_task ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests vexide_async [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/task.rs - task::Task (line 26) ... FAILED [INFO] [stdout] test src/time.rs - time::sleep (line 57) ... FAILED [INFO] [stdout] test src/time.rs - time::sleep_until (line 73) ... FAILED [INFO] [stdout] test src/local.rs - local::LocalKey::with (line 129) ... FAILED [INFO] [stdout] test src/local.rs - local::LocalKey (line 36) ... FAILED [INFO] [stdout] test src/local.rs - local::task_local (line 77) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/task.rs - task::Task (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vexide` [INFO] [stdout] --> src/task.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use vexide::async_runtime::spawn; [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[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/task.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_task_rs_26_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 36 | assert_eq!(task.await, 3); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::sleep (line 57) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/time.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | sleep(Duration::from_secs(300)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 57 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 57 + use vexide_async::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/time.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | sleep(Duration::from_secs(300)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 57 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/time.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 57 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_time_rs_57_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] 58 | println!("See you in 5 minutes."); [INFO] [stdout] 59 | sleep(Duration::from_secs(300)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::sleep_until (line 73) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/time.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | let now = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 73 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/time.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let deadline = now + Duration::from_secs(2); // 5 minutes in the future [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 73 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep_until` in this scope [INFO] [stdout] --> src/time.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | sleep_until(deadline).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 73 + use std::thread::sleep_until; [INFO] [stdout] | [INFO] [stdout] 73 + use vexide_async::time::sleep_until; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/time.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 73 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_time_rs_73_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 78 | sleep_until(deadline).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/local.rs - local::LocalKey::with (line 129) stdout ---- [INFO] [stdout] error: cannot find macro `task_local` in this scope [INFO] [stdout] --> src/local.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | task_local! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 129 + use vexide_async::task_local; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PHI` in this scope [INFO] [stdout] --> src/local.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | let double_phi = PHI.with(|&phi| phi * 2.0); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 129 + use std::f128::consts::PHI; [INFO] [stdout] | [INFO] [stdout] 129 + use std::f16::consts::PHI; [INFO] [stdout] | [INFO] [stdout] 129 + use std::f32::consts::PHI; [INFO] [stdout] | [INFO] [stdout] 129 + use std::f64::consts::PHI; [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/local.rs - local::LocalKey (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vexide` [INFO] [stdout] --> src/local.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use vexide::async_runtime::spawn; [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: cannot find macro `task_local` in this scope [INFO] [stdout] --> src/local.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | task_local! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 36 + use vexide_async::task_local; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PHI` in this scope [INFO] [stdout] --> src/local.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let double_phi = PHI.with(|&phi| phi * 2.0); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 36 + use std::f128::consts::PHI; [INFO] [stdout] | [INFO] [stdout] 36 + use std::f16::consts::PHI; [INFO] [stdout] | [INFO] [stdout] 36 + use std::f32::consts::PHI; [INFO] [stdout] | [INFO] [stdout] 36 + use std::f64::consts::PHI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COUNTER` in this scope [INFO] [stdout] --> src/local.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | COUNTER.set(1); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COUNTER` in this scope [INFO] [stdout] --> src/local.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(COUNTER.get(), 1); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NAMES` in this scope [INFO] [stdout] --> src/local.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | NAMES.with_borrow_mut(|names| names.push(String::from("Johnny"))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NAMES` in this scope [INFO] [stdout] --> src/local.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | NAMES.with_borrow(|names| assert_eq!(names.len(), 1)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COUNTER` in this scope [INFO] [stdout] --> src/local.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(COUNTER.get(), 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NAME` in this scope [INFO] [stdout] --> src/local.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | NAME.with_borrow(|names| assert_eq!(names.len(), 0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/local.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_local_rs_36_0() { [INFO] [stdout] | ------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 62 | }).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/local.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | NAMES.with_borrow_mut(|names| names.push(String::from("Johnny"))); [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | NAMES.with_borrow_mut(|names: /* Type */| names.push(String::from("Johnny"))); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/local.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | NAMES.with_borrow(|names| assert_eq!(names.len(), 1)); [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 53 | NAMES.with_borrow(|names: /* Type */| assert_eq!(names.len(), 1)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/local.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | NAME.with_borrow(|names| assert_eq!(names.len(), 0)); [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 61 | NAME.with_borrow(|names: /* Type */| assert_eq!(names.len(), 0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/local.rs - local::task_local (line 77) stdout ---- [INFO] [stdout] error: cannot find macro `task_local` in this scope [INFO] [stdout] --> src/local.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | task_local! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 77 + use vexide_async::task_local; [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/local.rs - local::LocalKey (line 36) [INFO] [stdout] src/local.rs - local::LocalKey::with (line 129) [INFO] [stdout] src/local.rs - local::task_local (line 77) [INFO] [stdout] src/task.rs - task::Task (line 26) [INFO] [stdout] src/time.rs - time::sleep (line 57) [INFO] [stdout] src/time.rs - time::sleep_until (line 73) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9b83c59f29c8114822f1906eaaa56dd69bbdae4d5b49968e7a288536f8d23c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b83c59f29c8114822f1906eaaa56dd69bbdae4d5b49968e7a288536f8d23c46", kill_on_drop: false }` [INFO] [stdout] 9b83c59f29c8114822f1906eaaa56dd69bbdae4d5b49968e7a288536f8d23c46