[INFO] fetching crate async-trait-ext 0.2.1... [INFO] testing async-trait-ext-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate async-trait-ext 0.2.1 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-trait-ext 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macro-input-macros v0.1.0 [INFO] [stderr] Downloaded macro-compose v0.1.0 [INFO] [stderr] Downloaded macro-input-core v0.1.0 [INFO] [stderr] Downloaded macro-input v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd40d3ce6676536808e9cd62230069a429aa2c49f0a4f04c404ffdb29ffada14 [INFO] running `Command { std: "docker" "start" "-a" "bd40d3ce6676536808e9cd62230069a429aa2c49f0a4f04c404ffdb29ffada14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd40d3ce6676536808e9cd62230069a429aa2c49f0a4f04c404ffdb29ffada14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd40d3ce6676536808e9cd62230069a429aa2c49f0a4f04c404ffdb29ffada14", kill_on_drop: false }` [INFO] [stdout] bd40d3ce6676536808e9cd62230069a429aa2c49f0a4f04c404ffdb29ffada14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fc048216c0ddfb50200560966ef9b202e63110da0add705f3638956d70e2d327 [INFO] running `Command { std: "docker" "start" "-a" "fc048216c0ddfb50200560966ef9b202e63110da0add705f3638956d70e2d327", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.55s [INFO] running `Command { std: "docker" "inspect" "fc048216c0ddfb50200560966ef9b202e63110da0add705f3638956d70e2d327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc048216c0ddfb50200560966ef9b202e63110da0add705f3638956d70e2d327", kill_on_drop: false }` [INFO] [stdout] fc048216c0ddfb50200560966ef9b202e63110da0add705f3638956d70e2d327 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2981072714d33ad2b30d21472084609b076094053423067347934493e8ae828f [INFO] running `Command { std: "docker" "start" "-a" "2981072714d33ad2b30d21472084609b076094053423067347934493e8ae828f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.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)]` 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] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling macro-compose v0.1.0 [INFO] [stderr] Compiling macro-input-core v0.1.0 [INFO] [stderr] Compiling macro-input v0.1.0 [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] 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: 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] 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] = note: `#[warn(dead_code)]` on by default [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: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/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/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: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] [stdout] For more information about this error, try `rustc --explain E0308`. [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] [stderr] error: could not compile `async-trait-ext` (test "examples") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "2981072714d33ad2b30d21472084609b076094053423067347934493e8ae828f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2981072714d33ad2b30d21472084609b076094053423067347934493e8ae828f", kill_on_drop: false }` [INFO] [stdout] 2981072714d33ad2b30d21472084609b076094053423067347934493e8ae828f