[INFO] cloning repository https://github.com/pratik151192/yelp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pratik151192/yelp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpratik151192%2Fyelp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpratik151192%2Fyelp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5734644cb1076e34e49cb47e3cea1327aa77af8 [INFO] building pratik151192/yelp against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpratik151192%2Fyelp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/pratik151192/yelp [INFO] finished tweaking git repo https://github.com/pratik151192/yelp [INFO] tweaked toml for git repo https://github.com/pratik151192/yelp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pratik151192/yelp on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pratik151192/yelp 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-build v0.13.3 [INFO] [stderr] Downloaded tonic-reflection v0.12.3 [INFO] [stderr] Downloaded deadpool v0.12.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.7 [INFO] [stderr] Downloaded whoami v1.5.2 [INFO] [stderr] Downloaded deadpool-postgres v0.14.0 [INFO] [stderr] Downloaded postgres-types v0.2.8 [INFO] [stderr] Downloaded tokio-postgres v0.7.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d820cda4404352fe51620d56cc7c2744a8dc8b47bcf16c320a9a1a2388e1408f [INFO] running `Command { std: "docker" "start" "-a" "d820cda4404352fe51620d56cc7c2744a8dc8b47bcf16c320a9a1a2388e1408f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d820cda4404352fe51620d56cc7c2744a8dc8b47bcf16c320a9a1a2388e1408f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d820cda4404352fe51620d56cc7c2744a8dc8b47bcf16c320a9a1a2388e1408f", kill_on_drop: false }` [INFO] [stdout] d820cda4404352fe51620d56cc7c2744a8dc8b47bcf16c320a9a1a2388e1408f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9da8864e3325fe63d7b6fc6005a51d61307341fbc8c817aa0816aa7d2d0820b7 [INFO] running `Command { std: "docker" "start" "-a" "9da8864e3325fe63d7b6fc6005a51d61307341fbc8c817aa0816aa7d2d0820b7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.13.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling prost-build v0.13.3 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling yelp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling deadpool v0.12.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling deadpool-postgres v0.14.0 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling tonic-reflection v0.12.3 [INFO] [stdout] warning: unused import: `tokio_postgres::types::ToSql` [INFO] [stdout] --> src/server/business_server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_postgres::types::ToSql; [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 variable: `latitude` [INFO] [stdout] --> src/server/business_server.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let latitude = if request.latitude == 0.0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `longitude` [INFO] [stdout] --> src/server/business_server.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let longitude = if request.longitude == 0.0 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/server/business_server.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let radius: f64 = 5000.0; // Example: 5km radius [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/server/business_server.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let name: Option = if request.name.trim().is_empty() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/server/business_server.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let category: Option = if request.category.trim().is_empty() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/server/business_server.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let limit = request.limit; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.75s [INFO] running `Command { std: "docker" "inspect" "9da8864e3325fe63d7b6fc6005a51d61307341fbc8c817aa0816aa7d2d0820b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da8864e3325fe63d7b6fc6005a51d61307341fbc8c817aa0816aa7d2d0820b7", kill_on_drop: false }` [INFO] [stdout] 9da8864e3325fe63d7b6fc6005a51d61307341fbc8c817aa0816aa7d2d0820b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2d2e1722f8e6d12d1fb723089a05660fe8b7ed4df90d7215ae823a436e87a2b [INFO] running `Command { std: "docker" "start" "-a" "b2d2e1722f8e6d12d1fb723089a05660fe8b7ed4df90d7215ae823a436e87a2b", kill_on_drop: false }` [INFO] [stderr] Compiling yelp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio_postgres::types::ToSql` [INFO] [stdout] --> src/server/business_server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_postgres::types::ToSql; [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 variable: `latitude` [INFO] [stdout] --> src/server/business_server.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let latitude = if request.latitude == 0.0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `longitude` [INFO] [stdout] --> src/server/business_server.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let longitude = if request.longitude == 0.0 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/server/business_server.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let radius: f64 = 5000.0; // Example: 5km radius [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/server/business_server.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let name: Option = if request.name.trim().is_empty() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/server/business_server.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let category: Option = if request.category.trim().is_empty() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/server/business_server.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let limit = request.limit; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "b2d2e1722f8e6d12d1fb723089a05660fe8b7ed4df90d7215ae823a436e87a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d2e1722f8e6d12d1fb723089a05660fe8b7ed4df90d7215ae823a436e87a2b", kill_on_drop: false }` [INFO] [stdout] b2d2e1722f8e6d12d1fb723089a05660fe8b7ed4df90d7215ae823a436e87a2b