[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] testing elton/ntex-restful-api-server against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felton%2Fntex-restful-api-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elton/ntex-restful-api-server on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c15e0fc2cc97f4d9fd90e1afee7d0dc1caaecfcdc68d7ce101cd3c3b9268974b [INFO] running `Command { std: "docker" "start" "-a" "c15e0fc2cc97f4d9fd90e1afee7d0dc1caaecfcdc68d7ce101cd3c3b9268974b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c15e0fc2cc97f4d9fd90e1afee7d0dc1caaecfcdc68d7ce101cd3c3b9268974b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c15e0fc2cc97f4d9fd90e1afee7d0dc1caaecfcdc68d7ce101cd3c3b9268974b", kill_on_drop: false }` [INFO] [stdout] c15e0fc2cc97f4d9fd90e1afee7d0dc1caaecfcdc68d7ce101cd3c3b9268974b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb085a6637901838db178af0e787fd4605bd226674331cc6a70a6131250ab7a3 [INFO] running `Command { std: "docker" "start" "-a" "eb085a6637901838db178af0e787fd4605bd226674331cc6a70a6131250ab7a3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling oneshot v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling ntex-service v3.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling event-listener v5.2.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling event-listener-strategy v0.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling async-broadcast v0.7.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling ulid v1.1.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.17 [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] Compiling ntex-rt v0.4.16 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling ntex-util v2.3.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling combine v4.6.6 [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] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling redis v0.26.1 [INFO] [stderr] Compiling ntex-bytes v0.1.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling postgres v0.19.7 [INFO] [stderr] Compiling ntex-codec v0.6.2 [INFO] [stderr] Compiling ntex-http v0.1.12 [INFO] [stderr] Compiling ntex-router v0.5.3 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling r2d2_postgres v0.18.1 [INFO] [stderr] Compiling ntex-io v2.3.0 [INFO] [stderr] Compiling diesel v2.2.4 [INFO] [stderr] Compiling ntex-tokio v0.5.0 [INFO] [stderr] Compiling ntex-net v2.1.0 [INFO] [stderr] Compiling ntex-h2 v1.1.0 [INFO] [stderr] Compiling ntex-server v2.3.0 [INFO] [stderr] Compiling ntex-tls v2.1.0 [INFO] [stderr] Compiling ntex v2.3.0 [INFO] [stderr] Compiling ntex-cors v2.0.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ntex-restful-api-server v0.5.0 (/opt/rustwide/workdir) [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" "eb085a6637901838db178af0e787fd4605bd226674331cc6a70a6131250ab7a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb085a6637901838db178af0e787fd4605bd226674331cc6a70a6131250ab7a3", kill_on_drop: false }` [INFO] [stdout] eb085a6637901838db178af0e787fd4605bd226674331cc6a70a6131250ab7a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c54984e0049c91192ba793cb2f06bcf9fb1a8a33964c63b3ae02a104f82497b [INFO] running `Command { std: "docker" "start" "-a" "7c54984e0049c91192ba793cb2f06bcf9fb1a8a33964c63b3ae02a104f82497b", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ntex-restful-api-server v0.5.0 (/opt/rustwide/workdir) [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" "7c54984e0049c91192ba793cb2f06bcf9fb1a8a33964c63b3ae02a104f82497b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c54984e0049c91192ba793cb2f06bcf9fb1a8a33964c63b3ae02a104f82497b", kill_on_drop: false }` [INFO] [stdout] 7c54984e0049c91192ba793cb2f06bcf9fb1a8a33964c63b3ae02a104f82497b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8ef89ced367ece9642e9d28b7834c187265f453d161d7bc0fc5f0b21678b589 [INFO] running `Command { std: "docker" "start" "-a" "a8ef89ced367ece9642e9d28b7834c187265f453d161d7bc0fc5f0b21678b589", kill_on_drop: false }` [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/utils/jwt.rs:122:1 [INFO] [stderr] | [INFO] [stderr] 122 | / pub async fn save_token_to_redis( [INFO] [stderr] 123 | | data: &State>, [INFO] [stderr] 124 | | token_id: &str, [INFO] [stderr] 125 | | user_id: usize, [INFO] [stderr] 126 | | max_age: u64, [INFO] [stderr] 127 | | ) -> Result<(), Box> { [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/utils/jwt.rs:130:18 [INFO] [stderr] | [INFO] [stderr] 130 | redis_client.set_ex(token_id, user_id, max_age).await?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 130 | redis_client.set_ex::<_, _, ()>(token_id, user_id, max_age).await?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/utils/jwt.rs:135:1 [INFO] [stderr] | [INFO] [stderr] 135 | / pub async fn delete_token_from_redis( [INFO] [stderr] 136 | | data: &State>, [INFO] [stderr] 137 | | token_id: &str, [INFO] [stderr] 138 | | ) -> Result<(), Box> { [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/utils/jwt.rs:141:18 [INFO] [stderr] | [INFO] [stderr] 141 | redis_client.del(token_id).await?; [INFO] [stderr] | ^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 141 | redis_client.del::<_, ()>(token_id).await?; [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: variants `InternalServerError`, `NotFound`, `Conflict`, and `ServiceUnavailable` are never constructed [INFO] [stderr] --> src/errors.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum AppError { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 7 | #[display("Internal Server Error")] [INFO] [stderr] 8 | InternalServerError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | NotFound, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | #[display("Conflict")] [INFO] [stderr] 16 | Conflict, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 17 | #[display("Service Unavailable")] [INFO] [stderr] 18 | ServiceUnavailable, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ntex-restful-api-server` (bin "ntex-restful-api-server" test) generated 3 warnings (run `cargo fix --bin "ntex-restful-api-server" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ntex-restful-api-server v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ntex_restful_api_server-b7e1dc14aa51cb51) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test utils::jwt::test_decode_token ... FAILED [INFO] [stdout] test utils::jwt::test_jwt ... FAILED [INFO] [stdout] test models::user::test_verify_user ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utils::jwt::test_decode_token stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::jwt::test_decode_token' (26) panicked at src/utils/jwt.rs:103:18: [INFO] [stdout] REFRESH_TOKEN_PUBLIC_KEY must be set: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59bdf5be6c12 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59bdf5be6c12 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59bdf5be6c12 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59bdf5be6c12 - ::fmt::hffd20ad4e5eca8ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59bdf5bf778f - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59bdf5bf778f - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x59bdf5bb3c33 - std::io::default_write_fmt::he11a713685e2464d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59bdf5bb3c33 - std::io::Write::write_fmt::h9d08f7e050bd2612 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59bdf5bbff72 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59bdf5bc4bdf - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59bdf5bc4a71 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x59bdf596ee7e - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x59bdf596ee7e - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59bdf5bc527e - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x59bdf5bc527e - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59bdf5bc504a - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x59bdf5bc00a9 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59bdf5ba744d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x59bdf5bff6e0 - core::panicking::panic_fmt::hc084f85b1e76c16d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x59bdf5bfea96 - core::result::unwrap_failed::hf926a4254073b4aa [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x59bdf593219e - core::result::Result::expect::hab74907e635624ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/result.rs:1175:23 [INFO] [stdout] 21: 0x59bdf5944486 - ntex_restful_api_server::utils::jwt::decode_token::hc71bf55d59c8b339 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:103:18 [INFO] [stdout] 22: 0x59bdf59451bd - ntex_restful_api_server::utils::jwt::test_decode_token::h81bab054299a2e33 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:271:18 [INFO] [stdout] 23: 0x59bdf59453e7 - ntex_restful_api_server::utils::jwt::test_decode_token::{{closure}}::hbbba685939c045f7 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:269:23 [INFO] [stdout] 24: 0x59bdf59306b6 - core::ops::function::FnOnce::call_once::hedd526f307c5c744 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x59bdf596ec3b - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x59bdf596ec3b - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x59bdf5984725 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x59bdf5984725 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x59bdf5984725 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x59bdf5984725 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x59bdf5984725 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x59bdf5984725 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x59bdf5984725 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x59bdf595b114 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x59bdf595b114 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x59bdf595e95a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x59bdf595e95a - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x59bdf595e95a - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x59bdf595e95a - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x59bdf595e95a - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x59bdf595e95a - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x59bdf595e95a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x59bdf5bba27f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x59bdf5bba27f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x732924a2caa4 - [INFO] [stdout] 46: 0x732924ab9a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::jwt::test_jwt stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::jwt::test_jwt' (27) panicked at src/utils/jwt.rs:76:55: [INFO] [stdout] ACCESS_TOKEN_PRIVATE_KEY must be set: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59bdf5be6c12 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59bdf5be6c12 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59bdf5be6c12 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59bdf5be6c12 - ::fmt::hffd20ad4e5eca8ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59bdf5bf778f - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59bdf5bf778f - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x59bdf5bb3c33 - std::io::default_write_fmt::he11a713685e2464d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59bdf5bb3c33 - std::io::Write::write_fmt::h9d08f7e050bd2612 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59bdf5bbff72 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59bdf5bc4bdf - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59bdf5bc4a71 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x59bdf596ee7e - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x59bdf596ee7e - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59bdf5bc527e - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x59bdf5bc527e - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59bdf5bc504a - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x59bdf5bc00a9 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59bdf5ba744d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x59bdf5bff6e0 - core::panicking::panic_fmt::hc084f85b1e76c16d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x59bdf5bfea96 - core::result::unwrap_failed::hf926a4254073b4aa [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x59bdf593219e - core::result::Result::expect::hab74907e635624ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/result.rs:1175:23 [INFO] [stdout] 21: 0x59bdf5944c4d - ntex_restful_api_server::utils::jwt::generate_token::h50ee8b09d7f4e17b [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:76:55 [INFO] [stdout] 22: 0x59bdf5945cdc - ntex_restful_api_server::utils::jwt::test_jwt::hf62d0ff5fc90ea34 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:252:17 [INFO] [stdout] 23: 0x59bdf5946527 - ntex_restful_api_server::utils::jwt::test_jwt::{{closure}}::he1ea3661101b24b9 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:250:14 [INFO] [stdout] 24: 0x59bdf5930266 - core::ops::function::FnOnce::call_once::h3328fc9f95231c7d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x59bdf596ec3b - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x59bdf596ec3b - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x59bdf5984725 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x59bdf5984725 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x59bdf5984725 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x59bdf5984725 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x59bdf5984725 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x59bdf5984725 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x59bdf5984725 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x59bdf595b114 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x59bdf595b114 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x59bdf595e95a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x59bdf595e95a - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x59bdf595e95a - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x59bdf595e95a - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x59bdf595e95a - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x59bdf595e95a - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x59bdf595e95a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x59bdf5bba27f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x59bdf5bba27f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x732924a2caa4 - [INFO] [stdout] 46: 0x732924ab9a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utils::jwt::test_decode_token [INFO] [stdout] utils::jwt::test_jwt [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.87s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin ntex-restful-api-server` [INFO] running `Command { std: "docker" "inspect" "a8ef89ced367ece9642e9d28b7834c187265f453d161d7bc0fc5f0b21678b589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8ef89ced367ece9642e9d28b7834c187265f453d161d7bc0fc5f0b21678b589", kill_on_drop: false }` [INFO] [stdout] a8ef89ced367ece9642e9d28b7834c187265f453d161d7bc0fc5f0b21678b589