[INFO] cloning repository https://github.com/RaviChandraOfficial/deployintegration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RaviChandraOfficial/deployintegration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaviChandraOfficial%2Fdeployintegration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaviChandraOfficial%2Fdeployintegration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa40b8e1ce778844d660ae53175f6276bc015ac1 [INFO] testing RaviChandraOfficial/deployintegration against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaviChandraOfficial%2Fdeployintegration" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RaviChandraOfficial/deployintegration [INFO] finished tweaking git repo https://github.com/RaviChandraOfficial/deployintegration [INFO] tweaked toml for git repo https://github.com/RaviChandraOfficial/deployintegration written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RaviChandraOfficial/deployintegration on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RaviChandraOfficial/deployintegration 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 839f35daeb128ee50a861c37d4dafdb05a8d8d90c6492477b92769cc97c1922f [INFO] running `Command { std: "docker" "start" "-a" "839f35daeb128ee50a861c37d4dafdb05a8d8d90c6492477b92769cc97c1922f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "839f35daeb128ee50a861c37d4dafdb05a8d8d90c6492477b92769cc97c1922f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839f35daeb128ee50a861c37d4dafdb05a8d8d90c6492477b92769cc97c1922f", kill_on_drop: false }` [INFO] [stdout] 839f35daeb128ee50a861c37d4dafdb05a8d8d90c6492477b92769cc97c1922f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 094a3240f5736abab1f02a7e83f1b6722050453ac733c5595afbec53b896ba12 [INFO] running `Command { std: "docker" "start" "-a" "094a3240f5736abab1f02a7e83f1b6722050453ac733c5595afbec53b896ba12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling aws-types v1.3.2 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling aws-smithy-xml v0.60.8 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling aws-smithy-async v1.2.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling aws-smithy-types v1.2.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling jsonwebtokens v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.7.0 [INFO] [stderr] Compiling aws-smithy-json v0.60.7 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling aws-smithy-http v0.60.8 [INFO] [stderr] Compiling aws-credential-types v1.2.0 [INFO] [stderr] Compiling aws-sigv4 v1.2.2 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling aws-runtime v1.3.0 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling aws-smithy-runtime v1.5.5 [INFO] [stderr] Compiling jsonwebtokens-cognito v0.1.1 [INFO] [stderr] Compiling aws-sdk-sso v1.29.0 [INFO] [stderr] Compiling aws-sdk-sts v1.29.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.30.0 [INFO] [stderr] Compiling aws-sdk-cognitoidentityprovider v1.33.0 [INFO] [stderr] Compiling aws-config v1.5.1 [INFO] [stderr] Compiling my_rest_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Pool` and `Postgres` [INFO] [stdout] --> src/handler.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{PgPool, Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Get_id_data` should have an upper camel case name [INFO] [stdout] --> src/sensor.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Get_id_data { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetIdData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth` [INFO] [stdout] --> src/middleware.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{auth, sensor::CurrentUser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/auth.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `put` [INFO] [stdout] --> src/main.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::HeaderValue, middleware::from_fn, routing::{delete, get, post, put}, Extension, Router}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "094a3240f5736abab1f02a7e83f1b6722050453ac733c5595afbec53b896ba12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "094a3240f5736abab1f02a7e83f1b6722050453ac733c5595afbec53b896ba12", kill_on_drop: false }` [INFO] [stdout] 094a3240f5736abab1f02a7e83f1b6722050453ac733c5595afbec53b896ba12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a89f06ed936b109b1767cbe8b47ebef938afede19f7b6ca3b4e1685b9229f210 [INFO] running `Command { std: "docker" "start" "-a" "a89f06ed936b109b1767cbe8b47ebef938afede19f7b6ca3b4e1685b9229f210", kill_on_drop: false }` [INFO] [stderr] Compiling my_rest_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Pool` and `Postgres` [INFO] [stdout] --> src/handler.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{PgPool, Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Get_id_data` should have an upper camel case name [INFO] [stdout] --> src/sensor.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Get_id_data { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetIdData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth` [INFO] [stdout] --> src/middleware.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{auth, sensor::CurrentUser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/auth.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `put` [INFO] [stdout] --> src/main.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::HeaderValue, middleware::from_fn, routing::{delete, get, post, put}, Extension, Router}; [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 imports: `Pool` and `Postgres` [INFO] [stdout] --> src/handler.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{PgPool, Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Get_id_data` should have an upper camel case name [INFO] [stdout] --> src/sensor.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Get_id_data { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetIdData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth` [INFO] [stdout] --> src/middleware.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{auth, sensor::CurrentUser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/auth.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a89f06ed936b109b1767cbe8b47ebef938afede19f7b6ca3b4e1685b9229f210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a89f06ed936b109b1767cbe8b47ebef938afede19f7b6ca3b4e1685b9229f210", kill_on_drop: false }` [INFO] [stdout] a89f06ed936b109b1767cbe8b47ebef938afede19f7b6ca3b4e1685b9229f210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d8669d95f2108b7834b93c6336ac114f531b7404ec629061a6e355c4d6f35bdd [INFO] running `Command { std: "docker" "start" "-a" "d8669d95f2108b7834b93c6336ac114f531b7404ec629061a6e355c4d6f35bdd", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Pool` and `Postgres` [INFO] [stderr] --> src/handler.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use sqlx::{PgPool, Pool, Postgres}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type `Get_id_data` should have an upper camel case name [INFO] [stderr] --> src/sensor.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub struct Get_id_data { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetIdData` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `auth` [INFO] [stderr] --> src/middleware.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{auth, sensor::CurrentUser}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Response` is never constructed [INFO] [stderr] --> src/auth.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | struct Response { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `my_rest_api` (lib) generated 4 warnings (run `cargo fix --lib -p my_rest_api` to apply 2 suggestions) [INFO] [stderr] warning: `my_rest_api` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: unused imports: `delete` and `put` [INFO] [stderr] --> src/main.rs:1:62 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::{http::HeaderValue, middleware::from_fn, routing::{delete, get, post, put}, Extension, Router}; [INFO] [stderr] | ^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `my_rest_api` (bin "my_rest_api" test) generated 1 warning (run `cargo fix --bin "my_rest_api" -p my_rest_api --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_rest_api-1aeb3189ff3ecc9e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/my_rest_api-a6577987298d22d4) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests my_rest_api [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: type `Get_id_data` should have an upper camel case name [INFO] [stderr] --> src/sensor.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub struct Get_id_data { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetIdData` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d8669d95f2108b7834b93c6336ac114f531b7404ec629061a6e355c4d6f35bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8669d95f2108b7834b93c6336ac114f531b7404ec629061a6e355c4d6f35bdd", kill_on_drop: false }` [INFO] [stdout] d8669d95f2108b7834b93c6336ac114f531b7404ec629061a6e355c4d6f35bdd