[INFO] fetching crate embedded-mqtt 0.1.0... [INFO] testing embedded-mqtt-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate embedded-mqtt 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate embedded-mqtt 0.1.0 [INFO] finished tweaking crates.io crate embedded-mqtt 0.1.0 [INFO] tweaked toml for crates.io crate embedded-mqtt 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-mqtt 0.1.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding bitfield v0.13.2 (available: v0.19.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 129063324fc1840d2db3261d4dcdacf2230ee68132baf3966ef90a6e63ce4798 [INFO] running `Command { std: "docker" "start" "-a" "129063324fc1840d2db3261d4dcdacf2230ee68132baf3966ef90a6e63ce4798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "129063324fc1840d2db3261d4dcdacf2230ee68132baf3966ef90a6e63ce4798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129063324fc1840d2db3261d4dcdacf2230ee68132baf3966ef90a6e63ce4798", kill_on_drop: false }` [INFO] [stdout] 129063324fc1840d2db3261d4dcdacf2230ee68132baf3966ef90a6e63ce4798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f935e144ea59397bf5c29be8cf10f291313d809eca9ba22a2078a4704220c65 [INFO] running `Command { std: "docker" "start" "-a" "8f935e144ea59397bf5c29be8cf10f291313d809eca9ba22a2078a4704220c65", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling embedded-mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - (offset + o) [INFO] [stdout] 187 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - (offset + o) [INFO] [stdout] 191 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - (offset + o) [INFO] [stdout] 195 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - (offset + o) [INFO] [stdout] 199 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn variable_header(&self) -> &Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn variable_header(&self) -> &Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn payload(&self) -> &Payload { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn payload(&self) -> &Payload<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/payload/subscribe.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn topics(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn topics(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "8f935e144ea59397bf5c29be8cf10f291313d809eca9ba22a2078a4704220c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f935e144ea59397bf5c29be8cf10f291313d809eca9ba22a2078a4704220c65", kill_on_drop: false }` [INFO] [stdout] 8f935e144ea59397bf5c29be8cf10f291313d809eca9ba22a2078a4704220c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cfdcd2085023370c9fcd2f341afde7678d01f2029375ae1df50cc2e9b1065d7 [INFO] running `Command { std: "docker" "start" "-a" "9cfdcd2085023370c9fcd2f341afde7678d01f2029375ae1df50cc2e9b1065d7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - (offset + o) [INFO] [stdout] 187 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - (offset + o) [INFO] [stdout] 191 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - (offset + o) [INFO] [stdout] 195 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - (offset + o) [INFO] [stdout] 199 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn variable_header(&self) -> &Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn variable_header(&self) -> &Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/packet.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn payload(&self) -> &Payload { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn payload(&self) -> &Payload<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/payload/subscribe.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn topics(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn topics(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `byteorder::WriteBytesExt` [INFO] [stdout] --> src/codec/string.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | use byteorder::WriteBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `WriteBytesExt` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/lib.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 82 | pub use crate::io::{ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - (offset + o) [INFO] [stdout] 187 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - (offset + o) [INFO] [stdout] 191 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - (offset + o) [INFO] [stdout] 195 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/variable_header/connect.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | (offset + o) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - (offset + o) [INFO] [stdout] 199 + offset + o [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u16` found for struct `std::io::Cursor` in the current scope [INFO] [stdout] --> src/codec/string.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] | ^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `ByteOrder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/lib.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 121 - buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] 121 + std::io::Cursor>::write_u16(inp.len() as u16).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 121 - buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] 121 + buf.write::(inp.len() as u16).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u16` found for struct `std::io::Cursor` in the current scope [INFO] [stdout] --> src/codec/string.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] | ^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `ByteOrder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/lib.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 133 - buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] 133 + std::io::Cursor>::write_u16(inp.len() as u16).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 - buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] 133 + buf.write::(inp.len() as u16).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u16` found for struct `std::io::Cursor` in the current scope [INFO] [stdout] --> src/codec/string.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] | ^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `ByteOrder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/lib.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 142 - buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] 142 + std::io::Cursor>::write_u16(inp.len() as u16).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 142 - buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] 142 + buf.write::(inp.len() as u16).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-mqtt` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9cfdcd2085023370c9fcd2f341afde7678d01f2029375ae1df50cc2e9b1065d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cfdcd2085023370c9fcd2f341afde7678d01f2029375ae1df50cc2e9b1065d7", kill_on_drop: false }` [INFO] [stdout] 9cfdcd2085023370c9fcd2f341afde7678d01f2029375ae1df50cc2e9b1065d7