[INFO] fetching crate pbjsonrpc-build 0.26.0... [INFO] checking pbjsonrpc-build-0.26.0 against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] extracting crate pbjsonrpc-build 0.26.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pbjsonrpc-build 0.26.0 on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 878027d2d8b1e6ab9fe25e12a9bc75f73e508d550a9be5d01bad6fc872654bec [INFO] running `Command { std: "docker" "start" "-a" "878027d2d8b1e6ab9fe25e12a9bc75f73e508d550a9be5d01bad6fc872654bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "878027d2d8b1e6ab9fe25e12a9bc75f73e508d550a9be5d01bad6fc872654bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878027d2d8b1e6ab9fe25e12a9bc75f73e508d550a9be5d01bad6fc872654bec", kill_on_drop: false }` [INFO] [stdout] 878027d2d8b1e6ab9fe25e12a9bc75f73e508d550a9be5d01bad6fc872654bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07394ff0dbea6ccabcecdea68444e6741d05943cbb25762585242b82838b79c6 [INFO] running `Command { std: "docker" "start" "-a" "07394ff0dbea6ccabcecdea68444e6741d05943cbb25762585242b82838b79c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Checking prost v0.14.1 [INFO] [stderr] Checking prost-types v0.14.1 [INFO] [stderr] Checking pbjsonrpc-build v0.26.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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.37s [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)]` (part of `#[warn(unused)]`) 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] running `Command { std: "docker" "inspect" "07394ff0dbea6ccabcecdea68444e6741d05943cbb25762585242b82838b79c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07394ff0dbea6ccabcecdea68444e6741d05943cbb25762585242b82838b79c6", kill_on_drop: false }` [INFO] [stdout] 07394ff0dbea6ccabcecdea68444e6741d05943cbb25762585242b82838b79c6