[INFO] cloning repository https://github.com/lmmqxyx404/tokio_mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lmmqxyx404/tokio_mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Ftokio_mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Ftokio_mini'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b42a4cfbad53e7984aa01f15aeb27ef60b18e5d5 [INFO] checking lmmqxyx404/tokio_mini against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Ftokio_mini" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lmmqxyx404/tokio_mini on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lmmqxyx404/tokio_mini [INFO] finished tweaking git repo https://github.com/lmmqxyx404/tokio_mini [INFO] tweaked toml for git repo https://github.com/lmmqxyx404/tokio_mini written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lmmqxyx404/tokio_mini 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7617c257a4661505c7466e3dd281af4575d5980986ba4a8501399bb916fbdb32 [INFO] running `Command { std: "docker" "start" "-a" "7617c257a4661505c7466e3dd281af4575d5980986ba4a8501399bb916fbdb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7617c257a4661505c7466e3dd281af4575d5980986ba4a8501399bb916fbdb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7617c257a4661505c7466e3dd281af4575d5980986ba4a8501399bb916fbdb32", kill_on_drop: false }` [INFO] [stdout] 7617c257a4661505c7466e3dd281af4575d5980986ba4a8501399bb916fbdb32 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35687f27b0b58d36b92f1d6ac0173f20b8508cdbe1cdf2c8d0fb89ca57b54b2b [INFO] running `Command { std: "docker" "start" "-a" "35687f27b0b58d36b92f1d6ac0173f20b8508cdbe1cdf2c8d0fb89ca57b54b2b", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.35.1 (/opt/rustwide/workdir/tokio) [INFO] [stdout] error[E0433]: failed to resolve: could not find `error` in `util` [INFO] [stdout] --> tokio/src/runtime/handle.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | None => panic!("{}", crate::util::error::THREAD_LOCAL_DESTROYED_ERROR), [INFO] [stdout] | ^^^^^ could not find `error` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_set_current` in module `context` [INFO] [stdout] --> tokio/src/runtime/handle.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | _guard: match context::try_set_current(&self.inner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `context` [INFO] [stdout] | [INFO] [stdout] note: function `crate::runtime::context::current::try_set_current` exists but is inaccessible [INFO] [stdout] --> tokio/src/runtime/context/current.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn try_set_current(handle: &scheduler::Handle) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONTEXT` in this scope [INFO] [stdout] --> tokio/src/runtime/context/current.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | CONTEXT.try_with(|ctx| ctx.set_current(handle)).ok() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> tokio/src/runtime/blocking/pool.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::runtime::{Handle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blocking::spawn_blocking` [INFO] [stdout] --> tokio/src/runtime/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) use blocking::spawn_blocking; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Poll` [INFO] [stdout] --> tokio/src/runtime/task/raw.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::task::{Poll, Waker}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::state::State` [INFO] [stdout] --> tokio/src/runtime/task/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use self::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `error` in `util` [INFO] [stdout] --> tokio/src/runtime/handle.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | None => panic!("{}", crate::util::error::THREAD_LOCAL_DESTROYED_ERROR), [INFO] [stdout] | ^^^^^ could not find `error` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_set_current` in module `context` [INFO] [stdout] --> tokio/src/runtime/handle.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | _guard: match context::try_set_current(&self.inner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `context` [INFO] [stdout] | [INFO] [stdout] note: function `crate::runtime::context::current::try_set_current` exists but is inaccessible [INFO] [stdout] --> tokio/src/runtime/context/current.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn try_set_current(handle: &scheduler::Handle) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONTEXT` in this scope [INFO] [stdout] --> tokio/src/runtime/context/current.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | CONTEXT.try_with(|ctx| ctx.set_current(handle)).ok() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> tokio/src/runtime/blocking/pool.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::runtime::{Handle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blocking::spawn_blocking` [INFO] [stdout] --> tokio/src/runtime/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) use blocking::spawn_blocking; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Poll` [INFO] [stdout] --> tokio/src/runtime/task/raw.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::task::{Poll, Waker}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::state::State` [INFO] [stdout] --> tokio/src/runtime/task/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use self::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> tokio/src/runtime/blocking/pool.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn spawn_blocking(func: F) -> JoinHandle [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` (lib test) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> tokio/src/runtime/blocking/pool.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn spawn_blocking(func: F) -> JoinHandle [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` (lib) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35687f27b0b58d36b92f1d6ac0173f20b8508cdbe1cdf2c8d0fb89ca57b54b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35687f27b0b58d36b92f1d6ac0173f20b8508cdbe1cdf2c8d0fb89ca57b54b2b", kill_on_drop: false }` [INFO] [stdout] 35687f27b0b58d36b92f1d6ac0173f20b8508cdbe1cdf2c8d0fb89ca57b54b2b