[INFO] fetching crate grpc_etcd 0.1.4... [INFO] testing grpc_etcd-0.1.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate grpc_etcd 0.1.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate grpc_etcd 0.1.4 [INFO] finished tweaking crates.io crate grpc_etcd 0.1.4 [INFO] tweaked toml for crates.io crate grpc_etcd 0.1.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate grpc_etcd 0.1.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 182 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding grpc v0.1.11 (available: v0.8.3) [INFO] [stderr] Adding protobuf v1.7.5 (available: v3.7.2) [INFO] [stderr] Adding protoc-rust-grpc v0.1.11 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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] warning: profile `doc` is deprecated and has no effect [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ad63e19da4dd55da3985c514f5b87fd7952c646c47d902a54f3e46c859f1239 [INFO] running `Command { std: "docker" "start" "-a" "2ad63e19da4dd55da3985c514f5b87fd7952c646c47d902a54f3e46c859f1239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ad63e19da4dd55da3985c514f5b87fd7952c646c47d902a54f3e46c859f1239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad63e19da4dd55da3985c514f5b87fd7952c646c47d902a54f3e46c859f1239", kill_on_drop: false }` [INFO] [stdout] 2ad63e19da4dd55da3985c514f5b87fd7952c646c47d902a54f3e46c859f1239 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc5ac6b16d359c82c498381e4b9b426b2abe5a68e23c0a3ecf0b29f46cd767af [INFO] running `Command { std: "docker" "start" "-a" "dc5ac6b16d359c82c498381e4b9b426b2abe5a68e23c0a3ecf0b29f46cd767af", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tls-api v0.2.1 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling protobuf v1.7.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-tls-api v0.2.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stdout] error[E0277]: the trait bound `usize: RangeBounds` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/protobuf-1.7.5/src/buf_read_iter.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | let r = bytes.slice(self.pos_within_buf, self.pos_within_buf + len); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `usize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `bytes::Bytes::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-0.6.0/src/bytes.rs:228:37 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn slice(&self, range: impl RangeBounds) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Bytes::slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/protobuf-1.7.5/src/buf_read_iter.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let r = bytes.slice(self.pos_within_buf, self.pos_within_buf + len); [INFO] [stdout] | ^^^^^ ------------------------- unexpected argument #2 of type `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-0.6.0/src/bytes.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn slice(&self, range: impl RangeBounds) -> Bytes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 230 - let r = bytes.slice(self.pos_within_buf, self.pos_within_buf + len); [INFO] [stdout] 230 + let r = bytes.slice(self.pos_within_buf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/protobuf-1.7.5/src/buf_read_iter.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | self.read_exact(buf)?; [INFO] [stdout] | ---------- ^^^ expected `&mut [u8]`, found `&mut UninitSlice` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u8]` [INFO] [stdout] found mutable reference `&mut UninitSlice` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/protobuf-1.7.5/src/buf_read_iter.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn read_exact(&mut self, mut buf: &mut [u8]) -> ProtobufResult<()> { [INFO] [stdout] | ^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/protobuf-1.7.5/src/chars.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a> From<&'a str> for Chars { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 37 | fn from(src: &'a str) -> Chars { [INFO] [stdout] | --- `src` is a reference that is only valid in the associated function body [INFO] [stdout] 38 | Chars(Bytes::from(src)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `src` escapes the associated function body here [INFO] [stdout] | argument requires that `'a` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `protobuf` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "dc5ac6b16d359c82c498381e4b9b426b2abe5a68e23c0a3ecf0b29f46cd767af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5ac6b16d359c82c498381e4b9b426b2abe5a68e23c0a3ecf0b29f46cd767af", kill_on_drop: false }` [INFO] [stdout] dc5ac6b16d359c82c498381e4b9b426b2abe5a68e23c0a3ecf0b29f46cd767af