[INFO] fetching crate mqtt 0.1.4... [INFO] testing mqtt-0.1.4 against 1.49.0 for beta-1.50-1 [INFO] extracting crate mqtt 0.1.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate mqtt 0.1.4 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mqtt 0.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mqtt 0.1.4 [INFO] tweaked toml for crates.io crate mqtt 0.1.4 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e14fdfb867c065fe9299528b6746ada1cca1326ecdad7044753c9e26647929f0 [INFO] running `Command { std: "docker" "start" "-a" "e14fdfb867c065fe9299528b6746ada1cca1326ecdad7044753c9e26647929f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e14fdfb867c065fe9299528b6746ada1cca1326ecdad7044753c9e26647929f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14fdfb867c065fe9299528b6746ada1cca1326ecdad7044753c9e26647929f0", kill_on_drop: false }` [INFO] [stdout] e14fdfb867c065fe9299528b6746ada1cca1326ecdad7044753c9e26647929f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3964cb131b13722735889717567a499f033cf95c0f2f202de332016b7442b4d0 [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" "3964cb131b13722735889717567a499f033cf95c0f2f202de332016b7442b4d0", kill_on_drop: false }` [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling quick-error v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling rotor v0.6.3 [INFO] [stderr] Compiling mqtt v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keep_alive` [INFO] [stdout] --> src/client.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | keep_alive: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.39s [INFO] running `Command { std: "docker" "inspect" "3964cb131b13722735889717567a499f033cf95c0f2f202de332016b7442b4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3964cb131b13722735889717567a499f033cf95c0f2f202de332016b7442b4d0", kill_on_drop: false }` [INFO] [stdout] 3964cb131b13722735889717567a499f033cf95c0f2f202de332016b7442b4d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3a0f6ff9e7f60123baee478e71c00d1fb2981bdd2df4c0f69a73d5ee78c392d [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" "b3a0f6ff9e7f60123baee478e71c00d1fb2981bdd2df4c0f69a73d5ee78c392d", kill_on_drop: false }` [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keep_alive` [INFO] [stdout] --> src/client.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | keep_alive: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mqtt v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `echo_client` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `examples/echo_client.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt` [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[E0432]: unresolved imports `bytes::ByteBuf`, `bytes::SliceBuf` [INFO] [stdout] --> examples/echo_server.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ no `SliceBuf` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ByteBuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> examples/echo_server.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / error_chain!{ [INFO] [stdout] 35 | | types { [INFO] [stdout] 36 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 37 | | } [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> examples/echo_server.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / error_chain!{ [INFO] [stdout] 35 | | types { [INFO] [stdout] 36 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 37 | | } [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mio::Event::kind`: use Event::readiness() [INFO] [stdout] --> examples/echo_server.rs:123:62 [INFO] [stdout] | [INFO] [stdout] 123 | ... entry.get_mut().handle(event.kind(), poll)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mio::Ready::is_hup`: use UnixReady instead [INFO] [stdout] --> examples/echo_server.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | _ if ready.is_hup() => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mio::Ready::none`: use Ready::empty instead [INFO] [stdout] --> examples/echo_server.rs:378:32 [INFO] [stdout] | [INFO] [stdout] 378 | _ => Ready::none(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> examples/echo_server.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / error_chain!{ [INFO] [stdout] 35 | | types { [INFO] [stdout] 36 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 37 | | } [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> examples/echo_server.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufMut` [INFO] [stdout] --> examples/echo_server.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain!{ [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Fmt(::std::fmt::Error); [INFO] [stdout] 6 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keep_alive` [INFO] [stdout] --> src/client.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | keep_alive: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b3a0f6ff9e7f60123baee478e71c00d1fb2981bdd2df4c0f69a73d5ee78c392d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3a0f6ff9e7f60123baee478e71c00d1fb2981bdd2df4c0f69a73d5ee78c392d", kill_on_drop: false }` [INFO] [stdout] b3a0f6ff9e7f60123baee478e71c00d1fb2981bdd2df4c0f69a73d5ee78c392d