[INFO] fetching crate async-utp 0.8.0-alpha1... [INFO] checking async-utp-0.8.0-alpha1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate async-utp 0.8.0-alpha1 into /workspace/builds/worker-98/source [INFO] validating manifest of crates.io crate async-utp 0.8.0-alpha1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-utp 0.8.0-alpha1 [INFO] finished tweaking crates.io crate async-utp 0.8.0-alpha1 [INFO] tweaked toml for crates.io crate async-utp 0.8.0-alpha1 written to /workspace/builds/worker-98/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55060e241e8869ac592d2a9b5de0c75cdc5008a8dca52403305c302d945ed516 [INFO] running `Command { std: "docker" "start" "-a" "55060e241e8869ac592d2a9b5de0c75cdc5008a8dca52403305c302d945ed516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55060e241e8869ac592d2a9b5de0c75cdc5008a8dca52403305c302d945ed516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55060e241e8869ac592d2a9b5de0c75cdc5008a8dca52403305c302d945ed516", kill_on_drop: false }` [INFO] [stdout] 55060e241e8869ac592d2a9b5de0c75cdc5008a8dca52403305c302d945ed516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1d91ba8898b0796f84468a19f665317290fcac4764c05050652c43a3b6cb990 [INFO] running `Command { std: "docker" "start" "-a" "b1d91ba8898b0796f84468a19f665317290fcac4764c05050652c43a3b6cb990", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] log v0.4.14: std [INFO] [stderr] tokio v1.10.0: winapi [INFO] [stderr] tracing-core v0.1.19: default [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.4.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking tracing-subscriber v0.2.20 [INFO] [stderr] Checking async-utp v0.8.0-alpha1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `utp` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/socket.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/socket.rs:267:33 [INFO] [stderr] | [INFO] [stderr] 267 | let packet = >::try_from(&buf[..len])?; [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/socket.rs:419:39 [INFO] [stderr] | [INFO] [stderr] 419 | let packet = match >::try_from(&b[..read]) { [INFO] [stderr] | ----- ^ expected identifier [INFO] [stderr] | | [INFO] [stderr] | while parsing this match expression [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/socket.rs:1320:33 [INFO] [stderr] | [INFO] [stderr] 1320 | let packet = >::try_from(&buf[..len])?; [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/socket.rs:1351:37 [INFO] [stderr] | [INFO] [stderr] 1351 | let packet = >::try_from(&buf[..read])?; [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/socket.rs:1495:37 [INFO] [stderr] | [INFO] [stderr] 1495 | let packet = >::try_from(&buf[..read])?; [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/socket.rs:1857:52 [INFO] [stderr] | [INFO] [stderr] 1857 | if let Ok(packet) = >::try_from(&buf[..read]) { [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/socket.rs:1224:1 [INFO] [stderr] | [INFO] [stderr] 1224 | / macro_rules! ready_try_unpin { [INFO] [stderr] 1225 | | ($data:expr, $cx:expr) => { [INFO] [stderr] 1226 | | match ready_unpin!($data, $cx) { [INFO] [stderr] 1227 | | Ok(v) => v, [INFO] [stderr] ... | [INFO] [stderr] 1230 | | }; [INFO] [stderr] 1231 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/socket.rs:1367:9 [INFO] [stderr] | [INFO] [stderr] 1345 | / loop { [INFO] [stderr] 1346 | | let mut socket = self.0.lock().await; [INFO] [stderr] 1347 | | let mut buf = [0u8; BUF_SIZE]; [INFO] [stderr] 1348 | | [INFO] [stderr] ... | [INFO] [stderr] 1364 | | } [INFO] [stderr] 1365 | | } [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] 1366 | [INFO] [stderr] 1367 | let (tx, rx) = unbounded_channel(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | let packet = Packet::try_from(&buf[..len])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:419:28 [INFO] [stdout] | [INFO] [stdout] 419 | let packet = match Packet::try_from(&b[..read]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:1320:22 [INFO] [stdout] | [INFO] [stdout] 1320 | let packet = Packet::try_from(&buf[..len])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:1351:26 [INFO] [stdout] | [INFO] [stdout] 1351 | let packet = Packet::try_from(&buf[..read])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(e) = PacketType::try_from(buf[0] >> 4) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | PacketType::try_from(self.type_ver >> 4).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | PacketHeader::try_from(buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:1495:26 [INFO] [stdout] | [INFO] [stdout] 1495 | let packet = Packet::try_from(&buf[..read])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:1857:41 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(packet) = Packet::try_from(&buf[..read]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/packet.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind` [INFO] [stdout] --> src/socket.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | pub async fn bind(addr: A) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peer_addr` [INFO] [stdout] --> src/socket.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn peer_addr(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/socket.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | pub async fn connect(addr: SocketAddr) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recv_from` [INFO] [stdout] --> src/socket.rs:330:18 [INFO] [stdout] | [INFO] [stdout] 330 | pub async fn recv_from( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `should_read` [INFO] [stdout] --> src/socket.rs:592:19 [INFO] [stdout] | [INFO] [stdout] 592 | pub(crate) fn should_read(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_to` [INFO] [stdout] --> src/socket.rs:607:18 [INFO] [stdout] | [INFO] [stdout] 607 | pub async fn send_to(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | let packet = Packet::try_from(&buf[..len])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:419:28 [INFO] [stdout] | [INFO] [stdout] 419 | let packet = match Packet::try_from(&b[..read]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:1320:22 [INFO] [stdout] | [INFO] [stdout] 1320 | let packet = Packet::try_from(&buf[..len])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:1351:26 [INFO] [stdout] | [INFO] [stdout] 1351 | let packet = Packet::try_from(&buf[..read])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(e) = PacketType::try_from(buf[0] >> 4) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | PacketType::try_from(self.type_ver >> 4).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | PacketHeader::try_from(buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:536:22 [INFO] [stdout] | [INFO] [stdout] 536 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:566:22 [INFO] [stdout] | [INFO] [stdout] 566 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:577:22 [INFO] [stdout] | [INFO] [stdout] 577 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:589:15 [INFO] [stdout] | [INFO] [stdout] 589 | match Packet::try_from(&buf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:740:21 [INFO] [stdout] | [INFO] [stdout] 740 | assert_eq!(&Packet::try_from(&buf).unwrap().as_ref(), &buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:748:22 [INFO] [stdout] | [INFO] [stdout] 748 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:754:22 [INFO] [stdout] | [INFO] [stdout] 754 | let packet = Packet::try_from(&[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:762:26 [INFO] [stdout] | [INFO] [stdout] 762 | let packet = Packet::try_from(&x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:764:16 [INFO] [stdout] | [INFO] [stdout] 764 | if PacketHeader::try_from(&x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:786:22 [INFO] [stdout] | [INFO] [stdout] 786 | let packet = Packet::try_from(&buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:794:22 [INFO] [stdout] | [INFO] [stdout] 794 | let packet = Packet::try_from(&buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/packet.rs:809:22 [INFO] [stdout] | [INFO] [stdout] 809 | let packet = Packet::try_from(&buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:1495:26 [INFO] [stdout] | [INFO] [stdout] 1495 | let packet = Packet::try_from(&buf[..read])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:1857:41 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(packet) = Packet::try_from(&buf[..read]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:2858:34 [INFO] [stdout] | [INFO] [stdout] 2858 | Ok((_, _src)) => Packet::try_from(buf.filled()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:2885:30 [INFO] [stdout] | [INFO] [stdout] 2885 | let packet = Packet::try_from(&buf[..read]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:3304:21 [INFO] [stdout] | [INFO] [stdout] 3304 | let reply = Packet::try_from(&buf[..len]).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:3502:21 [INFO] [stdout] | [INFO] [stdout] 3502 | Packet::try_from(&buf[..len]).unwrap().get_type(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:3544:21 [INFO] [stdout] | [INFO] [stdout] 3544 | Packet::try_from(&buf[..len]).unwrap().get_type(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:3581:34 [INFO] [stdout] | [INFO] [stdout] 3581 | let packet = Packet::try_from(&buf[..len]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `should_read` [INFO] [stdout] --> src/socket.rs:592:19 [INFO] [stdout] | [INFO] [stdout] 592 | pub(crate) fn should_read(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.96s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Checking async-utp v0.8.0-alpha1 (/tmp/fixit) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | let packet = Packet::try_from(&buf[..len])?; [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 267 | let packet = packet::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 267 | let packet = std::convert::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:419:36 [INFO] [stdout] | [INFO] [stdout] 419 | let packet = match Packet::try_from(&b[..read]) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 419 | let packet = match packet::TryFrom::try_from(&b[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 419 | let packet = match std::convert::TryFrom::try_from(&b[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:1320:30 [INFO] [stdout] | [INFO] [stdout] 1320 | let packet = Packet::try_from(&buf[..len])?; [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1320 | let packet = packet::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1320 | let packet = std::convert::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:1351:34 [INFO] [stdout] | [INFO] [stdout] 1351 | let packet = Packet::try_from(&buf[..read])?; [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1351 | let packet = packet::TryFrom::try_from(&buf[..read])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1351 | let packet = std::convert::TryFrom::try_from(&buf[..read])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:183:37 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(e) = PacketType::try_from(buf[0] >> 4) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::PacketType` [INFO] [stdout] --> src/packet.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fn try_from(original: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(e) = packet::TryFrom::try_from(buf[0] >> 4) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(e) = std::convert::TryFrom::try_from(buf[0] >> 4) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | PacketType::try_from(self.type_ver >> 4).unwrap() [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::PacketType` [INFO] [stdout] --> src/packet.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fn try_from(original: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 145 | packet::TryFrom::try_from(self.type_ver >> 4).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 145 | std::convert::TryFrom::try_from(self.type_ver >> 4).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | PacketHeader::try_from(buf) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `PacketHeader` [INFO] [stdout] --> src/packet.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 386 | packet::TryFrom::try_from(buf) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 386 | std::convert::TryFrom::try_from(buf) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:1495:34 [INFO] [stdout] | [INFO] [stdout] 1495 | let packet = Packet::try_from(&buf[..read])?; [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1495 | let packet = packet::TryFrom::try_from(&buf[..read])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1495 | let packet = std::convert::TryFrom::try_from(&buf[..read])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:1857:49 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(packet) = Packet::try_from(&buf[..read]) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(packet) = packet::TryFrom::try_from(&buf[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(packet) = std::convert::TryFrom::try_from(&buf[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-utp` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | let packet = Packet::try_from(&buf[..len])?; [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 267 | let packet = packet::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 267 | let packet = std::convert::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:419:36 [INFO] [stdout] | [INFO] [stdout] 419 | let packet = match Packet::try_from(&b[..read]) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 419 | let packet = match packet::TryFrom::try_from(&b[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 419 | let packet = match std::convert::TryFrom::try_from(&b[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:1320:30 [INFO] [stdout] | [INFO] [stdout] 1320 | let packet = Packet::try_from(&buf[..len])?; [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1320 | let packet = packet::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1320 | let packet = std::convert::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:1351:34 [INFO] [stdout] | [INFO] [stdout] 1351 | let packet = Packet::try_from(&buf[..read])?; [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1351 | let packet = packet::TryFrom::try_from(&buf[..read])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1351 | let packet = std::convert::TryFrom::try_from(&buf[..read])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:183:37 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(e) = PacketType::try_from(buf[0] >> 4) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::PacketType` [INFO] [stdout] --> src/packet.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fn try_from(original: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(e) = packet::TryFrom::try_from(buf[0] >> 4) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(e) = std::convert::TryFrom::try_from(buf[0] >> 4) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | PacketType::try_from(self.type_ver >> 4).unwrap() [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::PacketType` [INFO] [stdout] --> src/packet.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fn try_from(original: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 145 | packet::TryFrom::try_from(self.type_ver >> 4).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 145 | std::convert::TryFrom::try_from(self.type_ver >> 4).unwrap() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | PacketHeader::try_from(buf) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `PacketHeader` [INFO] [stdout] --> src/packet.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 386 | packet::TryFrom::try_from(buf) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 386 | std::convert::TryFrom::try_from(buf) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:513:30 [INFO] [stdout] | [INFO] [stdout] 513 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 513 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 513 | let packet = std::convert::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:536:30 [INFO] [stdout] | [INFO] [stdout] 536 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 536 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 536 | let packet = std::convert::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:566:30 [INFO] [stdout] | [INFO] [stdout] 566 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 566 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 566 | let packet = std::convert::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:577:30 [INFO] [stdout] | [INFO] [stdout] 577 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 577 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 577 | let packet = std::convert::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:589:23 [INFO] [stdout] | [INFO] [stdout] 589 | match Packet::try_from(&buf) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 589 | match packet::TryFrom::try_from(&buf) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 589 | match std::convert::TryFrom::try_from(&buf) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:740:29 [INFO] [stdout] | [INFO] [stdout] 740 | assert_eq!(&Packet::try_from(&buf).unwrap().as_ref(), &buf); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 740 | assert_eq!(&packet::TryFrom::try_from(&buf).unwrap().as_ref(), &buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 740 | assert_eq!(&std::convert::TryFrom::try_from(&buf).unwrap().as_ref(), &buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 748 | let packet = Packet::try_from(&buf); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 748 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 748 | let packet = std::convert::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:754:30 [INFO] [stdout] | [INFO] [stdout] 754 | let packet = Packet::try_from(&[]); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 754 | let packet = packet::TryFrom::try_from(&[]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 754 | let packet = std::convert::TryFrom::try_from(&[]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:762:34 [INFO] [stdout] | [INFO] [stdout] 762 | let packet = Packet::try_from(&x); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 762 | let packet = packet::TryFrom::try_from(&x); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 762 | let packet = std::convert::TryFrom::try_from(&x); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:764:30 [INFO] [stdout] | [INFO] [stdout] 764 | if PacketHeader::try_from(&x) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `PacketHeader` [INFO] [stdout] --> src/packet.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 764 | if packet::TryFrom::try_from(&x) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 764 | if std::convert::TryFrom::try_from(&x) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:786:30 [INFO] [stdout] | [INFO] [stdout] 786 | let packet = Packet::try_from(&buf).unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 786 | let packet = packet::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 786 | let packet = std::convert::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:794:30 [INFO] [stdout] | [INFO] [stdout] 794 | let packet = Packet::try_from(&buf).unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 794 | let packet = packet::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 794 | let packet = std::convert::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:809:30 [INFO] [stdout] | [INFO] [stdout] 809 | let packet = Packet::try_from(&buf).unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 809 | let packet = packet::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 809 | let packet = std::convert::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:1495:34 [INFO] [stdout] | [INFO] [stdout] 1495 | let packet = Packet::try_from(&buf[..read])?; [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1495 | let packet = packet::TryFrom::try_from(&buf[..read])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1495 | let packet = std::convert::TryFrom::try_from(&buf[..read])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:1857:49 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(packet) = Packet::try_from(&buf[..read]) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(packet) = packet::TryFrom::try_from(&buf[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(packet) = std::convert::TryFrom::try_from(&buf[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:2858:42 [INFO] [stdout] | [INFO] [stdout] 2858 | Ok((_, _src)) => Packet::try_from(buf.filled()).unwrap(), [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 2858 | Ok((_, _src)) => packet::TryFrom::try_from(buf.filled()).unwrap(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 2858 | Ok((_, _src)) => std::convert::TryFrom::try_from(buf.filled()).unwrap(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:2885:38 [INFO] [stdout] | [INFO] [stdout] 2885 | let packet = Packet::try_from(&buf[..read]).unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 2885 | let packet = packet::TryFrom::try_from(&buf[..read]).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 2885 | let packet = std::convert::TryFrom::try_from(&buf[..read]).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:3304:29 [INFO] [stdout] | [INFO] [stdout] 3304 | let reply = Packet::try_from(&buf[..len]).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 3304 | let reply = packet::TryFrom::try_from(&buf[..len]).ok().unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 3304 | let reply = std::convert::TryFrom::try_from(&buf[..len]).ok().unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:3502:29 [INFO] [stdout] | [INFO] [stdout] 3502 | Packet::try_from(&buf[..len]).unwrap().get_type(), [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 3502 | packet::TryFrom::try_from(&buf[..len]).unwrap().get_type(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 3502 | std::convert::TryFrom::try_from(&buf[..len]).unwrap().get_type(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:3544:29 [INFO] [stdout] | [INFO] [stdout] 3544 | Packet::try_from(&buf[..len]).unwrap().get_type(), [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 3544 | packet::TryFrom::try_from(&buf[..len]).unwrap().get_type(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 3544 | std::convert::TryFrom::try_from(&buf[..len]).unwrap().get_type(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:3581:42 [INFO] [stdout] | [INFO] [stdout] 3581 | let packet = Packet::try_from(&buf[..len]).unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `packet::TryFrom` for the type `packet::Packet` [INFO] [stdout] --> src/packet.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 3581 | let packet = packet::TryFrom::try_from(&buf[..len]).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 3581 | let packet = std::convert::TryFrom::try_from(&buf[..len]).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b1d91ba8898b0796f84468a19f665317290fcac4764c05050652c43a3b6cb990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d91ba8898b0796f84468a19f665317290fcac4764c05050652c43a3b6cb990", kill_on_drop: false }` [INFO] [stdout] b1d91ba8898b0796f84468a19f665317290fcac4764c05050652c43a3b6cb990