[INFO] fetching crate spectacles-brokers 1.4.0... [INFO] testing spectacles-brokers-1.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate spectacles-brokers 1.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate spectacles-brokers 1.4.0 [INFO] finished tweaking crates.io crate spectacles-brokers 1.4.0 [INFO] tweaked toml for crates.io crate spectacles-brokers 1.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spectacles-brokers 1.4.0 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 211 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding futures-retry v0.3.3 (available: v0.6.0) [INFO] [stderr] Adding parking_lot v0.7.1 (available: v0.12.4) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [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] Downloading crates ... [INFO] [stderr] Downloaded lapin-futures-native-tls v0.10.1 [INFO] [stderr] Downloaded lapin-futures v0.18.0 [INFO] [stderr] Downloaded lapin-async v0.18.0 [INFO] [stderr] Downloaded futures-backoff v0.1.0 [INFO] [stderr] Downloaded trust-dns-native-tls v0.6.3 [INFO] [stderr] Downloaded lapin-futures-tls-internal v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a83e4c761f3d2c8a269f6c6732556374a5f5f999a6c287310cdec90346af507f [INFO] running `Command { std: "docker" "start" "-a" "a83e4c761f3d2c8a269f6c6732556374a5f5f999a6c287310cdec90346af507f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a83e4c761f3d2c8a269f6c6732556374a5f5f999a6c287310cdec90346af507f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83e4c761f3d2c8a269f6c6732556374a5f5f999a6c287310cdec90346af507f", kill_on_drop: false }` [INFO] [stdout] a83e4c761f3d2c8a269f6c6732556374a5f5f999a6c287310cdec90346af507f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6aca26e48dd1b4528128819257b46fc8a555df946720c94b030ec305fe3c74ab [INFO] running `Command { std: "docker" "start" "-a" "6aca26e48dd1b4528128819257b46fc8a555df946720c94b030ec305fe3c74ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling futures-timer v0.1.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling futures-retry v0.3.3 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling futures-backoff v0.1.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling trust-dns-native-tls v0.6.3 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Compiling lapin-async v0.18.0 [INFO] [stderr] Compiling lapin-futures v0.18.0 [INFO] [stderr] Compiling lapin-futures-tls-internal v0.7.1 [INFO] [stderr] Compiling lapin-futures-native-tls v0.10.1 [INFO] [stderr] Compiling spectacles-brokers v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | error::Error as LapinTlsError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | LapinTls(Compat), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | fn from(err: LapinTlsError) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `lapin_futures_native_tls::AMQPConnectionNativeTlsExt`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use lapin_futures_native_tls::{AMQPConnectionNativeTlsExt, AMQPStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use lapin_futures_native_tls::{AMQPConnectionNativeTlsExt, AMQPStream}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | channel: Channel, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lapin_futures_native_tls::AMQPConnectionNativeTlsExt::connect_cancellable`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:96:66 [INFO] [stdout] | [INFO] [stdout] 96 | let producer = retry_strategy.retry(move || uri.as_str().connect_cancellable(|err| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lapin_futures_native_tls::AMQPConnectionNativeTlsExt::connect_cancellable`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:99:71 [INFO] [stdout] | [INFO] [stdout] 99 | let consumer = retry_strategy.retry(move || amqp_uri.as_str().connect_cancellable(|err| { [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/errors.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | f.write_str(self.description()) [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/errors.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | Error::Lapin(e) => e.description(), [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/errors.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | Error::LapinTls(e) => e.description(), [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/errors.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Io(e) => e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection` and `heartbeat` are never read [INFO] [stdout] --> src/amqp.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct ProducerState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 51 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | heartbeat: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heartbeat` is never read [INFO] [stdout] --> src/amqp.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct ConsumerState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 58 | connection: LapinClient, [INFO] [stdout] 59 | heartbeat: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsumerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "6aca26e48dd1b4528128819257b46fc8a555df946720c94b030ec305fe3c74ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aca26e48dd1b4528128819257b46fc8a555df946720c94b030ec305fe3c74ab", kill_on_drop: false }` [INFO] [stdout] 6aca26e48dd1b4528128819257b46fc8a555df946720c94b030ec305fe3c74ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] efe51132084470003d3103658dee5c322b1e1f479b3970badcd7938a20ae6eb4 [INFO] running `Command { std: "docker" "start" "-a" "efe51132084470003d3103658dee5c322b1e1f479b3970badcd7938a20ae6eb4", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | error::Error as LapinTlsError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | LapinTls(Compat), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | fn from(err: LapinTlsError) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `lapin_futures_native_tls::AMQPConnectionNativeTlsExt`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use lapin_futures_native_tls::{AMQPConnectionNativeTlsExt, AMQPStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use lapin_futures_native_tls::{AMQPConnectionNativeTlsExt, AMQPStream}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | channel: Channel, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lapin_futures_native_tls::AMQPConnectionNativeTlsExt::connect_cancellable`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:96:66 [INFO] [stdout] | [INFO] [stdout] 96 | let producer = retry_strategy.retry(move || uri.as_str().connect_cancellable(|err| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lapin_futures_native_tls::AMQPConnectionNativeTlsExt::connect_cancellable`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:99:71 [INFO] [stdout] | [INFO] [stdout] 99 | let consumer = retry_strategy.retry(move || amqp_uri.as_str().connect_cancellable(|err| { [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/errors.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | f.write_str(self.description()) [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/errors.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | Error::Lapin(e) => e.description(), [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/errors.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | Error::LapinTls(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spectacles-brokers v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Io(e) => e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection` and `heartbeat` are never read [INFO] [stdout] --> src/amqp.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct ProducerState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 51 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | heartbeat: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heartbeat` is never read [INFO] [stdout] --> src/amqp.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct ConsumerState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 58 | connection: LapinClient, [INFO] [stdout] 59 | heartbeat: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsumerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | error::Error as LapinTlsError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | LapinTls(Compat), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | fn from(err: LapinTlsError) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `lapin_futures_native_tls::AMQPConnectionNativeTlsExt`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use lapin_futures_native_tls::{AMQPConnectionNativeTlsExt, AMQPStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use lapin_futures_native_tls::{AMQPConnectionNativeTlsExt, AMQPStream}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | channel: Channel, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lapin_futures_native_tls::AMQPConnectionNativeTlsExt::connect_cancellable`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:96:66 [INFO] [stdout] | [INFO] [stdout] 96 | let producer = retry_strategy.retry(move || uri.as_str().connect_cancellable(|err| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `lapin_futures_native_tls::AMQPConnectionNativeTlsExt::connect_cancellable`: use lapin directly instead [INFO] [stdout] --> src/amqp.rs:99:71 [INFO] [stdout] | [INFO] [stdout] 99 | let consumer = retry_strategy.retry(move || amqp_uri.as_str().connect_cancellable(|err| { [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/errors.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | f.write_str(self.description()) [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/errors.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | Error::Lapin(e) => e.description(), [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/errors.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | Error::LapinTls(e) => e.description(), [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/errors.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Io(e) => e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection` and `heartbeat` are never read [INFO] [stdout] --> src/amqp.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct ProducerState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 51 | connection: LapinClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | heartbeat: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heartbeat` is never read [INFO] [stdout] --> src/amqp.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct ConsumerState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 58 | connection: LapinClient, [INFO] [stdout] 59 | heartbeat: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsumerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "efe51132084470003d3103658dee5c322b1e1f479b3970badcd7938a20ae6eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe51132084470003d3103658dee5c322b1e1f479b3970badcd7938a20ae6eb4", kill_on_drop: false }` [INFO] [stdout] efe51132084470003d3103658dee5c322b1e1f479b3970badcd7938a20ae6eb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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", kill_on_drop: false }` [INFO] [stdout] fcf654975e681d130f2274ce77ea292f9d791849d092b5c5fd435c30b7b8d15b [INFO] running `Command { std: "docker" "start" "-a" "fcf654975e681d130f2274ce77ea292f9d791849d092b5c5fd435c30b7b8d15b", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stderr] --> src/errors.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | error::Error as LapinTlsError, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stderr] --> src/errors.rs:17:21 [INFO] [stderr] | [INFO] [stderr] 17 | LapinTls(Compat), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stderr] --> src/errors.rs:43:11 [INFO] [stderr] | [INFO] [stderr] 43 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stderr] --> src/errors.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | fn from(err: LapinTlsError) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `lapin_futures_native_tls::AMQPConnectionNativeTlsExt`: use lapin directly instead [INFO] [stderr] --> src/amqp.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | use lapin_futures_native_tls::{AMQPConnectionNativeTlsExt, AMQPStream}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stderr] --> src/amqp.rs:7:60 [INFO] [stderr] | [INFO] [stderr] 7 | use lapin_futures_native_tls::{AMQPConnectionNativeTlsExt, AMQPStream}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stderr] --> src/amqp.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | connection: LapinClient, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stderr] --> src/amqp.rs:53:22 [INFO] [stderr] | [INFO] [stderr] 53 | channel: Channel, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `lapin_futures_native_tls::AMQPStream`: use lapin directly instead [INFO] [stderr] --> src/amqp.rs:58:29 [INFO] [stderr] | [INFO] [stderr] 58 | connection: LapinClient, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `lapin_futures_native_tls::AMQPConnectionNativeTlsExt::connect_cancellable`: use lapin directly instead [INFO] [stderr] --> src/amqp.rs:96:66 [INFO] [stderr] | [INFO] [stderr] 96 | let producer = retry_strategy.retry(move || uri.as_str().connect_cancellable(|err| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `lapin_futures_native_tls::AMQPConnectionNativeTlsExt::connect_cancellable`: use lapin directly instead [INFO] [stderr] --> src/amqp.rs:99:71 [INFO] [stderr] | [INFO] [stderr] 99 | let consumer = retry_strategy.retry(move || amqp_uri.as_str().connect_cancellable(|err| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | f.write_str(self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:30:34 [INFO] [stderr] | [INFO] [stderr] 30 | Error::Lapin(e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:31:37 [INFO] [stderr] | [INFO] [stderr] 31 | Error::LapinTls(e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:32:31 [INFO] [stderr] | [INFO] [stderr] 32 | Error::Io(e) => e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `connection` and `heartbeat` are never read [INFO] [stderr] --> src/amqp.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 50 | struct ProducerState { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 51 | connection: LapinClient, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 52 | heartbeat: Arc, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProducerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `heartbeat` is never read [INFO] [stderr] --> src/amqp.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 57 | struct ConsumerState { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 58 | connection: LapinClient, [INFO] [stderr] 59 | heartbeat: Arc, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConsumerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `spectacles-brokers` (lib) generated 17 warnings [INFO] [stderr] warning: `spectacles-brokers` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spectacles_brokers-f5147d72a67712f1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests spectacles_brokers [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / //! # spectacles-brokers [INFO] [stderr] 2 | | //! [INFO] [stderr] 3 | | //! Message brokers which allow for simple communication between Spectacles services. [INFO] [stderr] 4 | | //! [INFO] [stderr] ... | [INFO] [stderr] 33 | | //! [INFO] [stderr] 34 | | //! More examples can be found in the examples directory on Github. [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/amqp.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | / /// Creates a new AMQP-based message broker, with the provided address, and groups. [INFO] [stderr] 75 | | /// # Example [INFO] [stderr] 76 | | /// ```rust,norun [INFO] [stderr] 77 | | /// use std::env::var; [INFO] [stderr] ... | [INFO] [stderr] 89 | | /// } [INFO] [stderr] 90 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/amqp.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | / /// Publishes a payload for the provided event to the message brokers. [INFO] [stderr] 122 | | /// You must serialize all payloads to a Vector of bytes. [INFO] [stderr] 123 | | /// This method accepts an AMQPProperties struct which will set the AMQP properties for this message. [INFO] [stderr] 124 | | /// See [here](https://docs.rs/amq-protocol/1.2.0/amq_protocol/protocol/basic/struct.AMQPProperties.html) for more details on the var... [INFO] [stderr] ... | [INFO] [stderr] 135 | | /// ``` [INFO] [stderr] 136 | | /// [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/amqp.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | / /// Attempts to consume the provided event. Returns a stream, which is populated with each incoming AMQP message. [INFO] [stderr] 149 | | /// # Example [INFO] [stderr] 150 | | /// ```rust,norun [INFO] [stderr] 151 | | /// -- snip -- [INFO] [stderr] ... | [INFO] [stderr] 162 | | /// ``` [INFO] [stderr] 163 | | /// [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/amqp.rs - amqp::AmqpBroker::publish (line 128) ... FAILED [INFO] [stdout] test src/amqp.rs - amqp::AmqpBroker::consume (line 150) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] test src/amqp.rs - amqp::AmqpBroker::new (line 76) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/amqp.rs - amqp::AmqpBroker::publish (line 128) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AmqpBroker` [INFO] [stdout] --> src/amqp.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 3 | AmqpBroker::new(AMQP_URI, "mygroup".to_string(), None) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AmqpBroker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use spectacles_brokers::amqp::AmqpBroker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AMQP_URI` in this scope [INFO] [stdout] --> src/amqp.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 3 | AmqpBroker::new(AMQP_URI, "mygroup".to_string(), None) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AmqpProperties` [INFO] [stdout] --> src/amqp.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 7 | AmqpProperties::default().with_content_type("application/json") [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AmqpProperties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use spectacles_brokers::amqp::AmqpProperties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/amqp.rs - amqp::AmqpBroker::consume (line 150) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `snip` in this scope [INFO] [stdout] --> src/amqp.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 3 | -- snip -- [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AmqpBroker` [INFO] [stdout] --> src/amqp.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 4 | AmqpBroker::new(addr, "mygroup", None) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AmqpBroker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use spectacles_brokers::amqp::AmqpBroker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `addr` in this scope [INFO] [stdout] --> src/amqp.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 4 | AmqpBroker::new(addr, "mygroup", None) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `payload` in this scope [INFO] [stdout] --> src/amqp.rs:155:48 [INFO] [stdout] | [INFO] [stdout] 7 | println!("Message Event Received: {}", payload); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] warning: use of a double negation [INFO] [stdout] --> src/amqp.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 3 | -- snip -- [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the prefix `--` could be misinterpreted as a decrement operator which exists in other languages [INFO] [stdout] = note: use `-= 1` if you meant to decrement the value [INFO] [stdout] = note: `#[warn(double_negations)]` on by default [INFO] [stdout] help: add parentheses for clarity [INFO] [stdout] | [INFO] [stdout] 3 | -(- snip) -- [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `spectacles_brokers::AmqpBroker` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | use spectacles_brokers::AmqpBroker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AmqpBroker` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 7 | use spectacles_brokers::amqp::AmqpBroker; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 11 | let addr: SocketAddr = addr.parse(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^ expected `SocketAddr`, found `Result<_, _>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::net::SocketAddr` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<_, _>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 11 | let addr: SocketAddr = addr.parse().expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/amqp.rs - amqp::AmqpBroker::new (line 76) stdout ---- [INFO] [stdout] error[E0585]: found a documentation comment that doesn't document anything [INFO] [stdout] --> src/amqp.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 13 | /// Publish and subscribe to events here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: doc comments must come before what they document, if a comment was intended use `//` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::future::future` [INFO] [stdout] --> src/amqp.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `future` in `future` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 6 - use futures::future::future; [INFO] [stdout] 6 + use futures::future::Future; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 6 - use futures::future::future; [INFO] [stdout] 6 + use std::future; [INFO] [stdout] | [INFO] [stdout] 6 - use futures::future::future; [INFO] [stdout] 6 + use futures::future; [INFO] [stdout] | [INFO] [stdout] 6 - use futures::future::future; [INFO] [stdout] 6 + use tokio::prelude::future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: `impl Future` is not an iterator [INFO] [stdout] --> src/amqp.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 11 | / AmqpBroker::new(amqp, "mygroup".to_string(), None) [INFO] [stdout] 12 | | .map(|broker| { [INFO] [stdout] | | -^^^ `impl Future` is not an iterator [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl futures::Future: Iterator` [INFO] [stdout] which is required by `&mut impl futures::Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestDwIRzJ/rust_out.long-type-14195806925865054446.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: trait `Future` which provides `map` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use futures::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied [INFO] [stdout] --> src/amqp.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 10 | tokio::run({ [INFO] [stdout] | _____----------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 11 | | AmqpBroker::new(amqp, "mygroup".to_string(), None) [INFO] [stdout] 12 | | .map(|broker| { [INFO] [stdout] 13 | | /// Publish and subscribe to events here. [INFO] [stdout] 14 | | }); [INFO] [stdout] 15 | | }); [INFO] [stdout] | |_____^ the trait `futures::Future` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Future`: [INFO] [stdout] &'a mut F [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] BiLockAcquire [INFO] [stdout] Box [INFO] [stdout] CloneFuture [INFO] [stdout] Concat2 [INFO] [stdout] CreateFuture

[INFO] [stdout] Delay [INFO] [stdout] and 113 others [INFO] [stdout] note: required by a bound in `tokio::run` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.1.22/src/runtime/threadpool/mod.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn run(future: F) [INFO] [stdout] | --- required by a bound in this function [INFO] [stdout] 102 | where F: Future + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `run` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0585, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/amqp.rs - amqp::AmqpBroker::consume (line 150) [INFO] [stdout] src/amqp.rs - amqp::AmqpBroker::new (line 76) [INFO] [stdout] src/amqp.rs - amqp::AmqpBroker::publish (line 128) [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fcf654975e681d130f2274ce77ea292f9d791849d092b5c5fd435c30b7b8d15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf654975e681d130f2274ce77ea292f9d791849d092b5c5fd435c30b7b8d15b", kill_on_drop: false }` [INFO] [stdout] fcf654975e681d130f2274ce77ea292f9d791849d092b5c5fd435c30b7b8d15b