[INFO] cloning repository https://github.com/phuongtran7/ditto_sender [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phuongtran7/ditto_sender" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphuongtran7%2Fditto_sender", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphuongtran7%2Fditto_sender'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd9ed8bf7b1a273bf7246b7dc504dd36f961b074 [INFO] checking phuongtran7/ditto_sender against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphuongtran7%2Fditto_sender" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phuongtran7/ditto_sender on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phuongtran7/ditto_sender [INFO] removed path dependency paho-mqtt from git repo https://github.com/phuongtran7/ditto_sender [INFO] finished tweaking git repo https://github.com/phuongtran7/ditto_sender [INFO] tweaked toml for git repo https://github.com/phuongtran7/ditto_sender written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/phuongtran7/ditto_sender already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (paho-mqtt) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (paho-mqtt) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ab02aa1ab295871ba21c38ffca3817b3c27ac885d464cf25b1a751b84897f2f [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" "2ab02aa1ab295871ba21c38ffca3817b3c27ac885d464cf25b1a751b84897f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ab02aa1ab295871ba21c38ffca3817b3c27ac885d464cf25b1a751b84897f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab02aa1ab295871ba21c38ffca3817b3c27ac885d464cf25b1a751b84897f2f", kill_on_drop: false }` [INFO] [stdout] 2ab02aa1ab295871ba21c38ffca3817b3c27ac885d464cf25b1a751b84897f2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94d7d33231f71c9542be843d56d374bb54dacf19309c2108f0c29e525fc3dd4c [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" "94d7d33231f71c9542be843d56d374bb54dacf19309c2108f0c29e525fc3dd4c", kill_on_drop: false }` [INFO] [stderr] warning: dependency (paho-mqtt) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling paho-mqtt-sys v0.3.0 [INFO] [stderr] Checking futures-timer v0.1.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking paho-mqtt v0.7.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking flexbuffers v0.1.1 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking ditto_sender v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `mqtt` [INFO] [stdout] --> src/main.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | Ok::<(), mqtt::Error>(()) [INFO] [stdout] | ^^^^^ not found in `mqtt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `QOS_0` in crate `mqtt` [INFO] [stdout] --> src/main.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | let msg = mqtt::Message::new(&clone_topic, data, mqtt::QOS_0); [INFO] [stdout] | ^^^^^ not found in `mqtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `mqtt` [INFO] [stdout] --> src/main.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | Ok::<(), mqtt::Error>(()) [INFO] [stdout] | ^^^^^ not found in `mqtt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `QOS_0` in crate `mqtt` [INFO] [stdout] --> src/main.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | let msg = mqtt::Message::new(&clone_topic, data, mqtt::QOS_0); [INFO] [stdout] | ^^^^^ not found in `mqtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Token` is not a future [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | cli.connect(conn_opts).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Token` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Token` [INFO] [stdout] = note: required by `futures::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `DeliveryToken` in the current scope [INFO] [stdout] --> src/main.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | match cli.publish(msg).wait() { [INFO] [stdout] | ^^^^ method not found in `DeliveryToken` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.30/src/future/mod.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn wait(self) -> result::Result [INFO] [stdout] | ---- the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ditto_sender` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `Token` is not a future [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | cli.connect(conn_opts).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Token` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Token` [INFO] [stdout] = note: required by `futures::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `DeliveryToken` in the current scope [INFO] [stdout] --> src/main.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | match cli.publish(msg).wait() { [INFO] [stdout] | ^^^^ method not found in `DeliveryToken` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.30/src/future/mod.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn wait(self) -> result::Result [INFO] [stdout] | ---- the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "94d7d33231f71c9542be843d56d374bb54dacf19309c2108f0c29e525fc3dd4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d7d33231f71c9542be843d56d374bb54dacf19309c2108f0c29e525fc3dd4c", kill_on_drop: false }` [INFO] [stdout] 94d7d33231f71c9542be843d56d374bb54dacf19309c2108f0c29e525fc3dd4c