[INFO] cloning repository https://github.com/Keksoj/mqtt_ping_pong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Keksoj/mqtt_ping_pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeksoj%2Fmqtt_ping_pong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeksoj%2Fmqtt_ping_pong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13c5884b1690f29b8383da5d5d0f47d3aed91234 [INFO] testing Keksoj/mqtt_ping_pong against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeksoj%2Fmqtt_ping_pong" "/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/Keksoj/mqtt_ping_pong on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Keksoj/mqtt_ping_pong [INFO] finished tweaking git repo https://github.com/Keksoj/mqtt_ping_pong [INFO] tweaked toml for git repo https://github.com/Keksoj/mqtt_ping_pong written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Keksoj/mqtt_ping_pong already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-timer v0.1.1 [INFO] [stderr] Downloaded paho-mqtt v0.6.0 [INFO] [stderr] Downloaded paho-mqtt-sys v0.2.1 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8541204364c6d79cc3377c9f685e7a706badc4b302ee282d5210dfcd56fbf0b1 [INFO] running `Command { std: "docker" "start" "-a" "8541204364c6d79cc3377c9f685e7a706badc4b302ee282d5210dfcd56fbf0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8541204364c6d79cc3377c9f685e7a706badc4b302ee282d5210dfcd56fbf0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8541204364c6d79cc3377c9f685e7a706badc4b302ee282d5210dfcd56fbf0b1", kill_on_drop: false }` [INFO] [stdout] 8541204364c6d79cc3377c9f685e7a706badc4b302ee282d5210dfcd56fbf0b1 [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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 515cb4c7863a6ed81d6aaccec20c7e1b9cda1aaec9b5124c87fcad60a4b59fe5 [INFO] running `Command { std: "docker" "start" "-a" "515cb4c7863a6ed81d6aaccec20c7e1b9cda1aaec9b5124c87fcad60a4b59fe5", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling paho-mqtt-sys v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling futures-timer v0.1.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling paho-mqtt v0.6.0 [INFO] [stderr] Compiling mqtt_ping_pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SyncMqttClient` [INFO] [stdout] --> src/sync_pong.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use sync_lib::{SyncMqttClient, SyncMqttClientBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user_written_callback` in this scope [INFO] [stdout] --> src/async_lib.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 192 | self.client.set_message_callback(user_written_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user_written_callback` in this scope [INFO] [stdout] --> src/async_lib.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 192 | self.client.set_message_callback(user_written_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::user_written_callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncMqttClient` [INFO] [stdout] --> src/async_ping.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use async_lib::{AsyncMqttClient, AsyncMqttClientBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut<(&AsyncClient, Option)>` closure, found `T` [INFO] [stdout] --> src/async_lib.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | self.client.set_message_callback(user_written_callback); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^ expected an `FnMut<(&AsyncClient, Option)>` closure, found `T` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AsyncClient::set_message_callback` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/paho-mqtt-0.6.0/src/async_client.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | where F: FnMut(&AsyncClient, Option) + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncClient::set_message_callback` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 174 | pub fn set_message_callback std::ops::FnMut<(&'r paho_mqtt::AsyncClient, std::option::Option)>>(&self, user_written_callback: T) [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: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt_ping_pong` due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `SyncMqttClient` [INFO] [stdout] --> src/sync_ping.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use sync_lib::{SyncMqttClient, SyncMqttClientBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: expected a `FnMut<(&AsyncClient, Option)>` closure, found `T` [INFO] [stdout] --> src/async_lib.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | self.client.set_message_callback(user_written_callback); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^ expected an `FnMut<(&AsyncClient, Option)>` closure, found `T` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AsyncClient::set_message_callback` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/paho-mqtt-0.6.0/src/async_client.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | where F: FnMut(&AsyncClient, Option) + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AsyncClient::set_message_callback` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 174 | pub fn set_message_callback std::ops::FnMut<(&'r paho_mqtt::AsyncClient, std::option::Option)>>(&self, user_written_callback: T) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> fn(&'r AsyncMqttClient, Option) -> Result<(), Box<(dyn std::error::Error + 'static)>> {user_written_callback}: HandleMessage` is not satisfied [INFO] [stdout] --> src/async_pong.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | async_mqtt_client.set_message_callback(user_written_callback); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `HandleMessage` is not implemented for `for<'r> fn(&'r AsyncMqttClient, Option) -> Result<(), Box<(dyn std::error::Error + 'static)>> {user_written_callback}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AsyncMqttClient::set_message_callback` [INFO] [stdout] --> src/async_lib.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn set_message_callback(&self, user_written_callback: T) [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `AsyncMqttClient::set_message_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "515cb4c7863a6ed81d6aaccec20c7e1b9cda1aaec9b5124c87fcad60a4b59fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "515cb4c7863a6ed81d6aaccec20c7e1b9cda1aaec9b5124c87fcad60a4b59fe5", kill_on_drop: false }` [INFO] [stdout] 515cb4c7863a6ed81d6aaccec20c7e1b9cda1aaec9b5124c87fcad60a4b59fe5