[INFO] fetching crate pbjsonrpc-build 0.25.0... [INFO] checking pbjsonrpc-build-0.25.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate pbjsonrpc-build 0.25.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate pbjsonrpc-build 0.25.0 [INFO] finished tweaking crates.io crate pbjsonrpc-build 0.25.0 [INFO] tweaked toml for crates.io crate pbjsonrpc-build 0.25.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pbjsonrpc-build 0.25.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pbjsonrpc-build 0.25.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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 973a294f59490d7f458f17e3c94f8754bdcdd0eee011a70d8e483f48694651d4 [INFO] running `Command { std: "docker" "start" "-a" "973a294f59490d7f458f17e3c94f8754bdcdd0eee011a70d8e483f48694651d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "973a294f59490d7f458f17e3c94f8754bdcdd0eee011a70d8e483f48694651d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973a294f59490d7f458f17e3c94f8754bdcdd0eee011a70d8e483f48694651d4", kill_on_drop: false }` [INFO] [stdout] 973a294f59490d7f458f17e3c94f8754bdcdd0eee011a70d8e483f48694651d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b7609df122d7e2c145cd43fcdf78e721948a4cbd07286517997ba6184c190ab [INFO] running `Command { std: "docker" "start" "-a" "1b7609df122d7e2c145cd43fcdf78e721948a4cbd07286517997ba6184c190ab", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking rustix v1.0.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking prost-types v0.13.5 [INFO] [stderr] Checking pbjsonrpc-build v0.25.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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] [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] [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] = note: `#[warn(dead_code)]` on by default [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] [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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `Command { std: "docker" "inspect" "1b7609df122d7e2c145cd43fcdf78e721948a4cbd07286517997ba6184c190ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7609df122d7e2c145cd43fcdf78e721948a4cbd07286517997ba6184c190ab", kill_on_drop: false }` [INFO] [stdout] 1b7609df122d7e2c145cd43fcdf78e721948a4cbd07286517997ba6184c190ab