[INFO] fetching crate rust-consul 0.1.4... [INFO] building rust-consul-0.1.4 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate rust-consul 0.1.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rust-consul 0.1.4 [INFO] finished tweaking crates.io crate rust-consul 0.1.4 [INFO] tweaked toml for crates.io crate rust-consul 0.1.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-consul 0.1.4 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 124 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding hyper-tls v0.3.2 (available: v0.6.0) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4acb4fcfc73741e3f2c6f7168b3e37e03a9f2b8632371fe332b92ede6f0b36f9 [INFO] running `Command { std: "docker" "start" "-a" "4acb4fcfc73741e3f2c6f7168b3e37e03a9f2b8632371fe332b92ede6f0b36f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4acb4fcfc73741e3f2c6f7168b3e37e03a9f2b8632371fe332b92ede6f0b36f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4acb4fcfc73741e3f2c6f7168b3e37e03a9f2b8632371fe332b92ede6f0b36f9", kill_on_drop: false }` [INFO] [stdout] 4acb4fcfc73741e3f2c6f7168b3e37e03a9f2b8632371fe332b92ede6f0b36f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a7473bff4b80c403792a7549793a99ea5af755fb70730df74bfde5f5bafed414 [INFO] running `Command { std: "docker" "start" "-a" "a7473bff4b80c403792a7549793a99ea5af755fb70730df74bfde5f5bafed414", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling rust-consul v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:136:68 [INFO] [stdout] | [INFO] [stdout] 136 | ProtocolError::BlockingMissing => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | #![deny(missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:172:70 [INFO] [stdout] | [INFO] [stdout] 172 | ParseError::UnexpectedJsonFormat => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:137:71 [INFO] [stdout] | [INFO] [stdout] 137 | ProtocolError::ContentTypeNotJson => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `handle` is never read [INFO] [stdout] --> src/lib.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 307 | handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `request_timeout` and `on_error` are never read [INFO] [stdout] --> src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 391 | struct ErrorStrategy { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 392 | request_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 393 | on_error: ErrorHandling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorStrategy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `strategy` is never read [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 406 | struct ErrorState{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 407 | strategy: ErrorStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-consul` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a7473bff4b80c403792a7549793a99ea5af755fb70730df74bfde5f5bafed414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7473bff4b80c403792a7549793a99ea5af755fb70730df74bfde5f5bafed414", kill_on_drop: false }` [INFO] [stdout] a7473bff4b80c403792a7549793a99ea5af755fb70730df74bfde5f5bafed414