[INFO] cloning repository https://github.com/Sarina-Engine/crawler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sarina-Engine/crawler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarina-Engine%2Fcrawler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarina-Engine%2Fcrawler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77f187b549b70aea66d953eed80a76376c6964ab [INFO] checking Sarina-Engine/crawler against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarina-Engine%2Fcrawler" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sarina-Engine/crawler on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sarina-Engine/crawler [INFO] finished tweaking git repo https://github.com/Sarina-Engine/crawler [INFO] tweaked toml for git repo https://github.com/Sarina-Engine/crawler written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Sarina-Engine/crawler 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" "+18a6d911caba59605eb03db1452848a85d2e5879" "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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff930f233717b5372100c109fdf223bde3dd716360064bed339a7dba99ca1deb [INFO] running `Command { std: "docker" "start" "-a" "ff930f233717b5372100c109fdf223bde3dd716360064bed339a7dba99ca1deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff930f233717b5372100c109fdf223bde3dd716360064bed339a7dba99ca1deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff930f233717b5372100c109fdf223bde3dd716360064bed339a7dba99ca1deb", kill_on_drop: false }` [INFO] [stdout] ff930f233717b5372100c109fdf223bde3dd716360064bed339a7dba99ca1deb [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7dab7e1789edeccd9cf6d6e17ab428b157b3a5e2cca555ea40e8e707eded5eb [INFO] running `Command { std: "docker" "start" "-a" "a7dab7e1789edeccd9cf6d6e17ab428b157b3a5e2cca555ea40e8e707eded5eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling prettyplease v0.1.21 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking dotenvy v0.15.6 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling which v4.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling libsqlite3-sys v0.25.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling prost-derive v0.11.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling diesel_derives v2.0.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking axum-core v0.2.9 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.11.0 [INFO] [stderr] Compiling prost-types v0.11.1 [INFO] [stderr] Compiling prost-build v0.11.1 [INFO] [stderr] Checking diesel v2.0.2 [INFO] [stderr] Compiling tonic-build v0.8.2 [INFO] [stderr] Compiling digikala_scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.11 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.17 [INFO] [stderr] Checking reqwest v0.11.12 [INFO] [stderr] Checking tonic v0.8.2 [INFO] [stdout] warning: unused imports: `CatTemplate`, `CommentTemplate` [INFO] [stdout] --> src/sender/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::scraper::{CatTemplate, CommentTemplate}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/sender/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use tonic::{Request, Response, Status}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CatTemplate`, `CommentTemplate` [INFO] [stdout] --> src/sender/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::scraper::{CatTemplate, CommentTemplate}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/sender/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use tonic::{Request, Response, Status}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/sender/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let client = ScraperServiceClient::connect("http://[::1]:50051").await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/sender/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let client = ScraperServiceClient::connect("http://[::1]:50051").await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_cats` [INFO] [stdout] --> src/scraper/category_scraper.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let sub_cats = finalize_sub_cats(&main_cats[0]).await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_cats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/scraper/product_scraper.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct FTemplate { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 58 | status: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/scraper/product_scraper.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct PTemplate { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 74 | status: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/scraper/product_scraper.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct FTemplate { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 58 | status: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/scraper/product_scraper.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct PTemplate { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 74 | status: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_categories` [INFO] [stdout] --> src/bin/reciever/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use digikala_scraper::services::{get_categories, get_comments, get_products}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_categories` [INFO] [stdout] --> src/bin/reciever/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use digikala_scraper::services::{get_categories, get_comments, get_products}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/bin/reciever/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | req: Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/bin/reciever/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | req: Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/bin/reciever/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | req: Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/bin/reciever/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | req: Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.75s [INFO] running `Command { std: "docker" "inspect" "a7dab7e1789edeccd9cf6d6e17ab428b157b3a5e2cca555ea40e8e707eded5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7dab7e1789edeccd9cf6d6e17ab428b157b3a5e2cca555ea40e8e707eded5eb", kill_on_drop: false }` [INFO] [stdout] a7dab7e1789edeccd9cf6d6e17ab428b157b3a5e2cca555ea40e8e707eded5eb