[INFO] fetching crate async-trait-static 0.1.3... [INFO] checking async-trait-static-0.1.3 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate async-trait-static 0.1.3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate async-trait-static 0.1.3 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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-3/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44ad795b82af99c85386761b8604e30ea6dfd11d701c1703dbcbda02b57c3169 [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" "44ad795b82af99c85386761b8604e30ea6dfd11d701c1703dbcbda02b57c3169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44ad795b82af99c85386761b8604e30ea6dfd11d701c1703dbcbda02b57c3169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ad795b82af99c85386761b8604e30ea6dfd11d701c1703dbcbda02b57c3169", kill_on_drop: false }` [INFO] [stdout] 44ad795b82af99c85386761b8604e30ea6dfd11d701c1703dbcbda02b57c3169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 58c52e27ab28a1a231ea7f19902d3a391a2fcd7cef8473ff0755dc0972b1ede9 [INFO] running `Command { std: "docker" "start" "-a" "58c52e27ab28a1a231ea7f19902d3a391a2fcd7cef8473ff0755dc0972b1ede9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking proc-macro2 v1.0.9 [INFO] [stderr] Checking async-trait-static v0.1.3 (/opt/rustwide/workdir) [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.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/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/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] 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: 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[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: 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: 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: 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] 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: 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] 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: 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/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: 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] [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: aborting due to previous error; 1 warning emitted [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: 2 warnings emitted [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 `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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0623. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [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" "58c52e27ab28a1a231ea7f19902d3a391a2fcd7cef8473ff0755dc0972b1ede9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c52e27ab28a1a231ea7f19902d3a391a2fcd7cef8473ff0755dc0972b1ede9", kill_on_drop: false }` [INFO] [stdout] 58c52e27ab28a1a231ea7f19902d3a391a2fcd7cef8473ff0755dc0972b1ede9