[INFO] fetching crate async-trait-ext 0.2.1... [INFO] checking async-trait-ext-0.2.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate async-trait-ext 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate async-trait-ext 0.2.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate async-trait-ext 0.2.1 [INFO] tweaked toml for crates.io crate async-trait-ext 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-trait-ext 0.2.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding macro-input v0.1.0 (available: v0.3.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0439d166b7c89b6afd22aa1e0f1394dccd173694bb932b87d830ac8b3eba1cd1 [INFO] running `Command { std: "docker" "start" "-a" "0439d166b7c89b6afd22aa1e0f1394dccd173694bb932b87d830ac8b3eba1cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0439d166b7c89b6afd22aa1e0f1394dccd173694bb932b87d830ac8b3eba1cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0439d166b7c89b6afd22aa1e0f1394dccd173694bb932b87d830ac8b3eba1cd1", kill_on_drop: false }` [INFO] [stdout] 0439d166b7c89b6afd22aa1e0f1394dccd173694bb932b87d830ac8b3eba1cd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73b335b7d9bcfa6c9bcd84db78a675564641cfefae644f26e6216eb27ae57e1a [INFO] running `Command { std: "docker" "start" "-a" "73b335b7d9bcfa6c9bcd84db78a675564641cfefae644f26e6216eb27ae57e1a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking macro-compose v0.1.0 [INFO] [stderr] Checking macro-input-core v0.1.0 [INFO] [stderr] Compiling macro-input-macros v0.1.0 [INFO] [stderr] Checking macro-input v0.1.0 [INFO] [stderr] Checking async-trait-ext v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/methods/expand/poll.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PollMethodExpand<'a>(pub &'a ItemTrait); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/methods/expand/poll.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PollMethodExpand<'a>(pub &'a ItemTrait); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/methods/expand/poll.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PollMethodExpand<'a>(pub &'a ItemTrait); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FooExt` is never used [INFO] [stdout] --> tests/sync.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | trait Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Foo` is never used [INFO] [stdout] --> tests/visibility.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FooExt` is never used [INFO] [stdout] --> tests/visibility.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> tests/examples.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[async_trait_ext(dynamic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsyncReadReadU8` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> tests/examples.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[async_trait_ext] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadStaticReadUntil` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> tests/examples.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[async_trait_ext(dynamic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadDynamicReadUntil` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: item does not constrain `FooBaz::{opaque#0}` [INFO] [stdout] --> tests/mut_pattern.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn test_mut_pattern() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider removing `#[define_opaque]` or adding an empty `#[define_opaque()]` [INFO] [stdout] note: this opaque type is supposed to be constrained [INFO] [stdout] --> tests/mut_pattern.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[async_trait_ext(dynamic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: item does not constrain `Foo2Baz::{opaque#0}` [INFO] [stdout] --> tests/mut_pattern.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn test_mut_pattern() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider removing `#[define_opaque]` or adding an empty `#[define_opaque()]` [INFO] [stdout] note: this opaque type is supposed to be constrained [INFO] [stdout] --> tests/mut_pattern.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[async_trait_ext] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/mut_pattern.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[async_trait_ext(dynamic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found a different future [INFO] [stdout] | expected `FooBaz<'_>` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] = note: this error originates in the attribute macro `async_trait_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/mut_pattern.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[async_trait_ext] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found `async` block [INFO] [stdout] | expected `Foo2Baz<'_, __IMPL>` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `Foo2Baz<'_, __IMPL>` [INFO] [stdout] found `async` block `{async block@tests/mut_pattern.rs:18:5: 18:23}` [INFO] [stdout] note: this item must have a `#[define_opaque(Foo2Baz)]` attribute to be able to define hidden types [INFO] [stdout] --> tests/mut_pattern.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | async fn baz(&self, mut a: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the attribute macro `async_trait_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[async_trait_ext(dynamic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found a different future [INFO] [stdout] | expected `AsyncReadReadU8<'a>` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] = note: this error originates in the attribute macro `async_trait_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[async_trait_ext] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found `async` block [INFO] [stdout] | expected `ReadStaticReadUntil<'a, __IMPL>` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `ReadStaticReadUntil<'a, __IMPL>` [INFO] [stdout] found `async` block `{async block@tests/examples.rs:30:1: 30:19}` [INFO] [stdout] note: this item must have a `#[define_opaque(ReadStaticReadUntil)]` attribute to be able to define hidden types [INFO] [stdout] --> tests/examples.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | async fn read_until<'a>(&'a mut self, byte: u8, mut buf: &'a mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `async_trait_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[async_trait_ext(dynamic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found a different future [INFO] [stdout] | expected `ReadDynamicReadUntil<'a>` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] = note: this error originates in the attribute macro `async_trait_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-trait-ext` (test "mut_pattern") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-trait-ext` (test "examples") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "73b335b7d9bcfa6c9bcd84db78a675564641cfefae644f26e6216eb27ae57e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b335b7d9bcfa6c9bcd84db78a675564641cfefae644f26e6216eb27ae57e1a", kill_on_drop: false }` [INFO] [stdout] 73b335b7d9bcfa6c9bcd84db78a675564641cfefae644f26e6216eb27ae57e1a