[INFO] crate spectacles-brokers 1.4.0 is already in cache [INFO] extracting crate spectacles-brokers 1.4.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/spectacles-brokers/1.4.0 [INFO] extracting crate spectacles-brokers 1.4.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/spectacles-brokers/1.4.0 [INFO] validating manifest of spectacles-brokers-1.4.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of spectacles-brokers-1.4.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing spectacles-brokers-1.4.0 [INFO] finished frobbing spectacles-brokers-1.4.0 [INFO] frobbed toml for spectacles-brokers-1.4.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/spectacles-brokers/1.4.0/Cargo.toml [INFO] started frobbing spectacles-brokers-1.4.0 [INFO] finished frobbing spectacles-brokers-1.4.0 [INFO] frobbed toml for spectacles-brokers-1.4.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/spectacles-brokers/1.4.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing spectacles-brokers-1.4.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/spectacles-brokers/1.4.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 525c17f19227213bc50a8c5192cfa92e2a64c9c5a50a3c30fcf2ab18dc708b1c [INFO] running `"docker" "start" "-a" "525c17f19227213bc50a8c5192cfa92e2a64c9c5a50a3c30fcf2ab18dc708b1c"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-timer v0.1.1 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling futures-retry v0.3.3 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling futures-backoff v0.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling trust-dns-native-tls v0.5.0 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [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.0 [INFO] [stderr] Compiling lapin-futures-native-tls v0.10.0 [INFO] [stderr] Compiling spectacles-brokers v1.4.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `"docker" "inspect" "525c17f19227213bc50a8c5192cfa92e2a64c9c5a50a3c30fcf2ab18dc708b1c"` [INFO] running `"docker" "rm" "-f" "525c17f19227213bc50a8c5192cfa92e2a64c9c5a50a3c30fcf2ab18dc708b1c"` [INFO] [stdout] 525c17f19227213bc50a8c5192cfa92e2a64c9c5a50a3c30fcf2ab18dc708b1c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/spectacles-brokers/1.4.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] caded15b98fc66954d7eae6343238b309979a184c3ea7c83523ca155a1b097b5 [INFO] running `"docker" "start" "-a" "caded15b98fc66954d7eae6343238b309979a184c3ea7c83523ca155a1b097b5"` [INFO] [stderr] Compiling spectacles-brokers v1.4.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.65s [INFO] running `"docker" "inspect" "caded15b98fc66954d7eae6343238b309979a184c3ea7c83523ca155a1b097b5"` [INFO] running `"docker" "rm" "-f" "caded15b98fc66954d7eae6343238b309979a184c3ea7c83523ca155a1b097b5"` [INFO] [stdout] caded15b98fc66954d7eae6343238b309979a184c3ea7c83523ca155a1b097b5 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/spectacles-brokers/1.4.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] ba41064c94991bc9551e7842cc3db793bb60e1d9ad7a44c8951b21efcb77b3fd [INFO] running `"docker" "start" "-a" "ba41064c94991bc9551e7842cc3db793bb60e1d9ad7a44c8951b21efcb77b3fd"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running /opt/crater/target/debug/deps/spectacles_brokers-9ab2a5569d867580 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests spectacles_brokers [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/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::publish (line 128) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `AmqpBroker` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `AmqpProperties` [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: 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[E0433]: failed to resolve: use of undeclared type or module `AmqpBroker` [INFO] [stdout] --> src/amqp.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 4 | AmqpBroker::new(addr, "mygroup", None) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `AmqpBroker` [INFO] [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[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::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: `Future` [INFO] [stdout] | no `future` in `future` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for type `impl futures::future::Future` in the current scope [INFO] [stdout] --> src/amqp.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 11 | .map(|broker| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stdout] `&mut impl futures::future::Future : std::iter::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::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): futures::future::Future` is not satisfied [INFO] [stdout] --> src/amqp.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 9 | tokio::run({ [INFO] [stdout] | ^^^^^^^^^^ the trait `futures::future::Future` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required by `tokio::runtime::threadpool::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `std::net::SocketAddr` [INFO] [stdout] found type `std::result::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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "ba41064c94991bc9551e7842cc3db793bb60e1d9ad7a44c8951b21efcb77b3fd"` [INFO] running `"docker" "rm" "-f" "ba41064c94991bc9551e7842cc3db793bb60e1d9ad7a44c8951b21efcb77b3fd"` [INFO] [stdout] ba41064c94991bc9551e7842cc3db793bb60e1d9ad7a44c8951b21efcb77b3fd