[INFO] fetching crate autoproto 0.1.2... [INFO] checking autoproto-0.1.2 against try#560667b800e34f03ac9f520f299d077c249dd301 for pr-100971 [INFO] extracting crate autoproto 0.1.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate autoproto 0.1.2 on toolchain 560667b800e34f03ac9f520f299d077c249dd301 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+560667b800e34f03ac9f520f299d077c249dd301" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+560667b800e34f03ac9f520f299d077c249dd301" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+560667b800e34f03ac9f520f299d077c249dd301" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+560667b800e34f03ac9f520f299d077c249dd301" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30755a9f169a0d73daa164635e3498f4f6a87f83c8d7378bac2df30a702e6664 [INFO] running `Command { std: "docker" "start" "-a" "30755a9f169a0d73daa164635e3498f4f6a87f83c8d7378bac2df30a702e6664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30755a9f169a0d73daa164635e3498f4f6a87f83c8d7378bac2df30a702e6664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30755a9f169a0d73daa164635e3498f4f6a87f83c8d7378bac2df30a702e6664", kill_on_drop: false }` [INFO] [stdout] 30755a9f169a0d73daa164635e3498f4f6a87f83c8d7378bac2df30a702e6664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+560667b800e34f03ac9f520f299d077c249dd301" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ae35554e17a51943dfc4c39178a3bcc07729ae51a4567cf014bfc4260fb7b1b [INFO] running `Command { std: "docker" "start" "-a" "5ae35554e17a51943dfc4c39178a3bcc07729ae51a4567cf014bfc4260fb7b1b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.6.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: `#[warn(deprecated_where_clause_location)]` on by default [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] 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:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | / where [INFO] [stdout] 275 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated_where_clause_location)]` on by default [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] 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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 [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 [INFO] running `Command { std: "docker" "inspect" "5ae35554e17a51943dfc4c39178a3bcc07729ae51a4567cf014bfc4260fb7b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ae35554e17a51943dfc4c39178a3bcc07729ae51a4567cf014bfc4260fb7b1b", kill_on_drop: false }` [INFO] [stdout] 5ae35554e17a51943dfc4c39178a3bcc07729ae51a4567cf014bfc4260fb7b1b