[INFO] cloning repository https://github.com/suhirock/rust_check404 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhirock/rust_check404" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhirock%2Frust_check404", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhirock%2Frust_check404'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e6970f656e0276ca9542a81b52268695e49e82d [INFO] testing suhirock/rust_check404/6e6970f656e0276ca9542a81b52268695e49e82d against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhirock%2Frust_check404" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/suhirock/rust_check404 [INFO] finished tweaking git repo https://github.com/suhirock/rust_check404 [INFO] tweaked toml for git repo https://github.com/suhirock/rust_check404 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/suhirock/rust_check404 on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/suhirock/rust_check404 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42a8a5297decdd703f1e4bb2b743ba2bef9b4603deacae8205092181c0cbc46d [INFO] running `Command { std: "docker" "start" "-a" "42a8a5297decdd703f1e4bb2b743ba2bef9b4603deacae8205092181c0cbc46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42a8a5297decdd703f1e4bb2b743ba2bef9b4603deacae8205092181c0cbc46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a8a5297decdd703f1e4bb2b743ba2bef9b4603deacae8205092181c0cbc46d", kill_on_drop: false }` [INFO] [stdout] 42a8a5297decdd703f1e4bb2b743ba2bef9b4603deacae8205092181c0cbc46d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09876f473da5ad57477757904a9e5788da9d339150c1615f5ca32fea71a51774 [INFO] running `Command { std: "docker" "start" "-a" "09876f473da5ad57477757904a9e5788da9d339150c1615f5ca32fea71a51774", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling hyper v1.4.0 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling check404 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rusqlite::{Connection, params}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::Utc; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `normalize_url` in this scope [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let normalized_url = normalize_url(url_without_hash); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `normalize_url` in this scope [INFO] [stdout] --> src/main.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | let normalized_url_str = normalize_url(&url_str); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `normalized_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_url_pattern` in this scope [INFO] [stdout] --> src/main.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | ... let pattern = get_url_pattern(&normalized_url_str, unique_patterns); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_unique_patterns` in this scope [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | load_unique_patterns(file_path)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `check404` (bin "check404") due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09876f473da5ad57477757904a9e5788da9d339150c1615f5ca32fea71a51774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09876f473da5ad57477757904a9e5788da9d339150c1615f5ca32fea71a51774", kill_on_drop: false }` [INFO] [stdout] 09876f473da5ad57477757904a9e5788da9d339150c1615f5ca32fea71a51774