[INFO] fetching crate spectacles-brokers 1.4.0... [INFO] extracting crate spectacles-brokers 1.4.0 into work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/spectacles-brokers/1.4.0 [INFO] extracting crate spectacles-brokers 1.4.0 into work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/spectacles-brokers/1.4.0 [INFO] validating manifest of spectacles-brokers-1.4.0 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of spectacles-brokers-1.4.0 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "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/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/spectacles-brokers/1.4.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lapin-futures-tls-internal v0.7.0 [INFO] [stderr] Downloaded lapin-futures-native-tls v0.10.0 [INFO] [stderr] Downloaded trust-dns-native-tls v0.5.0 [INFO] [stderr] Downloaded futures-retry v0.3.3 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing spectacles-brokers-1.4.0 against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] dbdf8d9b4c6f3852628e41ed058179f8c5203f7aba5aa88725568c42e0f45b22 [INFO] running `"docker" "start" "-a" "dbdf8d9b4c6f3852628e41ed058179f8c5203f7aba5aa88725568c42e0f45b22"` [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling futures-timer v0.1.1 [INFO] [stderr] Compiling futures-retry v0.3.3 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling futures-backoff v0.1.0 [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 06s [INFO] running `"docker" "inspect" "dbdf8d9b4c6f3852628e41ed058179f8c5203f7aba5aa88725568c42e0f45b22"` [INFO] running `"docker" "rm" "-f" "dbdf8d9b4c6f3852628e41ed058179f8c5203f7aba5aa88725568c42e0f45b22"` [INFO] [stdout] dbdf8d9b4c6f3852628e41ed058179f8c5203f7aba5aa88725568c42e0f45b22 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 0b5542255fb9367cce144868274ec1fb7c2e43568d90abcaedfc621fd0cd25c3 [INFO] running `"docker" "start" "-a" "0b5542255fb9367cce144868274ec1fb7c2e43568d90abcaedfc621fd0cd25c3"` [INFO] [stderr] Compiling spectacles-brokers v1.4.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.00s [INFO] running `"docker" "inspect" "0b5542255fb9367cce144868274ec1fb7c2e43568d90abcaedfc621fd0cd25c3"` [INFO] running `"docker" "rm" "-f" "0b5542255fb9367cce144868274ec1fb7c2e43568d90abcaedfc621fd0cd25c3"` [INFO] [stdout] 0b5542255fb9367cce144868274ec1fb7c2e43568d90abcaedfc621fd0cd25c3 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 4fec55ccf2773d42b24f4548e471d39e73949fd586f44221436ba1f4ce7cde67 [INFO] running `"docker" "start" "-a" "4fec55ccf2773d42b24f4548e471d39e73949fd586f44221436ba1f4ce7cde67"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/crater/target/debug/deps/spectacles_brokers-60c84ca8fb649c90 [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/lib.rs - (line 8) ... FAILED [INFO] [stdout] test src/amqp.rs - amqp::AmqpBroker::new (line 76) ... FAILED [INFO] [stdout] test src/amqp.rs - amqp::AmqpBroker::consume (line 150) ... 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/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] ---- 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/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] [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" "4fec55ccf2773d42b24f4548e471d39e73949fd586f44221436ba1f4ce7cde67"` [INFO] running `"docker" "rm" "-f" "4fec55ccf2773d42b24f4548e471d39e73949fd586f44221436ba1f4ce7cde67"` [INFO] [stdout] 4fec55ccf2773d42b24f4548e471d39e73949fd586f44221436ba1f4ce7cde67