[INFO] fetching crate async-trait-ext 0.2.1... [INFO] testing async-trait-ext-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate async-trait-ext 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-trait-ext 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macro-compose v0.1.0 [INFO] [stderr] Downloaded macro-input v0.1.0 [INFO] [stderr] Downloaded macro-input-core v0.1.0 [INFO] [stderr] Downloaded macro-input-macros v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba969541289b7032ba776543cecaa616d194eafb2a46dbfaa43fc8888a513dad [INFO] running `Command { std: "docker" "start" "-a" "ba969541289b7032ba776543cecaa616d194eafb2a46dbfaa43fc8888a513dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba969541289b7032ba776543cecaa616d194eafb2a46dbfaa43fc8888a513dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba969541289b7032ba776543cecaa616d194eafb2a46dbfaa43fc8888a513dad", kill_on_drop: false }` [INFO] [stdout] ba969541289b7032ba776543cecaa616d194eafb2a46dbfaa43fc8888a513dad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b7db68b72e5979398f344392796803391d15e19434534907b8299ec35ae09b1 [INFO] running `Command { std: "docker" "start" "-a" "1b7db68b72e5979398f344392796803391d15e19434534907b8299ec35ae09b1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling macro-compose v0.1.0 [INFO] [stderr] Compiling macro-input-core v0.1.0 [INFO] [stderr] Compiling macro-input-macros v0.1.0 [INFO] [stderr] Compiling macro-input v0.1.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.98s [INFO] running `Command { std: "docker" "inspect" "1b7db68b72e5979398f344392796803391d15e19434534907b8299ec35ae09b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7db68b72e5979398f344392796803391d15e19434534907b8299ec35ae09b1", kill_on_drop: false }` [INFO] [stdout] 1b7db68b72e5979398f344392796803391d15e19434534907b8299ec35ae09b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31b82a1e46d458e856d3808bc0755e41cffee4b97f0d24db51bb35fae1e5233c [INFO] running `Command { std: "docker" "start" "-a" "31b82a1e46d458e856d3808bc0755e41cffee4b97f0d24db51bb35fae1e5233c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling macro-compose v0.1.0 [INFO] [stderr] Compiling macro-input-core v0.1.0 [INFO] [stderr] Compiling macro-input-macros v0.1.0 [INFO] [stderr] Compiling macro-input v0.1.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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] [stderr] error: could not compile `async-trait-ext` (test "mut_pattern") due to 4 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this error, try `rustc --explain E0308`. [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[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] 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] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-trait-ext` (test "examples") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "31b82a1e46d458e856d3808bc0755e41cffee4b97f0d24db51bb35fae1e5233c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31b82a1e46d458e856d3808bc0755e41cffee4b97f0d24db51bb35fae1e5233c", kill_on_drop: false }` [INFO] [stdout] 31b82a1e46d458e856d3808bc0755e41cffee4b97f0d24db51bb35fae1e5233c