[INFO] cloning repository https://github.com/AdnanKhan-ak47/AdnanKhan-ak47 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdnanKhan-ak47/AdnanKhan-ak47" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdnanKhan-ak47%2FAdnanKhan-ak47", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdnanKhan-ak47%2FAdnanKhan-ak47'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5054c9946f0521f5a028ea14a58934a77a1a9919 [INFO] checking AdnanKhan-ak47/AdnanKhan-ak47 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdnanKhan-ak47%2FAdnanKhan-ak47" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AdnanKhan-ak47/AdnanKhan-ak47 [INFO] finished tweaking git repo https://github.com/AdnanKhan-ak47/AdnanKhan-ak47 [INFO] tweaked toml for git repo https://github.com/AdnanKhan-ak47/AdnanKhan-ak47 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AdnanKhan-ak47/AdnanKhan-ak47 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AdnanKhan-ak47/AdnanKhan-ak47 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xmltree v0.11.0 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e41069dfe549289329d449853db6f64c8847c24042c37074e335a680f3834964 [INFO] running `Command { std: "docker" "start" "-a" "e41069dfe549289329d449853db6f64c8847c24042c37074e335a680f3834964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e41069dfe549289329d449853db6f64c8847c24042c37074e335a680f3834964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41069dfe549289329d449853db6f64c8847c24042c37074e335a680f3834964", kill_on_drop: false }` [INFO] [stdout] e41069dfe549289329d449853db6f64c8847c24042c37074e335a680f3834964 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccdbfc91351d86e5a57baa5e6b5cb5ff25ef6c8b5181b03a6787fa7c851eb374 [INFO] running `Command { std: "docker" "start" "-a" "ccdbfc91351d86e5a57baa5e6b5cb5ff25ef6c8b5181b03a6787fa7c851eb374", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking xml-rs v0.8.26 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking xmltree v0.11.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking AdnanKhan-ak47 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, fs, sync::MutexGuard}; [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: `query_count` [INFO] [stdout] --> src/main.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | use utility::{formatter, perf_counter, query_count, QUERY_COUNT}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, fs, sync::MutexGuard}; [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: `query_count` [INFO] [stdout] --> src/main.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | use utility::{formatter, perf_counter, query_count, QUERY_COUNT}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_cursor` [INFO] [stdout] --> src/query.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let end_cursor = repo_data["pageInfo"]["endCursor"] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_cursor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_cursor` [INFO] [stdout] --> src/query.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let end_cursor = repo_data["pageInfo"]["endCursor"] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_cursor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_token` [INFO] [stdout] --> src/query.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | github_token: &str, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_token` [INFO] [stdout] --> src/query.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | github_token: &str, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/query.rs:464:25 [INFO] [stdout] | [INFO] [stdout] 464 | let (cache_comment, mut lines) = data.split_at(comment_size); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/query.rs:464:25 [INFO] [stdout] | [INFO] [stdout] 464 | let (cache_comment, mut lines) = data.split_at(comment_size); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc_date` [INFO] [stdout] --> src/main.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let (owner_id, acc_date) = user_data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acc_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_calls` [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let total_calls: usize = query_count_guard.values().sum(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_calls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_archive` is never used [INFO] [stdout] --> src/query.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn add_archive() -> Result<[i32; 5], Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `svg_element_getter` is never used [INFO] [stdout] --> src/query.rs:655:8 [INFO] [stdout] | [INFO] [stdout] 655 | pub fn svg_element_getter(filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_and_print_tspans` is never used [INFO] [stdout] --> src/query.rs:670:4 [INFO] [stdout] | [INFO] [stdout] 670 | fn collect_and_print_tspans(elem: &Element, index: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc_date` [INFO] [stdout] --> src/main.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let (owner_id, acc_date) = user_data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acc_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_calls` [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let total_calls: usize = query_count_guard.values().sum(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_calls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_archive` is never used [INFO] [stdout] --> src/query.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn add_archive() -> Result<[i32; 5], Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `svg_element_getter` is never used [INFO] [stdout] --> src/query.rs:655:8 [INFO] [stdout] | [INFO] [stdout] 655 | pub fn svg_element_getter(filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_and_print_tspans` is never used [INFO] [stdout] --> src/query.rs:670:4 [INFO] [stdout] | [INFO] [stdout] 670 | fn collect_and_print_tspans(elem: &Element, index: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.83s [INFO] running `Command { std: "docker" "inspect" "ccdbfc91351d86e5a57baa5e6b5cb5ff25ef6c8b5181b03a6787fa7c851eb374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccdbfc91351d86e5a57baa5e6b5cb5ff25ef6c8b5181b03a6787fa7c851eb374", kill_on_drop: false }` [INFO] [stdout] ccdbfc91351d86e5a57baa5e6b5cb5ff25ef6c8b5181b03a6787fa7c851eb374