[INFO] crate r2d2_pulsar 0.1.1 is already in cache [INFO] extracting crate r2d2_pulsar 0.1.1 into work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/reg/r2d2_pulsar/0.1.1 [INFO] extracting crate r2d2_pulsar 0.1.1 into work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/reg/r2d2_pulsar/0.1.1 [INFO] validating manifest of r2d2_pulsar-0.1.1 on toolchain master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of r2d2_pulsar-0.1.1 on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing r2d2_pulsar-0.1.1 [INFO] finished frobbing r2d2_pulsar-0.1.1 [INFO] frobbed toml for r2d2_pulsar-0.1.1 written to work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/reg/r2d2_pulsar/0.1.1/Cargo.toml [INFO] started frobbing r2d2_pulsar-0.1.1 [INFO] finished frobbing r2d2_pulsar-0.1.1 [INFO] frobbed toml for r2d2_pulsar-0.1.1 written to work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/reg/r2d2_pulsar/0.1.1/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pulsar v0.1.3 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking r2d2_pulsar-0.1.1 against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-3/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/reg/r2d2_pulsar/0.1.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b6ebcaa0b22b9f662f4452fb787a2295acaf27b8a6a7499bdbc66ce0ace92d1e [INFO] running `"docker" "start" "-a" "b6ebcaa0b22b9f662f4452fb787a2295acaf27b8a6a7499bdbc66ce0ace92d1e"` [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling prost v0.4.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking r2d2 v0.8.4 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling prost-build v0.4.0 [INFO] [stderr] Checking tokio v0.1.20 [INFO] [stderr] Checking trust-dns-proto v0.7.3 [INFO] [stderr] Checking trust-dns-resolver v0.11.0 [INFO] [stderr] Compiling prost-derive v0.4.0 [INFO] [stderr] Compiling prost-types v0.4.0 [INFO] [stderr] Compiling pulsar v0.1.3 [INFO] [stderr] Checking r2d2_pulsar v0.1.1 (/opt/crater/workdir) [INFO] [stderr] error[E0061]: this function takes 4 parameters but 2 parameters were supplied [INFO] [stderr] --> src/lib.rs:29:39 [INFO] [stderr] | [INFO] [stderr] 29 | let connection = Future::wait(Connection::new(self.addr.clone(), self.executor.clone())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0277]: `?` couldn't convert the error to `failure::Compat` [INFO] [stderr] --> src/lib.rs:30:37 [INFO] [stderr] | [INFO] [stderr] 30 | .map_err(|e| e.compat())?; [INFO] [stderr] | ^ the trait `std::convert::From>` is not implemented for `failure::Compat` [INFO] [stderr] | [INFO] [stderr] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/lib.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | Future::wait(conn.sender().lookup_topic(String::from("test"))) [INFO] [stderr] | ^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 34 | fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> { [INFO] [stderr] | ----------------------- expected `std::result::Result<(), failure::Compat>` because of return type [INFO] [stderr] 35 | / Future::wait(conn.sender().lookup_topic(String::from("test"))) [INFO] [stderr] 36 | | .map(|_| ()) [INFO] [stderr] 37 | | .map_err(|e| e.compat()) [INFO] [stderr] | |____________________________________^ expected enum `pulsar::Error`, found enum `pulsar::ConnectionError` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<_, failure::Compat>` [INFO] [stderr] found type `std::result::Result<_, failure::Compat>` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 5 parameters but 3 parameters were supplied [INFO] [stderr] --> src/lib.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | Producer::new(self.addr.as_str(), name, self.executor.clone()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 2 parameters were supplied [INFO] [stderr] --> src/lib.rs:29:39 [INFO] [stderr] | [INFO] [stderr] 29 | let connection = Future::wait(Connection::new(self.addr.clone(), self.executor.clone())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0277]: `?` couldn't convert the error to `failure::Compat` [INFO] [stderr] --> src/lib.rs:30:37 [INFO] [stderr] | [INFO] [stderr] 30 | .map_err(|e| e.compat())?; [INFO] [stderr] | ^ the trait `std::convert::From>` is not implemented for `failure::Compat` [INFO] [stderr] | [INFO] [stderr] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/lib.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | Future::wait(conn.sender().lookup_topic(String::from("test"))) [INFO] [stderr] | ^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 67 | fn connect(&self) -> Result { [INFO] [stderr] | ----------------------------- expected `std::result::Result>` because of return type [INFO] [stderr] 68 | let name = format!("{}_{}", &self.producer_name, self.connection_index.fetch_add(1, Ordering::Relaxed)); [INFO] [stderr] 69 | / Producer::new(self.addr.as_str(), name, self.executor.clone()) [INFO] [stderr] 70 | | .wait() [INFO] [stderr] 71 | | .map_err(|e| e.compat()) [INFO] [stderr] | |____________________________________^ expected enum `pulsar::Error`, found enum `pulsar::ProducerError` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<_, failure::Compat>` [INFO] [stderr] found type `std::result::Result<_, failure::Compat>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 34 | fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> { [INFO] [stderr] | ----------------------- expected `std::result::Result<(), failure::Compat>` because of return type [INFO] [stderr] 35 | / Future::wait(conn.sender().lookup_topic(String::from("test"))) [INFO] [stderr] 36 | | .map(|_| ()) [INFO] [stderr] 37 | | .map_err(|e| e.compat()) [INFO] [stderr] | |____________________________________^ expected enum `pulsar::Error`, found enum `pulsar::ConnectionError` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<_, failure::Compat>` [INFO] [stderr] found type `std::result::Result<_, failure::Compat>` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 5 parameters but 3 parameters were supplied [INFO] [stderr] --> src/lib.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | Producer::new(self.addr.as_str(), name, self.executor.clone()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 parameters [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 74 | fn is_valid(&self, conn: &mut Producer) -> Result<(), Self::Error> { [INFO] [stderr] | ----------------------- expected `std::result::Result<(), failure::Compat>` because of return type [INFO] [stderr] 75 | conn.check_connection().wait().map_err(|e| e.compat()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `pulsar::Error`, found enum `pulsar::ConnectionError` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<_, failure::Compat>` [INFO] [stderr] found type `std::result::Result<_, failure::Compat>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `r2d2_pulsar`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 67 | fn connect(&self) -> Result { [INFO] [stderr] | ----------------------------- expected `std::result::Result>` because of return type [INFO] [stderr] 68 | let name = format!("{}_{}", &self.producer_name, self.connection_index.fetch_add(1, Ordering::Relaxed)); [INFO] [stderr] 69 | / Producer::new(self.addr.as_str(), name, self.executor.clone()) [INFO] [stderr] 70 | | .wait() [INFO] [stderr] 71 | | .map_err(|e| e.compat()) [INFO] [stderr] | |____________________________________^ expected enum `pulsar::Error`, found enum `pulsar::ProducerError` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<_, failure::Compat>` [INFO] [stderr] found type `std::result::Result<_, failure::Compat>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 74 | fn is_valid(&self, conn: &mut Producer) -> Result<(), Self::Error> { [INFO] [stderr] | ----------------------- expected `std::result::Result<(), failure::Compat>` because of return type [INFO] [stderr] 75 | conn.check_connection().wait().map_err(|e| e.compat()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `pulsar::Error`, found enum `pulsar::ConnectionError` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<_, failure::Compat>` [INFO] [stderr] found type `std::result::Result<_, failure::Compat>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `(std::result::Result, pulsar::Ack)` in the current scope [INFO] [stderr] --> src/lib.rs:128:35 [INFO] [stderr] | [INFO] [stderr] 128 | let (data, ack) = msg.unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Unexpected` found for type `pulsar::Error` in the current scope [INFO] [stderr] --> src/lib.rs:133:28 [INFO] [stderr] | [INFO] [stderr] 133 | Err(Error::Unexpected("Done!".to_string())) [INFO] [stderr] | ^^^^^^^^^^ variant or associated item not found in `pulsar::Error` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Unexpected` found for type `pulsar::Error` in the current scope [INFO] [stderr] --> src/lib.rs:140:24 [INFO] [stderr] | [INFO] [stderr] 140 | Err(Error::Unexpected(msg)) if msg.as_str() == "Done!" => {}, [INFO] [stderr] | ^^^^^^^^^^ variant or associated item not found in `pulsar::Error` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `r2d2_pulsar`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b6ebcaa0b22b9f662f4452fb787a2295acaf27b8a6a7499bdbc66ce0ace92d1e"` [INFO] running `"docker" "rm" "-f" "b6ebcaa0b22b9f662f4452fb787a2295acaf27b8a6a7499bdbc66ce0ace92d1e"` [INFO] [stdout] b6ebcaa0b22b9f662f4452fb787a2295acaf27b8a6a7499bdbc66ce0ace92d1e