[INFO] fetching crate autoproto 0.1.2... [INFO] checking autoproto-0.1.2 against try#8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f for pr-105568 [INFO] extracting crate autoproto 0.1.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate autoproto 0.1.2 on toolchain 8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc2aa4ab8401618f1885164cfc16eabafb50c94309b3290b087bf8f1803a4ca5 [INFO] running `Command { std: "docker" "start" "-a" "cc2aa4ab8401618f1885164cfc16eabafb50c94309b3290b087bf8f1803a4ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2aa4ab8401618f1885164cfc16eabafb50c94309b3290b087bf8f1803a4ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2aa4ab8401618f1885164cfc16eabafb50c94309b3290b087bf8f1803a4ca5", kill_on_drop: false }` [INFO] [stdout] cc2aa4ab8401618f1885164cfc16eabafb50c94309b3290b087bf8f1803a4ca5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73256e6b3f9f51ae08d159a73d390c71e7e3b80cb57a6ec3a3c1842be74b5fe9 [INFO] running `Command { std: "docker" "start" "-a" "73256e6b3f9f51ae08d159a73d390c71e7e3b80cb57a6ec3a3c1842be74b5fe9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [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 smallvec v1.10.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking static_assertions v1.1.0 [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: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: 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: 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" "73256e6b3f9f51ae08d159a73d390c71e7e3b80cb57a6ec3a3c1842be74b5fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73256e6b3f9f51ae08d159a73d390c71e7e3b80cb57a6ec3a3c1842be74b5fe9", kill_on_drop: false }` [INFO] [stdout] 73256e6b3f9f51ae08d159a73d390c71e7e3b80cb57a6ec3a3c1842be74b5fe9