[INFO] fetching crate audiopus 0.2.0... [INFO] checking audiopus-0.2.0 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate audiopus 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate audiopus 0.2.0 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate audiopus 0.2.0 [INFO] finished tweaking crates.io crate audiopus 0.2.0 [INFO] tweaked toml for crates.io crate audiopus 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded audiopus_sys v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82948456fc3663ae6500174eaca658356589c0c4d5fd5862c24acaf084c21cbb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "82948456fc3663ae6500174eaca658356589c0c4d5fd5862c24acaf084c21cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82948456fc3663ae6500174eaca658356589c0c4d5fd5862c24acaf084c21cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82948456fc3663ae6500174eaca658356589c0c4d5fd5862c24acaf084c21cbb", kill_on_drop: false }` [INFO] [stdout] 82948456fc3663ae6500174eaca658356589c0c4d5fd5862c24acaf084c21cbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bc5300090456918cde0d99f2c6e50df434f740537b2e9b4e69c4cf42ba9913f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0bc5300090456918cde0d99f2c6e50df434f740537b2e9b4e69c4cf42ba9913f", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling audiopus_sys v0.1.8 [INFO] [stderr] Checking audiopus v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/decoder.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | .and_then(SampleRate::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `SampleRate` [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | fn try_from(value: i32) -> 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] 41 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 41 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | .and_then(SampleRate::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `SampleRate` [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | fn try_from(value: i32) -> 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] 61 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 61 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | .and_then(Application::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Application` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn try_from(value: i32) -> 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] 189 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 189 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | .and_then(Bitrate::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Bitrate` [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | fn try_from(value: i32) -> 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] 218 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 218 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:386:33 [INFO] [stdout] | [INFO] [stdout] 386 | .and_then(Channels::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Channels` [INFO] [stdout] --> src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | fn try_from(value: i32) -> 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 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 386 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:392:34 [INFO] [stdout] | [INFO] [stdout] 392 | .and_then(Bandwidth::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Bandwidth` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | fn try_from(value: i32) -> 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] 392 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 392 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:439:31 [INFO] [stdout] | [INFO] [stdout] 439 | .and_then(Signal::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Signal` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn try_from(value: i32) -> 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] 439 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 439 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:453:34 [INFO] [stdout] | [INFO] [stdout] 453 | .and_then(Bandwidth::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Bandwidth` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | fn try_from(value: i32) -> 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] 453 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 453 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | Error::Opus(error_code) => error_code.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | Error::InvalidApplication => self.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | format!("{}: {}", self.description(), bandwidth) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | Error::InvalidSignal(signal) => format!("{}: {}", self.description(), signal), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | format!("{}: {}", self.description(), complexity) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:86:74 [INFO] [stdout] | [INFO] [stdout] 86 | Error::InvalidSampleRate(rate) => format!("{}: {}", self.description(), rate), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:87:76 [INFO] [stdout] | [INFO] [stdout] 87 | Error::InvalidChannels(channels) => format!("{}: {}", self.description(), channels), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:88:67 [INFO] [stdout] | [INFO] [stdout] 88 | Error::Opus(error_code) => format!("{}: {}", self.description(), &error_code), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | Error::EmptyPacket => self.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | Error::SignalsTooLarge => self.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | Error::PacketTooLarge => self.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:92:71 [INFO] [stdout] | [INFO] [stdout] 92 | Error::InvalidBitrate(rate) => format!("{}: {}", self.description(), rate), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:94:54 [INFO] [stdout] | [INFO] [stdout] 94 | format!("{}, expected: {}", self.description(), len) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | self[..].try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryInto` for the type `&'a [u8]` [INFO] [stdout] --> src/packet.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn try_into(self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 35 | TryInto::try_into(&self[..]) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 35 | std::convert::TryInto::try_into(self[..]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | self.as_mut_slice().try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `TryInto` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 74 | std::convert::TryInto::try_into(&mut self.as_mut_slice()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 74 | TryInto::try_into(&mut self.as_mut_slice()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe { Bandwidth::try_from(ffi::opus_packet_get_bandwidth(packet.as_ptr())) } [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Bandwidth` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | fn try_from(value: i32) -> 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] 104 | unsafe { TryFrom::try_from(ffi::opus_packet_get_bandwidth(packet.as_ptr())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe { std::convert::TryFrom::try_from(ffi::opus_packet_get_bandwidth(packet.as_ptr())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:308:33 [INFO] [stdout] | [INFO] [stdout] 308 | assert_matches!(Signal::try_from(ffi::OPUS_SIGNAL_MUSIC), Ok(Signal::Music)); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Signal` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn try_from(value: i32) -> 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] 308 | assert_matches!(TryFrom::try_from(ffi::OPUS_SIGNAL_MUSIC), Ok(Signal::Music)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 308 | assert_matches!(std::convert::TryFrom::try_from(ffi::OPUS_SIGNAL_MUSIC), Ok(Signal::Music)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | assert_matches!(Signal::try_from(ffi::OPUS_SIGNAL_VOICE), Ok(Signal::Voice)); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Signal` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn try_from(value: i32) -> 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] 309 | assert_matches!(TryFrom::try_from(ffi::OPUS_SIGNAL_VOICE), Ok(Signal::Voice)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 309 | assert_matches!(std::convert::TryFrom::try_from(ffi::OPUS_SIGNAL_VOICE), Ok(Signal::Voice)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:310:33 [INFO] [stdout] | [INFO] [stdout] 310 | assert_matches!(Signal::try_from(ffi::OPUS_AUTO), Ok(Signal::Auto)); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Signal` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn try_from(value: i32) -> 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] 310 | assert_matches!(TryFrom::try_from(ffi::OPUS_AUTO), Ok(Signal::Auto)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 310 | assert_matches!(std::convert::TryFrom::try_from(ffi::OPUS_AUTO), Ok(Signal::Auto)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | Ok(Channels::try_from(ffi::opus_packet_get_nb_channels( [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Channels` [INFO] [stdout] --> src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | fn try_from(value: i32) -> 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] 147 | Ok(TryFrom::try_from(ffi::opus_packet_get_nb_channels( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 147 | Ok(std::convert::TryFrom::try_from(ffi::opus_packet_get_nb_channels( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:311:33 [INFO] [stdout] | [INFO] [stdout] 311 | assert_matches!(Signal::try_from(0), Err(Error::InvalidSignal(0))); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Signal` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn try_from(value: i32) -> 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] 311 | assert_matches!(TryFrom::try_from(0), Err(Error::InvalidSignal(0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 311 | assert_matches!(std::convert::TryFrom::try_from(0), Err(Error::InvalidSignal(0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/coder/decoder.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | SampleRate, TryFrom, TryInto, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/coder/encoder.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | SampleRate, Signal, TryFrom, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/packet.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ffi, Bandwidth, Channels, Error, Result, SampleRate, TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | Application::try_from(ffi::OPUS_APPLICATION_AUDIO), [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Application` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn try_from(value: i32) -> 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] 317 | TryFrom::try_from(ffi::OPUS_APPLICATION_AUDIO), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 317 | std::convert::TryFrom::try_from(ffi::OPUS_APPLICATION_AUDIO), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | Application::try_from(ffi::OPUS_APPLICATION_VOIP), [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Application` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn try_from(value: i32) -> 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] 321 | TryFrom::try_from(ffi::OPUS_APPLICATION_VOIP), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 321 | std::convert::TryFrom::try_from(ffi::OPUS_APPLICATION_VOIP), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | Application::try_from(ffi::OPUS_APPLICATION_RESTRICTED_LOWDELAY), [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Application` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn try_from(value: i32) -> 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] 325 | TryFrom::try_from(ffi::OPUS_APPLICATION_RESTRICTED_LOWDELAY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 325 | std::convert::TryFrom::try_from(ffi::OPUS_APPLICATION_RESTRICTED_LOWDELAY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | assert_matches!(Application::try_from(11), Err(Error::InvalidApplication)); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Application` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn try_from(value: i32) -> 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] 328 | assert_matches!(TryFrom::try_from(11), Err(Error::InvalidApplication)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 328 | assert_matches!(std::convert::TryFrom::try_from(11), Err(Error::InvalidApplication)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/coder/decoder.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | .and_then(SampleRate::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `SampleRate` [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | fn try_from(value: i32) -> 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] 41 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 41 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `audiopus` [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | .and_then(SampleRate::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `SampleRate` [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | fn try_from(value: i32) -> 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] 61 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 61 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | .and_then(Application::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Application` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn try_from(value: i32) -> 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] 189 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 189 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | .and_then(Bitrate::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Bitrate` [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | fn try_from(value: i32) -> 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] 218 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 218 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:386:33 [INFO] [stdout] | [INFO] [stdout] 386 | .and_then(Channels::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Channels` [INFO] [stdout] --> src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | fn try_from(value: i32) -> 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 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 386 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:392:34 [INFO] [stdout] | [INFO] [stdout] 392 | .and_then(Bandwidth::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Bandwidth` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | fn try_from(value: i32) -> 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] 392 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 392 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:439:31 [INFO] [stdout] | [INFO] [stdout] 439 | .and_then(Signal::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Signal` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn try_from(value: i32) -> 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] 439 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 439 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/coder/encoder.rs:453:34 [INFO] [stdout] | [INFO] [stdout] 453 | .and_then(Bandwidth::try_from) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Bandwidth` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | fn try_from(value: i32) -> 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] 453 | .and_then(TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 453 | .and_then(std::convert::TryFrom::try_from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | Error::Opus(error_code) => error_code.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | Error::InvalidApplication => self.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | format!("{}: {}", self.description(), bandwidth) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | Error::InvalidSignal(signal) => format!("{}: {}", self.description(), signal), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | format!("{}: {}", self.description(), complexity) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:86:74 [INFO] [stdout] | [INFO] [stdout] 86 | Error::InvalidSampleRate(rate) => format!("{}: {}", self.description(), rate), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:87:76 [INFO] [stdout] | [INFO] [stdout] 87 | Error::InvalidChannels(channels) => format!("{}: {}", self.description(), channels), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:88:67 [INFO] [stdout] | [INFO] [stdout] 88 | Error::Opus(error_code) => format!("{}: {}", self.description(), &error_code), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | Error::EmptyPacket => self.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | Error::SignalsTooLarge => self.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | Error::PacketTooLarge => self.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:92:71 [INFO] [stdout] | [INFO] [stdout] 92 | Error::InvalidBitrate(rate) => format!("{}: {}", self.description(), rate), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:94:54 [INFO] [stdout] | [INFO] [stdout] 94 | format!("{}, expected: {}", self.description(), len) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | self[..].try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryInto` for the type `&'a [u8]` [INFO] [stdout] --> src/packet.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn try_into(self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 35 | TryInto::try_into(&self[..]) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 35 | std::convert::TryInto::try_into(self[..]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | self.as_mut_slice().try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `TryInto` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 74 | std::convert::TryInto::try_into(&mut self.as_mut_slice()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 74 | TryInto::try_into(&mut self.as_mut_slice()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe { Bandwidth::try_from(ffi::opus_packet_get_bandwidth(packet.as_ptr())) } [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Bandwidth` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | fn try_from(value: i32) -> 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] 104 | unsafe { TryFrom::try_from(ffi::opus_packet_get_bandwidth(packet.as_ptr())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe { std::convert::TryFrom::try_from(ffi::opus_packet_get_bandwidth(packet.as_ptr())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/packet.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | Ok(Channels::try_from(ffi::opus_packet_get_nb_channels( [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `Channels` [INFO] [stdout] --> src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | fn try_from(value: i32) -> 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] 147 | Ok(TryFrom::try_from(ffi::opus_packet_get_nb_channels( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 147 | Ok(std::convert::TryFrom::try_from(ffi::opus_packet_get_nb_channels( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/coder/decoder.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | SampleRate, TryFrom, TryInto, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/coder/encoder.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | SampleRate, Signal, TryFrom, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/packet.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ffi, Bandwidth, Channels, Error, Result, SampleRate, TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/lib.rs:303:50 [INFO] [stdout] | [INFO] [stdout] 303 | use super::{ffi, Application, Error, Signal, TryFrom}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0bc5300090456918cde0d99f2c6e50df434f740537b2e9b4e69c4cf42ba9913f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc5300090456918cde0d99f2c6e50df434f740537b2e9b4e69c4cf42ba9913f", kill_on_drop: false }` [INFO] [stdout] 0bc5300090456918cde0d99f2c6e50df434f740537b2e9b4e69c4cf42ba9913f