[INFO] crate embedded-mqtt 0.1.0 is already in cache [INFO] checking embedded-mqtt-0.1.0 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate embedded-mqtt 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate embedded-mqtt 0.1.0 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 725027e0d3a3f8a827feb3e171bc80c78e8f34fad81a7ba1229ce56f68902655 [INFO] running `"docker" "start" "-a" "725027e0d3a3f8a827feb3e171bc80c78e8f34fad81a7ba1229ce56f68902655"` [INFO] [stderr] Checking embedded-mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/variable_header/connect.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | (offset + o) [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/variable_header/connect.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | (offset + o) [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/variable_header/connect.rs:195:13 [INFO] [stderr] | [INFO] [stderr] 195 | (offset + o) [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/variable_header/connect.rs:199:13 [INFO] [stderr] | [INFO] [stderr] 199 | (offset + o) [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `byteorder::WriteBytesExt` [INFO] [stderr] --> src/codec/string.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | use byteorder::WriteBytesExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `WriteBytesExt` in the root [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/variable_header/connect.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | (offset + o) [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/variable_header/connect.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | (offset + o) [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/variable_header/connect.rs:195:13 [INFO] [stderr] | [INFO] [stderr] 195 | (offset + o) [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/variable_header/connect.rs:199:13 [INFO] [stderr] | [INFO] [stderr] 199 | (offset + o) [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `std::io::Cursor>` in the current scope [INFO] [stderr] --> src/codec/string.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^ this is an associated function, not a method [INFO] [stderr] | [INFO] [stderr] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stderr] note: the candidate is defined in the trait `byteorder::ByteOrder` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/src/lib.rs:394:5 [INFO] [stderr] | [INFO] [stderr] 394 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: use associated function syntax instead [INFO] [stderr] | [INFO] [stderr] 121 | std::io::Cursor::>::write_u16::(inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: disambiguate the associated function for the candidate [INFO] [stderr] | [INFO] [stderr] 121 | byteorder::ByteOrder::write_u16(buf, inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `std::io::Cursor>` in the current scope [INFO] [stderr] --> src/codec/string.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^ this is an associated function, not a method [INFO] [stderr] | [INFO] [stderr] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stderr] note: the candidate is defined in the trait `byteorder::ByteOrder` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/src/lib.rs:394:5 [INFO] [stderr] | [INFO] [stderr] 394 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: use associated function syntax instead [INFO] [stderr] | [INFO] [stderr] 133 | std::io::Cursor::>::write_u16::(inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: disambiguate the associated function for the candidate [INFO] [stderr] | [INFO] [stderr] 133 | byteorder::ByteOrder::write_u16(buf, inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `std::io::Cursor>` in the current scope [INFO] [stderr] --> src/codec/string.rs:142:13 [INFO] [stderr] | [INFO] [stderr] 142 | buf.write_u16::(inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^ this is an associated function, not a method [INFO] [stderr] | [INFO] [stderr] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stderr] note: the candidate is defined in the trait `byteorder::ByteOrder` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/src/lib.rs:394:5 [INFO] [stderr] | [INFO] [stderr] 394 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: use associated function syntax instead [INFO] [stderr] | [INFO] [stderr] 142 | std::io::Cursor::>::write_u16::(inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: disambiguate the associated function for the candidate [INFO] [stderr] | [INFO] [stderr] 142 | byteorder::ByteOrder::write_u16(buf, inp.len() as u16).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `embedded-mqtt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "725027e0d3a3f8a827feb3e171bc80c78e8f34fad81a7ba1229ce56f68902655"` [INFO] running `"docker" "rm" "-f" "725027e0d3a3f8a827feb3e171bc80c78e8f34fad81a7ba1229ce56f68902655"` [INFO] [stdout] 725027e0d3a3f8a827feb3e171bc80c78e8f34fad81a7ba1229ce56f68902655