[INFO] fetching crate async-std-utp 0.1.1... [INFO] checking async-std-utp-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate async-std-utp 0.1.1 into /workspace/builds/worker-112/source [INFO] validating manifest of crates.io crate async-std-utp 0.1.1 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-std-utp 0.1.1 [INFO] finished tweaking crates.io crate async-std-utp 0.1.1 [INFO] tweaked toml for crates.io crate async-std-utp 0.1.1 written to /workspace/builds/worker-112/source/Cargo.toml [INFO] crate crates.io crate async-std-utp 0.1.1 already has a lockfile, it will not be regenerated [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-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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] 7efde6660f6bb7bacfcd0615fd8ddc8cb68647751b59f46c7e6cb5d6b166b377 [INFO] running `Command { std: "docker" "start" "-a" "7efde6660f6bb7bacfcd0615fd8ddc8cb68647751b59f46c7e6cb5d6b166b377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7efde6660f6bb7bacfcd0615fd8ddc8cb68647751b59f46c7e6cb5d6b166b377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7efde6660f6bb7bacfcd0615fd8ddc8cb68647751b59f46c7e6cb5d6b166b377", kill_on_drop: false }` [INFO] [stdout] 7efde6660f6bb7bacfcd0615fd8ddc8cb68647751b59f46c7e6cb5d6b166b377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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] 521a2b74cd6cd1dd25d4a1977f590cc4b52d8ebca83d205f1939d48361cad75a [INFO] running `Command { std: "docker" "start" "-a" "521a2b74cd6cd1dd25d4a1977f590cc4b52d8ebca83d205f1939d48361cad75a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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] async-std v1.9.0: async-attributes, attributes [INFO] [stderr] futures-channel v0.3.15: default [INFO] [stderr] log v0.4.14: std [INFO] [stderr] rand v0.8.3: small_rng [INFO] [stderr] syn v1.0.72 (as host dependency): visit [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking async-std-utp v0.1.1 (/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 `async_std_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:299:33 [INFO] [stderr] | [INFO] [stderr] 299 | let packet = >::try_from(&buf[..len])?; [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/socket.rs:427:39 [INFO] [stderr] | [INFO] [stderr] 427 | 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:1232:33 [INFO] [stderr] | [INFO] [stderr] 1232 | let packet = >::try_from(&buf[..nread])?; [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [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:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | 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:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | 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:1232:22 [INFO] [stdout] | [INFO] [stdout] 1232 | let packet = Packet::try_from(&buf[..nread])?; [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:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | 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:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | 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:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/stream.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/echo-server.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/stream.rs from 2018 edition to 2021 [INFO] [stderr] Migrating benches/socket.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/utpcat.rs from 2018 edition to 2021 [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/socket.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | 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:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | 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:1232:22 [INFO] [stdout] | [INFO] [stdout] 1232 | let packet = Packet::try_from(&buf[..nread])?; [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:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | 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:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | 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:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | 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:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | 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:532:22 [INFO] [stdout] | [INFO] [stdout] 532 | 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:562:22 [INFO] [stdout] | [INFO] [stdout] 562 | 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:572:22 [INFO] [stdout] | [INFO] [stdout] 572 | 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:584:15 [INFO] [stdout] | [INFO] [stdout] 584 | 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:727:21 [INFO] [stdout] | [INFO] [stdout] 727 | 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:735:22 [INFO] [stdout] | [INFO] [stdout] 735 | 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:741:22 [INFO] [stdout] | [INFO] [stdout] 741 | 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:749:26 [INFO] [stdout] | [INFO] [stdout] 749 | 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:751:16 [INFO] [stdout] | [INFO] [stdout] 751 | 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:773:22 [INFO] [stdout] | [INFO] [stdout] 773 | 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:780:22 [INFO] [stdout] | [INFO] [stdout] 780 | 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:795:22 [INFO] [stdout] | [INFO] [stdout] 795 | 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:1785:33 [INFO] [stdout] | [INFO] [stdout] 1785 | Ok((read, _src)) => 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:1809:30 [INFO] [stdout] | [INFO] [stdout] 1809 | 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:2207:29 [INFO] [stdout] | [INFO] [stdout] 2207 | 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:2443:25 [INFO] [stdout] | [INFO] [stdout] 2443 | 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:2487:25 [INFO] [stdout] | [INFO] [stdout] 2487 | 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:2527:38 [INFO] [stdout] | [INFO] [stdout] 2527 | 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: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.51s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking value-bag v1.0.0-alpha.7 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking async-std-utp v0.1.1 (/tmp/fixit) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 299 | let packet = packet::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 299 | 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:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 427 | 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] 427 | 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:1232:30 [INFO] [stdout] | [INFO] [stdout] 1232 | let packet = Packet::try_from(&buf[..nread])?; [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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 1232 | let packet = packet::TryFrom::try_from(&buf[..nread])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1232 | let packet = std::convert::TryFrom::try_from(&buf[..nread])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | 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:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 184 | 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] 184 | 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:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | 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:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 146 | 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] 146 | 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:384:23 [INFO] [stdout] | [INFO] [stdout] 384 | 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:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | 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] 384 | packet::TryFrom::try_from(buf) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 384 | 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:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 299 | let packet = packet::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 299 | let packet = std::convert::TryFrom::try_from(&buf[..len])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/socket.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 427 | 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] 427 | let packet = match std::convert::TryFrom::try_from(&b[..read]) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-std-utp` due to 7 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:1232:30 [INFO] [stdout] | [INFO] [stdout] 1232 | let packet = Packet::try_from(&buf[..nread])?; [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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 1232 | let packet = packet::TryFrom::try_from(&buf[..nread])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1232 | let packet = std::convert::TryFrom::try_from(&buf[..nread])?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | 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:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 184 | 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] 184 | 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:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | 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:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 146 | 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] 146 | 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:384:23 [INFO] [stdout] | [INFO] [stdout] 384 | 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:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | 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] 384 | packet::TryFrom::try_from(buf) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 384 | 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:510:30 [INFO] [stdout] | [INFO] [stdout] 510 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 510 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 510 | 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:532:30 [INFO] [stdout] | [INFO] [stdout] 532 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 532 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 532 | 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:562:30 [INFO] [stdout] | [INFO] [stdout] 562 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 562 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 562 | 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:572:30 [INFO] [stdout] | [INFO] [stdout] 572 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 572 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 572 | 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:584:23 [INFO] [stdout] | [INFO] [stdout] 584 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 584 | match packet::TryFrom::try_from(&buf) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 584 | 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:727:29 [INFO] [stdout] | [INFO] [stdout] 727 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 727 | 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] 727 | 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:735:30 [INFO] [stdout] | [INFO] [stdout] 735 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 735 | let packet = packet::TryFrom::try_from(&buf); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 735 | 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:741:30 [INFO] [stdout] | [INFO] [stdout] 741 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 741 | let packet = packet::TryFrom::try_from(&[]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 741 | 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:749:34 [INFO] [stdout] | [INFO] [stdout] 749 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 749 | let packet = packet::TryFrom::try_from(&x); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 749 | 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:751:30 [INFO] [stdout] | [INFO] [stdout] 751 | 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:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | 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] 751 | if packet::TryFrom::try_from(&x) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 751 | 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:773:30 [INFO] [stdout] | [INFO] [stdout] 773 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 773 | let packet = packet::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 773 | 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:780:30 [INFO] [stdout] | [INFO] [stdout] 780 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 780 | let packet = packet::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 780 | 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:795:30 [INFO] [stdout] | [INFO] [stdout] 795 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 795 | let packet = packet::TryFrom::try_from(&buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 795 | 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:1785:41 [INFO] [stdout] | [INFO] [stdout] 1785 | Ok((read, _src)) => 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 1785 | Ok((read, _src)) => packet::TryFrom::try_from(&buf[..read]).unwrap(), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1785 | Ok((read, _src)) => 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:1809:38 [INFO] [stdout] | [INFO] [stdout] 1809 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 1809 | 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] 1809 | 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:2207:37 [INFO] [stdout] | [INFO] [stdout] 2207 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 2207 | 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] 2207 | 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:2443:33 [INFO] [stdout] | [INFO] [stdout] 2443 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 2443 | 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] 2443 | 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:2487:33 [INFO] [stdout] | [INFO] [stdout] 2487 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 2487 | 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] 2487 | 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:2527:46 [INFO] [stdout] | [INFO] [stdout] 2527 | 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:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 2527 | 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] 2527 | let packet = std::convert::TryFrom::try_from(&buf[..len]).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 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" "521a2b74cd6cd1dd25d4a1977f590cc4b52d8ebca83d205f1939d48361cad75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521a2b74cd6cd1dd25d4a1977f590cc4b52d8ebca83d205f1939d48361cad75a", kill_on_drop: false }` [INFO] [stdout] 521a2b74cd6cd1dd25d4a1977f590cc4b52d8ebca83d205f1939d48361cad75a