[INFO] fetching crate async-trait-static 0.1.3... [INFO] checking async-trait-static-0.1.3 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate async-trait-static 0.1.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate async-trait-static 0.1.3 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-trait-static 0.1.3 [INFO] finished tweaking crates.io crate async-trait-static 0.1.3 [INFO] tweaked toml for crates.io crate async-trait-static 0.1.3 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate async-trait-static 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3ace0841da4fc627710304c3404d5ee8470ae16c57d243a5af207b12da0d0580 [INFO] running `Command { std: "docker" "start" "-a" "3ace0841da4fc627710304c3404d5ee8470ae16c57d243a5af207b12da0d0580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ace0841da4fc627710304c3404d5ee8470ae16c57d243a5af207b12da0d0580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ace0841da4fc627710304c3404d5ee8470ae16c57d243a5af207b12da0d0580", kill_on_drop: false }` [INFO] [stdout] 3ace0841da4fc627710304c3404d5ee8470ae16c57d243a5af207b12da0d0580 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 192323a8335965c09a9db04d1304ea558278365d868d008248c15f82585cf77f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "192323a8335965c09a9db04d1304ea558278365d868d008248c15f82585cf77f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking async-trait-static v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> examples/call-self-in-impl.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44265 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Can't support trait method default implementation currently. [INFO] [stdout] --> examples/trait-with-default.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> examples/trait-with-default-expand.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44265 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/call-self-in-impl.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let s = TraitStruct; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> examples/trait-with-default.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44265 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type parameter `Self` is part of concrete type but not used in parameter list for the `impl Trait` type alias [INFO] [stdout] --> examples/trait-with-default-expand.rs:7:78 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_fn_default(&self) -> ReturnTypeFutureReturnTypeTestFnDefault<'_> { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 8 | | async fn _inner(_self: &AsyncTrait) -> u8 { [INFO] [stdout] 9 | | 1 [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | _inner(self) [INFO] [stdout] 12 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> examples/async-test.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44265 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `ReturnTypeFutureReturnTypeTestFnDefault` [INFO] [stdout] --> examples/trait-with-default.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[async_trait] [INFO] [stdout] | -------------- `ReturnTypeFutureReturnTypeTestFnDefault` from trait [INFO] [stdout] ... [INFO] [stdout] 23 | impl MyTrait for TraitStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `ReturnTypeFutureReturnTypeTestFnDefault` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> examples/associated-type.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44265 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-trait-static` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `TraitStruct` in this scope [INFO] [stdout] --> examples/expand.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let s = TraitStruct; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/associated-type.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let s = TraitStruct; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> examples/associated-type.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | async fn test_fn(&self, u: u8) -> Self::O { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> examples/async-self.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44265 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> examples/expand.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44265 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stdout] --> examples/expand.rs:21:96 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_fn_by_mut_reference(&self) -> Self::ReturnTypeFutureReturnTypeTestFnByMutReference<'_>; [INFO] [stdout] | ^^ unexpected lifetime argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> examples/expand.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_fn_by_mut_reference(&self) -> Self::ReturnTypeFutureReturnTypeTestFnByMutReference<'_>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/async-self.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let s = TraitStruct; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Output == u8` [INFO] [stdout] --> examples/async-test.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[async_trait] [INFO] [stdout] | -------------- required by this bound in `MyTrait::ReturnTypeFutureReturnTypeTestFn` [INFO] [stdout] ... [INFO] [stdout] 23 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0623]: lifetime mismatch [INFO] [stdout] --> examples/async-test.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...but data from `u` is returned here [INFO] [stdout] 24 | impl MyTrait for TraitStruct { [INFO] [stdout] 25 | async fn test_fn<'a>(&self, u: &'a u8) -> &'a u8 { [INFO] [stdout] | ------ this parameter and the return type are declared with different lifetimes... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/async-test.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&' u8` [INFO] [stdout] found reference `&'a u8` [INFO] [stdout] = note: the empty lifetime... [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined on the associated item at 23:1 [INFO] [stdout] --> examples/async-test.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308, E0623. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/trait-with-default.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected associated type, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `::ReturnTypeFutureReturnTypeTestFnDefault<'_>` [INFO] [stdout] found opaque type `impl Future` [INFO] [stdout] = help: consider constraining the associated type `::ReturnTypeFutureReturnTypeTestFnDefault<'_>` to `impl Future` or calling a method that returns `::ReturnTypeFutureReturnTypeTestFnDefault<'_>` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "192323a8335965c09a9db04d1304ea558278365d868d008248c15f82585cf77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192323a8335965c09a9db04d1304ea558278365d868d008248c15f82585cf77f", kill_on_drop: false }` [INFO] [stdout] 192323a8335965c09a9db04d1304ea558278365d868d008248c15f82585cf77f