[INFO] crate gidle_future 0.1.0 is already in cache [INFO] testing gidle_future-0.1.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate gidle_future 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate gidle_future 0.1.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate gidle_future 0.1.0 [INFO] finished tweaking crates.io crate gidle_future 0.1.0 [INFO] tweaked toml for crates.io crate gidle_future 0.1.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e74b6d750d57c7bb5630def5821dceefed79eed8c41f2531cf1c589c7bdcae4c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e74b6d750d57c7bb5630def5821dceefed79eed8c41f2531cf1c589c7bdcae4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74b6d750d57c7bb5630def5821dceefed79eed8c41f2531cf1c589c7bdcae4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74b6d750d57c7bb5630def5821dceefed79eed8c41f2531cf1c589c7bdcae4c", kill_on_drop: false }` [INFO] [stdout] e74b6d750d57c7bb5630def5821dceefed79eed8c41f2531cf1c589c7bdcae4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9374249b323616d9c53a501839e21e0dbf04fc3c974dbe3feedc303bf71ee4f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9374249b323616d9c53a501839e21e0dbf04fc3c974dbe3feedc303bf71ee4f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling glib v0.9.3 [INFO] [stderr] Compiling gidle_future v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.62s [INFO] running `Command { std: "docker" "inspect" "9374249b323616d9c53a501839e21e0dbf04fc3c974dbe3feedc303bf71ee4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9374249b323616d9c53a501839e21e0dbf04fc3c974dbe3feedc303bf71ee4f7", kill_on_drop: false }` [INFO] [stdout] 9374249b323616d9c53a501839e21e0dbf04fc3c974dbe3feedc303bf71ee4f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8a7fa871c65fff29bc49d1424f56eb0d111c68738d4df024ea2ab9cbbf6e76fe [INFO] running `Command { std: "docker" "start" "-a" "8a7fa871c65fff29bc49d1424f56eb0d111c68738d4df024ea2ab9cbbf6e76fe", kill_on_drop: false }` [INFO] [stderr] Compiling gidle_future v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "8a7fa871c65fff29bc49d1424f56eb0d111c68738d4df024ea2ab9cbbf6e76fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a7fa871c65fff29bc49d1424f56eb0d111c68738d4df024ea2ab9cbbf6e76fe", kill_on_drop: false }` [INFO] [stdout] 8a7fa871c65fff29bc49d1424f56eb0d111c68738d4df024ea2ab9cbbf6e76fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1f6ba72efcc5dc4e9a0a46bc99a44ebf9d5935894d87e8cf5d060fbaeb1744a8 [INFO] running `Command { std: "docker" "start" "-a" "1f6ba72efcc5dc4e9a0a46bc99a44ebf9d5935894d87e8cf5d060fbaeb1744a8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gidle_future-88adddbe9794e755 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests gidle_future [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - (line 74) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut rt = tokio::runtime::Builder::new() [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gtk` [INFO] [stdout] --> src/lib.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 8 | rt.block_on(async { gtk::main() }); [INFO] [stdout] | ^^^ use of undeclared type or module `gtk` [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 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 3 | async_std::task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | 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 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 3 | async_std::task::spawn(async {}); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 55) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `smol` [INFO] [stdout] --> src/lib.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 3 | std::thread::spawn(|| smol::run(futures::future::pending::<()>())); [INFO] [stdout] | ^^^^ use of undeclared type or module `smol` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:76:59 [INFO] [stdout] | [INFO] [stdout] 3 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 4 | | //... [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/lib.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 3 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 3 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 46) [INFO] [stdout] src/lib.rs - (line 55) [INFO] [stdout] src/lib.rs - (line 64) [INFO] [stdout] src/lib.rs - (line 74) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1f6ba72efcc5dc4e9a0a46bc99a44ebf9d5935894d87e8cf5d060fbaeb1744a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6ba72efcc5dc4e9a0a46bc99a44ebf9d5935894d87e8cf5d060fbaeb1744a8", kill_on_drop: false }` [INFO] [stdout] 1f6ba72efcc5dc4e9a0a46bc99a44ebf9d5935894d87e8cf5d060fbaeb1744a8