[INFO] crate tokio-async-attributes 1.0.0 is already in cache [INFO] testing tokio-async-attributes-1.0.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate tokio-async-attributes 1.0.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate tokio-async-attributes 1.0.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-async-attributes 1.0.0 [INFO] finished tweaking crates.io crate tokio-async-attributes 1.0.0 [INFO] tweaked toml for crates.io crate tokio-async-attributes 1.0.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61bdc628431defe88f713ba7786abdd0cce4e383b97b1a479456283ea70bd06d [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" "61bdc628431defe88f713ba7786abdd0cce4e383b97b1a479456283ea70bd06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61bdc628431defe88f713ba7786abdd0cce4e383b97b1a479456283ea70bd06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61bdc628431defe88f713ba7786abdd0cce4e383b97b1a479456283ea70bd06d", kill_on_drop: false }` [INFO] [stdout] 61bdc628431defe88f713ba7786abdd0cce4e383b97b1a479456283ea70bd06d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d4334a5cb30263b00716a1beb44fea23970c25b027f48019c1b77107d8b131b [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" "4d4334a5cb30263b00716a1beb44fea23970c25b027f48019c1b77107d8b131b", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-async-attributes v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "4d4334a5cb30263b00716a1beb44fea23970c25b027f48019c1b77107d8b131b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4334a5cb30263b00716a1beb44fea23970c25b027f48019c1b77107d8b131b", kill_on_drop: false }` [INFO] [stdout] 4d4334a5cb30263b00716a1beb44fea23970c25b027f48019c1b77107d8b131b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea00604ee803f0cf0b77d43aaccc207f9211c0e86651b816032dffad09423cb [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" "eea00604ee803f0cf0b77d43aaccc207f9211c0e86651b816032dffad09423cb", kill_on_drop: false }` [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling tokio-async-attributes v1.0.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-async-std v1.5.3 [INFO] [stderr] Compiling tokio-async-attributes v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.43s [INFO] running `Command { std: "docker" "inspect" "eea00604ee803f0cf0b77d43aaccc207f9211c0e86651b816032dffad09423cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea00604ee803f0cf0b77d43aaccc207f9211c0e86651b816032dffad09423cb", kill_on_drop: false }` [INFO] [stdout] eea00604ee803f0cf0b77d43aaccc207f9211c0e86651b816032dffad09423cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] bb3b358683bde47b02159cbd8add24019eddfb09bac9b0c21274b021d282f44f [INFO] running `Command { std: "docker" "start" "-a" "bb3b358683bde47b02159cbd8add24019eddfb09bac9b0c21274b021d282f44f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tokio_async_attributes-e8fa185fe270c22a [INFO] [stdout] [INFO] [stderr] Doc-tests tokio-async-attributes [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] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - test_threaded (line 137) ... FAILED [INFO] [stdout] test src/lib.rs - test (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - main (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - main_basic (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - test (line 177) ... FAILED [INFO] [stdout] test src/lib.rs - main_threaded (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - test_basic (line 196) ... FAILED [INFO] [stdout] test src/lib.rs - main (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - test_threaded (line 146) ... FAILED [INFO] [stdout] test src/lib.rs - main_threaded (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - test_threaded (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test(core_threads = 1)] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [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 - test (line 168) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test(threaded_scheduler)] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [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 - main (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main(basic_scheduler)] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/lib.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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:90:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - main_basic (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/lib.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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:116:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - test (line 177) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [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 - main_threaded (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main(core_threads = 1)] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/lib.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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:54:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - test_basic (line 196) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [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 - main (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/lib.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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:81:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - test_threaded (line 146) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [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 - main_threaded (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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:45:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [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: E0277, 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 - main (line 79) [INFO] [stdout] src/lib.rs - main (line 88) [INFO] [stdout] src/lib.rs - main_basic (line 114) [INFO] [stdout] src/lib.rs - main_threaded (line 43) [INFO] [stdout] src/lib.rs - main_threaded (line 52) [INFO] [stdout] src/lib.rs - test (line 168) [INFO] [stdout] src/lib.rs - test (line 177) [INFO] [stdout] src/lib.rs - test_basic (line 196) [INFO] [stdout] src/lib.rs - test_threaded (line 137) [INFO] [stdout] src/lib.rs - test_threaded (line 146) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 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" "bb3b358683bde47b02159cbd8add24019eddfb09bac9b0c21274b021d282f44f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3b358683bde47b02159cbd8add24019eddfb09bac9b0c21274b021d282f44f", kill_on_drop: false }` [INFO] [stdout] bb3b358683bde47b02159cbd8add24019eddfb09bac9b0c21274b021d282f44f