[INFO] fetching crate cron_tab 0.2.3... [INFO] checking cron_tab-0.2.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate cron_tab 0.2.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate cron_tab 0.2.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cron_tab 0.2.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cron_tab 0.2.3 [INFO] tweaked toml for crates.io crate cron_tab 0.2.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate cron_tab 0.2.3 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 113b2fe0246989e9df99853f83c2f9f575ef28efba13c06736220f38b2255bd5 [INFO] running `Command { std: "docker" "start" "-a" "113b2fe0246989e9df99853f83c2f9f575ef28efba13c06736220f38b2255bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "113b2fe0246989e9df99853f83c2f9f575ef28efba13c06736220f38b2255bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "113b2fe0246989e9df99853f83c2f9f575ef28efba13c06736220f38b2255bd5", kill_on_drop: false }` [INFO] [stdout] 113b2fe0246989e9df99853f83c2f9f575ef28efba13c06736220f38b2255bd5 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e48458af570cdc697bf690cb11f6f8dd73d45b575415e38211ed43cd7f039f22 [INFO] running `Command { std: "docker" "start" "-a" "e48458af570cdc697bf690cb11f6f8dd73d45b575415e38211ed43cd7f039f22", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking cron_tab v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/async_simple.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/async.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/async.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cron_tab::AsyncCron` [INFO] [stdout] --> examples/async_simple.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cron_tab::AsyncCron; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `AsyncCron` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | pub use crate::async_cron::AsyncCron; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `r#async` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "async")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/async_simple.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cron_tab::AsyncCron` [INFO] [stdout] --> tests/async.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use cron_tab::AsyncCron; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `AsyncCron` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | pub use crate::async_cron::AsyncCron; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `r#async` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "async")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/async.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/async.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/async.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/async.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> tests/async.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let counter1 = Arc::clone(&counter); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | let mut value = counter1.lock().await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter1` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 27 | let counter1: Arc = Arc::clone(&counter); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/async_simple.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cron_tab` (example "async_simple") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> tests/async.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let c1 = Arc::clone(&counter1); [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 57 | let mut value = counter.lock().await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c1` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 52 | let c1: Arc = Arc::clone(&counter1); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> tests/async.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let c2 = Arc::clone(&counter2); [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 69 | let mut value = counter.lock().await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `c2` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 65 | let c2: Arc = Arc::clone(&counter2); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> tests/async.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let counter1 = Arc::clone(&counter); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | let mut value = counter1.lock().await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter1` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 91 | let counter1: Arc = Arc::clone(&counter); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cron_tab` (test "async") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "e48458af570cdc697bf690cb11f6f8dd73d45b575415e38211ed43cd7f039f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48458af570cdc697bf690cb11f6f8dd73d45b575415e38211ed43cd7f039f22", kill_on_drop: false }` [INFO] [stdout] e48458af570cdc697bf690cb11f6f8dd73d45b575415e38211ed43cd7f039f22