[INFO] cloning repository https://github.com/avrham408/mqtt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/avrham408/mqtt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrham408%2Fmqtt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrham408%2Fmqtt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28edb4e76bfeb6502ff1d29b2b6856b819e1fcd8 [INFO] checking avrham408/mqtt against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrham408%2Fmqtt" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/avrham408/mqtt on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/avrham408/mqtt [INFO] finished tweaking git repo https://github.com/avrham408/mqtt [INFO] tweaked toml for git repo https://github.com/avrham408/mqtt written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/avrham408/mqtt already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f71d89d90f3ccf8f982b53a139eb22260207a26e5613c98136b54568c6957f5 [INFO] running `Command { std: "docker" "start" "-a" "2f71d89d90f3ccf8f982b53a139eb22260207a26e5613c98136b54568c6957f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f71d89d90f3ccf8f982b53a139eb22260207a26e5613c98136b54568c6957f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f71d89d90f3ccf8f982b53a139eb22260207a26e5613c98136b54568c6957f5", kill_on_drop: false }` [INFO] [stdout] 2f71d89d90f3ccf8f982b53a139eb22260207a26e5613c98136b54568c6957f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93f435cb2f59f0d3794b85b16437f86002c9325c5fc7e660a5d03eee58dcb051 [INFO] running `Command { std: "docker" "start" "-a" "93f435cb2f59f0d3794b85b16437f86002c9325c5fc7e660a5d03eee58dcb051", kill_on_drop: false }` [INFO] [stderr] Checking mqtt_protocol v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/protocol.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 34 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/protocol.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 34 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Connack` found for enum `protocol::Packet` in the current scope [INFO] [stdout] --> src/protocol.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Packet { [INFO] [stdout] | --------------- variant or associated item `Connack` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 40 | CONNACK_BYTE => Ok(Packet::Connack(*Connack::parse(buf, header_flags)?)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Packet` [INFO] [stdout] | help: there is a variant with a similar name: `Connnack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Connack` found for enum `protocol::Packet` in the current scope [INFO] [stdout] --> src/protocol.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Packet { [INFO] [stdout] | --------------- variant or associated item `Connack` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 40 | CONNACK_BYTE => Ok(Packet::Connack(*Connack::parse(buf, header_flags)?)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Packet` [INFO] [stdout] | help: there is a variant with a similar name: `Connnack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `start_pos` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol.rs:215:46 [INFO] [stdout] | [INFO] [stdout] 215 | return Ok(Box::new(Self::unpack(buf, &mut start_pos, header_flags)?)); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 214 | let mut start_pos = 1; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt_protocol` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0596]: cannot borrow `start_pos` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol.rs:215:46 [INFO] [stdout] | [INFO] [stdout] 215 | return Ok(Box::new(Self::unpack(buf, &mut start_pos, header_flags)?)); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 214 | let mut start_pos = 1; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt_protocol` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "93f435cb2f59f0d3794b85b16437f86002c9325c5fc7e660a5d03eee58dcb051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f435cb2f59f0d3794b85b16437f86002c9325c5fc7e660a5d03eee58dcb051", kill_on_drop: false }` [INFO] [stdout] 93f435cb2f59f0d3794b85b16437f86002c9325c5fc7e660a5d03eee58dcb051