[INFO] cloning repository https://github.com/AS207960/whois-email [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AS207960/whois-email" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAS207960%2Fwhois-email", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAS207960%2Fwhois-email'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2bd3fc47489a45cb8d10d8ccc6ec4d955b15949 [INFO] checking AS207960/whois-email against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAS207960%2Fwhois-email" "/workspace/builds/worker-104/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-104/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AS207960/whois-email on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AS207960/whois-email [INFO] finished tweaking git repo https://github.com/AS207960/whois-email [INFO] tweaked toml for git repo https://github.com/AS207960/whois-email written to /workspace/builds/worker-104/source/Cargo.toml [INFO] crate git repo https://github.com/AS207960/whois-email already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.107 [INFO] [stderr] Downloaded security-framework v0.4.3 [INFO] [stderr] Downloaded ascii_utils v0.9.3 [INFO] [stderr] Downloaded fast_chemail v0.9.6 [INFO] [stderr] Downloaded email v0.0.20 [INFO] [stderr] Downloaded lettre_email v0.9.4 [INFO] [stderr] Downloaded serde_derive v1.0.107 [INFO] [stderr] Downloaded quoted_printable v0.4.2 [INFO] [stderr] Downloaded thiserror v1.0.16 [INFO] [stderr] Downloaded charset v0.1.2 [INFO] [stderr] Downloaded openssl-sys v0.9.55 [INFO] [stderr] Downloaded tokio-native-tls v0.1.0 [INFO] [stderr] Downloaded lettre v0.9.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.16 [INFO] [stderr] Downloaded mailparse v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46adbc0ec8f0548ebdb823c4f83a8cf3e15cba75df84d4b15e640ec927cceba1 [INFO] running `Command { std: "docker" "start" "-a" "46adbc0ec8f0548ebdb823c4f83a8cf3e15cba75df84d4b15e640ec927cceba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46adbc0ec8f0548ebdb823c4f83a8cf3e15cba75df84d4b15e640ec927cceba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46adbc0ec8f0548ebdb823c4f83a8cf3e15cba75df84d4b15e640ec927cceba1", kill_on_drop: false }` [INFO] [stdout] 46adbc0ec8f0548ebdb823c4f83a8cf3e15cba75df84d4b15e640ec927cceba1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea20d504d330ec3d44838bae5c728927f626637e3bc0c84bb333bb1d81e9e6ae [INFO] running `Command { std: "docker" "start" "-a" "ea20d504d330ec3d44838bae5c728927f626637e3bc0c84bb333bb1d81e9e6ae", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] diesel v1.4.4 (as host dependency): 32-column-tables, bitflags, chrono, default, postgres, pq-sys, r2d2, uuid, with-deprecated [INFO] [stderr] regex v1.3.7 (as host dependency): aho-corasick, default, memchr, perf, perf-cache, perf-dfa, perf-inline, perf-literal, thread_local, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-script, unicode-segment [INFO] [stderr] regex-syntax v0.6.17 (as host dependency): default, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-script, unicode-segment [INFO] [stderr] [INFO] [stderr] note: This project appears to use both diesel and diesel_migrations. These packages have [INFO] [stderr] a known issue where the build may fail due to the version 2 resolver preventing [INFO] [stderr] feature unification between those two packages. See [INFO] [stderr] for some potential workarounds. [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.107 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking quoted_printable v0.4.2 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [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] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking scheduled-thread-pool v0.2.4 [INFO] [stderr] Checking charset v0.1.2 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Checking mailparse v0.12.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking ignore v0.4.15 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.16 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.107 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking thiserror v1.0.16 [INFO] [stderr] Checking tera v1.2.0 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Checking lettre v0.9.3 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking whois-mail v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | tokio::task::spawn(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'0 trust_dns_resolver::trust_dns_proto::rr::rdata::MX) -> impl futures::Future` must implement `FnOnce<(&'1 trust_dns_resolver::trust_dns_proto::rr::rdata::MX,)>`, for any two lifetimes `'0` and `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&trust_dns_resolver::trust_dns_proto::rr::rdata::MX,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | tokio::task::spawn(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:73:87 [INFO] [stdout] | [INFO] [stdout] 73 | let addrs = futures::stream::iter(mxs).filter_map(|mx| async move { [INFO] [stdout] | _______________________________________________________________________________________- [INFO] [stdout] 74 | | match config.resolver.lookup_ip(mx.exchange().to_owned()).await { [INFO] [stdout] 75 | | Ok(r) => Some(futures::stream::iter(r.into_iter().map(move |a| MXAddress { [INFO] [stdout] | _|___________________________________________________________________________________- [INFO] [stdout] 76 | | | address: a, [INFO] [stdout] 77 | | | domain: mx.exchange().to_string().trim_end_matches('.').to_string(), [INFO] [stdout] 78 | | | }))), [INFO] [stdout] | | | - [INFO] [stdout] | | | | [INFO] [stdout] | |_|_____________________________the expected closure [INFO] [stdout] | | the found closure [INFO] [stdout] 79 | | Err(_) => None [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | }).flatten().collect::>().await; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____________________the expected `async` block [INFO] [stdout] | the found `async` block [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trust-dns-resolver-0.19.5/src/async_resolver.rs:368:10 [INFO] [stdout] | [INFO] [stdout] 368 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, one of the expected opaque types [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trust-dns-resolver-0.19.5/src/async_resolver.rs:368:10 [INFO] [stdout] | [INFO] [stdout] 368 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, one of the found opaque types [INFO] [stdout] = note: expected opaque type `impl futures::Future` [INFO] [stdout] found opaque type `impl futures::Future` [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.20/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `whois-mail` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | tokio::task::spawn(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'0 trust_dns_resolver::trust_dns_proto::rr::rdata::MX) -> impl futures::Future` must implement `FnOnce<(&'1 trust_dns_resolver::trust_dns_proto::rr::rdata::MX,)>`, for any two lifetimes `'0` and `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&trust_dns_resolver::trust_dns_proto::rr::rdata::MX,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | tokio::task::spawn(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:73:87 [INFO] [stdout] | [INFO] [stdout] 73 | let addrs = futures::stream::iter(mxs).filter_map(|mx| async move { [INFO] [stdout] | _______________________________________________________________________________________- [INFO] [stdout] 74 | | match config.resolver.lookup_ip(mx.exchange().to_owned()).await { [INFO] [stdout] 75 | | Ok(r) => Some(futures::stream::iter(r.into_iter().map(move |a| MXAddress { [INFO] [stdout] | _|___________________________________________________________________________________- [INFO] [stdout] 76 | | | address: a, [INFO] [stdout] 77 | | | domain: mx.exchange().to_string().trim_end_matches('.').to_string(), [INFO] [stdout] 78 | | | }))), [INFO] [stdout] | | | - [INFO] [stdout] | | | | [INFO] [stdout] | |_|_____________________________the expected closure [INFO] [stdout] | | the found closure [INFO] [stdout] 79 | | Err(_) => None [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | }).flatten().collect::>().await; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____________________the expected `async` block [INFO] [stdout] | the found `async` block [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trust-dns-resolver-0.19.5/src/async_resolver.rs:368:10 [INFO] [stdout] | [INFO] [stdout] 368 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, one of the expected opaque types [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trust-dns-resolver-0.19.5/src/async_resolver.rs:368:10 [INFO] [stdout] | [INFO] [stdout] 368 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, one of the found opaque types [INFO] [stdout] = note: expected opaque type `impl futures::Future` [INFO] [stdout] found opaque type `impl futures::Future` [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.20/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ea20d504d330ec3d44838bae5c728927f626637e3bc0c84bb333bb1d81e9e6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea20d504d330ec3d44838bae5c728927f626637e3bc0c84bb333bb1d81e9e6ae", kill_on_drop: false }` [INFO] [stdout] ea20d504d330ec3d44838bae5c728927f626637e3bc0c84bb333bb1d81e9e6ae