[INFO] fetching crate spectacles-brokers 1.4.0... [INFO] testing spectacles-brokers-1.4.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate spectacles-brokers 1.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate spectacles-brokers 1.4.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f552e2a41449469cd047a1d086b645ad1ce24f70633780d9521089b6b866caf3 [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" "f552e2a41449469cd047a1d086b645ad1ce24f70633780d9521089b6b866caf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f552e2a41449469cd047a1d086b645ad1ce24f70633780d9521089b6b866caf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f552e2a41449469cd047a1d086b645ad1ce24f70633780d9521089b6b866caf3", kill_on_drop: false }` [INFO] [stdout] f552e2a41449469cd047a1d086b645ad1ce24f70633780d9521089b6b866caf3 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55109bcb35f2d886d43608e0c00b3ad7ae2460f05e764d7f61b663425a7f02ba [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" "55109bcb35f2d886d43608e0c00b3ad7ae2460f05e764d7f61b663425a7f02ba", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-timer v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling futures-backoff v0.1.0 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling futures-retry v0.3.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling trust-dns-native-tls v0.6.3 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling handlebars v1.1.0 [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:5 [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: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: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: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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "55109bcb35f2d886d43608e0c00b3ad7ae2460f05e764d7f61b663425a7f02ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55109bcb35f2d886d43608e0c00b3ad7ae2460f05e764d7f61b663425a7f02ba", kill_on_drop: false }` [INFO] [stdout] 55109bcb35f2d886d43608e0c00b3ad7ae2460f05e764d7f61b663425a7f02ba [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 748b8c32a88be3e92e955247baa5b92f6ae9d8cec1a15fea7f590d2f927392db [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" "748b8c32a88be3e92e955247baa5b92f6ae9d8cec1a15fea7f590d2f927392db", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stdout] --> src/errors.rs:9:5 [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: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: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: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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [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:5 [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: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: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: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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.90s [INFO] running `Command { std: "docker" "inspect" "748b8c32a88be3e92e955247baa5b92f6ae9d8cec1a15fea7f590d2f927392db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748b8c32a88be3e92e955247baa5b92f6ae9d8cec1a15fea7f590d2f927392db", kill_on_drop: false }` [INFO] [stdout] 748b8c32a88be3e92e955247baa5b92f6ae9d8cec1a15fea7f590d2f927392db [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", 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] fcf6737950cfaea34ba6d0731f2af2d35def437a6c75eb38b4184271fe3da9f4 [INFO] running `Command { std: "docker" "start" "-a" "fcf6737950cfaea34ba6d0731f2af2d35def437a6c75eb38b4184271fe3da9f4", 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:5 [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: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: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: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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `lapin_futures_native_tls::error::Error`: use lapin directly instead [INFO] [stderr] --> src/errors.rs:9:5 [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: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: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: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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spectacles_brokers-8bca96b93674a367) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests spectacles_brokers [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/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] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/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: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/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: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/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: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [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::consume (line 150) ... FAILED [INFO] [stdout] test src/amqp.rs - amqp::AmqpBroker::publish (line 128) ... FAILED [INFO] [stdout] test src/amqp.rs - amqp::AmqpBroker::new (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] | ^^^^^^^^^^ not found in this scope [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] error: aborting due to 4 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::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] | ^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^^^ not found in this scope [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::new (line 76) stdout ---- [INFO] [stdout] error[E0585]: found a documentation comment that doesn't document anything [INFO] [stdout] --> src/amqp.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 12 | /// Publish and subscribe to events here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: doc comments must come before what they document, maybe a comment was intended with `//`? [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::future::future` [INFO] [stdout] --> src/amqp.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `Future` [INFO] [stdout] | no `future` in `future` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for opaque type `impl futures::Future`, but its trait bounds were not satisfied [INFO] [stdout] --> src/amqp.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 11 | .map(|broker| { [INFO] [stdout] | ^^^ method cannot be called on `impl futures::Future` due to unsatisfied trait bounds [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] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied [INFO] [stdout] --> src/amqp.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 9 | tokio::run({ [INFO] [stdout] | ________________^ [INFO] [stdout] 10 | | AmqpBroker::new(amqp, "mygroup".to_string(), None) [INFO] [stdout] 11 | | .map(|broker| { [INFO] [stdout] 12 | | /// Publish and subscribe to events here. [INFO] [stdout] 13 | | }); [INFO] [stdout] 14 | | }); [INFO] [stdout] | |_____^ the trait `futures::Future` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.22/src/runtime/threadpool/mod.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | where F: Future + Send + 'static, [INFO] [stdout] | ----------------------------- required by this bound in `tokio::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] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `spectacles_brokers::AmqpBroker` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | use spectacles_brokers::AmqpBroker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AmqpBroker` in the root [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 10 | let addr: SocketAddr = addr.parse(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^ expected enum `std::net::SocketAddr`, found enum `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] [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] [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.60s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "fcf6737950cfaea34ba6d0731f2af2d35def437a6c75eb38b4184271fe3da9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf6737950cfaea34ba6d0731f2af2d35def437a6c75eb38b4184271fe3da9f4", kill_on_drop: false }` [INFO] [stdout] fcf6737950cfaea34ba6d0731f2af2d35def437a6c75eb38b4184271fe3da9f4