[INFO] fetching crate zenoh-link-tcp 0.7.2-rc... [INFO] checking zenoh-link-tcp-0.7.2-rc against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate zenoh-link-tcp 0.7.2-rc into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate zenoh-link-tcp 0.7.2-rc on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zenoh-link-tcp 0.7.2-rc [INFO] finished tweaking crates.io crate zenoh-link-tcp 0.7.2-rc [INFO] tweaked toml for crates.io crate zenoh-link-tcp 0.7.2-rc written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 197e2fa1d2fe85abb61d38a60d6419f0e8c5c346b326979f404afc86edda4007 [INFO] running `Command { std: "docker" "start" "-a" "197e2fa1d2fe85abb61d38a60d6419f0e8c5c346b326979f404afc86edda4007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "197e2fa1d2fe85abb61d38a60d6419f0e8c5c346b326979f404afc86edda4007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197e2fa1d2fe85abb61d38a60d6419f0e8c5c346b326979f404afc86edda4007", kill_on_drop: false }` [INFO] [stdout] 197e2fa1d2fe85abb61d38a60d6419f0e8c5c346b326979f404afc86edda4007 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f026b3df15198f87a8d75ad17e3c1cd5104e7ae2599b7677aadd8ed225bfe4ed [INFO] running `Command { std: "docker" "start" "-a" "f026b3df15198f87a8d75ad17e3c1cd5104e7ae2599b7677aadd8ed225bfe4ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking value-bag v1.4.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking zenoh-result v0.7.2-rc [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling aho-corasick v1.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling async-process v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking pnet_base v0.33.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking zenoh-collections v0.7.2-rc [INFO] [stderr] Checking keyed-set v0.4.5 [INFO] [stderr] Checking zenoh-buffers v0.7.2-rc [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking token-cell v1.5.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pnet_macros_support v0.33.0 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking pnet_sys v0.33.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling pnet v0.33.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking zenoh-cfg-properties v0.7.2-rc [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Checking zenoh-core v0.7.2-rc [INFO] [stderr] Compiling pnet_macros v0.33.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking pnet_packet v0.33.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking zenoh-sync v0.7.2-rc [INFO] [stderr] Checking pnet_transport v0.33.0 [INFO] [stderr] Checking zenoh-keyexpr v0.7.2-rc [INFO] [stderr] Checking uhlc v0.6.3 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking pnet_datalink v0.33.0 [INFO] [stderr] Checking zenoh-protocol v0.7.2-rc [INFO] [stderr] Checking zenoh-codec v0.7.2-rc [INFO] [stderr] Checking zenoh-util v0.7.2-rc [INFO] [stderr] Checking zenoh-link-commons v0.7.2-rc [INFO] [stderr] Checking zenoh-link-tcp v0.7.2-rc (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unicast.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | async fn new_listener(&self, mut endpoint: EndPoint) -> ZResult { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `endpoint` because it is borrowed [INFO] [stdout] --> src/unicast.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 285 | let addrs = get_tcp_addrs(endpoint.address()).await?; [INFO] [stdout] | -------- `endpoint` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 288 | for da in addrs { [INFO] [stdout] | ----- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 292 | endpoint = EndPoint::new( [INFO] [stdout] | ^^^^^^^^ `endpoint` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 327 | } [INFO] [stdout] | - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unicast.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | async fn new_listener(&self, mut endpoint: EndPoint) -> ZResult { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `endpoint` because it is borrowed [INFO] [stdout] --> src/unicast.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 285 | let addrs = get_tcp_addrs(endpoint.address()).await?; [INFO] [stdout] | -------- `endpoint` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 288 | for da in addrs { [INFO] [stdout] | ----- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 292 | endpoint = EndPoint::new( [INFO] [stdout] | ^^^^^^^^ `endpoint` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 327 | } [INFO] [stdout] | - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0506`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0506`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zenoh-link-tcp` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zenoh-link-tcp` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f026b3df15198f87a8d75ad17e3c1cd5104e7ae2599b7677aadd8ed225bfe4ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f026b3df15198f87a8d75ad17e3c1cd5104e7ae2599b7677aadd8ed225bfe4ed", kill_on_drop: false }` [INFO] [stdout] f026b3df15198f87a8d75ad17e3c1cd5104e7ae2599b7677aadd8ed225bfe4ed