[INFO] cloning repository https://github.com/CallMeRa8/learning_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CallMeRa8/learning_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallMeRa8%2Flearning_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallMeRa8%2Flearning_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50836140dfb534312ebd00548847f28fd5d08c0b [INFO] checking CallMeRa8/learning_rust against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallMeRa8%2Flearning_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CallMeRa8/learning_rust [INFO] finished tweaking git repo https://github.com/CallMeRa8/learning_rust [INFO] tweaked toml for git repo https://github.com/CallMeRa8/learning_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CallMeRa8/learning_rust on toolchain 035b01b794602d5861daa43ac792f372f8981ed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CallMeRa8/learning_rust 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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.14.8 [INFO] [stderr] Downloaded mediatype v0.19.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9c5f25306c065b8bfb64b436ddca4c217e57eaae32659cc474711d12a820140 [INFO] running `Command { std: "docker" "start" "-a" "b9c5f25306c065b8bfb64b436ddca4c217e57eaae32659cc474711d12a820140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9c5f25306c065b8bfb64b436ddca4c217e57eaae32659cc474711d12a820140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c5f25306c065b8bfb64b436ddca4c217e57eaae32659cc474711d12a820140", kill_on_drop: false }` [INFO] [stdout] b9c5f25306c065b8bfb64b436ddca4c217e57eaae32659cc474711d12a820140 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4047f69b5fb06d37d3fc915f3529c9962c4c77d2037ea70685a7e05c2e511d27 [INFO] running `Command { std: "docker" "start" "-a" "4047f69b5fb06d37d3fc915f3529c9962c4c77d2037ea70685a7e05c2e511d27", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.8 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex-syntax v0.8.7 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.12 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Checking regex v1.12.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking serde_html_form v0.2.8 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling actix-web-lab-derive v0.20.0 [INFO] [stderr] Checking mediatype v0.19.20 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking actix-http v3.11.2 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Checking actix-web-lab v0.20.2 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/configs/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub database_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_jwt_secret`, `get_jwt_expires_in`, and `get_database_url` are never used [INFO] [stdout] --> src/configs/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_jwt_secret(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_jwt_expires_in(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_database_url(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEALTH` is never used [INFO] [stdout] --> src/routers/mod.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub const HEALTH: &str = "/health"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUTH_REGISTER` is never used [INFO] [stdout] --> src/routers/mod.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub const AUTH_REGISTER: &str = "/api/auth/register"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUTH_LOGIN` is never used [INFO] [stdout] --> src/routers/mod.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub const AUTH_LOGIN: &str = "/api/auth/login"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_ME` is never used [INFO] [stdout] --> src/routers/mod.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub const USER_ME: &str = "/api/user/me"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/configs/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub database_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_jwt_secret`, `get_jwt_expires_in`, and `get_database_url` are never used [INFO] [stdout] --> src/configs/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_jwt_secret(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_jwt_expires_in(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_database_url(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "4047f69b5fb06d37d3fc915f3529c9962c4c77d2037ea70685a7e05c2e511d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4047f69b5fb06d37d3fc915f3529c9962c4c77d2037ea70685a7e05c2e511d27", kill_on_drop: false }` [INFO] [stdout] 4047f69b5fb06d37d3fc915f3529c9962c4c77d2037ea70685a7e05c2e511d27