[INFO] fetching crate aqueue_trait 0.1.0... [INFO] testing aqueue_trait-0.1.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate aqueue_trait 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate aqueue_trait 0.1.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate aqueue_trait 0.1.0 [INFO] finished tweaking crates.io crate aqueue_trait 0.1.0 [INFO] tweaked toml for crates.io crate aqueue_trait 0.1.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44809a8ab3206c97e4be56ce2974c91535261f563d5a67a9a4c7b68b429e4c65 [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" "44809a8ab3206c97e4be56ce2974c91535261f563d5a67a9a4c7b68b429e4c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44809a8ab3206c97e4be56ce2974c91535261f563d5a67a9a4c7b68b429e4c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44809a8ab3206c97e4be56ce2974c91535261f563d5a67a9a4c7b68b429e4c65", kill_on_drop: false }` [INFO] [stdout] 44809a8ab3206c97e4be56ce2974c91535261f563d5a67a9a4c7b68b429e4c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--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] 600a00ea5f9079dfc81572ffe0513f66214ccdd73c8696d63404d914956ad1cc [INFO] running `Command { std: "docker" "start" "-a" "600a00ea5f9079dfc81572ffe0513f66214ccdd73c8696d63404d914956ad1cc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling aqueue_trait v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.34s [INFO] running `Command { std: "docker" "inspect" "600a00ea5f9079dfc81572ffe0513f66214ccdd73c8696d63404d914956ad1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "600a00ea5f9079dfc81572ffe0513f66214ccdd73c8696d63404d914956ad1cc", kill_on_drop: false }` [INFO] [stdout] 600a00ea5f9079dfc81572ffe0513f66214ccdd73c8696d63404d914956ad1cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e9b0b74d29d6ad20315c4ced79709ee009ff904408bbe93e19e436b005b3f3b [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" "2e9b0b74d29d6ad20315c4ced79709ee009ff904408bbe93e19e436b005b3f3b", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling dissimilar v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling aqueue_trait v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 53.58s [INFO] running `Command { std: "docker" "inspect" "2e9b0b74d29d6ad20315c4ced79709ee009ff904408bbe93e19e436b005b3f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9b0b74d29d6ad20315c4ced79709ee009ff904408bbe93e19e436b005b3f3b", kill_on_drop: false }` [INFO] [stdout] 2e9b0b74d29d6ad20315c4ced79709ee009ff904408bbe93e19e436b005b3f3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 4f612986c2f96532b3ccb8f4c3291ee3dfff1ff16369e2415c73dda25db20b71 [INFO] running `Command { std: "docker" "start" "-a" "4f612986c2f96532b3ccb8f4c3291ee3dfff1ff16369e2415c73dda25db20b71", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/aqueue_trait-576b6093148f5281 [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests aqueue_trait [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 8 tests [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] test src/lib.rs - (line 286) ... FAILED [INFO] [stdout] test src/lib.rs - (line 186) ... FAILED [INFO] [stdout] test src/lib.rs - (line 265) ... FAILED [INFO] [stdout] test src/lib.rs - (line 165) ... ok [INFO] [stdout] test src/lib.rs - (line 211) ... FAILED [INFO] [stdout] test src/lib.rs - (line 126) ... ok [INFO] [stdout] test src/lib.rs - (line 47) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 286) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn cannot_dyn(&self) where Self: Sized {} [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/lib.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `async_trait` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:298:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:289:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 186) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn test<'e>(elided: Elided<'e>) {} [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn test(elided: Elided<'_>) {} [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `async_trait` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 265) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn can_dyn(&self) {} [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `async_trait` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 211) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn f(&self); [INFO] [stdout] | -----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn g(&mut self); [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 21 | async fn f(&self) {} [INFO] [stdout] | -----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn g(&mut self) {} [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `async_trait` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:228:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0053]: method `f` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 7 | async fn f(&self); [INFO] [stdout] | - type in trait [INFO] [stdout] ... [INFO] [stdout] 21 | async fn f(&self) {} [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | the `Output` of this `async fn`'s found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&MyType)` [INFO] [stdout] found fn pointer `fn(&MyType) -> impl Future` [INFO] [stdout] [INFO] [stdout] error[E0053]: method `g` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 8 | async fn g(&mut self); [INFO] [stdout] | - type in trait [INFO] [stdout] ... [INFO] [stdout] 22 | async fn g(&mut self) {} [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | the `Output` of this `async fn`'s found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut MyType)` [INFO] [stdout] found fn pointer `fn(&mut MyType) -> impl Future` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0432, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 47) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run(&self); [INFO] [stdout] | -----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn run(&self) { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 15 | | self.render_fullscreen().await; [INFO] [stdout] 16 | | for _ in 0..4u16 { [INFO] [stdout] 17 | | remind_user_to_join_mailing_list().await; [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | self.hide_for_now().await; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn run(&self) { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 30 | | let stream = connect(&self.media_url).await; [INFO] [stdout] 31 | | stream.play().await; [INFO] [stdout] 32 | | [INFO] [stdout] 33 | | // Video probably persuaded user to join our mailing list! [INFO] [stdout] 34 | | Modal.run().await; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `async_trait` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run(&self); [INFO] [stdout] | - type in trait [INFO] [stdout] ... [INFO] [stdout] 29 | async fn run(&self) { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | the `Output` of this `async fn`'s found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&AutoplayingVideo)` [INFO] [stdout] found fn pointer `fn(&AutoplayingVideo) -> impl Future` [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 34 | Modal.run().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: required by `poll` [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run(&self); [INFO] [stdout] | - type in trait [INFO] [stdout] ... [INFO] [stdout] 14 | async fn run(&self) { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | the `Output` of this `async fn`'s found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Modal)` [INFO] [stdout] found fn pointer `fn(&Modal) -> impl Future` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0432, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 186) [INFO] [stdout] src/lib.rs - (line 211) [INFO] [stdout] src/lib.rs - (line 265) [INFO] [stdout] src/lib.rs - (line 286) [INFO] [stdout] src/lib.rs - (line 47) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 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" "4f612986c2f96532b3ccb8f4c3291ee3dfff1ff16369e2415c73dda25db20b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f612986c2f96532b3ccb8f4c3291ee3dfff1ff16369e2415c73dda25db20b71", kill_on_drop: false }` [INFO] [stdout] 4f612986c2f96532b3ccb8f4c3291ee3dfff1ff16369e2415c73dda25db20b71