[INFO] cloning repository https://github.com/zexa/skelbiu-scraper-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zexa/skelbiu-scraper-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzexa%2Fskelbiu-scraper-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzexa%2Fskelbiu-scraper-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dac992b0ac02b2b441062d946dc3519ff865408 [INFO] checking zexa/skelbiu-scraper-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzexa%2Fskelbiu-scraper-rs" "/workspace/builds/worker-74/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-74/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zexa/skelbiu-scraper-rs 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/zexa/skelbiu-scraper-rs [INFO] finished tweaking git repo https://github.com/zexa/skelbiu-scraper-rs [INFO] tweaked toml for git repo https://github.com/zexa/skelbiu-scraper-rs written to /workspace/builds/worker-74/source/Cargo.toml [INFO] crate git repo https://github.com/zexa/skelbiu-scraper-rs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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] 2144cd98305591383662dc57dadb32c3c915fc1d39310b1f296809f68ac91c35 [INFO] running `Command { std: "docker" "start" "-a" "2144cd98305591383662dc57dadb32c3c915fc1d39310b1f296809f68ac91c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2144cd98305591383662dc57dadb32c3c915fc1d39310b1f296809f68ac91c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2144cd98305591383662dc57dadb32c3c915fc1d39310b1f296809f68ac91c35", kill_on_drop: false }` [INFO] [stdout] 2144cd98305591383662dc57dadb32c3c915fc1d39310b1f296809f68ac91c35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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] e7961a34df5031977287b6342e2efb8c9197fbf6aa4a6e7b85e8f058e4138457 [INFO] running `Command { std: "docker" "start" "-a" "e7961a34df5031977287b6342e2efb8c9197fbf6aa4a6e7b85e8f058e4138457", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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] itoa v0.4.7 (as host dependency): default, std [INFO] [stderr] libc v0.2.81 (as host dependency): align, default, std [INFO] [stderr] tokio v0.2.24: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking scraper v0.12.0 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking diginet-scraper v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scraper::ElementRef` [INFO] [stdout] --> src/cvbankas.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use scraper::ElementRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/cvbankas.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::ParseError` [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 166 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 171 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 173 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 179 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | .next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 184 | | from = compensation_range.next()?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:185:43 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 185 | | to = compensation_range.next()?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:187:59 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 187 | | to = compensation_range.split("Up to ").next()?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 191 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 193 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diginet-scraper` due to 12 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scraper::ElementRef` [INFO] [stdout] --> src/cvbankas.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use scraper::ElementRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/cvbankas.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::ParseError` [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 166 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 171 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 173 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 179 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | .next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 184 | | from = compensation_range.next()?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:185:43 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 185 | | to = compensation_range.next()?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:187:59 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 187 | | to = compensation_range.split("Up to ").next()?.to_string(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 191 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/cvbankas.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 148 | async fn scan_listing(&self, listing_url: Url) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________- [INFO] [stdout] 149 | | info!(target: "cvbankas", "Scanning listing: {}", listing_url); [INFO] [stdout] 150 | | let description_selector = [INFO] [stdout] 151 | | scraper::Selector::parse("section[itemprop=\"description\"]").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 193 | | .next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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" "e7961a34df5031977287b6342e2efb8c9197fbf6aa4a6e7b85e8f058e4138457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7961a34df5031977287b6342e2efb8c9197fbf6aa4a6e7b85e8f058e4138457", kill_on_drop: false }` [INFO] [stdout] e7961a34df5031977287b6342e2efb8c9197fbf6aa4a6e7b85e8f058e4138457