[INFO] fetching crate autoproto 0.1.2... [INFO] checking autoproto-0.1.2 against try#d4bd6c543d189dee2fa075d0b37e31ddc7d111a4 for pr-106073 [INFO] extracting crate autoproto 0.1.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate autoproto 0.1.2 on toolchain d4bd6c543d189dee2fa075d0b37e31ddc7d111a4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate autoproto 0.1.2 [INFO] finished tweaking crates.io crate autoproto 0.1.2 [INFO] tweaked toml for crates.io crate autoproto 0.1.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:9db6adea6fe108e8475f2314ed6ea91319efc655499b550640da2809d69ffe6a" "/opt/rustwide/cargo-home/bin/cargo" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f33db9c0006eba679507ece38a65be77066a1196d128c4aed8c47aa983bc4bb8 [INFO] running `Command { std: "docker" "start" "-a" "f33db9c0006eba679507ece38a65be77066a1196d128c4aed8c47aa983bc4bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f33db9c0006eba679507ece38a65be77066a1196d128c4aed8c47aa983bc4bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33db9c0006eba679507ece38a65be77066a1196d128c4aed8c47aa983bc4bb8", kill_on_drop: false }` [INFO] [stdout] f33db9c0006eba679507ece38a65be77066a1196d128c4aed8c47aa983bc4bb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:9db6adea6fe108e8475f2314ed6ea91319efc655499b550640da2809d69ffe6a" "/opt/rustwide/cargo-home/bin/cargo" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87235ed942f08ec73e8682214eab23986dd56169e7334e50fbfad76842d5e801 [INFO] running `Command { std: "docker" "start" "-a" "87235ed942f08ec73e8682214eab23986dd56169e7334e50fbfad76842d5e801", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling autoproto-derive v0.1.0 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking prost v0.8.0 [INFO] [stderr] Checking autoproto v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/lib.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | / where [INFO] [stdout] 275 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] = note: `#[warn(deprecated_where_clause_location)]` on by default [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 274 ~ [INFO] [stdout] 275 ~ = <&'a Self as IntoIterator>::IntoIter where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/lib.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | / where [INFO] [stdout] 275 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] = note: `#[warn(deprecated_where_clause_location)]` on by default [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 274 ~ [INFO] [stdout] 275 ~ = <&'a Self as IntoIterator>::IntoIter where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/lib.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | / where [INFO] [stdout] 322 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 321 ~ [INFO] [stdout] 322 ~ = <&'a T as IntoExactSizeIterator>::IntoExactSizeIter where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/lib.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | / where [INFO] [stdout] 322 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 321 ~ [INFO] [stdout] 322 ~ = <&'a T as IntoExactSizeIterator>::IntoExactSizeIter where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/derive.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Proto: Default` is not satisfied [INFO] [stdout] --> tests/derive.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Copy, Clone, PartialEq, Debug, autoproto::Message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `dyn Proto` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `autoproto::Message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/derive.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Copy, Clone, PartialEq, Debug, autoproto::Message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected type parameter `A`, found trait object `dyn Proto` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] 62 | enum Oneof { [INFO] [stdout] | - this type parameter [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `A` [INFO] [stdout] found trait object `dyn Proto` [INFO] [stdout] = help: type parameters must be constrained to match other types [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> tests/derive.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | One(A), [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the derive macro `autoproto::Message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/derive.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Copy, Clone, PartialEq, Debug, autoproto::Message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected type parameter `A`, found trait object `dyn Proto` [INFO] [stdout] 62 | enum Oneof { [INFO] [stdout] | - this type parameter [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `A` [INFO] [stdout] found trait object `dyn Proto` [INFO] [stdout] = help: type parameters must be constrained to match other types [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] = note: this error originates in the derive macro `autoproto::Message` (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: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autoproto` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "87235ed942f08ec73e8682214eab23986dd56169e7334e50fbfad76842d5e801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87235ed942f08ec73e8682214eab23986dd56169e7334e50fbfad76842d5e801", kill_on_drop: false }` [INFO] [stdout] 87235ed942f08ec73e8682214eab23986dd56169e7334e50fbfad76842d5e801