[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 beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeksoj%2Fmqtt_ping_pong" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Keksoj/mqtt_ping_pong on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-2/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18d9acfdf9c647af21c2de0f7da973f4c201e39d703f456d5480c8e5d3c4911e [INFO] running `Command { std: "docker" "start" "-a" "18d9acfdf9c647af21c2de0f7da973f4c201e39d703f456d5480c8e5d3c4911e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18d9acfdf9c647af21c2de0f7da973f4c201e39d703f456d5480c8e5d3c4911e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18d9acfdf9c647af21c2de0f7da973f4c201e39d703f456d5480c8e5d3c4911e", kill_on_drop: false }` [INFO] [stdout] 18d9acfdf9c647af21c2de0f7da973f4c201e39d703f456d5480c8e5d3c4911e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed2a251cc5aa637387eb85ae749b659503a17d3955f58c05963085a55fcd6101 [INFO] running `Command { std: "docker" "start" "-a" "ed2a251cc5aa637387eb85ae749b659503a17d3955f58c05963085a55fcd6101", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling paho-mqtt-sys v0.2.1 [INFO] [stderr] Compiling futures-timer v0.1.1 [INFO] [stderr] Compiling regex v1.3.7 [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] 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] [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] 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] 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] 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] [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] 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] [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" "ed2a251cc5aa637387eb85ae749b659503a17d3955f58c05963085a55fcd6101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed2a251cc5aa637387eb85ae749b659503a17d3955f58c05963085a55fcd6101", kill_on_drop: false }` [INFO] [stdout] ed2a251cc5aa637387eb85ae749b659503a17d3955f58c05963085a55fcd6101