[INFO] fetching crate aqueue_trait 0.1.0... [INFO] testing aqueue_trait-0.1.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate aqueue_trait 0.1.0 into /workspace/builds/worker-108/source [INFO] validating manifest of crates.io crate aqueue_trait 0.1.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-108/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dissimilar v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a184e933862be278465f8e37d2a1be30ca5c34fa7eb2f29f84baa07a3d8d6b4 [INFO] running `Command { std: "docker" "start" "-a" "3a184e933862be278465f8e37d2a1be30ca5c34fa7eb2f29f84baa07a3d8d6b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a184e933862be278465f8e37d2a1be30ca5c34fa7eb2f29f84baa07a3d8d6b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a184e933862be278465f8e37d2a1be30ca5c34fa7eb2f29f84baa07a3d8d6b4", kill_on_drop: false }` [INFO] [stdout] 3a184e933862be278465f8e37d2a1be30ca5c34fa7eb2f29f84baa07a3d8d6b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84ac37e10c70f72ce6cd1442241057cb36836a267a46215686917b4b30916a4d [INFO] running `Command { std: "docker" "start" "-a" "84ac37e10c70f72ce6cd1442241057cb36836a267a46215686917b4b30916a4d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling aqueue_trait v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.87s [INFO] running `Command { std: "docker" "inspect" "84ac37e10c70f72ce6cd1442241057cb36836a267a46215686917b4b30916a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84ac37e10c70f72ce6cd1442241057cb36836a267a46215686917b4b30916a4d", kill_on_drop: false }` [INFO] [stdout] 84ac37e10c70f72ce6cd1442241057cb36836a267a46215686917b4b30916a4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95bab68180f8537af8e0a42f8181a3430d5ce55501f171a6173ddddb0ad10831 [INFO] running `Command { std: "docker" "start" "-a" "95bab68180f8537af8e0a42f8181a3430d5ce55501f171a6173ddddb0ad10831", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling aqueue_trait v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 27.44s [INFO] running `Command { std: "docker" "inspect" "95bab68180f8537af8e0a42f8181a3430d5ce55501f171a6173ddddb0ad10831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95bab68180f8537af8e0a42f8181a3430d5ce55501f171a6173ddddb0ad10831", kill_on_drop: false }` [INFO] [stdout] 95bab68180f8537af8e0a42f8181a3430d5ce55501f171a6173ddddb0ad10831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f75ef957a0113f62fa28808d7cfb55bd8e3111d2226a9ff2b090f3b6ca9cbd4e [INFO] running `Command { std: "docker" "start" "-a" "f75ef957a0113f62fa28808d7cfb55bd8e3111d2226a9ff2b090f3b6ca9cbd4e", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aqueue_trait-0d0456670a90c1bf) [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] [stderr] Doc-tests aqueue_trait [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 15) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 286) ... FAILED [INFO] [stdout] test src/lib.rs - (line 165) - compile fail ... ok [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 211) ... FAILED [INFO] [stdout] test src/lib.rs - (line 47) ... FAILED [INFO] [stdout] test src/lib.rs - (line 126) ... ok [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[E0038]: the trait `ObjectSafe` cannot be made into an object [INFO] [stdout] --> src/lib.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 17 | let object = &value as &dyn ObjectSafe; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `ObjectSafe` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ObjectSafe: Sync { // added supertrait [INFO] [stdout] | ---------- this trait cannot be made into an object... [INFO] [stdout] 7 | async fn can_dyn(&self) {} [INFO] [stdout] | ^ ...because method `can_dyn` references the `Self` type in its return type [INFO] [stdout] = help: consider moving `can_dyn` to another trait [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `ObjectSafe` cannot be made into an object [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 17 | let object = &value as &dyn ObjectSafe; [INFO] [stdout] | ^^^^^^ `ObjectSafe` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ObjectSafe: Sync { // added supertrait [INFO] [stdout] | ---------- this trait cannot be made into an object... [INFO] [stdout] 7 | async fn can_dyn(&self) {} [INFO] [stdout] | ^ ...because method `can_dyn` references the `Self` type in its return type [INFO] [stdout] = help: consider moving `can_dyn` to another trait [INFO] [stdout] = note: required because of the requirements on the impl of `CoerceUnsized<&dyn ObjectSafe>` for `&MyType` [INFO] [stdout] = note: required by cast to type `&dyn ObjectSafe` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0432, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [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] 21 | async fn f(&self) {} [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | checked the `Output` of this `async fn`, found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/lib.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 7 | async fn f(&self); [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] 22 | async fn g(&mut self) {} [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | checked the `Output` of this `async fn`, found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/lib.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 8 | async fn g(&mut self); [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:59:25 [INFO] [stdout] | [INFO] [stdout] 14 | async fn run(&self) { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | checked the `Output` of this `async fn`, found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run(&self); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected fn pointer `fn(&Modal)` [INFO] [stdout] found fn pointer `fn(&Modal) -> impl Future` [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] 29 | async fn run(&self) { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | checked the `Output` of this `async fn`, found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run(&self); [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:20 [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: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required because of the requirements on the impl of `IntoFuture` for `()` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 34 - Modal.run().await; [INFO] [stdout] 34 + Modal.run(); [INFO] [stdout] | [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; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f75ef957a0113f62fa28808d7cfb55bd8e3111d2226a9ff2b090f3b6ca9cbd4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f75ef957a0113f62fa28808d7cfb55bd8e3111d2226a9ff2b090f3b6ca9cbd4e", kill_on_drop: false }` [INFO] [stdout] f75ef957a0113f62fa28808d7cfb55bd8e3111d2226a9ff2b090f3b6ca9cbd4e