[INFO] fetching crate futwaiter 0.1.0... [INFO] checking futwaiter-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate futwaiter 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate futwaiter 0.1.0 [INFO] finished tweaking crates.io crate futwaiter 0.1.0 [INFO] tweaked toml for crates.io crate futwaiter 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate futwaiter 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate futwaiter 0.1.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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef985c105ae56bc25a4418492cd7b46f481cd30c0de3c456e46c3242353577ce [INFO] running `Command { std: "docker" "start" "-a" "ef985c105ae56bc25a4418492cd7b46f481cd30c0de3c456e46c3242353577ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef985c105ae56bc25a4418492cd7b46f481cd30c0de3c456e46c3242353577ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef985c105ae56bc25a4418492cd7b46f481cd30c0de3c456e46c3242353577ce", kill_on_drop: false }` [INFO] [stdout] ef985c105ae56bc25a4418492cd7b46f481cd30c0de3c456e46c3242353577ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bdccd670563ab8e6d5e367bd1c9babb147b798d95401eb3036ba44139e679b2 [INFO] running `Command { std: "docker" "start" "-a" "5bdccd670563ab8e6d5e367bd1c9babb147b798d95401eb3036ba44139e679b2", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking futwaiter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `set_global` in the crate root [INFO] [stdout] --> src/tests.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | crate::set_global(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "global")] [INFO] [stdout] | ------------------ the item is gated behind the `global` feature [INFO] [stdout] 12 | pub use crate::{ [INFO] [stdout] 13 | global::{push, set_global, take}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `push` in the crate root [INFO] [stdout] --> src/tests.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | crate::push(async move { [INFO] [stdout] | ^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "global")] [INFO] [stdout] | ------------------ the item is gated behind the `global` feature [INFO] [stdout] 12 | pub use crate::{ [INFO] [stdout] 13 | global::{push, set_global, take}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `take` in the crate root [INFO] [stdout] --> src/tests.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | crate::take().await; [INFO] [stdout] | ^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "global")] [INFO] [stdout] | ------------------ the item is gated behind the `global` feature [INFO] [stdout] 12 | pub use crate::{ [INFO] [stdout] 13 | global::{push, set_global, take}, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::take; [INFO] [stdout] | [INFO] [stdout] help: if you import `take`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - crate::take().await; [INFO] [stdout] 23 + take().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futwaiter` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `futwaiter::GlobalWaiter` [INFO] [stdout] --> examples/futwaiter.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use futwaiter::{GlobalWaiter, Waitable}; [INFO] [stdout] | ^^^^^^^^^^^^ no `GlobalWaiter` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "global")] [INFO] [stdout] | ------------------ the item is gated behind the `global` feature [INFO] [stdout] ... [INFO] [stdout] 14 | waitable::GlobalWaiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_global` in crate `futwaiter` [INFO] [stdout] --> examples/futwaiter.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | futwaiter::set_global(); [INFO] [stdout] | ^^^^^^^^^^ not found in `futwaiter` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "global")] [INFO] [stdout] | ------------------ the item is gated behind the `global` feature [INFO] [stdout] 12 | pub use crate::{ [INFO] [stdout] 13 | global::{push, set_global, take}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `take` in crate `futwaiter` [INFO] [stdout] --> examples/futwaiter.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | futwaiter::take().await; [INFO] [stdout] | ^^^^ not found in `futwaiter` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "global")] [INFO] [stdout] | ------------------ the item is gated behind the `global` feature [INFO] [stdout] 12 | pub use crate::{ [INFO] [stdout] 13 | global::{push, set_global, take}, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::take; [INFO] [stdout] | [INFO] [stdout] help: if you import `take`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - futwaiter::take().await; [INFO] [stdout] 39 + take().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `global_waiter` found for struct `SomeObject` in the current scope [INFO] [stdout] --> examples/futwaiter.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 13 | struct SomeObject(Arc); [INFO] [stdout] | ----------------- method `global_waiter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let _obj = SomeObject(cnt).global_waiter(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SomeObject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futwaiter` (example "futwaiter") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "5bdccd670563ab8e6d5e367bd1c9babb147b798d95401eb3036ba44139e679b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bdccd670563ab8e6d5e367bd1c9babb147b798d95401eb3036ba44139e679b2", kill_on_drop: false }` [INFO] [stdout] 5bdccd670563ab8e6d5e367bd1c9babb147b798d95401eb3036ba44139e679b2