[INFO] cloning repository https://github.com/kamaljamali/first-test-rust-ntex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamaljamali/first-test-rust-ntex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaljamali%2Ffirst-test-rust-ntex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaljamali%2Ffirst-test-rust-ntex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50c362372d6acd464e17ad26985d43c7a12cf5e9 [INFO] checking kamaljamali/first-test-rust-ntex against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaljamali%2Ffirst-test-rust-ntex" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamaljamali/first-test-rust-ntex on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamaljamali/first-test-rust-ntex [INFO] finished tweaking git repo https://github.com/kamaljamali/first-test-rust-ntex [INFO] tweaked toml for git repo https://github.com/kamaljamali/first-test-rust-ntex written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kamaljamali/first-test-rust-ntex 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-embed-utils v8.1.0 [INFO] [stderr] Downloaded rust-embed-impl v8.1.0 [INFO] [stderr] Downloaded serde-json-core v0.5.1 [INFO] [stderr] Downloaded ntex-io v0.3.14 [INFO] [stderr] Downloaded ntex-tls v0.3.3 [INFO] [stderr] Downloaded ntex-bytes v0.1.21 [INFO] [stderr] Downloaded ntex-http v0.1.11 [INFO] [stderr] Downloaded ntex-tokio v0.3.1 [INFO] [stderr] Downloaded ntex-h2 v0.4.4 [INFO] [stderr] Downloaded rust-embed v8.1.0 [INFO] [stderr] Downloaded utoipa-swagger-ui v5.0.0 [INFO] [stderr] Downloaded ntex v0.7.13 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87cf70d90b586aa3fe6600696bd4748e1a791161073a81d19f6390fb7897db08 [INFO] running `Command { std: "docker" "start" "-a" "87cf70d90b586aa3fe6600696bd4748e1a791161073a81d19f6390fb7897db08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87cf70d90b586aa3fe6600696bd4748e1a791161073a81d19f6390fb7897db08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87cf70d90b586aa3fe6600696bd4748e1a791161073a81d19f6390fb7897db08", kill_on_drop: false }` [INFO] [stdout] 87cf70d90b586aa3fe6600696bd4748e1a791161073a81d19f6390fb7897db08 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9029b22ea6bcdd152fbec1c7a0295404c383635c0febb39434bf17b62b11ee3 [INFO] running `Command { std: "docker" "start" "-a" "f9029b22ea6bcdd152fbec1c7a0295404c383635c0febb39434bf17b62b11ee3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking event-listener v4.0.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Checking oneshot v0.1.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Checking ntex-service v1.2.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Checking ntex-rt v0.4.11 [INFO] [stderr] Checking ntex-util v0.3.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rust-embed-utils v8.1.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling rust-embed-impl v8.1.0 [INFO] [stderr] Compiling utoipa-gen v4.1.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling utoipa-swagger-ui v5.0.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking ntex-bytes v0.1.21 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.11 [INFO] [stderr] Checking ntex-io v0.3.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking ntex-tls v0.3.3 [INFO] [stderr] Checking ntex-tokio v0.3.1 [INFO] [stderr] Checking ntex-connect v0.3.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Checking ntex-h2 v0.4.4 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking rust-embed v8.1.0 [INFO] [stderr] Checking utoipa v4.1.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking serde-json-core v0.5.1 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Compiling ntex-router v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling ntex v0.7.13 [INFO] [stderr] Checking first-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/db/db_postgres.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RunQueryDsl` is imported redundantly [INFO] [stdout] --> src/db/db_postgres.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `RunQueryDsl` is already imported here [INFO] [stdout] 6 | use diesel::query_dsl::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/db/db_postgres.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RunQueryDsl` is imported redundantly [INFO] [stdout] --> src/db/db_postgres.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `RunQueryDsl` is already imported here [INFO] [stdout] 6 | use diesel::query_dsl::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/services/student_service.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/services/student_service.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/db/db_postgres.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let result = diesel::insert_into(students).values(&*item).execute(pool); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/db/db_postgres.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let result = diesel::insert_into(students).values(&*item).execute(pool); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/db/db_postgres.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | Ok(res) => Ok(true), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/db/db_postgres.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | Ok(res) => Ok(true), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/db/db_postgres.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => Err(Error::NotFound), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/db/db_postgres.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => Err(Error::NotFound), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/services/student_service.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn get_students_test(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/student_service.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(err) => HttpResponse::InternalServerError().body("Internal Server Error"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/services/student_service.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn get_students_test(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/student_service.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => HttpResponse::InternalServerError().body("Internal Server Error"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/student_service.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(err) => HttpResponse::InternalServerError().body("Internal Server Error"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/student_service.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | Err(err) => HttpResponse::InternalServerError().body("Internal Server Error"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/student_service.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => HttpResponse::InternalServerError().body("Internal Server Error"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/student_service.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Err(err) => HttpResponse::InternalServerError().body("Internal Server Error"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/student_service.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | Err(err) => HttpResponse::InternalServerError().body("Internal Server Error"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/student_service.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Err(err) => HttpResponse::InternalServerError().body("Internal Server Error"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/errors/error.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl CustomError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(error_status_code: u16, error_message: String) -> CustomError { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/errors/error.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl CustomError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(error_status_code: u16, error_message: String) -> CustomError { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.76s [INFO] running `Command { std: "docker" "inspect" "f9029b22ea6bcdd152fbec1c7a0295404c383635c0febb39434bf17b62b11ee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9029b22ea6bcdd152fbec1c7a0295404c383635c0febb39434bf17b62b11ee3", kill_on_drop: false }` [INFO] [stdout] f9029b22ea6bcdd152fbec1c7a0295404c383635c0febb39434bf17b62b11ee3 [INFO] checking kamaljamali/first-test-rust-ntex against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaljamali%2Ffirst-test-rust-ntex" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamaljamali/first-test-rust-ntex on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamaljamali/first-test-rust-ntex [INFO] finished tweaking git repo https://github.com/kamaljamali/first-test-rust-ntex [INFO] tweaked toml for git repo https://github.com/kamaljamali/first-test-rust-ntex written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kamaljamali/first-test-rust-ntex 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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a5f6bb1c07e841d261a2669efd5e342034a4d5406049abe24eb383692e89c05 [INFO] running `Command { std: "docker" "start" "-a" "9a5f6bb1c07e841d261a2669efd5e342034a4d5406049abe24eb383692e89c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a5f6bb1c07e841d261a2669efd5e342034a4d5406049abe24eb383692e89c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5f6bb1c07e841d261a2669efd5e342034a4d5406049abe24eb383692e89c05", kill_on_drop: false }` [INFO] [stdout] 9a5f6bb1c07e841d261a2669efd5e342034a4d5406049abe24eb383692e89c05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caab25c1bd5170d8b6bee49f4d26221dfba881270597cd0a41b5645263ca4ae6 [INFO] running `Command { std: "docker" "start" "-a" "caab25c1bd5170d8b6bee49f4d26221dfba881270597cd0a41b5645263ca4ae6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking event-listener v4.0.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking oneshot v0.1.6 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Checking ntex-service v1.2.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking ntex-rt v0.4.11 [INFO] [stderr] Checking ntex-util v0.3.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling rust-embed-utils v8.1.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling utoipa-gen v4.1.0 [INFO] [stderr] Compiling rust-embed-impl v8.1.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling utoipa-swagger-ui v5.0.0 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking ntex-bytes v0.1.21 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-io v0.3.14 [INFO] [stderr] Checking ntex-http v0.1.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ntex-tls v0.3.3 [INFO] [stderr] Checking ntex-tokio v0.3.1 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking ntex-connect v0.3.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking ntex-h2 v0.4.4 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking utoipa v4.1.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking rust-embed v8.1.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking serde-json-core v0.5.1 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Compiling ntex-router v0.5.2 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling ntex v0.7.13 [INFO] [stderr] error: could not compile `diesel` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/80d5fe37e16a0befb4128414cb6a11d544788c0a/bin/rustc --crate-name diesel --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="32-column-tables"' --cfg 'feature="bitflags"' --cfg 'feature="byteorder"' --cfg 'feature="chrono"' --cfg 'feature="default"' --cfg 'feature="itoa"' --cfg 'feature="postgres"' --cfg 'feature="postgres_backend"' --cfg 'feature="pq-sys"' --cfg 'feature="r2d2"' --cfg 'feature="uuid"' --cfg 'feature="with-deprecated"' -C metadata=215d65966a127682 -C extra-filename=-215d65966a127682 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-a93ede3bc04486c6.rmeta --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-f457975fa4e321fd.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-b30da9f58acea38c.rmeta --extern diesel_derives=/opt/rustwide/target/debug/deps/libdiesel_derives-b5319c51f4a371d0.so --extern itoa=/opt/rustwide/target/debug/deps/libitoa-fc9ea35452942db8.rmeta --extern pq_sys=/opt/rustwide/target/debug/deps/libpq_sys-2b60c2857a8af8b3.rmeta --extern r2d2=/opt/rustwide/target/debug/deps/libr2d2-c06981187dec3f84.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-f3e37fe907859856.rmeta --cap-lints allow --cap-lints=forbid -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "caab25c1bd5170d8b6bee49f4d26221dfba881270597cd0a41b5645263ca4ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caab25c1bd5170d8b6bee49f4d26221dfba881270597cd0a41b5645263ca4ae6", kill_on_drop: false }` [INFO] [stdout] caab25c1bd5170d8b6bee49f4d26221dfba881270597cd0a41b5645263ca4ae6