[INFO] fetching crate embedded-mqtt 0.1.0... [INFO] checking embedded-mqtt-0.1.0 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate embedded-mqtt 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate embedded-mqtt 0.1.0 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fa7ab62ed955242ea540c44bff01325ded44d0fafa46174d6d3d96f79c3faf3 [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" "4fa7ab62ed955242ea540c44bff01325ded44d0fafa46174d6d3d96f79c3faf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fa7ab62ed955242ea540c44bff01325ded44d0fafa46174d6d3d96f79c3faf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa7ab62ed955242ea540c44bff01325ded44d0fafa46174d6d3d96f79c3faf3", kill_on_drop: false }` [INFO] [stdout] 4fa7ab62ed955242ea540c44bff01325ded44d0fafa46174d6d3d96f79c3faf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20f79693c57359d9cb0a6a6f15b72c71e5d7c19b0e87604941e9fb4f6ea2d75f [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" "20f79693c57359d9cb0a6a6f15b72c71e5d7c19b0e87604941e9fb4f6ea2d75f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [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] [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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 121 | std::io::Cursor::>::write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for the candidate [INFO] [stdout] | [INFO] [stdout] 121 | ByteOrder::write_u16(buf, 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/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 133 | std::io::Cursor::>::write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for the candidate [INFO] [stdout] | [INFO] [stdout] 133 | ByteOrder::write_u16(buf, 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/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | fn write_u16(buf: &mut [u8], n: u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 142 | std::io::Cursor::>::write_u16::(inp.len() as u16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for the candidate [INFO] [stdout] | [INFO] [stdout] 142 | ByteOrder::write_u16(buf, inp.len() as u16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "20f79693c57359d9cb0a6a6f15b72c71e5d7c19b0e87604941e9fb4f6ea2d75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f79693c57359d9cb0a6a6f15b72c71e5d7c19b0e87604941e9fb4f6ea2d75f", kill_on_drop: false }` [INFO] [stdout] 20f79693c57359d9cb0a6a6f15b72c71e5d7c19b0e87604941e9fb4f6ea2d75f