[INFO] fetching crate try_buf 0.1.3... [INFO] testing try_buf-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate try_buf 0.1.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate try_buf 0.1.3 [INFO] finished tweaking crates.io crate try_buf 0.1.3 [INFO] tweaked toml for crates.io crate try_buf 0.1.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate try_buf 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a6cf76054a1fcd07658f655658a5c6bbefe99ef0b5c50b7fd31ee587b3e241d [INFO] running `Command { std: "docker" "start" "-a" "7a6cf76054a1fcd07658f655658a5c6bbefe99ef0b5c50b7fd31ee587b3e241d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a6cf76054a1fcd07658f655658a5c6bbefe99ef0b5c50b7fd31ee587b3e241d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a6cf76054a1fcd07658f655658a5c6bbefe99ef0b5c50b7fd31ee587b3e241d", kill_on_drop: false }` [INFO] [stdout] 7a6cf76054a1fcd07658f655658a5c6bbefe99ef0b5c50b7fd31ee587b3e241d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f601060bbd097ded5b26fe63e1f5a37bc38a863da7355ef445dcf6e66b3c2cba [INFO] running `Command { std: "docker" "start" "-a" "f601060bbd097ded5b26fe63e1f5a37bc38a863da7355ef445dcf6e66b3c2cba", kill_on_drop: false }` [INFO] [stderr] Compiling try_buf v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "f601060bbd097ded5b26fe63e1f5a37bc38a863da7355ef445dcf6e66b3c2cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f601060bbd097ded5b26fe63e1f5a37bc38a863da7355ef445dcf6e66b3c2cba", kill_on_drop: false }` [INFO] [stdout] f601060bbd097ded5b26fe63e1f5a37bc38a863da7355ef445dcf6e66b3c2cba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 440cb35cedbd7551564f21bea2f42f898c7aeeda3da9ec647f87a1c0db5059fd [INFO] running `Command { std: "docker" "start" "-a" "440cb35cedbd7551564f21bea2f42f898c7aeeda3da9ec647f87a1c0db5059fd", kill_on_drop: false }` [INFO] [stderr] Compiling try_buf v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let a = bytes.try_get_u8(); [INFO] [stdout] | ^^^^^^^^^^ multiple `try_get_u8` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | impl_try_get!(@impls_be u8 i8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 9 - let a = bytes.try_get_u8(); [INFO] [stdout] 9 + let a = TryBuf::try_get_u8(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 9 - let a = bytes.try_get_u8(); [INFO] [stdout] 9 + let a = Buf::try_get_u8(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let a = bytes.try_get_u8(); [INFO] [stdout] | ^^^^^^^^^^ multiple `try_get_u8` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | impl_try_get!(@impls_be u8 i8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 16 - let a = bytes.try_get_u8(); [INFO] [stdout] 16 + let a = TryBuf::try_get_u8(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 16 - let a = bytes.try_get_u8(); [INFO] [stdout] 16 + let a = Buf::try_get_u8(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let a = bytes.try_get_i8(); [INFO] [stdout] | ^^^^^^^^^^ multiple `try_get_i8` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | impl_try_get!(@impls_be u8 i8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 27 - let a = bytes.try_get_i8(); [INFO] [stdout] 27 + let a = TryBuf::try_get_i8(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 27 - let a = bytes.try_get_i8(); [INFO] [stdout] 27 + let a = Buf::try_get_i8(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let a = bytes.try_get_i8(); [INFO] [stdout] | ^^^^^^^^^^ multiple `try_get_i8` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | impl_try_get!(@impls_be u8 i8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 34 - let a = bytes.try_get_i8(); [INFO] [stdout] 34 + let a = TryBuf::try_get_i8(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 - let a = bytes.try_get_i8(); [INFO] [stdout] 34 + let a = Buf::try_get_i8(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let a = bytes.try_get_u16(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_u16` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 - let a = bytes.try_get_u16(); [INFO] [stdout] 46 + let a = TryBuf::try_get_u16(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 - let a = bytes.try_get_u16(); [INFO] [stdout] 46 + let a = Buf::try_get_u16(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let a = bytes.try_get_u16(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_u16` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 53 - let a = bytes.try_get_u16(); [INFO] [stdout] 53 + let a = TryBuf::try_get_u16(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 53 - let a = bytes.try_get_u16(); [INFO] [stdout] 53 + let a = Buf::try_get_u16(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let a = bytes.try_get_i16(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_i16` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 64 - let a = bytes.try_get_i16(); [INFO] [stdout] 64 + let a = TryBuf::try_get_i16(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 64 - let a = bytes.try_get_i16(); [INFO] [stdout] 64 + let a = Buf::try_get_i16(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | let a = bytes.try_get_i16(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_i16` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 71 - let a = bytes.try_get_i16(); [INFO] [stdout] 71 + let a = TryBuf::try_get_i16(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 71 - let a = bytes.try_get_i16(); [INFO] [stdout] 71 + let a = Buf::try_get_i16(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let a = bytes.try_get_u32(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_u32` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 83 - let a = bytes.try_get_u32(); [INFO] [stdout] 83 + let a = TryBuf::try_get_u32(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 83 - let a = bytes.try_get_u32(); [INFO] [stdout] 83 + let a = Buf::try_get_u32(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | let a = bytes.try_get_u32(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_u32` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 90 - let a = bytes.try_get_u32(); [INFO] [stdout] 90 + let a = TryBuf::try_get_u32(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 90 - let a = bytes.try_get_u32(); [INFO] [stdout] 90 + let a = Buf::try_get_u32(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let a = bytes.try_get_i32(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_i32` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 101 - let a = bytes.try_get_i32(); [INFO] [stdout] 101 + let a = TryBuf::try_get_i32(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 101 - let a = bytes.try_get_i32(); [INFO] [stdout] 101 + let a = Buf::try_get_i32(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let a = bytes.try_get_i32(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_i32` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 108 - let a = bytes.try_get_i32(); [INFO] [stdout] 108 + let a = TryBuf::try_get_i32(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 108 - let a = bytes.try_get_i32(); [INFO] [stdout] 108 + let a = Buf::try_get_i32(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | let a = bytes.try_get_u64(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_u64` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 120 - let a = bytes.try_get_u64(); [INFO] [stdout] 120 + let a = TryBuf::try_get_u64(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 120 - let a = bytes.try_get_u64(); [INFO] [stdout] 120 + let a = Buf::try_get_u64(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let a = bytes.try_get_u64(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_u64` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 127 - let a = bytes.try_get_u64(); [INFO] [stdout] 127 + let a = TryBuf::try_get_u64(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 127 - let a = bytes.try_get_u64(); [INFO] [stdout] 127 + let a = Buf::try_get_u64(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | let a = bytes.try_get_i64(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_i64` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 138 - let a = bytes.try_get_i64(); [INFO] [stdout] 138 + let a = TryBuf::try_get_i64(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 138 - let a = bytes.try_get_i64(); [INFO] [stdout] 138 + let a = Buf::try_get_i64(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | let a = bytes.try_get_i64(); [INFO] [stdout] | ^^^^^^^^^^^ multiple `try_get_i64` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 145 - let a = bytes.try_get_i64(); [INFO] [stdout] 145 + let a = TryBuf::try_get_i64(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 145 - let a = bytes.try_get_i64(); [INFO] [stdout] 145 + let a = Buf::try_get_i64(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | let a = bytes.try_get_u128(); [INFO] [stdout] | ^^^^^^^^^^^^ multiple `try_get_u128` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 157 - let a = bytes.try_get_u128(); [INFO] [stdout] 157 + let a = TryBuf::try_get_u128(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 157 - let a = bytes.try_get_u128(); [INFO] [stdout] 157 + let a = Buf::try_get_u128(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | let a = bytes.try_get_u128(); [INFO] [stdout] | ^^^^^^^^^^^^ multiple `try_get_u128` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 164 - let a = bytes.try_get_u128(); [INFO] [stdout] 164 + let a = TryBuf::try_get_u128(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 164 - let a = bytes.try_get_u128(); [INFO] [stdout] 164 + let a = Buf::try_get_u128(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | let a = bytes.try_get_i128(); [INFO] [stdout] | ^^^^^^^^^^^^ multiple `try_get_i128` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 175 - let a = bytes.try_get_i128(); [INFO] [stdout] 175 + let a = TryBuf::try_get_i128(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 175 - let a = bytes.try_get_i128(); [INFO] [stdout] 175 + let a = Buf::try_get_i128(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/test.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | let a = bytes.try_get_i128(); [INFO] [stdout] | ^^^^^^^^^^^^ multiple `try_get_i128` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TryBuf` for the type `B` [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn [](&mut self) -> $crate::Result<$type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | impl_try_get!(u16 u32 u64 u128 i16 i32 i64 i128 f32 f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Buf` for the type `bytes::Bytes` [INFO] [stdout] = note: this error originates in the macro `impl_try_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 182 - let a = bytes.try_get_i128(); [INFO] [stdout] 182 + let a = TryBuf::try_get_i128(&mut bytes); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 182 - let a = bytes.try_get_i128(); [INFO] [stdout] 182 + let a = Buf::try_get_i128(&mut bytes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `try_buf` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "440cb35cedbd7551564f21bea2f42f898c7aeeda3da9ec647f87a1c0db5059fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440cb35cedbd7551564f21bea2f42f898c7aeeda3da9ec647f87a1c0db5059fd", kill_on_drop: false }` [INFO] [stdout] 440cb35cedbd7551564f21bea2f42f898c7aeeda3da9ec647f87a1c0db5059fd