[INFO] fetching crate pbjsonrpc-build 0.26.0... [INFO] building pbjsonrpc-build-0.26.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate pbjsonrpc-build 0.26.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pbjsonrpc-build 0.26.0 [INFO] finished tweaking crates.io crate pbjsonrpc-build 0.26.0 [INFO] tweaked toml for crates.io crate pbjsonrpc-build 0.26.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pbjsonrpc-build 0.26.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pbjsonrpc-build 0.26.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06e9db0eacbee575a1a1285772b17c4ffaa09ecbf50614e90e8b5190ea20dfe9 [INFO] running `Command { std: "docker" "start" "-a" "06e9db0eacbee575a1a1285772b17c4ffaa09ecbf50614e90e8b5190ea20dfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06e9db0eacbee575a1a1285772b17c4ffaa09ecbf50614e90e8b5190ea20dfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e9db0eacbee575a1a1285772b17c4ffaa09ecbf50614e90e8b5190ea20dfe9", kill_on_drop: false }` [INFO] [stdout] 06e9db0eacbee575a1a1285772b17c4ffaa09ecbf50614e90e8b5190ea20dfe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f24e351395969a79a8719db8df503c5f6f8990f3c9445fa3c865167f1bd3d4c [INFO] running `Command { std: "docker" "start" "-a" "9f24e351395969a79a8719db8df503c5f6f8990f3c9445fa3c865167f1bd3d4c", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling pbjsonrpc-build v0.26.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `is_numeric` is never used [INFO] [stdout] --> src/message.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ScalarType { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_numeric(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_required` is never used [INFO] [stdout] --> src/message.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl FieldModifier { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 75 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `json_name` is never read [INFO] [stdout] --> src/message.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 82 | pub name: String, [INFO] [stdout] 83 | pub json_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rust_type_name` and `json_name` are never used [INFO] [stdout] --> src/message.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 89 | pub fn rust_type_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn json_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/message.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct OneOf { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | pub path: TypePath, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OneOf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rust_field_name` is never used [INFO] [stdout] --> src/message.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl OneOf { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 115 | pub fn rust_field_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retain_enum_prefix` is never read [INFO] [stdout] --> src/resolver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Resolver<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | extern_types: &'a [(String, String)], [INFO] [stdout] 7 | retain_enum_prefix: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Resolver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rust_variant` is never used [INFO] [stdout] --> src/resolver.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Resolver<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn rust_variant(&self, enumeration: &TypePath, variant: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/descriptor.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | Enum(EnumDescriptor), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Descriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 269 - Enum(EnumDescriptor), [INFO] [stdout] 269 + Enum(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `values` is never read [INFO] [stdout] --> src/descriptor.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct EnumDescriptor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 276 | pub values: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.66s [INFO] running `Command { std: "docker" "inspect" "9f24e351395969a79a8719db8df503c5f6f8990f3c9445fa3c865167f1bd3d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f24e351395969a79a8719db8df503c5f6f8990f3c9445fa3c865167f1bd3d4c", kill_on_drop: false }` [INFO] [stdout] 9f24e351395969a79a8719db8df503c5f6f8990f3c9445fa3c865167f1bd3d4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea674d6a87a909460bfa27466792fb602e278673acdfb9c8cd4fbf4f3bfaa2c [INFO] running `Command { std: "docker" "start" "-a" "eea674d6a87a909460bfa27466792fb602e278673acdfb9c8cd4fbf4f3bfaa2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stdout] warning: method `is_numeric` is never used [INFO] [stdout] --> src/message.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ScalarType { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_numeric(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_required` is never used [INFO] [stdout] --> src/message.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl FieldModifier { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 75 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `json_name` is never read [INFO] [stdout] --> src/message.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 82 | pub name: String, [INFO] [stdout] 83 | pub json_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rust_type_name` and `json_name` are never used [INFO] [stdout] --> src/message.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 89 | pub fn rust_type_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn json_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/message.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct OneOf { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | pub path: TypePath, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OneOf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rust_field_name` is never used [INFO] [stdout] --> src/message.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl OneOf { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 115 | pub fn rust_field_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retain_enum_prefix` is never read [INFO] [stdout] --> src/resolver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Resolver<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | extern_types: &'a [(String, String)], [INFO] [stdout] 7 | retain_enum_prefix: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Resolver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rust_variant` is never used [INFO] [stdout] --> src/resolver.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Resolver<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn rust_variant(&self, enumeration: &TypePath, variant: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/descriptor.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | Enum(EnumDescriptor), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Descriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 269 - Enum(EnumDescriptor), [INFO] [stdout] 269 + Enum(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `values` is never read [INFO] [stdout] --> src/descriptor.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct EnumDescriptor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 276 | pub values: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling pbjsonrpc-build v0.26.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `is_numeric` is never used [INFO] [stdout] --> src/message.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ScalarType { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_numeric(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_required` is never used [INFO] [stdout] --> src/message.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl FieldModifier { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 75 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `json_name` is never read [INFO] [stdout] --> src/message.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 82 | pub name: String, [INFO] [stdout] 83 | pub json_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rust_type_name` and `json_name` are never used [INFO] [stdout] --> src/message.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 89 | pub fn rust_type_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn json_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/message.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct OneOf { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | pub path: TypePath, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OneOf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rust_field_name` is never used [INFO] [stdout] --> src/message.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl OneOf { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 115 | pub fn rust_field_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/descriptor.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | Enum(EnumDescriptor), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Descriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 269 - Enum(EnumDescriptor), [INFO] [stdout] 269 + Enum(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `values` is never read [INFO] [stdout] --> src/descriptor.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct EnumDescriptor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 276 | pub values: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.60s [INFO] running `Command { std: "docker" "inspect" "eea674d6a87a909460bfa27466792fb602e278673acdfb9c8cd4fbf4f3bfaa2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea674d6a87a909460bfa27466792fb602e278673acdfb9c8cd4fbf4f3bfaa2c", kill_on_drop: false }` [INFO] [stdout] eea674d6a87a909460bfa27466792fb602e278673acdfb9c8cd4fbf4f3bfaa2c