[INFO] fetching crate nt 3.0.0... [INFO] building nt-3.0.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate nt 3.0.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate nt 3.0.0 [INFO] finished tweaking crates.io crate nt 3.0.0 [INFO] tweaked toml for crates.io crate nt 3.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nt 3.0.0 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] crate crates.io crate nt 3.0.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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51916d45c69c32f416b7fc7a6b3667613f0e7fcf3ee1d838c0fd62334acccb00 [INFO] running `Command { std: "docker" "start" "-a" "51916d45c69c32f416b7fc7a6b3667613f0e7fcf3ee1d838c0fd62334acccb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51916d45c69c32f416b7fc7a6b3667613f0e7fcf3ee1d838c0fd62334acccb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51916d45c69c32f416b7fc7a6b3667613f0e7fcf3ee1d838c0fd62334acccb00", kill_on_drop: false }` [INFO] [stdout] 51916d45c69c32f416b7fc7a6b3667613f0e7fcf3ee1d838c0fd62334acccb00 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfc0028448c0d5b495bc109ef69b38fbbc12b21755b97657e2460e7a3f78e79d [INFO] running `Command { std: "docker" "start" "-a" "dfc0028448c0d5b495bc109ef69b38fbbc12b21755b97657e2460e7a3f78e79d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling nt-leb128 v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling multimap v0.5.0 [INFO] [stderr] Compiling tokio-macros v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling nt-network v3.0.0 [INFO] [stderr] Compiling nt v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nt.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_entry(&self, id: u16) -> Entry { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_entry(&self, id: u16) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.47s [INFO] running `Command { std: "docker" "inspect" "dfc0028448c0d5b495bc109ef69b38fbbc12b21755b97657e2460e7a3f78e79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc0028448c0d5b495bc109ef69b38fbbc12b21755b97657e2460e7a3f78e79d", kill_on_drop: false }` [INFO] [stdout] dfc0028448c0d5b495bc109ef69b38fbbc12b21755b97657e2460e7a3f78e79d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11912c35f028215b1836e48ac85abf7a15b9462ead9516425cce9d750843e849 [INFO] running `Command { std: "docker" "start" "-a" "11912c35f028215b1836e48ac85abf7a15b9462ead9516425cce9d750843e849", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nt.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_entry(&self, id: u16) -> Entry { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_entry(&self, id: u16) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nt v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/read.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | loop {} [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 17 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `connect_ws` found for struct `nt::NetworkTables` in the current scope [INFO] [stdout] --> examples/ws_rpc_client.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | let mut nt = NetworkTables::connect_ws("ws://127.0.0.1:1735", "nt-ws").await?; [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `nt::NetworkTables<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `nt::NetworkTables<_>`, consider using `nt::NetworkTables::::bind` which returns `nt::NetworkTables` [INFO] [stdout] --> /opt/rustwide/workdir/src/nt.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn bind(ip: &str, server_name: &str) -> NetworkTables { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `connect` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - let mut nt = NetworkTables::connect_ws("ws://127.0.0.1:1735", "nt-ws").await?; [INFO] [stdout] 7 + let mut nt = NetworkTables::connect("ws://127.0.0.1:1735", "nt-ws").await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `connect_ws` found for struct `nt::NetworkTables` in the current scope [INFO] [stdout] --> examples/ws_client.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | let mut nt = NetworkTables::connect_ws("ws://127.0.0.1:1735", "nt-ws") [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `nt::NetworkTables<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `nt::NetworkTables<_>`, consider using `nt::NetworkTables::::bind` which returns `nt::NetworkTables` [INFO] [stdout] --> /opt/rustwide/workdir/src/nt.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn bind(ip: &str, server_name: &str) -> NetworkTables { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `connect` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - let mut nt = NetworkTables::connect_ws("ws://127.0.0.1:1735", "nt-ws") [INFO] [stdout] 5 + let mut nt = NetworkTables::connect("ws://127.0.0.1:1735", "nt-ws") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ws_rpc_client.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut nt = NetworkTables::connect_ws("ws://127.0.0.1:1735", "nt-ws").await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | nt.entries() [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `nt` an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | let mut nt: /* Type */ = NetworkTables::connect_ws("ws://127.0.0.1:1735", "nt-ws").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ws_client.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ws_client.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | .expect("Client is not connected to the server."); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nt` (example "ws_rpc_client") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nt` (example "ws_client") due to 3 previous errors [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nt.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_entry(&self, id: u16) -> Entry { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_entry(&self, id: u16) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "11912c35f028215b1836e48ac85abf7a15b9462ead9516425cce9d750843e849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11912c35f028215b1836e48ac85abf7a15b9462ead9516425cce9d750843e849", kill_on_drop: false }` [INFO] [stdout] 11912c35f028215b1836e48ac85abf7a15b9462ead9516425cce9d750843e849