[INFO] cloning repository https://github.com/elton/ntex-restful-api-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elton/ntex-restful-api-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felton%2Fntex-restful-api-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felton%2Fntex-restful-api-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 500ef226f0a25b3d6ebbfcdbf4364d5de0b1b858 [INFO] checking elton/ntex-restful-api-server against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felton%2Fntex-restful-api-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elton/ntex-restful-api-server on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elton/ntex-restful-api-server [INFO] finished tweaking git repo https://github.com/elton/ntex-restful-api-server [INFO] tweaked toml for git repo https://github.com/elton/ntex-restful-api-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/elton/ntex-restful-api-server 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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2457027a1efa41b5d0beaa69151f4f4133eb799df62774a7b5a2ab13af3de986 [INFO] running `Command { std: "docker" "start" "-a" "2457027a1efa41b5d0beaa69151f4f4133eb799df62774a7b5a2ab13af3de986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2457027a1efa41b5d0beaa69151f4f4133eb799df62774a7b5a2ab13af3de986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2457027a1efa41b5d0beaa69151f4f4133eb799df62774a7b5a2ab13af3de986", kill_on_drop: false }` [INFO] [stdout] 2457027a1efa41b5d0beaa69151f4f4133eb799df62774a7b5a2ab13af3de986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04fbdd4c07a8169730a693fa39eedf7732718dc122cd7fb2bcd0f240a517f7c3 [INFO] running `Command { std: "docker" "start" "-a" "04fbdd4c07a8169730a693fa39eedf7732718dc122cd7fb2bcd0f240a517f7c3", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking oneshot v0.1.6 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ntex-service v3.0.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking async-broadcast v0.7.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking ulid v1.1.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking ntex-rt v0.4.16 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking ntex-util v2.3.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.57 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking redis v0.26.1 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking r2d2_postgres v0.18.1 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v2.3.0 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking diesel v2.2.4 [INFO] [stderr] Checking ntex-tokio v0.5.0 [INFO] [stderr] Checking ntex-net v2.1.0 [INFO] [stderr] Checking ntex-server v2.3.0 [INFO] [stderr] Checking ntex-tls v2.1.0 [INFO] [stderr] Checking ntex-h2 v1.1.0 [INFO] [stderr] Checking ntex v2.3.0 [INFO] [stderr] Checking ntex-cors v2.0.0 [INFO] [stderr] Checking ntex-restful-api-server v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/utils/jwt.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / pub async fn save_token_to_redis( [INFO] [stdout] 123 | | data: &State>, [INFO] [stdout] 124 | | token_id: &str, [INFO] [stdout] 125 | | user_id: usize, [INFO] [stdout] 126 | | max_age: u64, [INFO] [stdout] 127 | | ) -> Result<(), Box> { [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/utils/jwt.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | redis_client.set_ex(token_id, user_id, max_age).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 130 | redis_client.set_ex::<_, _, ()>(token_id, user_id, max_age).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/utils/jwt.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / pub async fn save_token_to_redis( [INFO] [stdout] 123 | | data: &State>, [INFO] [stdout] 124 | | token_id: &str, [INFO] [stdout] 125 | | user_id: usize, [INFO] [stdout] 126 | | max_age: u64, [INFO] [stdout] 127 | | ) -> Result<(), Box> { [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/utils/jwt.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | redis_client.set_ex(token_id, user_id, max_age).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 130 | redis_client.set_ex::<_, _, ()>(token_id, user_id, max_age).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/utils/jwt.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / pub async fn delete_token_from_redis( [INFO] [stdout] 136 | | data: &State>, [INFO] [stdout] 137 | | token_id: &str, [INFO] [stdout] 138 | | ) -> Result<(), Box> { [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/utils/jwt.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | redis_client.del(token_id).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 141 | redis_client.del::<_, ()>(token_id).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/utils/jwt.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / pub async fn delete_token_from_redis( [INFO] [stdout] 136 | | data: &State>, [INFO] [stdout] 137 | | token_id: &str, [INFO] [stdout] 138 | | ) -> Result<(), Box> { [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/utils/jwt.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | redis_client.del(token_id).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 141 | redis_client.del::<_, ()>(token_id).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InternalServerError`, `NotFound`, `Conflict`, and `ServiceUnavailable` are never constructed [INFO] [stdout] --> src/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | #[display("Internal Server Error")] [INFO] [stdout] 8 | InternalServerError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | #[display("Conflict")] [INFO] [stdout] 16 | Conflict, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | #[display("Service Unavailable")] [INFO] [stdout] 18 | ServiceUnavailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InternalServerError`, `NotFound`, `Conflict`, and `ServiceUnavailable` are never constructed [INFO] [stdout] --> src/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | #[display("Internal Server Error")] [INFO] [stdout] 8 | InternalServerError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | #[display("Conflict")] [INFO] [stdout] 16 | Conflict, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | #[display("Service Unavailable")] [INFO] [stdout] 18 | ServiceUnavailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "04fbdd4c07a8169730a693fa39eedf7732718dc122cd7fb2bcd0f240a517f7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04fbdd4c07a8169730a693fa39eedf7732718dc122cd7fb2bcd0f240a517f7c3", kill_on_drop: false }` [INFO] [stdout] 04fbdd4c07a8169730a693fa39eedf7732718dc122cd7fb2bcd0f240a517f7c3