[INFO] cloning repository https://github.com/Nick-NodeJS/cs-auth-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nick-NodeJS/cs-auth-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNick-NodeJS%2Fcs-auth-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNick-NodeJS%2Fcs-auth-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97fe4b4bfb6cbd184315d9d05437199b8c9a3fe5 [INFO] testing Nick-NodeJS/cs-auth-service against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNick-NodeJS%2Fcs-auth-service" "/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/Nick-NodeJS/cs-auth-service on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nick-NodeJS/cs-auth-service [INFO] finished tweaking git repo https://github.com/Nick-NodeJS/cs-auth-service [INFO] tweaked toml for git repo https://github.com/Nick-NodeJS/cs-auth-service written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nick-NodeJS/cs-auth-service 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded local-channel v0.1.5 [INFO] [stderr] Downloaded bytestring v1.3.1 [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded local-waker v0.1.4 [INFO] [stderr] Downloaded actix-rt v2.9.0 [INFO] [stderr] Downloaded actix-web-codegen v4.2.2 [INFO] [stderr] Downloaded impl-more v0.1.6 [INFO] [stderr] Downloaded actix-tls v3.1.1 [INFO] [stderr] Downloaded actix-http v3.4.0 [INFO] [stderr] Downloaded mongodb v2.7.1 [INFO] [stderr] Downloaded rustls v0.21.8 [INFO] [stderr] Downloaded brotli v3.4.0 [INFO] [stderr] Downloaded actix-web-thiserror-derive v0.2.0 [INFO] [stderr] Downloaded zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Downloaded actix-web-thiserror v0.2.0 [INFO] [stderr] Downloaded bson v2.7.0 [INFO] [stderr] Downloaded actix-web v4.4.0 [INFO] [stderr] Downloaded brotli-decompressor v2.5.1 [INFO] [stderr] Downloaded awc v3.2.0 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded actix-server v2.3.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d96a196be3e82e2ee7676683d957902930d104c6c7ff17dae7d76e1f7e29e361 [INFO] running `Command { std: "docker" "start" "-a" "d96a196be3e82e2ee7676683d957902930d104c6c7ff17dae7d76e1f7e29e361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d96a196be3e82e2ee7676683d957902930d104c6c7ff17dae7d76e1f7e29e361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96a196be3e82e2ee7676683d957902930d104c6c7ff17dae7d76e1f7e29e361", kill_on_drop: false }` [INFO] [stdout] d96a196be3e82e2ee7676683d957902930d104c6c7ff17dae7d76e1f7e29e361 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9b8194f546051467bbbbd43e7f7d801cb8a5ebc0ffc716ef7ac7c1c9fe5813d [INFO] running `Command { std: "docker" "start" "-a" "a9b8194f546051467bbbbd43e7f7d801cb8a5ebc0ffc716ef7ac7c1c9fe5813d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling zerocopy v0.7.25 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ff2c56344c764af598ad33027e9c7a48881808ef/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=53af827ca4a76bc5 -C extra-filename=-53af827ca4a76bc5 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-8f9eaa8821be0e99.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-d108c9f5106570d3.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-f8d62a079c79a15a.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a9b8194f546051467bbbbd43e7f7d801cb8a5ebc0ffc716ef7ac7c1c9fe5813d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b8194f546051467bbbbd43e7f7d801cb8a5ebc0ffc716ef7ac7c1c9fe5813d", kill_on_drop: false }` [INFO] [stdout] a9b8194f546051467bbbbd43e7f7d801cb8a5ebc0ffc716ef7ac7c1c9fe5813d [INFO] testing Nick-NodeJS/cs-auth-service against try#5e4273472e1b2f223618a9b3def795f6224f241d for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNick-NodeJS%2Fcs-auth-service" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nick-NodeJS/cs-auth-service on toolchain 5e4273472e1b2f223618a9b3def795f6224f241d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nick-NodeJS/cs-auth-service [INFO] finished tweaking git repo https://github.com/Nick-NodeJS/cs-auth-service [INFO] tweaked toml for git repo https://github.com/Nick-NodeJS/cs-auth-service written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nick-NodeJS/cs-auth-service 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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 441a3ab9b62b5cfa4e78eb666628aa9adb3028502eae6891f733ba4542c77272 [INFO] running `Command { std: "docker" "start" "-a" "441a3ab9b62b5cfa4e78eb666628aa9adb3028502eae6891f733ba4542c77272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "441a3ab9b62b5cfa4e78eb666628aa9adb3028502eae6891f733ba4542c77272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441a3ab9b62b5cfa4e78eb666628aa9adb3028502eae6891f733ba4542c77272", kill_on_drop: false }` [INFO] [stdout] 441a3ab9b62b5cfa4e78eb666628aa9adb3028502eae6891f733ba4542c77272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5caee07c7392ef2f745b5a2c2b9a52aa0d8100e05c8edc19d92aeda1d5d2c3f5 [INFO] running `Command { std: "docker" "start" "-a" "5caee07c7392ef2f745b5a2c2b9a52aa0d8100e05c8edc19d92aeda1d5d2c3f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zerocopy v0.7.25 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling actix-web-thiserror-derive v0.2.0 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling redis v0.23.3 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling actix-tls v3.1.1 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling bson v2.7.0 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling cs_shared_lib v0.1.0 (/opt/rustwide/workdir/cs_shared_lib) [INFO] [stderr] Compiling mongodb v2.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling actix-http v3.4.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling actix-web v4.4.0 [INFO] [stderr] Compiling awc v3.2.0 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling actix-web-thiserror v0.2.0 [INFO] [stderr] Compiling cs-auth-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `redis::RedisError` [INFO] [stdout] --> src/app/app_error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::RedisError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_helpers::chrono_datetime_as_bson_datetime` [INFO] [stdout] --> src/app/models/session.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use bson::{oid::ObjectId, serde_helpers::chrono_datetime_as_bson_datetime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app/repositories/session/repository.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/app/repositories/session/repository.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Error as SerdeJsonError, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRedisValue`, `RedisResult`, `ToRedisArgs` [INFO] [stdout] --> src/app/services/cache/service.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use redis::{Client, Connection, FromRedisValue, RedisResult, ToRedisArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RedisError` [INFO] [stdout] --> src/app/services/cache/service.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::{Commands, RedisError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/app/services/cache/service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::RedisError` [INFO] [stdout] --> src/app/services/google/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use redis::RedisError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/app/services/google/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `self` [INFO] [stdout] --> src/app/services/google/service.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/app/services/google/structures.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonwebtoken::DecodingKey` [INFO] [stdout] --> src/app/services/google/structures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::DecodingKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::Document` [INFO] [stdout] --> src/app/services/storage/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bson::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `doc` [INFO] [stdout] --> src/app/services/storage/service.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::bson::{self, doc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::models::user::User` [INFO] [stdout] --> src/app/services/storage/service.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::app::models::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::AuthProviders` [INFO] [stdout] --> src/app/services/user/service.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | common::AuthProviders, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_valid_ipv4`, `validate_ip_port` [INFO] [stdout] --> src/config/session_config.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use cs_shared_lib::validation::{is_valid_ipv4, validate_integer_in_range, validate_ip_port}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_data` [INFO] [stdout] --> src/app/handlers/google/logout.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn login(app_data: web::Data) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> src/app/handlers/google/logout.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn login(app_data: web::Data) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/app/repositories/user/repository.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | collection: String, [INFO] [stdout] 15 | cache: CacheService, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/app/services/session/service.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SessionService { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | config: SessionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WrongProfileError` is never constructed [INFO] [stdout] --> src/app/services/user/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum UserServiceError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | WrongProfileError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app/repositories/session/repository.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | let session_map = self.storage.hmget(session_key.clone())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app/services/google/service.rs:123:74 [INFO] [stdout] | [INFO] [stdout] 123 | let try_code: Option = self.cache_service.get_value(state.clone().as_ref())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app/services/google/service.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | let key = match self.get_token_key(token.clone()).await? { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "5caee07c7392ef2f745b5a2c2b9a52aa0d8100e05c8edc19d92aeda1d5d2c3f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5caee07c7392ef2f745b5a2c2b9a52aa0d8100e05c8edc19d92aeda1d5d2c3f5", kill_on_drop: false }` [INFO] [stdout] 5caee07c7392ef2f745b5a2c2b9a52aa0d8100e05c8edc19d92aeda1d5d2c3f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02601c7ac2a1b5d3be8857f4b7e5ef5e022b19b88ff4e2179b6b3d09a0224292 [INFO] running `Command { std: "docker" "start" "-a" "02601c7ac2a1b5d3be8857f4b7e5ef5e022b19b88ff4e2179b6b3d09a0224292", kill_on_drop: false }` [INFO] [stderr] Compiling cs-auth-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `redis::RedisError` [INFO] [stdout] --> src/app/app_error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::RedisError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_helpers::chrono_datetime_as_bson_datetime` [INFO] [stdout] --> src/app/models/session.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use bson::{oid::ObjectId, serde_helpers::chrono_datetime_as_bson_datetime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app/repositories/session/repository.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/app/repositories/session/repository.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Error as SerdeJsonError, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRedisValue`, `RedisResult`, `ToRedisArgs` [INFO] [stdout] --> src/app/services/cache/service.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use redis::{Client, Connection, FromRedisValue, RedisResult, ToRedisArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RedisError` [INFO] [stdout] --> src/app/services/cache/service.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::{Commands, RedisError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/app/services/cache/service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::RedisError` [INFO] [stdout] --> src/app/services/google/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use redis::RedisError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/app/services/google/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `self` [INFO] [stdout] --> src/app/services/google/service.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/app/services/google/structures.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonwebtoken::DecodingKey` [INFO] [stdout] --> src/app/services/google/structures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::DecodingKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::Document` [INFO] [stdout] --> src/app/services/storage/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bson::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `doc` [INFO] [stdout] --> src/app/services/storage/service.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::bson::{self, doc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::models::user::User` [INFO] [stdout] --> src/app/services/storage/service.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::app::models::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::AuthProviders` [INFO] [stdout] --> src/app/services/user/service.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | common::AuthProviders, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_valid_ipv4`, `validate_ip_port` [INFO] [stdout] --> src/config/session_config.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use cs_shared_lib::validation::{is_valid_ipv4, validate_integer_in_range, validate_ip_port}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_data` [INFO] [stdout] --> src/app/handlers/google/logout.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn login(app_data: web::Data) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> src/app/handlers/google/logout.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn login(app_data: web::Data) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/app/repositories/user/repository.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | collection: String, [INFO] [stdout] 15 | cache: CacheService, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/app/services/session/service.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SessionService { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | config: SessionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WrongProfileError` is never constructed [INFO] [stdout] --> src/app/services/user/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum UserServiceError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | WrongProfileError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app/repositories/session/repository.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | let session_map = self.storage.hmget(session_key.clone())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app/services/google/service.rs:123:74 [INFO] [stdout] | [INFO] [stdout] 123 | let try_code: Option = self.cache_service.get_value(state.clone().as_ref())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app/services/google/service.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | let key = match self.get_token_key(token.clone()).await? { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.34s [INFO] running `Command { std: "docker" "inspect" "02601c7ac2a1b5d3be8857f4b7e5ef5e022b19b88ff4e2179b6b3d09a0224292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02601c7ac2a1b5d3be8857f4b7e5ef5e022b19b88ff4e2179b6b3d09a0224292", kill_on_drop: false }` [INFO] [stdout] 02601c7ac2a1b5d3be8857f4b7e5ef5e022b19b88ff4e2179b6b3d09a0224292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 693b8ac9abe08a2ee6f107b3e576241c58ea6b74bcefd74422cde0f9ddb796c5 [INFO] running `Command { std: "docker" "start" "-a" "693b8ac9abe08a2ee6f107b3e576241c58ea6b74bcefd74422cde0f9ddb796c5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `redis::RedisError` [INFO] [stderr] --> src/app/app_error.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use redis::RedisError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_helpers::chrono_datetime_as_bson_datetime` [INFO] [stderr] --> src/app/models/session.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use bson::{oid::ObjectId, serde_helpers::chrono_datetime_as_bson_datetime}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/app/repositories/session/repository.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Value` [INFO] [stderr] --> src/app/repositories/session/repository.rs:3:43 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json::{Error as SerdeJsonError, Value}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FromRedisValue`, `RedisResult`, `ToRedisArgs` [INFO] [stderr] --> src/app/services/cache/service.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | use redis::{Client, Connection, FromRedisValue, RedisResult, ToRedisArgs}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RedisError` [INFO] [stderr] --> src/app/services/cache/service.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use redis::{Commands, RedisError}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/app/services/cache/service.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `redis::RedisError` [INFO] [stderr] --> src/app/services/google/error.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use redis::RedisError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bson::oid::ObjectId` [INFO] [stderr] --> src/app/services/google/service.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use bson::oid::ObjectId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Display`, `self` [INFO] [stderr] --> src/app/services/google/service.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fmt::{self, Display}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Display` [INFO] [stderr] --> src/app/services/google/structures.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::{self, Display}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::DecodingKey` [INFO] [stderr] --> src/app/services/google/structures.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::DecodingKey; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bson::Document` [INFO] [stderr] --> src/app/services/storage/service.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use bson::Document; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `doc` [INFO] [stderr] --> src/app/services/storage/service.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use mongodb::bson::{self, doc}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::app::models::user::User` [INFO] [stderr] --> src/app/services/storage/service.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::app::models::user::User; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::AuthProviders` [INFO] [stderr] --> src/app/services/user/service.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | common::AuthProviders, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `is_valid_ipv4`, `validate_ip_port` [INFO] [stderr] --> src/config/session_config.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use cs_shared_lib::validation::{is_valid_ipv4, validate_integer_in_range, validate_ip_port}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_data` [INFO] [stderr] --> src/app/handlers/google/logout.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn login(app_data: web::Data) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `login` is never used [INFO] [stderr] --> src/app/handlers/google/logout.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn login(app_data: web::Data) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `cache` is never read [INFO] [stderr] --> src/app/repositories/user/repository.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct UserRepository { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 14 | collection: String, [INFO] [stderr] 15 | cache: CacheService, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/app/services/session/service.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct SessionService { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 15 | config: SessionConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `WrongProfileError` is never constructed [INFO] [stderr] --> src/app/services/user/error.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum UserServiceError { [INFO] [stderr] | ---------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 17 | WrongProfileError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/app/repositories/session/repository.rs:25:57 [INFO] [stderr] | [INFO] [stderr] 25 | let session_map = self.storage.hmget(session_key.clone())?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/app/services/google/service.rs:123:74 [INFO] [stderr] | [INFO] [stderr] 123 | let try_code: Option = self.cache_service.get_value(state.clone().as_ref())?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/app/services/google/service.rs:228:49 [INFO] [stderr] | [INFO] [stderr] 228 | let key = match self.get_token_key(token.clone()).await? { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `cs-auth-service` (bin "cs-auth-service" test) generated 25 warnings (run `cargo fix --bin "cs-auth-service" --tests` to apply 21 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cs_auth_service-deab200f07ad1351) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test app::services::google::tests::tests::test_google_token_decoding ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- app::services::google::tests::tests::test_google_token_decoding stdout ---- [INFO] [stdout] thread 'app::services::google::tests::tests::test_google_token_decoding' panicked at src/config/google_config.rs:26:14: [INFO] [stdout] Missing the GOOGLE_CLIENT_ID environment variable.: EnvVar(NotPresent) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55b5421ffd9c - std::backtrace_rs::backtrace::libunwind::trace::he911f9c907837597 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55b5421ffd9c - std::backtrace_rs::backtrace::trace_unsynchronized::hb30926ceb4a5ace8 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b5421ffd9c - std::sys_common::backtrace::_print_fmt::h20b4c3cb4b8e01de [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55b5421ffd9c - ::fmt::hcb347474accdbb50 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55b54222a0e0 - core::fmt::rt::Argument::fmt::h0959df1f48ddd7a2 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55b54222a0e0 - core::fmt::write::hb02961b4380cf4e7 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55b5421fd64f - std::io::Write::write_fmt::h529bf90db5fd4c64 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/io/mod.rs:1810:15 [INFO] [stdout] 7: 0x55b5421ffb84 - std::sys_common::backtrace::_print::h9f31dc4772e05e46 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55b5421ffb84 - std::sys_common::backtrace::print::he1974c4a8ca14219 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55b5422018b7 - std::panicking::default_hook::{{closure}}::h9663c9f0f27e933c [INFO] [stdout] 10: 0x55b5422015a3 - std::panicking::default_hook::h232155e937189ed1 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55b541e10507 - as core::ops::function::Fn>::call::h30a8b128ee88d398 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x55b541e10507 - test::test_main::{{closure}}::hcafb25d50378ac2e [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x55b542201ec8 - as core::ops::function::Fn>::call::hb0500737c93e9fc8 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x55b542201ec8 - std::panicking::rust_panic_with_hook::hc8764d1694e821a7 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x55b542201c1e - std::panicking::begin_panic_handler::{{closure}}::hf3ed629468815f4d [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:657:13 [INFO] [stdout] 16: 0x55b542200266 - std::sys_common::backtrace::__rust_end_short_backtrace::h4e08af68b8432e1a [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55b542201982 - rust_begin_unwind [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x55b541dc2485 - core::panicking::panic_fmt::hd274135c92cc1bf8 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55b541dc2a73 - core::result::unwrap_failed::hfff0d1b88e8facf3 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/result.rs:1649:5 [INFO] [stdout] 20: 0x55b541dc85cd - core::result::Result::expect::h6f1157f75430e407 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/result.rs:1030:23 [INFO] [stdout] 21: 0x55b541dcb43d - cs_auth_service::config::google_config::GoogleConfig::new::h6fe29ab3459149a9 [INFO] [stdout] at /opt/rustwide/workdir/src/config/google_config.rs:25:32 [INFO] [stdout] 22: 0x55b541dcc30b - cs_auth_service::app::services::google::tests::tests::test_google_token_decoding::h4fd7286f772e1c12 [INFO] [stdout] at /opt/rustwide/workdir/src/app/services/google/tests.rs:21:29 [INFO] [stdout] 23: 0x55b541dcc237 - cs_auth_service::app::services::google::tests::tests::test_google_token_decoding::{{closure}}::ha5a8006f72e8c4ef [INFO] [stdout] at /opt/rustwide/workdir/src/app/services/google/tests.rs:17:36 [INFO] [stdout] 24: 0x55b541dc6896 - core::ops::function::FnOnce::call_once::h6c5d08ef714c32bb [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55b541e15bff - core::ops::function::FnOnce::call_once::he101e5838844b848 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x55b541e15bff - test::__rust_begin_short_backtrace::hed21417c1aa71a94 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:627:18 [INFO] [stdout] 27: 0x55b541e14b75 - test::run_test_in_process::{{closure}}::h46df11f5a11dd433 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:650:60 [INFO] [stdout] 28: 0x55b541e14b75 - as core::ops::function::FnOnce<()>>::call_once::ha2e64525433f53a7 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x55b541e14b75 - std::panicking::try::do_call::hb1d734fe97663a7f [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:552:40 [INFO] [stdout] 30: 0x55b541e14b75 - std::panicking::try::h9d066276df30f924 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:516:19 [INFO] [stdout] 31: 0x55b541e14b75 - std::panic::catch_unwind::heaada02e29cd999e [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panic.rs:142:14 [INFO] [stdout] 32: 0x55b541e14b75 - test::run_test_in_process::hcb05ee14075e628d [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:650:27 [INFO] [stdout] 33: 0x55b541e14b75 - test::run_test::{{closure}}::hf9413b0f448cd684 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:573:43 [INFO] [stdout] 34: 0x55b541ddcdb6 - test::run_test::{{closure}}::h1bb15d2e8774a33f [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:601:41 [INFO] [stdout] 35: 0x55b541ddcdb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h530f23a50d8639c1 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 36: 0x55b541de1f97 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h37b8455d57d25f70 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 37: 0x55b541de1f97 - as core::ops::function::FnOnce<()>>::call_once::h3867791011bf949d [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x55b541de1f97 - std::panicking::try::do_call::h1cac0f1203e6219b [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:552:40 [INFO] [stdout] 39: 0x55b541de1f97 - std::panicking::try::h82de9f14e7a5f0ca [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:516:19 [INFO] [stdout] 40: 0x55b541de1f97 - std::panic::catch_unwind::hcea1081d521eaa80 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panic.rs:142:14 [INFO] [stdout] 41: 0x55b541de1f97 - std::thread::Builder::spawn_unchecked_::{{closure}}::ha7aa8f4eaae79bb5 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 42: 0x55b541de1f97 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5c1a4829e968af7c [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x55b542206ac5 - as core::ops::function::FnOnce>::call_once::h6cea6bfb156e0019 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 44: 0x55b542206ac5 - as core::ops::function::FnOnce>::call_once::h3c499441c8da3187 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 45: 0x55b542206ac5 - std::sys::unix::thread::Thread::new::thread_start::h45692980afba103a [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7f2654903ac3 - [INFO] [stdout] 47: 0x7f2654994bf4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] app::services::google::tests::tests::test_google_token_decoding [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin cs-auth-service` [INFO] running `Command { std: "docker" "inspect" "693b8ac9abe08a2ee6f107b3e576241c58ea6b74bcefd74422cde0f9ddb796c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "693b8ac9abe08a2ee6f107b3e576241c58ea6b74bcefd74422cde0f9ddb796c5", kill_on_drop: false }` [INFO] [stdout] 693b8ac9abe08a2ee6f107b3e576241c58ea6b74bcefd74422cde0f9ddb796c5