[INFO] fetching crate proto-mapper-core 0.1.2... [INFO] building proto-mapper-core-0.1.2 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate proto-mapper-core 0.1.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate proto-mapper-core 0.1.2 [INFO] finished tweaking crates.io crate proto-mapper-core 0.1.2 [INFO] tweaked toml for crates.io crate proto-mapper-core 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate proto-mapper-core 0.1.2 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding darling v0.20.11 (available: v0.21.3) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bbf3f4caec32935d2f60f7be6fdc69a8e80e1e22ba15beae589363c68a23563 [INFO] running `Command { std: "docker" "start" "-a" "1bbf3f4caec32935d2f60f7be6fdc69a8e80e1e22ba15beae589363c68a23563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bbf3f4caec32935d2f60f7be6fdc69a8e80e1e22ba15beae589363c68a23563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bbf3f4caec32935d2f60f7be6fdc69a8e80e1e22ba15beae589363c68a23563", kill_on_drop: false }` [INFO] [stdout] 1bbf3f4caec32935d2f60f7be6fdc69a8e80e1e22ba15beae589363c68a23563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcae286aa3f7555ae6e612050dadb88a32c5ea0bfc11a409d828a1d44c3c71d5 [INFO] running `Command { std: "docker" "start" "-a" "bcae286aa3f7555ae6e612050dadb88a32c5ea0bfc11a409d828a1d44c3c71d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling proto-mapper-core v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::enums::Enum` [INFO] [stdout] --> src/proto_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::Enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Enum` in `enums` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/enums/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "prost")] [INFO] [stdout] | ----------------- the item is gated behind the `prost` feature [INFO] [stdout] 4 | pub(crate) use prost_enum::Enum; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/enums/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "protobuf")] [INFO] [stdout] | -------------------- the item is gated behind the `protobuf` feature [INFO] [stdout] 12 | pub(crate) use protobuf_enum::Enum; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 - use crate::enums::Enum; [INFO] [stdout] 1 + use crate::ProtoMap::Enum; [INFO] [stdout] | [INFO] [stdout] 1 - use crate::enums::Enum; [INFO] [stdout] 1 + use crate::proto_map::Data::Enum; [INFO] [stdout] | [INFO] [stdout] 1 - use crate::enums::Enum; [INFO] [stdout] 1 + use darling::ast::Data::Enum; [INFO] [stdout] | [INFO] [stdout] 1 - use crate::enums::Enum; [INFO] [stdout] 1 + use syn::Data::Enum; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::structs::StructField` [INFO] [stdout] --> src/structs/struct.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::structs::StructField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StructField` in `structs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/structs/mod.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "prost")] [INFO] [stdout] | ----------------- the item is gated behind the `prost` feature [INFO] [stdout] 4 | pub(crate) use prost_field::StructField; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/structs/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "protobuf")] [INFO] [stdout] | -------------------- the item is gated behind the `protobuf` feature [INFO] [stdout] 9 | pub(crate) use protobuf_field::StructField; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `attrs::*` [INFO] [stdout] --> src/enums/mod.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) use attrs::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `attrs::*` [INFO] [stdout] --> src/structs/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use attrs::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/structs/struct.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | let fields = self.fields.iter().map(|f| f.implement_getter(&self.attrs)); [INFO] [stdout] | ^ ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 46 | let fields = self.fields.iter().map(|f: /* Type */| f.implement_getter(&self.attrs)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/structs/struct.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / quote! { [INFO] [stdout] 49 | | let mut proto = #proto_struct::default(); [INFO] [stdout] 50 | | #(#fields)* [INFO] [stdout] 51 | | proto [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/structs/struct.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | let fields = self.fields.iter().map(|f| f.implement_setter(&self.attrs)); [INFO] [stdout] | ^ ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 56 | let fields = self.fields.iter().map(|f: /* Type */| f.implement_setter(&self.attrs)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/structs/struct.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | / quote! { [INFO] [stdout] 59 | | let inner = Self { [INFO] [stdout] 60 | | #(#fields)* [INFO] [stdout] 61 | | }; [INFO] [stdout] 62 | | Ok(inner) [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proto-mapper-core` (lib) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bcae286aa3f7555ae6e612050dadb88a32c5ea0bfc11a409d828a1d44c3c71d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcae286aa3f7555ae6e612050dadb88a32c5ea0bfc11a409d828a1d44c3c71d5", kill_on_drop: false }` [INFO] [stdout] bcae286aa3f7555ae6e612050dadb88a32c5ea0bfc11a409d828a1d44c3c71d5