[INFO] cloning repository https://github.com/fizikurniawan/actix-bookstore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fizikurniawan/actix-bookstore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffizikurniawan%2Factix-bookstore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffizikurniawan%2Factix-bookstore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4367af119627a3eca215ca6c8e9f69a143beb76a [INFO] testing fizikurniawan/actix-bookstore against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffizikurniawan%2Factix-bookstore" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fizikurniawan/actix-bookstore on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fizikurniawan/actix-bookstore [INFO] finished tweaking git repo https://github.com/fizikurniawan/actix-bookstore [INFO] tweaked toml for git repo https://github.com/fizikurniawan/actix-bookstore written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fizikurniawan/actix-bookstore 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-02-18" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7fbd0bfdd273b48acb53ed929dc14e8740cfdc8b8a623634033612aabcce252 [INFO] running `Command { std: "docker" "start" "-a" "e7fbd0bfdd273b48acb53ed929dc14e8740cfdc8b8a623634033612aabcce252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7fbd0bfdd273b48acb53ed929dc14e8740cfdc8b8a623634033612aabcce252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7fbd0bfdd273b48acb53ed929dc14e8740cfdc8b8a623634033612aabcce252", kill_on_drop: false }` [INFO] [stdout] e7fbd0bfdd273b48acb53ed929dc14e8740cfdc8b8a623634033612aabcce252 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dc872b872da8d1fcfcf106736aa5df64949bbf06d6dfa822077a5a58187d792 [INFO] running `Command { std: "docker" "start" "-a" "2dc872b872da8d1fcfcf106736aa5df64949bbf06d6dfa822077a5a58187d792", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling paste v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling bytestring v1.2.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling zstd-sys v2.0.4+zstd.1.5.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling pq-sys v0.4.7 [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 flate2 v1.0.25 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling diesel_derives v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.1.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling actix-http v3.2.2 [INFO] [stderr] Compiling diesel v2.0.2 [INFO] [stderr] Compiling actix-web v4.2.1 [INFO] [stderr] Compiling bookstore_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/services/category.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema::categories` [INFO] [stdout] --> src/services/category.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | schema::categories, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_SIGNUP_SUCCESS` is never used [INFO] [stdout] --> src/libs/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MESSAGE_SIGNUP_SUCCESS: &str = "Signup successfully"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGIN_SUCCESS` is never used [INFO] [stdout] --> src/libs/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | 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/libs/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MESSAGE_LOGIN_FAILED: &str = "Wrong username or password, please try again"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_USER_NOT_FOUND` is never used [INFO] [stdout] --> src/libs/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MESSAGE_USER_NOT_FOUND: &str = "User not found, please signup"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGOUT_SUCCESS` is never used [INFO] [stdout] --> src/libs/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | 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/libs/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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/libs/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | 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/libs/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | 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/libs/constants.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | 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/libs/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const AUTHORIZATION: &str = "Authorization"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "2dc872b872da8d1fcfcf106736aa5df64949bbf06d6dfa822077a5a58187d792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc872b872da8d1fcfcf106736aa5df64949bbf06d6dfa822077a5a58187d792", kill_on_drop: false }` [INFO] [stdout] 2dc872b872da8d1fcfcf106736aa5df64949bbf06d6dfa822077a5a58187d792 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83088d3907aa8e3f72cc394efac96ec06b42cbb97a338d2d3734dfe42da26358 [INFO] running `Command { std: "docker" "start" "-a" "83088d3907aa8e3f72cc394efac96ec06b42cbb97a338d2d3734dfe42da26358", kill_on_drop: false }` [INFO] [stderr] Compiling bookstore_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/services/category.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema::categories` [INFO] [stdout] --> src/services/category.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | schema::categories, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_SIGNUP_SUCCESS` is never used [INFO] [stdout] --> src/libs/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MESSAGE_SIGNUP_SUCCESS: &str = "Signup successfully"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGIN_SUCCESS` is never used [INFO] [stdout] --> src/libs/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | 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/libs/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MESSAGE_LOGIN_FAILED: &str = "Wrong username or password, please try again"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_USER_NOT_FOUND` is never used [INFO] [stdout] --> src/libs/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MESSAGE_USER_NOT_FOUND: &str = "User not found, please signup"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_LOGOUT_SUCCESS` is never used [INFO] [stdout] --> src/libs/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | 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/libs/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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/libs/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | 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/libs/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | 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/libs/constants.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | 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/libs/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const AUTHORIZATION: &str = "Authorization"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "83088d3907aa8e3f72cc394efac96ec06b42cbb97a338d2d3734dfe42da26358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83088d3907aa8e3f72cc394efac96ec06b42cbb97a338d2d3734dfe42da26358", kill_on_drop: false }` [INFO] [stdout] 83088d3907aa8e3f72cc394efac96ec06b42cbb97a338d2d3734dfe42da26358 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0099bb5aae84027dafba6ecff6fc94e4a27da24bdbb0282ea9b0bf5f6066f2b8 [INFO] running `Command { std: "docker" "start" "-a" "0099bb5aae84027dafba6ecff6fc94e4a27da24bdbb0282ea9b0bf5f6066f2b8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> src/services/category.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `schema::categories` [INFO] [stderr] --> src/services/category.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | schema::categories, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_SIGNUP_SUCCESS` is never used [INFO] [stderr] --> src/libs/constants.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const MESSAGE_SIGNUP_SUCCESS: &str = "Signup successfully"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_LOGIN_SUCCESS` is never used [INFO] [stderr] --> src/libs/constants.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | 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/libs/constants.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const MESSAGE_LOGIN_FAILED: &str = "Wrong username or password, please try again"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_USER_NOT_FOUND` is never used [INFO] [stderr] --> src/libs/constants.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const MESSAGE_USER_NOT_FOUND: &str = "User not found, please signup"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_LOGOUT_SUCCESS` is never used [INFO] [stderr] --> src/libs/constants.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | 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/libs/constants.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | 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/libs/constants.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | 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/libs/constants.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | 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/libs/constants.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | pub const MESSAGE_TOKEN_MISSING: &str = "Token is missing"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `AUTHORIZATION` is never used [INFO] [stderr] --> src/libs/constants.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const AUTHORIZATION: &str = "Authorization"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bookstore_api` (bin "bookstore_api" test) generated 12 warnings (run `cargo fix --bin "bookstore_api" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bookstore_api-0c36995155da0f22) [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" "0099bb5aae84027dafba6ecff6fc94e4a27da24bdbb0282ea9b0bf5f6066f2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0099bb5aae84027dafba6ecff6fc94e4a27da24bdbb0282ea9b0bf5f6066f2b8", kill_on_drop: false }` [INFO] [stdout] 0099bb5aae84027dafba6ecff6fc94e4a27da24bdbb0282ea9b0bf5f6066f2b8