[INFO] fetching crate mqtt 0.1.4... [INFO] testing mqtt-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mqtt 0.1.4 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mqtt 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.46) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.8) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.4) [INFO] [stderr] Adding nom v3.2.1 (available: v8.0.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding slab v0.3.0 (available: v0.4.11) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rotor v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6600b795a330fbbd3857cefbb74a64cf79157b3f050b906b52f6df9e4e9e6958 [INFO] running `Command { std: "docker" "start" "-a" "6600b795a330fbbd3857cefbb74a64cf79157b3f050b906b52f6df9e4e9e6958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6600b795a330fbbd3857cefbb74a64cf79157b3f050b906b52f6df9e4e9e6958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6600b795a330fbbd3857cefbb74a64cf79157b3f050b906b52f6df9e4e9e6958", kill_on_drop: false }` [INFO] [stdout] 6600b795a330fbbd3857cefbb74a64cf79157b3f050b906b52f6df9e4e9e6958 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 656b9b7eff21fe24a357360b7ee8c1e68022e9f2612dec1176f9742ea0a7452a [INFO] running `Command { std: "docker" "start" "-a" "656b9b7eff21fe24a357360b7ee8c1e68022e9f2612dec1176f9742ea0a7452a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [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 miniz_oxide v0.8.9 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling rotor v0.6.3 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling mqtt v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `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] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WriteTopicExt` is never used [INFO] [stdout] --> src/topic.rs:324:11 [INFO] [stdout] | [INFO] [stdout] 324 | pub trait WriteTopicExt: io::Write { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct Fsm(Arc>); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct TcpClient(Arc>); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keep_alive` is never read [INFO] [stdout] --> src/client.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct Client<'a, T: Transport, H: 'a + Handler> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | keep_alive: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | fn decode_variable_header<'a>(i: &[u8], fixed_header: FixedHeader) -> IResult<&[u8], Packet> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | fn decode_variable_header<'a>(i: &[u8], fixed_header: FixedHeader) -> IResult<&[u8], Packet<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | fn read_packet(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | fn read_packet(&self) -> Result, IError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn read_packet(i: &[u8]) -> Result<(&[u8], Packet), IError> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 262 | pub fn read_packet(i: &[u8]) -> Result<(&[u8], Packet<'_>), IError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v3.2.1, rotor v0.6.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "656b9b7eff21fe24a357360b7ee8c1e68022e9f2612dec1176f9742ea0a7452a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656b9b7eff21fe24a357360b7ee8c1e68022e9f2612dec1176f9742ea0a7452a", kill_on_drop: false }` [INFO] [stdout] 656b9b7eff21fe24a357360b7ee8c1e68022e9f2612dec1176f9742ea0a7452a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc74506b7ed3163bbb515c870e6f0bb299ada33bbc34d657b2e2aa7e40cf4c07 [INFO] running `Command { std: "docker" "start" "-a" "dc74506b7ed3163bbb515c870e6f0bb299ada33bbc34d657b2e2aa7e40cf4c07", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stdout] warning: use of deprecated method `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] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WriteTopicExt` is never used [INFO] [stdout] --> src/topic.rs:324:11 [INFO] [stdout] | [INFO] [stdout] 324 | pub trait WriteTopicExt: io::Write { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct Fsm(Arc>); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct TcpClient(Arc>); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keep_alive` is never read [INFO] [stdout] --> src/client.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct Client<'a, T: Transport, H: 'a + Handler> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | keep_alive: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | fn decode_variable_header<'a>(i: &[u8], fixed_header: FixedHeader) -> IResult<&[u8], Packet> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | fn decode_variable_header<'a>(i: &[u8], fixed_header: FixedHeader) -> IResult<&[u8], Packet<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | fn read_packet(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | fn read_packet(&self) -> Result, IError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn read_packet(i: &[u8]) -> Result<(&[u8], Packet), IError> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 262 | pub fn read_packet(i: &[u8]) -> Result<(&[u8], Packet<'_>), IError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling env_logger v0.4.3 [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] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt` (example "echo_client") due to 1 previous error [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 method `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] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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:39 [INFO] [stdout] | [INFO] [stdout] 378 | _ => Ready::none(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt` (example "echo_server") due to 1 previous error; 5 warnings emitted [INFO] [stdout] warning: use of deprecated method `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] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct Fsm(Arc>); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct TcpClient(Arc>); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keep_alive` is never read [INFO] [stdout] --> src/client.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct Client<'a, T: Transport, H: 'a + Handler> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | keep_alive: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | fn decode_variable_header<'a>(i: &[u8], fixed_header: FixedHeader) -> IResult<&[u8], Packet> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | fn decode_variable_header<'a>(i: &[u8], fixed_header: FixedHeader) -> IResult<&[u8], Packet<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | fn read_packet(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | fn read_packet(&self) -> Result, IError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decode.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn read_packet(i: &[u8]) -> Result<(&[u8], Packet), IError> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 262 | pub fn read_packet(i: &[u8]) -> Result<(&[u8], Packet<'_>), IError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dc74506b7ed3163bbb515c870e6f0bb299ada33bbc34d657b2e2aa7e40cf4c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc74506b7ed3163bbb515c870e6f0bb299ada33bbc34d657b2e2aa7e40cf4c07", kill_on_drop: false }` [INFO] [stdout] dc74506b7ed3163bbb515c870e6f0bb299ada33bbc34d657b2e2aa7e40cf4c07