[INFO] cloning repository https://github.com/michael-bailey/wiki_scanner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michael-bailey/wiki_scanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-bailey%2Fwiki_scanner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-bailey%2Fwiki_scanner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 384082014fbfe5f93e6600216e3037e4cb1d4747 [INFO] testing michael-bailey/wiki_scanner against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-bailey%2Fwiki_scanner" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/michael-bailey/wiki_scanner [INFO] finished tweaking git repo https://github.com/michael-bailey/wiki_scanner [INFO] tweaked toml for git repo https://github.com/michael-bailey/wiki_scanner written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michael-bailey/wiki_scanner on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michael-bailey/wiki_scanner already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.4 [INFO] [stderr] Downloaded form_urlencoded v1.1.0 [INFO] [stderr] Downloaded url v2.3.1 [INFO] [stderr] Downloaded futures-executor v0.3.25 [INFO] [stderr] Downloaded tokio-stream v0.1.10 [INFO] [stderr] Downloaded async-recursion v1.0.0 [INFO] [stderr] Downloaded futures-io v0.3.25 [INFO] [stderr] Downloaded openssl-sys v0.9.76 [INFO] [stderr] Downloaded futures v0.3.25 [INFO] [stderr] Downloaded security-framework v2.7.0 [INFO] [stderr] Downloaded bumpalo v3.11.0 [INFO] [stderr] Downloaded tokio-util v0.7.4 [INFO] [stderr] Downloaded aho-corasick v0.7.19 [INFO] [stderr] Downloaded reqwest v0.11.12 [INFO] [stderr] Downloaded syn v1.0.100 [INFO] [stderr] Downloaded clap v4.0.19 [INFO] [stderr] Downloaded markup5ever v0.7.5 [INFO] [stderr] Downloaded html5ever v0.22.5 [INFO] [stderr] Downloaded regex v1.7.0 [INFO] [stderr] Downloaded openssl v0.10.42 [INFO] [stderr] Downloaded idna v0.3.0 [INFO] [stderr] Downloaded regex-syntax v0.6.28 [INFO] [stderr] Downloaded ipnet v2.5.0 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded string_cache v0.7.5 [INFO] [stderr] Downloaded futures-macro v0.3.25 [INFO] [stderr] Downloaded string_cache_shared v0.3.0 [INFO] [stderr] Downloaded string_cache_codegen v0.4.4 [INFO] [stderr] Downloaded soup v0.5.1 [INFO] [stderr] Downloaded tokio v1.21.1 [INFO] [stderr] Downloaded libc v0.2.133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e983f07156a89f37a927bd040c9823ebadca10c737b29d8432b1999542e8413 [INFO] running `Command { std: "docker" "start" "-a" "4e983f07156a89f37a927bd040c9823ebadca10c737b29d8432b1999542e8413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e983f07156a89f37a927bd040c9823ebadca10c737b29d8432b1999542e8413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e983f07156a89f37a927bd040c9823ebadca10c737b29d8432b1999542e8413", kill_on_drop: false }` [INFO] [stdout] 4e983f07156a89f37a927bd040c9823ebadca10c737b29d8432b1999542e8413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53f4de700b6f5ded7e684222e1ab63645b7cba1a5b5eba5b27c022b797c53e43 [INFO] running `Command { std: "docker" "start" "-a" "53f4de700b6f5ded7e684222e1ab63645b7cba1a5b5eba5b27c022b797c53e43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Compiling clap v4.0.19 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling html5ever v0.22.5 [INFO] [stderr] Compiling markup5ever v0.7.5 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.10 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling soup v0.5.1 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling wiki_scan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `)` [INFO] [stdout] --> src/context.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 49 | impl Context { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 50 | pub(super::) async fn found_page(&self, at_url: Url) { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] ... [INFO] [stdout] 100 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `route` in this scope [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | for url in route.unwrap().iter().rev().enumerate() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_page` in this scope [INFO] [stdout] --> src/main.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | test_page(ctx.clone(), html_string, page_title, distance) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use crate::html_checker::test_page; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `next_page_result` in this scope [INFO] [stdout] --> src/main.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(err) = next_page_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `next_page_result` in this scope [INFO] [stdout] --> src/main.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let Ok(vec) = next_page_result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/main.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let Ok(mut path) = path else { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 81 - let Ok(mut path) = path else { [INFO] [stdout] 81 + let Ok(mut path): path else { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/main.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | return path; [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/main.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let title = html [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `page_title` in this scope [INFO] [stdout] --> src/main.rs:121:59 [INFO] [stdout] | [INFO] [stdout] 121 | let title_matches = title.clone().map_or(false, |v| v == page_title); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin::Pin` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{pin::Pin, str::FromStr, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_recursion::async_recursion` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use async_recursion::async_recursion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future` and `stream::FuturesUnordered` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::{stream::FuturesUnordered, Future, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError::RelativeUrlWithoutBase` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use url::{ParseError::RelativeUrlWithoutBase, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn get_result() -> Vec {} [INFO] [stdout] | ^^ expected `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ring_start` found for struct `Arc` in the current scope [INFO] [stdout] --> src/main.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | ctx.ring_start(distance).await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `can_run` found for struct `Arc` in the current scope [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | while !ctx.can_run(distance).await { [INFO] [stdout] | ^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ring_finish` found for struct `Arc` in the current scope [INFO] [stdout] --> src/main.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | ctx.ring_finish(distance).await; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for struct `Arc` in the current scope [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | ctx.start(); [INFO] [stdout] | ----^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `context::Context::start()` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `context::Context` [INFO] [stdout] --> src/context.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn start() {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `start`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `regex_syntax::ast::visitor::Visitor` [INFO] [stdout] candidate #2: `regex_syntax::hir::visitor::Visitor` [INFO] [stdout] help: there is a method `start_node` with a similar name, but with different arguments [INFO] [stdout] --> src/context.rs:104:2 [INFO] [stdout] | [INFO] [stdout] 104 | / pub async fn start_node( [INFO] [stdout] 105 | | self: &Arc, [INFO] [stdout] 106 | | current_url: Url, [INFO] [stdout] 107 | | next_url: Url, [INFO] [stdout] 108 | | page_title: String, [INFO] [stdout] 109 | | distance: usize, [INFO] [stdout] 110 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_status` found for struct `Arc` in the current scope [INFO] [stdout] --> src/main.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | if let ContextState::Finished(path) = ctx.get_status() {} [INFO] [stdout] | ^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 29 | / loop { [INFO] [stdout] 30 | | if let ContextState::Finished(path) = ctx.get_status() {} [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 32 | [INFO] [stdout] 33 | println!("found route:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | fn check_title() -> bool { [INFO] [stdout] | ----------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/html_checker.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | ctx: Arc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/html_checker.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | distance: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `RelativeUrlWithoutBase` is named the same as one of the variants of the type `url::ParseError` [INFO] [stdout] --> src/html_checker.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | if let Err(RelativeUrlWithoutBase) = url_res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `url::ParseError::RelativeUrlWithoutBase` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RelativeUrlWithoutBase` [INFO] [stdout] --> src/html_checker.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | if let Err(RelativeUrlWithoutBase) = url_res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_RelativeUrlWithoutBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0308, E0423, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wiki_scan` (bin "wiki_scan") due to 17 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "53f4de700b6f5ded7e684222e1ab63645b7cba1a5b5eba5b27c022b797c53e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f4de700b6f5ded7e684222e1ab63645b7cba1a5b5eba5b27c022b797c53e43", kill_on_drop: false }` [INFO] [stdout] 53f4de700b6f5ded7e684222e1ab63645b7cba1a5b5eba5b27c022b797c53e43