[INFO] cloning repository https://github.com/yusufocaliskan/rust-web-api-boilerplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yusufocaliskan/rust-web-api-boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyusufocaliskan%2Frust-web-api-boilerplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyusufocaliskan%2Frust-web-api-boilerplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c964232b5377de33a744a0dd2555d6490ec39c82 [INFO] testing yusufocaliskan/rust-web-api-boilerplate against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyusufocaliskan%2Frust-web-api-boilerplate" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yusufocaliskan/rust-web-api-boilerplate [INFO] finished tweaking git repo https://github.com/yusufocaliskan/rust-web-api-boilerplate [INFO] tweaked toml for git repo https://github.com/yusufocaliskan/rust-web-api-boilerplate written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yusufocaliskan/rust-web-api-boilerplate on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yusufocaliskan/rust-web-api-boilerplate 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.19.0 [INFO] [stderr] Downloaded mongodb-internal-macros v3.1.1 [INFO] [stderr] Downloaded shaku_derive v0.6.1 [INFO] [stderr] Downloaded reqwest_cookie_store v0.8.0 [INFO] [stderr] Downloaded shaku_actix v0.2.0 [INFO] [stderr] Downloaded httpc-test v0.1.10 [INFO] [stderr] Downloaded mobc v0.8.5 [INFO] [stderr] Downloaded shaku v0.6.2 [INFO] [stderr] Downloaded validator_derive v0.19.0 [INFO] [stderr] Downloaded libreauth v0.17.0 [INFO] [stderr] Downloaded hickory-resolver v0.24.2 [INFO] [stderr] Downloaded bson v2.13.0 [INFO] [stderr] Downloaded mongodb v3.1.1 [INFO] [stderr] Downloaded hickory-proto v0.24.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7811725be69b58f78581ecd46a814b8bb0cdcefacd58cd36979c29b028984764 [INFO] running `Command { std: "docker" "start" "-a" "7811725be69b58f78581ecd46a814b8bb0cdcefacd58cd36979c29b028984764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7811725be69b58f78581ecd46a814b8bb0cdcefacd58cd36979c29b028984764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7811725be69b58f78581ecd46a814b8bb0cdcefacd58cd36979c29b028984764", kill_on_drop: false }` [INFO] [stdout] 7811725be69b58f78581ecd46a814b8bb0cdcefacd58cd36979c29b028984764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60ac0477f8361434a40f8545f25be2de1ca2231b391a0d6a772004b83211b4c3 [INFO] running `Command { std: "docker" "start" "-a" "60ac0477f8361434a40f8545f25be2de1ca2231b391a0d6a772004b83211b4c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling shaku_derive v0.6.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling shaku v0.6.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling metrics v0.23.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling mongodb-internal-macros v3.1.1 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling rust-argon2 v2.1.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling base32 v0.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling mobc v0.8.5 [INFO] [stderr] Compiling libreauth v0.17.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling validator_derive v0.19.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bson v2.13.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling hickory-proto v0.24.2 [INFO] [stderr] Compiling validator v0.19.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hickory-resolver v0.24.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling mongodb v3.1.1 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest_cookie_store v0.8.0 [INFO] [stderr] Compiling httpc-test v0.1.10 [INFO] [stderr] Compiling shaku_actix v0.2.0 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling actix-web-httpauth v0.8.2 [INFO] [stderr] Compiling admin-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/controllers/auth_controller.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::web::{Bytes, Json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/controllers/auth_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator::Validate` [INFO] [stdout] --> src/controllers/auth_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/controllers/todo_controller.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::web::{Bytes, Json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web::Bytes` [INFO] [stdout] --> src/middlewares/auth_middleware.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error::ErrorUnauthorized, web::Bytes}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Body` [INFO] [stdout] --> src/middlewares/auth_middleware.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Body; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/services/lessons_services.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let collection = self.database.get_database().create_collection("test").await; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `app_name` and `configs` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 26 | app_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | configs: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/configs/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Configs { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | pub settings: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/configs/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Configs { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Error` and `Success` are never constructed [INFO] [stdout] --> src/constants/services/service_errors.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ServiceError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Success(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/framework/shared/responser/responser_models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ResponserBodyGenerator { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(message: String, data: T, status: bool, status_code: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all` and `lessons` are never used [INFO] [stdout] --> src/services/lessons_services.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ILessonsService: Interface { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 10 | async fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | fn lessons(&self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/services/lessons_services.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LessonsService { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 17 | #[shaku(inject)] [INFO] [stdout] 18 | database: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all` and `roles` are never used [INFO] [stdout] --> src/services/roles_services.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IRoleService: Interface { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 7 | fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | fn roles(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_all` is never used [INFO] [stdout] --> src/services/unit_services.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IUnitService: Interface { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 8 | fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/services/unit_services.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UnitService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | #[shaku(inject)] [INFO] [stdout] 15 | pub db: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 28s [INFO] running `Command { std: "docker" "inspect" "60ac0477f8361434a40f8545f25be2de1ca2231b391a0d6a772004b83211b4c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60ac0477f8361434a40f8545f25be2de1ca2231b391a0d6a772004b83211b4c3", kill_on_drop: false }` [INFO] [stdout] 60ac0477f8361434a40f8545f25be2de1ca2231b391a0d6a772004b83211b4c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efcd3901d9335c7bbd79f4270d329e745648604c32646c15e5b206a0606c8475 [INFO] running `Command { std: "docker" "start" "-a" "efcd3901d9335c7bbd79f4270d329e745648604c32646c15e5b206a0606c8475", kill_on_drop: false }` [INFO] [stderr] Compiling admin-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/controllers/auth_controller.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::web::{Bytes, Json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/controllers/auth_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator::Validate` [INFO] [stdout] --> src/controllers/auth_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/controllers/todo_controller.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::web::{Bytes, Json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web::Bytes` [INFO] [stdout] --> src/middlewares/auth_middleware.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error::ErrorUnauthorized, web::Bytes}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Body` [INFO] [stdout] --> src/middlewares/auth_middleware.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Body; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/services/lessons_services.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let collection = self.database.get_database().create_collection("test").await; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `app_name` and `configs` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 26 | app_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | configs: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/configs/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Configs { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | pub settings: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/configs/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Configs { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Error` and `Success` are never constructed [INFO] [stdout] --> src/constants/services/service_errors.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ServiceError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Success(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/framework/shared/responser/responser_models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ResponserBodyGenerator { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(message: String, data: T, status: bool, status_code: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all` and `lessons` are never used [INFO] [stdout] --> src/services/lessons_services.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ILessonsService: Interface { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 10 | async fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | fn lessons(&self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/services/lessons_services.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LessonsService { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 17 | #[shaku(inject)] [INFO] [stdout] 18 | database: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all` and `roles` are never used [INFO] [stdout] --> src/services/roles_services.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IRoleService: Interface { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 7 | fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | fn roles(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_all` is never used [INFO] [stdout] --> src/services/unit_services.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IUnitService: Interface { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 8 | fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/services/unit_services.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UnitService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | #[shaku(inject)] [INFO] [stdout] 15 | pub db: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `status_code` are never read [INFO] [stdout] --> tests/todo_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 19 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | status_code: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `status`, and `date` are never read [INFO] [stdout] --> tests/todo_test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct ResponseHandler { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 25 | message: Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | data: Option, [INFO] [stdout] 27 | status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `status`, and `date` are never read [INFO] [stdout] --> tests/todo_test.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct TodoListResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 33 | message: Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | data: Option>, [INFO] [stdout] 35 | status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/controllers/auth_controller.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::web::{Bytes, Json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/controllers/auth_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator::Validate` [INFO] [stdout] --> src/controllers/auth_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/controllers/todo_controller.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::web::{Bytes, Json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web::Bytes` [INFO] [stdout] --> src/middlewares/auth_middleware.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error::ErrorUnauthorized, web::Bytes}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Body` [INFO] [stdout] --> src/middlewares/auth_middleware.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Body; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/services/lessons_services.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let collection = self.database.get_database().create_collection("test").await; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `app_name` and `configs` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 26 | app_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | configs: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/configs/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Configs { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | pub settings: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/configs/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Configs { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Error` and `Success` are never constructed [INFO] [stdout] --> src/constants/services/service_errors.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ServiceError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Success(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/framework/shared/responser/responser_models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ResponserBodyGenerator { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(message: String, data: T, status: bool, status_code: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all` and `lessons` are never used [INFO] [stdout] --> src/services/lessons_services.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ILessonsService: Interface { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 10 | async fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | fn lessons(&self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/services/lessons_services.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LessonsService { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 17 | #[shaku(inject)] [INFO] [stdout] 18 | database: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all` and `roles` are never used [INFO] [stdout] --> src/services/roles_services.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IRoleService: Interface { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 7 | fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | fn roles(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_all` is never used [INFO] [stdout] --> src/services/unit_services.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IUnitService: Interface { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 8 | fn find_all(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/services/unit_services.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UnitService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | #[shaku(inject)] [INFO] [stdout] 15 | pub db: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.96s [INFO] running `Command { std: "docker" "inspect" "efcd3901d9335c7bbd79f4270d329e745648604c32646c15e5b206a0606c8475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efcd3901d9335c7bbd79f4270d329e745648604c32646c15e5b206a0606c8475", kill_on_drop: false }` [INFO] [stdout] efcd3901d9335c7bbd79f4270d329e745648604c32646c15e5b206a0606c8475 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f1640e992040c446638e879fbc00781a14e697c96b792d230148249ebda8692 [INFO] running `Command { std: "docker" "start" "-a" "4f1640e992040c446638e879fbc00781a14e697c96b792d230148249ebda8692", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Json` [INFO] [stderr] --> src/controllers/auth_controller.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | use actix_web::web::{Bytes, Json}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/controllers/auth_controller.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `validator::Validate` [INFO] [stderr] --> src/controllers/auth_controller.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use validator::Validate; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Json` [INFO] [stderr] --> src/controllers/todo_controller.rs:6:29 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::web::{Bytes, Json}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web::Bytes` [INFO] [stderr] --> src/middlewares/auth_middleware.rs:3:43 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{error::ErrorUnauthorized, web::Bytes}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest::Body` [INFO] [stderr] --> src/middlewares/auth_middleware.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use reqwest::Body; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collection` [INFO] [stderr] --> src/services/lessons_services.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let collection = self.database.get_database().create_collection("test").await; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `app_name` and `configs` are never read [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | struct AppState { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 26 | app_name: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 27 | configs: Arc, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `settings` is never read [INFO] [stderr] --> src/configs/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Configs { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 6 | pub settings: HashMap, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Configs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/configs/mod.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Configs { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn get(&self, key: &str) -> Option<&String> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Error` and `Success` are never constructed [INFO] [stderr] --> src/constants/services/service_errors.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum ServiceError { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 24 | Error(String), [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | Success(String), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/framework/shared/responser/responser_models.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl ResponserBodyGenerator { [INFO] [stderr] | -------------------------------------------- associated function in this implementation [INFO] [stderr] 18 | pub fn new(message: String, data: T, status: bool, status_code: u16) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `find_all` and `lessons` are never used [INFO] [stderr] --> src/services/lessons_services.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait ILessonsService: Interface { [INFO] [stderr] | --------------- methods in this trait [INFO] [stderr] 10 | async fn find_all(&self); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | fn lessons(&self); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `database` is never read [INFO] [stderr] --> src/services/lessons_services.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct LessonsService { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 17 | #[shaku(inject)] [INFO] [stderr] 18 | database: Arc, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `find_all` and `roles` are never used [INFO] [stderr] --> src/services/roles_services.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub trait IRoleService: Interface { [INFO] [stderr] | ------------ methods in this trait [INFO] [stderr] 7 | fn find_all(&self); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 8 | fn roles(&self); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `find_all` is never used [INFO] [stderr] --> src/services/unit_services.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait IUnitService: Interface { [INFO] [stderr] | ------------ method in this trait [INFO] [stderr] 8 | fn find_all(&self); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `db` is never read [INFO] [stderr] --> src/services/unit_services.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct UnitService { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 14 | #[shaku(inject)] [INFO] [stderr] 15 | pub db: Arc, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: fields `message` and `status_code` are never read [INFO] [stderr] --> tests/todo_test.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | struct Message { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 19 | message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 20 | status_code: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Message` 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: fields `message`, `status`, and `date` are never read [INFO] [stderr] --> tests/todo_test.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | struct ResponseHandler { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 25 | message: Message, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 26 | data: Option, [INFO] [stderr] 27 | status: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 28 | date: DateTime, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ResponseHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `message`, `status`, and `date` are never read [INFO] [stderr] --> tests/todo_test.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 32 | struct TodoListResponse { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 33 | message: Message, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 34 | data: Option>, [INFO] [stderr] 35 | status: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 36 | date: DateTime, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TodoListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `admin-backend` (bin "admin-backend" test) generated 17 warnings (run `cargo fix --bin "admin-backend" --tests` to apply 6 suggestions) [INFO] [stderr] warning: `admin-backend` (bin "admin-backend") generated 17 warnings (17 duplicates) [INFO] [stderr] warning: `admin-backend` (test "todo_test") generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/admin_backend-0d11e0fb454fc2c2) [INFO] [stderr] Running tests/controller_test.rs (/opt/rustwide/target/debug/deps/controller_test-b607440a1dfe6e77) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_login_user ... FAILED [INFO] [stdout] test test_create_user ... FAILED [INFO] [stdout] test test_update_user ... FAILED [INFO] [stdout] test test_delete_user ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_login_user stdout ---- [INFO] [stdout] Error: error sending request for url (http://localhost:4040/api/v1/users/login): error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 1: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 2: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.95/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/result.rs:2079:27 [INFO] [stdout] 2: controller_test::ensure_logged_in_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:38:16 [INFO] [stdout] 3: controller_test::test_login_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:88:40 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/future/future.rs:124:9 [INFO] [stdout] 6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 7: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 13: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context.rs:180:38 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context.rs:180:17 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 24: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 25: controller_test::test_login_user [INFO] [stdout] at ./tests/controller_test.rs:92:7 [INFO] [stdout] 26: controller_test::test_login_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:87:31 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: std::panic::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: test::run_test_in_process [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: std::panic::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 49: [INFO] [stdout] 50: clone [INFO] [stdout] [INFO] [stdout] ---- test_create_user stdout ---- [INFO] [stdout] Error: error sending request for url (http://localhost:4040/api/v1/users/create): error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 1: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 2: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.95/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/result.rs:2079:27 [INFO] [stdout] 2: controller_test::test_create_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:67:16 [INFO] [stdout] 3: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/future/future.rs:124:9 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 6: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 7: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 12: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 13: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context.rs:180:38 [INFO] [stdout] 14: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 15: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 16: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context.rs:180:17 [INFO] [stdout] 17: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 20: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 22: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 24: controller_test::test_create_user [INFO] [stdout] at ./tests/controller_test.rs:83:7 [INFO] [stdout] 25: controller_test::test_create_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:58:32 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 29: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 32: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 33: std::panic::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 35: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 37: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 38: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 41: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 42: std::panic::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 48: [INFO] [stdout] 49: clone [INFO] [stdout] [INFO] [stdout] ---- test_update_user stdout ---- [INFO] [stdout] Error: error sending request for url (http://localhost:4040/api/v1/users/login): error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 1: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 2: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.95/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/result.rs:2079:27 [INFO] [stdout] 2: controller_test::ensure_logged_in_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:38:16 [INFO] [stdout] 3: controller_test::test_update_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:98:40 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/future/future.rs:124:9 [INFO] [stdout] 6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 7: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 13: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context.rs:180:38 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context.rs:180:17 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 24: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 25: controller_test::test_update_user [INFO] [stdout] at ./tests/controller_test.rs:127:7 [INFO] [stdout] 26: controller_test::test_update_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:96:32 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: std::panic::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: test::run_test_in_process [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: std::panic::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 49: [INFO] [stdout] 50: clone [INFO] [stdout] [INFO] [stdout] ---- test_delete_user stdout ---- [INFO] [stdout] Error: error sending request for url (http://localhost:4040/api/v1/users/login): error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 1: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 2: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.95/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/result.rs:2079:27 [INFO] [stdout] 2: controller_test::ensure_logged_in_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:38:16 [INFO] [stdout] 3: controller_test::test_delete_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:133:40 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/future/future.rs:124:9 [INFO] [stdout] 6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 7: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 13: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context.rs:180:38 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context.rs:180:17 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 24: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 25: controller_test::test_delete_user [INFO] [stdout] at ./tests/controller_test.rs:147:7 [INFO] [stdout] 26: controller_test::test_delete_user::{{closure}} [INFO] [stdout] at ./tests/controller_test.rs:131:32 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: std::panic::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stderr] error: test failed, to rerun pass `--test controller_test` [INFO] [stdout] 35: test::run_test_in_process [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: std::panic::catch_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 49: [INFO] [stdout] 50: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_create_user [INFO] [stdout] test_delete_user [INFO] [stdout] test_login_user [INFO] [stdout] test_update_user [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f1640e992040c446638e879fbc00781a14e697c96b792d230148249ebda8692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1640e992040c446638e879fbc00781a14e697c96b792d230148249ebda8692", kill_on_drop: false }` [INFO] [stdout] 4f1640e992040c446638e879fbc00781a14e697c96b792d230148249ebda8692