[INFO] cloning repository https://github.com/EngineersBox/Rust-MQTT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EngineersBox/Rust-MQTT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineersBox%2FRust-MQTT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineersBox%2FRust-MQTT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 286732c6eec2afeca54161fe8a274323c49d0f29 [INFO] checking EngineersBox/Rust-MQTT against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineersBox%2FRust-MQTT" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EngineersBox/Rust-MQTT on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EngineersBox/Rust-MQTT [INFO] finished tweaking git repo https://github.com/EngineersBox/Rust-MQTT [INFO] tweaked toml for git repo https://github.com/EngineersBox/Rust-MQTT written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/EngineersBox/Rust-MQTT already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v4.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79cf90c921bf078fc50dfa183cdd7e5e7b77b84b672d220e6c7141079f90e881 [INFO] running `Command { std: "docker" "start" "-a" "79cf90c921bf078fc50dfa183cdd7e5e7b77b84b672d220e6c7141079f90e881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79cf90c921bf078fc50dfa183cdd7e5e7b77b84b672d220e6c7141079f90e881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79cf90c921bf078fc50dfa183cdd7e5e7b77b84b672d220e6c7141079f90e881", kill_on_drop: false }` [INFO] [stdout] 79cf90c921bf078fc50dfa183cdd7e5e7b77b84b672d220e6c7141079f90e881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc368d5d7fca06baa60de87e6f8b9a092f5af53e80317fd43069b8676b46f639 [INFO] running `Command { std: "docker" "start" "-a" "dc368d5d7fca06baa60de87e6f8b9a092f5af53e80317fd43069b8676b46f639", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling paho-mqtt-sys v0.5.0 [INFO] [stderr] Checking java-properties v1.3.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v4.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking paho-mqtt v0.9.1 [INFO] [stderr] Checking rust-mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/logging/logging.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/analyser.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 49 | | ...ing message to verify as last or not [INFO] [stdout] | |______________________________________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] ... [INFO] [stdout] 102 | | ... /// Here we format the topic from `counter/{qos}/{delay}` by replacing `{qos}` and `{delay}` with their respective values [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | / ... Some(v) => vec![v.replace("{qos}", format!("{}", c_qos).as_str()).replace("{delay}", format!("{}", c_delay).as_str())], [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/logging/logging.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/logging/logging.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/analyser.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 49 | | ...ing message to verify as last or not [INFO] [stdout] | |______________________________________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] ... [INFO] [stdout] 102 | | ... /// Here we format the topic from `counter/{qos}/{delay}` by replacing `{qos}` and `{delay}` with their respective values [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | / ... Some(v) => vec![v.replace("{qos}", format!("{}", c_qos).as_str()).replace("{delay}", format!("{}", c_delay).as_str())], [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/logging/logging.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/config.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | panic!(exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ________________^ [INFO] [stdout] 111 | | 0:exceptions::InvalidConfigPropertyKeyError{key: String::from(key)}, [INFO] [stdout] 112 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 110 | panic!("{}", exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 110 | std::panic::panic_any(exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/config.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | panic!(exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ________________^ [INFO] [stdout] 111 | | 0:exceptions::InvalidConfigPropertyKeyError{key: String::from(key)}, [INFO] [stdout] 112 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 110 | panic!("{}", exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 110 | std::panic::panic_any(exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/config.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ________________^ [INFO] [stdout] 118 | | 0:exceptions::MissingConfigPropertyError{property: String::from(key)}, [INFO] [stdout] 119 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 117 | panic!("{}", exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 117 | std::panic::panic_any(exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/config.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ________________^ [INFO] [stdout] 118 | | 0:exceptions::MissingConfigPropertyError{property: String::from(key)}, [INFO] [stdout] 119 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 117 | panic!("{}", exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 117 | std::panic::panic_any(exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/config.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | panic!(exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ________________^ [INFO] [stdout] 111 | | 0:exceptions::InvalidConfigPropertyKeyError{key: String::from(key)}, [INFO] [stdout] 112 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 110 | panic!("{}", exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 110 | std::panic::panic_any(exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/config.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ________________^ [INFO] [stdout] 118 | | 0:exceptions::MissingConfigPropertyError{property: String::from(key)}, [INFO] [stdout] 119 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 117 | panic!("{}", exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 117 | std::panic::panic_any(exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/config.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | panic!(exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ________________^ [INFO] [stdout] 111 | | 0:exceptions::InvalidConfigPropertyKeyError{key: String::from(key)}, [INFO] [stdout] 112 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 110 | panic!("{}", exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 110 | std::panic::panic_any(exceptions::ConfigPropertiesError::InvalidConfigPropertyKeyError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/config.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ________________^ [INFO] [stdout] 118 | | 0:exceptions::MissingConfigPropertyError{property: String::from(key)}, [INFO] [stdout] 119 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 117 | panic!("{}", exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 117 | std::panic::panic_any(exceptions::ConfigPropertiesError::MissingConfigPropertyError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.28s [INFO] running `Command { std: "docker" "inspect" "dc368d5d7fca06baa60de87e6f8b9a092f5af53e80317fd43069b8676b46f639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc368d5d7fca06baa60de87e6f8b9a092f5af53e80317fd43069b8676b46f639", kill_on_drop: false }` [INFO] [stdout] dc368d5d7fca06baa60de87e6f8b9a092f5af53e80317fd43069b8676b46f639