[INFO] fetching crate gidle_future 0.2.0... [INFO] testing gidle_future-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate gidle_future 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate gidle_future 0.2.0 [INFO] finished tweaking crates.io crate gidle_future 0.2.0 [INFO] tweaked toml for crates.io crate gidle_future 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gidle_future 0.2.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding glib v0.10.3 (available: v0.21.4) [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] 8e91b71059c519b11622b27039586b708b6285d2e69f183ddb0aff1fdc37b3ae [INFO] running `Command { std: "docker" "start" "-a" "8e91b71059c519b11622b27039586b708b6285d2e69f183ddb0aff1fdc37b3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e91b71059c519b11622b27039586b708b6285d2e69f183ddb0aff1fdc37b3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e91b71059c519b11622b27039586b708b6285d2e69f183ddb0aff1fdc37b3ae", kill_on_drop: false }` [INFO] [stdout] 8e91b71059c519b11622b27039586b708b6285d2e69f183ddb0aff1fdc37b3ae [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] 77f9f68cf72ce05430449e045f0918ede7343889bde49b7bedaf7d2410623f5f [INFO] running `Command { std: "docker" "start" "-a" "77f9f68cf72ce05430449e045f0918ede7343889bde49b7bedaf7d2410623f5f", kill_on_drop: false }` [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling glib v0.10.3 [INFO] [stderr] Compiling gidle_future v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.20s [INFO] running `Command { std: "docker" "inspect" "77f9f68cf72ce05430449e045f0918ede7343889bde49b7bedaf7d2410623f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f9f68cf72ce05430449e045f0918ede7343889bde49b7bedaf7d2410623f5f", kill_on_drop: false }` [INFO] [stdout] 77f9f68cf72ce05430449e045f0918ede7343889bde49b7bedaf7d2410623f5f [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] f11376a8df86204769e8d4c1b471fe1ddb435f628316552d692caa9c156dd29b [INFO] running `Command { std: "docker" "start" "-a" "f11376a8df86204769e8d4c1b471fe1ddb435f628316552d692caa9c156dd29b", kill_on_drop: false }` [INFO] [stderr] Compiling gidle_future v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "f11376a8df86204769e8d4c1b471fe1ddb435f628316552d692caa9c156dd29b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f11376a8df86204769e8d4c1b471fe1ddb435f628316552d692caa9c156dd29b", kill_on_drop: false }` [INFO] [stdout] f11376a8df86204769e8d4c1b471fe1ddb435f628316552d692caa9c156dd29b [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] a7bffe5bfd8bddf54abdf5906c5ead68d906ee5aa0e862693e3c93c2b3ce4ce3 [INFO] running `Command { std: "docker" "start" "-a" "a7bffe5bfd8bddf54abdf5906c5ead68d906ee5aa0e862693e3c93c2b3ce4ce3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gidle_future-36186164f9e1219d) [INFO] [stderr] Doc-tests gidle_future [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - (line 60) ... FAILED [INFO] [stdout] test src/lib.rs - (line 44) ... FAILED [INFO] [stdout] test src/lib.rs - (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `smol` [INFO] [stdout] --> src/lib.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | std::thread::spawn(|| smol::run(futures::future::pending::<()>())); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` 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/lib.rs - (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | let mut rt = tokio::runtime::Builder::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 60 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - let mut rt = tokio::runtime::Builder::new() [INFO] [stdout] 61 + let mut rt = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gtk` [INFO] [stdout] --> src/lib.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | rt.block_on(async { gtk::main() }); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | async_std::task::spawn(async {}); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `async_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 44 + use futures::task; [INFO] [stdout] | [INFO] [stdout] help: if you import `task`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - async_std::task::spawn(async {}); [INFO] [stdout] 45 + task::spawn(async {}); [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/lib.rs - (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | async_std::task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `async_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` 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/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_26_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 27 | async_std::task::yield_now().await; [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/lib.rs - (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:72:59 [INFO] [stdout] | [INFO] [stdout] 72 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 73 | | //... [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 26) [INFO] [stdout] src/lib.rs - (line 44) [INFO] [stdout] src/lib.rs - (line 52) [INFO] [stdout] src/lib.rs - (line 60) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a7bffe5bfd8bddf54abdf5906c5ead68d906ee5aa0e862693e3c93c2b3ce4ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7bffe5bfd8bddf54abdf5906c5ead68d906ee5aa0e862693e3c93c2b3ce4ce3", kill_on_drop: false }` [INFO] [stdout] a7bffe5bfd8bddf54abdf5906c5ead68d906ee5aa0e862693e3c93c2b3ce4ce3