[INFO] fetching crate async-trait-ext 0.2.1... [INFO] testing async-trait-ext-0.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate async-trait-ext 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-trait-ext 0.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9413317fe02e0508fbb38b8bdaa119c2dae342c117821847278f16504b2df3b0 [INFO] running `Command { std: "docker" "start" "-a" "9413317fe02e0508fbb38b8bdaa119c2dae342c117821847278f16504b2df3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9413317fe02e0508fbb38b8bdaa119c2dae342c117821847278f16504b2df3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9413317fe02e0508fbb38b8bdaa119c2dae342c117821847278f16504b2df3b0", kill_on_drop: false }` [INFO] [stdout] 9413317fe02e0508fbb38b8bdaa119c2dae342c117821847278f16504b2df3b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1630afb6de857a6567db30530b4e72fa80daf5722927f4b633dc0f86d9bc8a4a [INFO] running `Command { std: "docker" "start" "-a" "1630afb6de857a6567db30530b4e72fa80daf5722927f4b633dc0f86d9bc8a4a", 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.90s [INFO] running `Command { std: "docker" "inspect" "1630afb6de857a6567db30530b4e72fa80daf5722927f4b633dc0f86d9bc8a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1630afb6de857a6567db30530b4e72fa80daf5722927f4b633dc0f86d9bc8a4a", kill_on_drop: false }` [INFO] [stdout] 1630afb6de857a6567db30530b4e72fa80daf5722927f4b633dc0f86d9bc8a4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1481126dbf1b3c288f72db8fa22cae7bc850d5a8375759e03f38f356bfbb4270 [INFO] running `Command { std: "docker" "start" "-a" "1481126dbf1b3c288f72db8fa22cae7bc850d5a8375759e03f38f356bfbb4270", 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] [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/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] [stderr] warning: build failed, waiting for other jobs to finish... [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" "1481126dbf1b3c288f72db8fa22cae7bc850d5a8375759e03f38f356bfbb4270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1481126dbf1b3c288f72db8fa22cae7bc850d5a8375759e03f38f356bfbb4270", kill_on_drop: false }` [INFO] [stdout] 1481126dbf1b3c288f72db8fa22cae7bc850d5a8375759e03f38f356bfbb4270