[INFO] cloning repository https://github.com/midy177/actix-web-admin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/midy177/actix-web-admin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmidy177%2Factix-web-admin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmidy177%2Factix-web-admin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f790a42d763fa0d7b6487c9ac44d596d29cc644 [INFO] testing midy177/actix-web-admin against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmidy177%2Factix-web-admin" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/midy177/actix-web-admin on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/midy177/actix-web-admin [INFO] finished tweaking git repo https://github.com/midy177/actix-web-admin [INFO] tweaked toml for git repo https://github.com/midy177/actix-web-admin written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/midy177/actix-web-admin 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-macro-internal v1.2.2 [INFO] [stderr] Downloaded jsonwebtoken v8.2.0 [INFO] [stderr] Downloaded tokio-signal v0.2.9 [INFO] [stderr] Downloaded pest_meta v2.5.2 [INFO] [stderr] Downloaded pest_derive v2.5.2 [INFO] [stderr] Downloaded actix-multipart v0.4.0 [INFO] [stderr] Downloaded parking_lot_core v0.6.3 [INFO] [stderr] Downloaded bytestring v1.2.0 [INFO] [stderr] Downloaded actix-web-actors v4.1.0 [INFO] [stderr] Downloaded pest v2.5.2 [INFO] [stderr] Downloaded pest_generator v2.5.2 [INFO] [stderr] Downloaded tokio-pty-process v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a5dd20b0326a2dd7db00eb2e932e54ac853c9ed4c0150578ca74dd9eb3c97a5 [INFO] running `Command { std: "docker" "start" "-a" "3a5dd20b0326a2dd7db00eb2e932e54ac853c9ed4c0150578ca74dd9eb3c97a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a5dd20b0326a2dd7db00eb2e932e54ac853c9ed4c0150578ca74dd9eb3c97a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5dd20b0326a2dd7db00eb2e932e54ac853c9ed4c0150578ca74dd9eb3c97a5", kill_on_drop: false }` [INFO] [stdout] 3a5dd20b0326a2dd7db00eb2e932e54ac853c9ed4c0150578ca74dd9eb3c97a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 188643159b048a073552f76c7ea9abc285ca6b55c7643b07194869f2088bbe7b [INFO] running `Command { std: "docker" "start" "-a" "188643159b048a073552f76c7ea9abc285ca6b55c7643b07194869f2088bbe7b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling bytestring v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling zstd-sys v2.0.4+zstd.1.5.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling erased-serde v0.3.24 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling tokio-signal v0.2.9 [INFO] [stderr] Compiling pem v1.1.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling tokio-pty-process v0.4.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling uuid-macro-internal v1.2.2 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Compiling pest v2.5.2 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling actix-web-codegen v4.1.0 [INFO] [stderr] Compiling pest_meta v2.5.2 [INFO] [stderr] Compiling pest_generator v2.5.2 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling actix v0.13.0 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling pest_derive v2.5.2 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling jsonwebtoken v8.2.0 [INFO] [stderr] Compiling handlebars v4.3.6 [INFO] [stderr] Compiling actix-http v3.2.2 [INFO] [stderr] Compiling actix-web v4.2.1 [INFO] [stderr] Compiling actix-multipart v0.4.0 [INFO] [stderr] Compiling actix-web-actors v4.1.0 [INFO] [stderr] Compiling rust-actix-web-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LoginRequest` [INFO] [stdout] --> src/utils/token.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::user::{UserToken, LoginRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `Error`, `HttpRequest`, `HttpResponse`, `HttpServer`, and `web` [INFO] [stdout] --> src/service/xterm.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, App, Error, HttpRequest, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^ ^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_status` [INFO] [stdout] --> src/utils/response.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/utils/response.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/service/xterm.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let addr = ctx.address(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/utils/response.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_200`, `new_other`, and `response` are never used [INFO] [stdout] --> src/utils/response.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl GenerateResponse { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new_200(data: T) -> GenerateResponse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn response(&self) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_OK` is never used [INFO] [stdout] --> src/utils/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MESSAGE_OK: &str = "ok"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_CAN_NOT_FETCH_DATA` is never used [INFO] [stdout] --> src/utils/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MESSAGE_CAN_NOT_FETCH_DATA: &str = "Can not fetch data"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_CAN_NOT_INSERT_DATA` is never used [INFO] [stdout] --> src/utils/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MESSAGE_CAN_NOT_INSERT_DATA: &str = "Can not insert data"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_CAN_NOT_UPDATE_DATA` is never used [INFO] [stdout] --> src/utils/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MESSAGE_CAN_NOT_UPDATE_DATA: &str = "Can not update data"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_CAN_NOT_DELETE_DATA` is never used [INFO] [stdout] --> src/utils/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MESSAGE_CAN_NOT_DELETE_DATA: &str = "Can not delete data"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_SIGNUP_SUCCESS` is never used [INFO] [stdout] --> src/utils/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MESSAGE_SIGNUP_SUCCESS: &str = "Signup successfully"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGIN_SUCCESS` is never used [INFO] [stdout] --> src/utils/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MESSAGE_LOGIN_SUCCESS: &str = "Login successfully"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGIN_FAILED` is never used [INFO] [stdout] --> src/utils/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MESSAGE_LOGIN_FAILED: &str = "Wrong username or password, please try again"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGOUT_SUCCESS` is never used [INFO] [stdout] --> src/utils/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MESSAGE_LOGOUT_SUCCESS: &str = "Logout successfully"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_PROCESS_TOKEN_ERROR` is never used [INFO] [stdout] --> src/utils/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MESSAGE_PROCESS_TOKEN_ERROR: &str = "Error while processing token"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_INVALID_TOKEN` is never used [INFO] [stdout] --> src/utils/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MESSAGE_INVALID_TOKEN: &str = "Invalid token, please login again"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_INTERNAL_SERVER_ERROR` is never used [INFO] [stdout] --> src/utils/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MESSAGE_INTERNAL_SERVER_ERROR: &str = "Internal Server Error"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TOKEN_MISSING` is never used [INFO] [stdout] --> src/utils/constants.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const MESSAGE_TOKEN_MISSING: &str = "Token is missing"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUTHORIZATION` is never used [INFO] [stdout] --> src/utils/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const AUTHORIZATION: &str = "Authorization"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/utils/constants.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const EMPTY: &str = ""; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "188643159b048a073552f76c7ea9abc285ca6b55c7643b07194869f2088bbe7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "188643159b048a073552f76c7ea9abc285ca6b55c7643b07194869f2088bbe7b", kill_on_drop: false }` [INFO] [stdout] 188643159b048a073552f76c7ea9abc285ca6b55c7643b07194869f2088bbe7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16f0676b9a548a95a7b4aace0387a761faf7c7b13281860c886902ec99f8c7ce [INFO] running `Command { std: "docker" "start" "-a" "16f0676b9a548a95a7b4aace0387a761faf7c7b13281860c886902ec99f8c7ce", kill_on_drop: false }` [INFO] [stderr] Compiling rust-actix-web-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LoginRequest` [INFO] [stdout] --> src/utils/token.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::user::{UserToken, LoginRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `Error`, `HttpRequest`, `HttpResponse`, `HttpServer`, and `web` [INFO] [stdout] --> src/service/xterm.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, App, Error, HttpRequest, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^ ^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_status` [INFO] [stdout] --> src/utils/response.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/utils/response.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/service/xterm.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let addr = ctx.address(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerateResponse` is never constructed [INFO] [stdout] --> src/utils/response.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GenerateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_200`, `new_other`, and `response` are never used [INFO] [stdout] --> src/utils/response.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl GenerateResponse { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new_200(data: T) -> GenerateResponse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn response(&self) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_OK` is never used [INFO] [stdout] --> src/utils/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MESSAGE_OK: &str = "ok"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_CAN_NOT_FETCH_DATA` is never used [INFO] [stdout] --> src/utils/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MESSAGE_CAN_NOT_FETCH_DATA: &str = "Can not fetch data"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_CAN_NOT_INSERT_DATA` is never used [INFO] [stdout] --> src/utils/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MESSAGE_CAN_NOT_INSERT_DATA: &str = "Can not insert data"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_CAN_NOT_UPDATE_DATA` is never used [INFO] [stdout] --> src/utils/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MESSAGE_CAN_NOT_UPDATE_DATA: &str = "Can not update data"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_CAN_NOT_DELETE_DATA` is never used [INFO] [stdout] --> src/utils/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MESSAGE_CAN_NOT_DELETE_DATA: &str = "Can not delete data"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_SIGNUP_SUCCESS` is never used [INFO] [stdout] --> src/utils/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MESSAGE_SIGNUP_SUCCESS: &str = "Signup successfully"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGIN_SUCCESS` is never used [INFO] [stdout] --> src/utils/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MESSAGE_LOGIN_SUCCESS: &str = "Login successfully"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGIN_FAILED` is never used [INFO] [stdout] --> src/utils/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MESSAGE_LOGIN_FAILED: &str = "Wrong username or password, please try again"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGOUT_SUCCESS` is never used [INFO] [stdout] --> src/utils/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MESSAGE_LOGOUT_SUCCESS: &str = "Logout successfully"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_PROCESS_TOKEN_ERROR` is never used [INFO] [stdout] --> src/utils/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MESSAGE_PROCESS_TOKEN_ERROR: &str = "Error while processing token"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_INVALID_TOKEN` is never used [INFO] [stdout] --> src/utils/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MESSAGE_INVALID_TOKEN: &str = "Invalid token, please login again"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_INTERNAL_SERVER_ERROR` is never used [INFO] [stdout] --> src/utils/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MESSAGE_INTERNAL_SERVER_ERROR: &str = "Internal Server Error"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TOKEN_MISSING` is never used [INFO] [stdout] --> src/utils/constants.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const MESSAGE_TOKEN_MISSING: &str = "Token is missing"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUTHORIZATION` is never used [INFO] [stdout] --> src/utils/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const AUTHORIZATION: &str = "Authorization"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/utils/constants.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const EMPTY: &str = ""; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "16f0676b9a548a95a7b4aace0387a761faf7c7b13281860c886902ec99f8c7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f0676b9a548a95a7b4aace0387a761faf7c7b13281860c886902ec99f8c7ce", kill_on_drop: false }` [INFO] [stdout] 16f0676b9a548a95a7b4aace0387a761faf7c7b13281860c886902ec99f8c7ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 44f976d62b49640fc7c60f1859964b74629f101d000a1d9f893f503d73ac0e62 [INFO] running `Command { std: "docker" "start" "-a" "44f976d62b49640fc7c60f1859964b74629f101d000a1d9f893f503d73ac0e62", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `LoginRequest` [INFO] [stderr] --> src/utils/token.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::model::user::{UserToken, LoginRequest}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `Error`, `HttpRequest`, `HttpResponse`, `HttpServer`, and `web` [INFO] [stderr] --> src/service/xterm.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{web, App, Error, HttpRequest, HttpResponse, HttpServer}; [INFO] [stderr] | ^^^ ^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `http_status` [INFO] [stderr] --> src/utils/response.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_status` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/utils/response.rs:36:47 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/service/xterm.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let addr = ctx.address(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: struct `GenerateResponse` is never constructed [INFO] [stderr] --> src/utils/response.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct GenerateResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new_200`, `new_other`, and `response` are never used [INFO] [stderr] --> src/utils/response.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl GenerateResponse { [INFO] [stderr] | --------------------------------------------- associated items in this implementation [INFO] [stderr] 27 | pub fn new_200(data: T) -> GenerateResponse { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn new_other(http_status: StatusCode, message: String) -> GenerateResponse { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn response(&self) -> HttpResponse { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_OK` is never used [INFO] [stderr] --> src/utils/constants.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const MESSAGE_OK: &str = "ok"; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_CAN_NOT_FETCH_DATA` is never used [INFO] [stderr] --> src/utils/constants.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub const MESSAGE_CAN_NOT_FETCH_DATA: &str = "Can not fetch data"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_CAN_NOT_INSERT_DATA` is never used [INFO] [stderr] --> src/utils/constants.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const MESSAGE_CAN_NOT_INSERT_DATA: &str = "Can not insert data"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_CAN_NOT_UPDATE_DATA` is never used [INFO] [stderr] --> src/utils/constants.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const MESSAGE_CAN_NOT_UPDATE_DATA: &str = "Can not update data"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_CAN_NOT_DELETE_DATA` is never used [INFO] [stderr] --> src/utils/constants.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const MESSAGE_CAN_NOT_DELETE_DATA: &str = "Can not delete data"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_SIGNUP_SUCCESS` is never used [INFO] [stderr] --> src/utils/constants.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const MESSAGE_SIGNUP_SUCCESS: &str = "Signup successfully"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_LOGIN_SUCCESS` is never used [INFO] [stderr] --> src/utils/constants.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const MESSAGE_LOGIN_SUCCESS: &str = "Login successfully"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_LOGIN_FAILED` is never used [INFO] [stderr] --> src/utils/constants.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const MESSAGE_LOGIN_FAILED: &str = "Wrong username or password, please try again"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_LOGOUT_SUCCESS` is never used [INFO] [stderr] --> src/utils/constants.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const MESSAGE_LOGOUT_SUCCESS: &str = "Logout successfully"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_PROCESS_TOKEN_ERROR` is never used [INFO] [stderr] --> src/utils/constants.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const MESSAGE_PROCESS_TOKEN_ERROR: &str = "Error while processing token"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_INVALID_TOKEN` is never used [INFO] [stderr] --> src/utils/constants.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const MESSAGE_INVALID_TOKEN: &str = "Invalid token, please login again"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_INTERNAL_SERVER_ERROR` is never used [INFO] [stderr] --> src/utils/constants.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub const MESSAGE_INTERNAL_SERVER_ERROR: &str = "Internal Server Error"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_TOKEN_MISSING` is never used [INFO] [stderr] --> src/utils/constants.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | pub const MESSAGE_TOKEN_MISSING: &str = "Token is missing"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `AUTHORIZATION` is never used [INFO] [stderr] --> src/utils/constants.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | pub const AUTHORIZATION: &str = "Authorization"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `EMPTY` is never used [INFO] [stderr] --> src/utils/constants.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | pub const EMPTY: &str = ""; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-actix-web-example` (bin "rust-actix-web-example" test) generated 24 warnings (run `cargo fix --bin "rust-actix-web-example" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_actix_web_example-805233af137f3d99) [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" "44f976d62b49640fc7c60f1859964b74629f101d000a1d9f893f503d73ac0e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f976d62b49640fc7c60f1859964b74629f101d000a1d9f893f503d73ac0e62", kill_on_drop: false }` [INFO] [stdout] 44f976d62b49640fc7c60f1859964b74629f101d000a1d9f893f503d73ac0e62