[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 master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felton%2Fntex-restful-api-server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elton/ntex-restful-api-server on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "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-4-tc1/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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntex-tls v2.1.0 [INFO] [stderr] Downloaded ntex-service v3.0.0 [INFO] [stderr] Downloaded ntex-util v2.3.0 [INFO] [stderr] Downloaded ntex-server v2.3.0 [INFO] [stderr] Downloaded ntex-http v0.1.12 [INFO] [stderr] Downloaded ntex-h2 v1.1.0 [INFO] [stderr] Downloaded ntex-rt v0.4.16 [INFO] [stderr] Downloaded ntex v2.3.0 [INFO] [stderr] Downloaded ntex-cors v2.0.0 [INFO] [stderr] Downloaded ntex-io v2.3.0 [INFO] [stderr] Downloaded ntex-tokio v0.5.0 [INFO] [stderr] Downloaded ntex-net v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbee3c928fe7e73db1f34c26114be71534e1e177efc113058020f883dbb3bef4 [INFO] running `Command { std: "docker" "start" "-a" "fbee3c928fe7e73db1f34c26114be71534e1e177efc113058020f883dbb3bef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbee3c928fe7e73db1f34c26114be71534e1e177efc113058020f883dbb3bef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbee3c928fe7e73db1f34c26114be71534e1e177efc113058020f883dbb3bef4", kill_on_drop: false }` [INFO] [stdout] fbee3c928fe7e73db1f34c26114be71534e1e177efc113058020f883dbb3bef4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d39ece6949c708da20f15336c0514f432b46a493a241145cbd46dadf0a1aa6 [INFO] running `Command { std: "docker" "start" "-a" "98d39ece6949c708da20f15336c0514f432b46a493a241145cbd46dadf0a1aa6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling fnv v1.0.7 [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 tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling oneshot v0.1.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling ntex-service v3.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling event-listener v5.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling event-listener-strategy v0.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling async-broadcast v0.7.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [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 anstyle-parse v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling ulid v1.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling ntex-rt v0.4.16 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling ntex-util v2.3.0 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling combine v4.6.6 [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 futures-util v0.3.30 [INFO] [stderr] Compiling 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] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling redis v0.26.1 [INFO] [stderr] Compiling postgres v0.19.7 [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 r2d2_postgres v0.18.1 [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 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "98d39ece6949c708da20f15336c0514f432b46a493a241145cbd46dadf0a1aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d39ece6949c708da20f15336c0514f432b46a493a241145cbd46dadf0a1aa6", kill_on_drop: false }` [INFO] [stdout] 98d39ece6949c708da20f15336c0514f432b46a493a241145cbd46dadf0a1aa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3fb3fe86ec7296c1ac4e6a4c2cfed5cf12cf6af704c2e0acbcee7c8d4e60af5 [INFO] running `Command { std: "docker" "start" "-a" "e3fb3fe86ec7296c1ac4e6a4c2cfed5cf12cf6af704c2e0acbcee7c8d4e60af5", 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.84s [INFO] running `Command { std: "docker" "inspect" "e3fb3fe86ec7296c1ac4e6a4c2cfed5cf12cf6af704c2e0acbcee7c8d4e60af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3fb3fe86ec7296c1ac4e6a4c2cfed5cf12cf6af704c2e0acbcee7c8d4e60af5", kill_on_drop: false }` [INFO] [stdout] e3fb3fe86ec7296c1ac4e6a4c2cfed5cf12cf6af704c2e0acbcee7c8d4e60af5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 02e1802d33ff02ef0a244784153e8dee09e248a71af552735d63282158dd28c0 [INFO] running `Command { std: "docker" "start" "-a" "02e1802d33ff02ef0a244784153e8dee09e248a71af552735d63282158dd28c0", 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)]` 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)]` 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.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ntex_restful_api_server-386833aa36a7c290) [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' 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: 0x609f1beed5e0 - std::backtrace_rs::backtrace::libunwind::trace::hff7ffeb2055d56f7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x609f1beed5e0 - std::backtrace_rs::backtrace::trace_unsynchronized::he7b3446d48853094 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x609f1beed5e0 - std::sys::backtrace::_print_fmt::hc2f9f78a9d81f67e [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x609f1beed5e0 - ::fmt::h222ded249a1f0b37 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x609f1bf15d23 - core::fmt::rt::Argument::fmt::hf87ad28cd961f7a3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x609f1bf15d23 - core::fmt::write::h9275005cf35b8a10 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x609f1bee9c63 - std::io::Write::write_fmt::h9c45a7064b117632 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x609f1beed432 - std::sys::backtrace::BacktraceLock::print::hd225c6688b44ae93 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x609f1beeea0f - std::panicking::default_hook::{{closure}}::h2b0bdfbf5b027ac9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x609f1beee828 - std::panicking::default_hook::ha8790851fc656c1a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x609f1bca3615 - as core::ops::function::Fn>::call::hdad4d0506655a157 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 11: 0x609f1bca3615 - test::test_main::{{closure}}::hdf61abd52acd3de0 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x609f1beef503 - as core::ops::function::Fn>::call::h52c5bf698b1366e5 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 13: 0x609f1beef503 - std::panicking::rust_panic_with_hook::ha306bc05bdb5b696 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x609f1beef1ba - std::panicking::begin_panic_handler::{{closure}}::h2c0d6e717a62810c [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x609f1beedae9 - std::sys::backtrace::__rust_end_short_backtrace::h1e7465e8c528d13d [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x609f1beeee4d - rust_begin_unwind [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x609f1bf146d0 - core::panicking::panic_fmt::h0c17c793f18e9c3f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x609f1bf14b76 - core::result::unwrap_failed::hb71c1a118c26f2bc [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x609f1bc4d876 - core::result::Result::expect::ha9ce41e0e6a9b466 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/result.rs:1061:23 [INFO] [stdout] 20: 0x609f1bc5fa21 - ntex_restful_api_server::utils::jwt::decode_token::h462577f937bf4761 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:102:40 [INFO] [stdout] 21: 0x609f1bc6323f - ntex_restful_api_server::utils::jwt::test_decode_token::h3705a3978858abdc [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:271:18 [INFO] [stdout] 22: 0x609f1bc631d7 - ntex_restful_api_server::utils::jwt::test_decode_token::{{closure}}::h644e060c360f3262 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:269:23 [INFO] [stdout] 23: 0x609f1bc53d26 - core::ops::function::FnOnce::call_once::h23467cbc0678f2e1 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x609f1bca8e0b - core::ops::function::FnOnce::call_once::ha8d13c24f305262f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x609f1bca8e0b - test::__rust_begin_short_backtrace::hda7ed5913d26b4c3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:637:18 [INFO] [stdout] 26: 0x609f1bca7c88 - test::run_test_in_process::{{closure}}::h98799ac8ad05dc17 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:60 [INFO] [stdout] 27: 0x609f1bca7c88 - as core::ops::function::FnOnce<()>>::call_once::h9915be725ed5cec7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x609f1bca7c88 - std::panicking::try::do_call::hdae5166dc0f6479b [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 29: 0x609f1bca7c88 - std::panicking::try::h8fa0f35111734e43 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 30: 0x609f1bca7c88 - std::panic::catch_unwind::h2c5c178909d676e7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 31: 0x609f1bca7c88 - test::run_test_in_process::h2157e57f25733f22 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:27 [INFO] [stdout] 32: 0x609f1bca7c88 - test::run_test::{{closure}}::h22055a3e9dc56ab9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:581:43 [INFO] [stdout] 33: 0x609f1bc6ac45 - test::run_test::{{closure}}::h0de666e52c64b314 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:611:41 [INFO] [stdout] 34: 0x609f1bc6ac45 - std::sys::backtrace::__rust_begin_short_backtrace::hc24dfc6dbc7f5867 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x609f1bc6e5ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h036a075b14c8a889 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x609f1bc6e5ca - as core::ops::function::FnOnce<()>>::call_once::h77e5e1e1c11b3182 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x609f1bc6e5ca - std::panicking::try::do_call::h64009ce4a7d5024a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 38: 0x609f1bc6e5ca - std::panicking::try::h9f253851f45b6cf2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 39: 0x609f1bc6e5ca - std::panic::catch_unwind::hbcdf318df191e0d2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 40: 0x609f1bc6e5ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b0514eb1722a9bb [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x609f1bc6e5ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h49ed8239622cf2ed [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x609f1bef38cb - as core::ops::function::FnOnce>::call_once::h5d46408001e51da6 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x609f1bef38cb - as core::ops::function::FnOnce>::call_once::hfb44b07af29285a8 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x609f1bef38cb - std::sys::pal::unix::thread::Thread::new::thread_start::h3fe202b40d9df201 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 45: 0x7d78b289eac3 - [INFO] [stdout] 46: 0x7d78b292fa04 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::jwt::test_jwt stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::jwt::test_jwt' 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: 0x609f1beed5e0 - std::backtrace_rs::backtrace::libunwind::trace::hff7ffeb2055d56f7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x609f1beed5e0 - std::backtrace_rs::backtrace::trace_unsynchronized::he7b3446d48853094 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x609f1beed5e0 - std::sys::backtrace::_print_fmt::hc2f9f78a9d81f67e [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x609f1beed5e0 - ::fmt::h222ded249a1f0b37 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x609f1bf15d23 - core::fmt::rt::Argument::fmt::hf87ad28cd961f7a3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x609f1bf15d23 - core::fmt::write::h9275005cf35b8a10 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x609f1bee9c63 - std::io::Write::write_fmt::h9c45a7064b117632 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x609f1beed432 - std::sys::backtrace::BacktraceLock::print::hd225c6688b44ae93 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x609f1beeea0f - std::panicking::default_hook::{{closure}}::h2b0bdfbf5b027ac9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x609f1beee828 - std::panicking::default_hook::ha8790851fc656c1a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x609f1bca3615 - as core::ops::function::Fn>::call::hdad4d0506655a157 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 11: 0x609f1bca3615 - test::test_main::{{closure}}::hdf61abd52acd3de0 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x609f1beef503 - as core::ops::function::Fn>::call::h52c5bf698b1366e5 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 13: 0x609f1beef503 - std::panicking::rust_panic_with_hook::ha306bc05bdb5b696 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x609f1beef1ba - std::panicking::begin_panic_handler::{{closure}}::h2c0d6e717a62810c [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x609f1beedae9 - std::sys::backtrace::__rust_end_short_backtrace::h1e7465e8c528d13d [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x609f1beeee4d - rust_begin_unwind [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x609f1bf146d0 - core::panicking::panic_fmt::h0c17c793f18e9c3f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x609f1bf14b76 - core::result::unwrap_failed::hb71c1a118c26f2bc [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x609f1bc4d876 - core::result::Result::expect::ha9ce41e0e6a9b466 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/result.rs:1061:23 [INFO] [stdout] 20: 0x609f1bc5f3a3 - ntex_restful_api_server::utils::jwt::generate_token::h7e6b3b0de788389f [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:76:13 [INFO] [stdout] 21: 0x609f1bc6293d - ntex_restful_api_server::utils::jwt::test_jwt::ha0d99c9094b8f5b7 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:252:17 [INFO] [stdout] 22: 0x609f1bc628c7 - ntex_restful_api_server::utils::jwt::test_jwt::{{closure}}::hced0326a7a013d4e [INFO] [stdout] at /opt/rustwide/workdir/src/utils/jwt.rs:250:14 [INFO] [stdout] 23: 0x609f1bc54006 - core::ops::function::FnOnce::call_once::h6eb43bb955feee56 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x609f1bca8e0b - core::ops::function::FnOnce::call_once::ha8d13c24f305262f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x609f1bca8e0b - test::__rust_begin_short_backtrace::hda7ed5913d26b4c3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:637:18 [INFO] [stdout] 26: 0x609f1bca7c88 - test::run_test_in_process::{{closure}}::h98799ac8ad05dc17 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:60 [INFO] [stdout] 27: 0x609f1bca7c88 - as core::ops::function::FnOnce<()>>::call_once::h9915be725ed5cec7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x609f1bca7c88 - std::panicking::try::do_call::hdae5166dc0f6479b [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 29: 0x609f1bca7c88 - std::panicking::try::h8fa0f35111734e43 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 30: 0x609f1bca7c88 - std::panic::catch_unwind::h2c5c178909d676e7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 31: 0x609f1bca7c88 - test::run_test_in_process::h2157e57f25733f22 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:27 [INFO] [stdout] 32: 0x609f1bca7c88 - test::run_test::{{closure}}::h22055a3e9dc56ab9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:581:43 [INFO] [stdout] 33: 0x609f1bc6ac45 - test::run_test::{{closure}}::h0de666e52c64b314 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:611:41 [INFO] [stdout] 34: 0x609f1bc6ac45 - std::sys::backtrace::__rust_begin_short_backtrace::hc24dfc6dbc7f5867 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x609f1bc6e5ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h036a075b14c8a889 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x609f1bc6e5ca - as core::ops::function::FnOnce<()>>::call_once::h77e5e1e1c11b3182 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x609f1bc6e5ca - std::panicking::try::do_call::h64009ce4a7d5024a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 38: 0x609f1bc6e5ca - std::panicking::try::h9f253851f45b6cf2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 39: 0x609f1bc6e5ca - std::panic::catch_unwind::hbcdf318df191e0d2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 40: 0x609f1bc6e5ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b0514eb1722a9bb [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x609f1bc6e5ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h49ed8239622cf2ed [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x609f1bef38cb - as core::ops::function::FnOnce>::call_once::h5d46408001e51da6 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x609f1bef38cb - as core::ops::function::FnOnce>::call_once::hfb44b07af29285a8 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x609f1bef38cb - std::sys::pal::unix::thread::Thread::new::thread_start::h3fe202b40d9df201 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 45: 0x7d78b289eac3 - [INFO] [stdout] 46: 0x7d78b292fa04 - 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.85s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin ntex-restful-api-server` [INFO] running `Command { std: "docker" "inspect" "02e1802d33ff02ef0a244784153e8dee09e248a71af552735d63282158dd28c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e1802d33ff02ef0a244784153e8dee09e248a71af552735d63282158dd28c0", kill_on_drop: false }` [INFO] [stdout] 02e1802d33ff02ef0a244784153e8dee09e248a71af552735d63282158dd28c0