[INFO] cloning repository https://github.com/mdddj/d_blog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdddj/d_blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdddj%2Fd_blog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdddj%2Fd_blog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c983190dffe175352dc5d0fbd4c9b4a46d46d9ed [INFO] testing mdddj/d_blog/c983190dffe175352dc5d0fbd4c9b4a46d46d9ed against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdddj%2Fd_blog" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdddj/d_blog on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdddj/d_blog [INFO] finished tweaking git repo https://github.com/mdddj/d_blog [INFO] tweaked toml for git repo https://github.com/mdddj/d_blog written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mdddj/d_blog 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" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salvo-serde-util v0.67.0 [INFO] [stderr] Downloaded salvo_macros v0.67.0 [INFO] [stderr] Downloaded salvo_extra v0.67.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.1 [INFO] [stderr] Downloaded salvo-proxy v0.67.0 [INFO] [stderr] Downloaded salvo v0.67.0 [INFO] [stderr] Downloaded clia-tracing-config v0.2.7 [INFO] [stderr] Downloaded clia-local-offset v0.1.0 [INFO] [stderr] Downloaded salvo-serve-static v0.67.0 [INFO] [stderr] Downloaded salvo-cors v0.67.0 [INFO] [stderr] Downloaded salvo-jwt-auth v0.67.0 [INFO] [stderr] Downloaded clia-tracing-appender v0.2.5 [INFO] [stderr] Downloaded salvo-oapi-macros v0.67.0 [INFO] [stderr] Downloaded salvo_core v0.67.0 [INFO] [stderr] Downloaded salvo-oapi v0.67.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46649b44f47cb525823bdd5e54e1a9f775ecbedbaafe75824af6a7b5e514e1e3 [INFO] running `Command { std: "docker" "start" "-a" "46649b44f47cb525823bdd5e54e1a9f775ecbedbaafe75824af6a7b5e514e1e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46649b44f47cb525823bdd5e54e1a9f775ecbedbaafe75824af6a7b5e514e1e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46649b44f47cb525823bdd5e54e1a9f775ecbedbaafe75824af6a7b5e514e1e3", kill_on_drop: false }` [INFO] [stdout] 46649b44f47cb525823bdd5e54e1a9f775ecbedbaafe75824af6a7b5e514e1e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80637037299a290d8c8268b27d00551a71e77e1096ef630cb32b8464e3f99a78 [INFO] running `Command { std: "docker" "start" "-a" "80637037299a290d8c8268b27d00551a71e77e1096ef630cb32b8464e3f99a78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.4.1 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rustls v0.23.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling rustls-webpki v0.102.2 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling quinn-proto v0.10.6 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling quinn-udp v0.4.1 [INFO] [stderr] Compiling salvo-serde-util v0.67.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling multer v3.0.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling quinn v0.10.2 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling brotli-decompressor v3.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling uuid-macro-internal v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling enumflags2 v0.7.9 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling brotli v4.0.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling salvo-http3 v0.0.10 [INFO] [stderr] Compiling salvo_macros v0.67.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rust-embed-utils v8.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling salvo_core v0.67.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling rust-embed-impl v8.3.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling hyper-rustls v0.27.1 [INFO] [stderr] Compiling rust-embed v8.3.0 [INFO] [stderr] Compiling tz-rs v0.6.14 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling ulid v1.1.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling str-buf v3.0.3 [INFO] [stderr] Compiling xxhash-rust v0.8.10 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling etag v4.0.0 [INFO] [stderr] Compiling clia-local-offset v0.1.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling sea-query v0.30.7 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling salvo-oapi-macros v0.67.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling path-slash v0.2.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling salvo-serve-static v0.67.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling clia-tracing-appender v0.2.5 [INFO] [stderr] Compiling sea-orm-macros v0.12.15 [INFO] [stderr] Compiling salvo-jwt-auth v0.67.0 [INFO] [stderr] Compiling salvo_extra v0.67.0 [INFO] [stderr] Compiling validator_derive v0.18.1 [INFO] [stderr] Compiling salvo-cors v0.67.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling clia-tracing-config v0.2.7 [INFO] [stderr] Compiling salvo-oapi v0.67.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.3 [INFO] [stderr] Compiling salvo-proxy v0.67.0 [INFO] [stderr] Compiling salvo v0.67.0 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling sea-query-binder v0.5.0 [INFO] [stderr] Compiling sea-orm v0.12.15 [INFO] [stderr] Compiling d_blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `salvo::cors::Cors` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use salvo::cors::Cors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `salvo::http::Method` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use salvo::http::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post_tag::Entity as PostTag` [INFO] [stdout] --> src/entities/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::post_tag::Entity as PostTag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tag::Entity as Tag` [INFO] [stdout] --> src/entities/prelude.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::tag::Entity as Tag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::CFG` [INFO] [stdout] --> src/middleware/cors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::CFG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllowCredentials` [INFO] [stdout] --> src/middleware/cors.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use salvo::cors::{AllowCredentials, AllowHeaders, AllowMethods, AllowOrigin, Cors, CorsHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/middleware/cors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app_writer::ErrorResponseBuilder` [INFO] [stdout] --> src/routers/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | app_writer::ErrorResponseBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::cookie::Cookie` [INFO] [stdout] --> src/routers/user.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | http::cookie::Cookie, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `salvo::Listener` [INFO] [stdout] --> src/services/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use salvo::Listener; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dtos::product_sku::*` [INFO] [stdout] --> src/services/product_sku.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku::*, entities::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::services::product_sku::add_product_sku` [INFO] [stdout] --> src/services/product_sku_value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::services::product_sku::add_product_sku; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dtos::product_sku_value::*` [INFO] [stdout] --> src/services/product_sku_value.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku_value::*, entities::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/services/product_sku_value.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | ///保存sku的name [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | let insert_result = ProductSkuName::insert(sku_name).exec(db).await?; [INFO] [stdout] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/services/product_sku_value.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | ///保存sku的值 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 103 | / let sku_value_req_param: Vec = param [INFO] [stdout] 104 | | .values [INFO] [stdout] 105 | | .iter() [INFO] [stdout] 106 | | .map(move |name| ProductSkuValueAddRequest { [INFO] [stdout] ... | [INFO] [stdout] 109 | | }) [INFO] [stdout] 110 | | .collect(); [INFO] [stdout] | |___________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/services/product_sku_value.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | ///保存映射关系 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | / let sku_name_and_value_param: Vec = task_all_response [INFO] [stdout] 126 | | .into_iter() [INFO] [stdout] 127 | | .map(move |x| ProductSkuNameValueAddRequest { [INFO] [stdout] 128 | | product_id, [INFO] [stdout] ... | [INFO] [stdout] 131 | | }) [INFO] [stdout] 132 | | .collect(); [INFO] [stdout] | |___________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dtos::product_sku_name_value::*` [INFO] [stdout] --> src/services/product_sku_name_value.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::dtos::product_sku_name_value::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dtos::product_sku_name::*` [INFO] [stdout] --> src/services/product_sku_name.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku_name::*, entities::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extractible` and `ToSchema` [INFO] [stdout] --> src/services/product_sku_name.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use salvo::prelude::{Extractible, ToSchema}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stdout] --> src/services/product_sku_name.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, NotSet, QueryFilter, Set}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/services/product_sku_name.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator::Validate` [INFO] [stdout] --> src/services/product_sku_name.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/routers/user.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn post_login(req: JsonBody, res: &mut Response) -> AppWriter { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cors_allow_origin` is never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub cors_allow_origin: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` 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: field `name` is never read [INFO] [stdout] --> src/dtos/tag.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TagAddRequest { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TagAddRequest` 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 `id` and `name` are never read [INFO] [stdout] --> src/dtos/tag.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TagUpdateRequest { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 13 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TagUpdateRequest` 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 `id`, `product_id`, `sku`, `price`, `stock`, and `sale_count` are never read [INFO] [stdout] --> src/dtos/product_sku.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ProductSkuUpdateRequest { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 30 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 31 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | pub product_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub sku: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | pub price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | pub stock: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub sale_count: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuUpdateRequest` 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 `name` and `product_category_id` are never read [INFO] [stdout] --> src/dtos/product_sku_name.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ProductSkuNameAddRequest { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub product_category_id: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuNameAddRequest` 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 `id`, `name`, and `product_category_id` are never read [INFO] [stdout] --> src/dtos/product_sku_name.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ProductSkuNameUpdateRequest { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 13 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 14 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub product_category_id: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuNameUpdateRequest` 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 `id`, `name`, and `product_sku_name_id` are never read [INFO] [stdout] --> src/dtos/product_sku_value.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ProductSkuValueUpdateRequest { [INFO] [stdout] | ---------------------------- fields in this struct [INFO] [stdout] 57 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 58 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub product_sku_name_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuValueUpdateRequest` 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 `id`, `product_id`, `sku_name_id`, and `sku_value_id` are never read [INFO] [stdout] --> src/dtos/product_sku_name_value.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProductSkuNameValueUpdateRequest { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 14 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 15 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub product_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub sku_name_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub sku_value_id: i32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuNameValueUpdateRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_product_sku` is never used [INFO] [stdout] --> src/services/product_sku.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn add_product_sku(req: ProductSkuAddRequest) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product_sku` is never used [INFO] [stdout] --> src/services/product_sku.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn update_product_sku(req: ProductSkuUpdateRequest) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_sku` is never used [INFO] [stdout] --> src/services/product_sku.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn delete_product_sku(id: i32) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_find_all` is never used [INFO] [stdout] --> src/services/product_sku.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn product_sku_find_all() -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product_sku_value` is never used [INFO] [stdout] --> src/services/product_sku_value.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn update_product_sku_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_sku_value` is never used [INFO] [stdout] --> src/services/product_sku_value.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn delete_product_sku_value(id: i32) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_value_find_all` is never used [INFO] [stdout] --> src/services/product_sku_value.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn product_sku_value_find_all() -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product_sku_name_value` is never used [INFO] [stdout] --> src/services/product_sku_name_value.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn update_product_sku_name_value(req: ProductSkuNameValueUpdateRequest) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_sku_name_value` is never used [INFO] [stdout] --> src/services/product_sku_name_value.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn delete_product_sku_name_value(id: i32) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_name_value_find_all` is never used [INFO] [stdout] --> src/services/product_sku_name_value.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn product_sku_name_value_find_all() -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_product_sku_name` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn add_product_sku_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product_sku_name` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn update_product_sku_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_sku_name` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn delete_product_sku_name(id: i32) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_name_find_all` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn product_sku_name_find_all() -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_value_save` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn product_sku_value_save() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "80637037299a290d8c8268b27d00551a71e77e1096ef630cb32b8464e3f99a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80637037299a290d8c8268b27d00551a71e77e1096ef630cb32b8464e3f99a78", kill_on_drop: false }` [INFO] [stdout] 80637037299a290d8c8268b27d00551a71e77e1096ef630cb32b8464e3f99a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a6194b65b8ba7ef06f488c862d53a52ba18a62f266fac91e5618982c46fdfc7 [INFO] running `Command { std: "docker" "start" "-a" "0a6194b65b8ba7ef06f488c862d53a52ba18a62f266fac91e5618982c46fdfc7", kill_on_drop: false }` [INFO] [stderr] Compiling d_blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `salvo::cors::Cors` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use salvo::cors::Cors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `salvo::http::Method` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use salvo::http::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post_tag::Entity as PostTag` [INFO] [stdout] --> src/entities/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::post_tag::Entity as PostTag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tag::Entity as Tag` [INFO] [stdout] --> src/entities/prelude.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::tag::Entity as Tag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::CFG` [INFO] [stdout] --> src/middleware/cors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::CFG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllowCredentials` [INFO] [stdout] --> src/middleware/cors.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use salvo::cors::{AllowCredentials, AllowHeaders, AllowMethods, AllowOrigin, Cors, CorsHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/middleware/cors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app_writer::ErrorResponseBuilder` [INFO] [stdout] --> src/routers/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | app_writer::ErrorResponseBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::cookie::Cookie` [INFO] [stdout] --> src/routers/user.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | http::cookie::Cookie, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `salvo::Listener` [INFO] [stdout] --> src/services/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use salvo::Listener; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dtos::product_sku::*` [INFO] [stdout] --> src/services/product_sku.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku::*, entities::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::services::product_sku::add_product_sku` [INFO] [stdout] --> src/services/product_sku_value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::services::product_sku::add_product_sku; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dtos::product_sku_value::*` [INFO] [stdout] --> src/services/product_sku_value.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku_value::*, entities::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/services/product_sku_value.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | ///保存sku的name [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | let insert_result = ProductSkuName::insert(sku_name).exec(db).await?; [INFO] [stdout] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/services/product_sku_value.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | ///保存sku的值 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 103 | / let sku_value_req_param: Vec = param [INFO] [stdout] 104 | | .values [INFO] [stdout] 105 | | .iter() [INFO] [stdout] 106 | | .map(move |name| ProductSkuValueAddRequest { [INFO] [stdout] ... | [INFO] [stdout] 109 | | }) [INFO] [stdout] 110 | | .collect(); [INFO] [stdout] | |___________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/services/product_sku_value.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | ///保存映射关系 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | / let sku_name_and_value_param: Vec = task_all_response [INFO] [stdout] 126 | | .into_iter() [INFO] [stdout] 127 | | .map(move |x| ProductSkuNameValueAddRequest { [INFO] [stdout] 128 | | product_id, [INFO] [stdout] ... | [INFO] [stdout] 131 | | }) [INFO] [stdout] 132 | | .collect(); [INFO] [stdout] | |___________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dtos::product_sku_name_value::*` [INFO] [stdout] --> src/services/product_sku_name_value.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::dtos::product_sku_name_value::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dtos::product_sku_name::*` [INFO] [stdout] --> src/services/product_sku_name.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku_name::*, entities::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extractible` and `ToSchema` [INFO] [stdout] --> src/services/product_sku_name.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use salvo::prelude::{Extractible, ToSchema}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stdout] --> src/services/product_sku_name.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, NotSet, QueryFilter, Set}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/services/product_sku_name.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator::Validate` [INFO] [stdout] --> src/services/product_sku_name.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/routers/user.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn post_login(req: JsonBody, res: &mut Response) -> AppWriter { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cors_allow_origin` is never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub cors_allow_origin: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` 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: field `name` is never read [INFO] [stdout] --> src/dtos/tag.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TagAddRequest { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TagAddRequest` 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 `id` and `name` are never read [INFO] [stdout] --> src/dtos/tag.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TagUpdateRequest { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 13 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TagUpdateRequest` 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 `id`, `product_id`, `sku`, `price`, `stock`, and `sale_count` are never read [INFO] [stdout] --> src/dtos/product_sku.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ProductSkuUpdateRequest { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 30 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 31 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | pub product_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub sku: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | pub price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | pub stock: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub sale_count: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuUpdateRequest` 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 `name` and `product_category_id` are never read [INFO] [stdout] --> src/dtos/product_sku_name.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ProductSkuNameAddRequest { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub product_category_id: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuNameAddRequest` 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 `id`, `name`, and `product_category_id` are never read [INFO] [stdout] --> src/dtos/product_sku_name.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ProductSkuNameUpdateRequest { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 13 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 14 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub product_category_id: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuNameUpdateRequest` 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 `id`, `name`, and `product_sku_name_id` are never read [INFO] [stdout] --> src/dtos/product_sku_value.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ProductSkuValueUpdateRequest { [INFO] [stdout] | ---------------------------- fields in this struct [INFO] [stdout] 57 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 58 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub product_sku_name_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuValueUpdateRequest` 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 `id`, `product_id`, `sku_name_id`, and `sku_value_id` are never read [INFO] [stdout] --> src/dtos/product_sku_name_value.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProductSkuNameValueUpdateRequest { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 14 | #[salvo(extract(source(from = "param")))] [INFO] [stdout] 15 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub product_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub sku_name_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub sku_value_id: i32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductSkuNameValueUpdateRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_product_sku` is never used [INFO] [stdout] --> src/services/product_sku.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn add_product_sku(req: ProductSkuAddRequest) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product_sku` is never used [INFO] [stdout] --> src/services/product_sku.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn update_product_sku(req: ProductSkuUpdateRequest) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_sku` is never used [INFO] [stdout] --> src/services/product_sku.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn delete_product_sku(id: i32) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_find_all` is never used [INFO] [stdout] --> src/services/product_sku.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn product_sku_find_all() -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product_sku_value` is never used [INFO] [stdout] --> src/services/product_sku_value.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn update_product_sku_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_sku_value` is never used [INFO] [stdout] --> src/services/product_sku_value.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn delete_product_sku_value(id: i32) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_value_find_all` is never used [INFO] [stdout] --> src/services/product_sku_value.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn product_sku_value_find_all() -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product_sku_name_value` is never used [INFO] [stdout] --> src/services/product_sku_name_value.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn update_product_sku_name_value(req: ProductSkuNameValueUpdateRequest) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_sku_name_value` is never used [INFO] [stdout] --> src/services/product_sku_name_value.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn delete_product_sku_name_value(id: i32) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_name_value_find_all` is never used [INFO] [stdout] --> src/services/product_sku_name_value.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn product_sku_name_value_find_all() -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_product_sku_name` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn add_product_sku_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product_sku_name` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn update_product_sku_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_sku_name` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn delete_product_sku_name(id: i32) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_name_find_all` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn product_sku_name_find_all() -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_sku_value_save` is never used [INFO] [stdout] --> src/services/product_sku_name.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn product_sku_value_save() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.02s [INFO] running `Command { std: "docker" "inspect" "0a6194b65b8ba7ef06f488c862d53a52ba18a62f266fac91e5618982c46fdfc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a6194b65b8ba7ef06f488c862d53a52ba18a62f266fac91e5618982c46fdfc7", kill_on_drop: false }` [INFO] [stdout] 0a6194b65b8ba7ef06f488c862d53a52ba18a62f266fac91e5618982c46fdfc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ebfbc0792374861064a1496397313a5e5f50c4e733264fa2566ce76bdc5dbf85 [INFO] running `Command { std: "docker" "start" "-a" "ebfbc0792374861064a1496397313a5e5f50c4e733264fa2566ce76bdc5dbf85", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `salvo::cors::Cors` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use salvo::cors::Cors; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `salvo::http::Method` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use salvo::http::Method; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::post_tag::Entity as PostTag` [INFO] [stderr] --> src/entities/prelude.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use super::post_tag::Entity as PostTag; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::tag::Entity as Tag` [INFO] [stderr] --> src/entities/prelude.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use super::tag::Entity as Tag; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::config::CFG` [INFO] [stderr] --> src/middleware/cors.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::config::CFG; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AllowCredentials` [INFO] [stderr] --> src/middleware/cors.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use salvo::cors::{AllowCredentials, AllowHeaders, AllowMethods, AllowOrigin, Cors, CorsHandler}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> src/middleware/cors.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `app_writer::ErrorResponseBuilder` [INFO] [stderr] --> src/routers/user.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | app_writer::ErrorResponseBuilder, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::cookie::Cookie` [INFO] [stderr] --> src/routers/user.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | http::cookie::Cookie, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `salvo::Listener` [INFO] [stderr] --> src/services/user.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use salvo::Listener; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `dtos::product_sku::*` [INFO] [stderr] --> src/services/product_sku.rs:5:44 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku::*, entities::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::services::product_sku::add_product_sku` [INFO] [stderr] --> src/services/product_sku_value.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::services::product_sku::add_product_sku; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `dtos::product_sku_value::*` [INFO] [stderr] --> src/services/product_sku_value.rs:11:44 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku_value::*, entities::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/services/product_sku_value.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | ///保存sku的name [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 100 | let insert_result = ProductSkuName::insert(sku_name).exec(db).await?; [INFO] [stderr] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/services/product_sku_value.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | ///保存sku的值 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 103 | / let sku_value_req_param: Vec = param [INFO] [stderr] 104 | | .values [INFO] [stderr] 105 | | .iter() [INFO] [stderr] 106 | | .map(move |name| ProductSkuValueAddRequest { [INFO] [stderr] ... | [INFO] [stderr] 109 | | }) [INFO] [stderr] 110 | | .collect(); [INFO] [stderr] | |___________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/services/product_sku_value.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | ///保存映射关系 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 125 | / let sku_name_and_value_param: Vec = task_all_response [INFO] [stderr] 126 | | .into_iter() [INFO] [stderr] 127 | | .map(move |x| ProductSkuNameValueAddRequest { [INFO] [stderr] 128 | | product_id, [INFO] [stderr] ... | [INFO] [stderr] 131 | | }) [INFO] [stderr] 132 | | .collect(); [INFO] [stderr] | |___________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dtos::product_sku_name_value::*` [INFO] [stderr] --> src/services/product_sku_name_value.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::dtos::product_sku_name_value::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `dtos::product_sku_name::*` [INFO] [stderr] --> src/services/product_sku_name.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{app_writer::AppResult, db::DB, dtos::product_sku_name::*, entities::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Extractible` and `ToSchema` [INFO] [stderr] --> src/services/product_sku_name.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use salvo::prelude::{Extractible, ToSchema}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stderr] --> src/services/product_sku_name.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, NotSet, QueryFilter, Set}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/services/product_sku_name.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `validator::Validate` [INFO] [stderr] --> src/services/product_sku_name.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use validator::Validate; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/routers/user.rs:18:58 [INFO] [stderr] | [INFO] [stderr] 18 | pub async fn post_login(req: JsonBody, res: &mut Response) -> AppWriter { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `cors_allow_origin` is never read [INFO] [stderr] --> src/config.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Server { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub cors_allow_origin: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Server` 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: field `name` is never read [INFO] [stderr] --> src/dtos/tag.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct TagAddRequest { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 6 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TagAddRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `name` are never read [INFO] [stderr] --> src/dtos/tag.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct TagUpdateRequest { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 12 | #[salvo(extract(source(from = "param")))] [INFO] [stderr] 13 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 14 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TagUpdateRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `product_id`, `sku`, `price`, `stock`, and `sale_count` are never read [INFO] [stderr] --> src/dtos/product_sku.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct ProductSkuUpdateRequest { [INFO] [stderr] | ----------------------- fields in this struct [INFO] [stderr] 30 | #[salvo(extract(source(from = "param")))] [INFO] [stderr] 31 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 32 | pub product_id: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 33 | pub sku: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 34 | pub price: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 35 | pub stock: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 36 | pub sale_count: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProductSkuUpdateRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `product_category_id` are never read [INFO] [stderr] --> src/dtos/product_sku_name.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct ProductSkuNameAddRequest { [INFO] [stderr] | ------------------------ fields in this struct [INFO] [stderr] 6 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 7 | pub product_category_id: i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProductSkuNameAddRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `name`, and `product_category_id` are never read [INFO] [stderr] --> src/dtos/product_sku_name.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ProductSkuNameUpdateRequest { [INFO] [stderr] | --------------------------- fields in this struct [INFO] [stderr] 13 | #[salvo(extract(source(from = "param")))] [INFO] [stderr] 14 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 15 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 16 | pub product_category_id: i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProductSkuNameUpdateRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `name`, and `product_sku_name_id` are never read [INFO] [stderr] --> src/dtos/product_sku_value.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct ProductSkuValueUpdateRequest { [INFO] [stderr] | ---------------------------- fields in this struct [INFO] [stderr] 57 | #[salvo(extract(source(from = "param")))] [INFO] [stderr] 58 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 59 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 60 | pub product_sku_name_id: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProductSkuValueUpdateRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `product_id`, `sku_name_id`, and `sku_value_id` are never read [INFO] [stderr] --> src/dtos/product_sku_name_value.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct ProductSkuNameValueUpdateRequest { [INFO] [stderr] | -------------------------------- fields in this struct [INFO] [stderr] 14 | #[salvo(extract(source(from = "param")))] [INFO] [stderr] 15 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 16 | pub product_id: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 17 | pub sku_name_id: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 18 | pub sku_value_id: i32 [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProductSkuNameValueUpdateRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `add_product_sku` is never used [INFO] [stderr] --> src/services/product_sku.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | pub async fn add_product_sku(req: ProductSkuAddRequest) -> AppResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_product_sku` is never used [INFO] [stderr] --> src/services/product_sku.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | pub async fn update_product_sku(req: ProductSkuUpdateRequest) -> AppResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_product_sku` is never used [INFO] [stderr] --> src/services/product_sku.rs:57:14 [INFO] [stderr] | [INFO] [stderr] 57 | pub async fn delete_product_sku(id: i32) -> AppResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `product_sku_find_all` is never used [INFO] [stderr] --> src/services/product_sku.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | pub async fn product_sku_find_all() -> AppResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_product_sku_value` is never used [INFO] [stderr] --> src/services/product_sku_value.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | pub async fn update_product_sku_value( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_product_sku_value` is never used [INFO] [stderr] --> src/services/product_sku_value.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | pub async fn delete_product_sku_value(id: i32) -> AppResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `product_sku_value_find_all` is never used [INFO] [stderr] --> src/services/product_sku_value.rs:71:14 [INFO] [stderr] | [INFO] [stderr] 71 | pub async fn product_sku_value_find_all() -> AppResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_product_sku_name_value` is never used [INFO] [stderr] --> src/services/product_sku_name_value.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | pub async fn update_product_sku_name_value(req: ProductSkuNameValueUpdateRequest) -> AppResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_product_sku_name_value` is never used [INFO] [stderr] --> src/services/product_sku_name_value.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | pub async fn delete_product_sku_name_value(id: i32) -> AppResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `product_sku_name_value_find_all` is never used [INFO] [stderr] --> src/services/product_sku_name_value.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | pub async fn product_sku_name_value_find_all() -> AppResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_product_sku_name` is never used [INFO] [stderr] --> src/services/product_sku_name.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn add_product_sku_name( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_product_sku_name` is never used [INFO] [stderr] --> src/services/product_sku_name.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn update_product_sku_name( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_product_sku_name` is never used [INFO] [stderr] --> src/services/product_sku_name.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | pub async fn delete_product_sku_name(id: i32) -> AppResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `product_sku_name_find_all` is never used [INFO] [stderr] --> src/services/product_sku_name.rs:57:14 [INFO] [stderr] | [INFO] [stderr] 57 | pub async fn product_sku_name_find_all() -> AppResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `product_sku_value_save` is never used [INFO] [stderr] --> src/services/product_sku_name.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | pub async fn product_sku_value_save() {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `d_blog` (bin "d_blog" test) generated 46 warnings (run `cargo fix --bin "d_blog" --tests` to apply 19 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/d_blog-af48ce9f676d3d11) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test services::product_sku_value::tests::test_save_product ... ok [INFO] [stdout] test services::product_sku_value::test_save_all ... ok [INFO] [stdout] test tests::test_hello_world ... FAILED [INFO] [stdout] test services::product_sku_value::tests::test_hello_world ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_hello_world stdout ---- [INFO] [stdout] thread 'tests::test_hello_world' panicked at src/main.rs:129:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "\n\n\n \n \n 404: Not Found\n \n\n\n

404: Not Found

The requested resource could not be found.

There is no more detailed explanation.

\n\n" [INFO] [stdout] right: "Hello World from salvo" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e325537435 - std::backtrace_rs::backtrace::libunwind::trace::hdfc9607bf31dbc86 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x55e325537435 - std::backtrace_rs::backtrace::trace_unsynchronized::h835e0ca3083fcb54 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e325537435 - std::sys::backtrace::_print_fmt::hf81d1bed8dde1f05 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55e325537435 - ::fmt::h0e21387e4dc195e8 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55e32556595b - core::fmt::rt::Argument::fmt::hf0a2360aea19729b [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x55e32556595b - core::fmt::write::h76a391ed15942408 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x55e3255340af - std::io::Write::write_fmt::h3a6701c05eae4e21 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x55e325538c51 - std::sys::backtrace::BacktraceLock::print::hfbac027926ddf935 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x55e325538c51 - std::panicking::default_hook::{{closure}}::h901010a60b64ccc3 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x55e3255387f8 - std::panicking::default_hook::had7425277af071c7 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x55e32475676a - as core::ops::function::Fn>::call::h0e74b18ddebb72fa [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/alloc/src/boxed.rs:2162:9 [INFO] [stdout] 11: 0x55e32475676a - test::test_main::{{closure}}::he27b357a2172d646 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x55e32553955f - as core::ops::function::Fn>::call::ha2e26086c015e62d [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/alloc/src/boxed.rs:2162:9 [INFO] [stdout] 13: 0x55e32553955f - std::panicking::rust_panic_with_hook::hac0e92610e1e4d1b [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x55e325539187 - std::panicking::begin_panic_handler::{{closure}}::h1fb6563ca25c0091 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x55e3255378f9 - std::sys::backtrace::__rust_end_short_backtrace::he90d714ee124ec57 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x55e325538e14 - rust_begin_unwind [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x55e325562803 - core::panicking::panic_fmt::h2c076b2ed9eeb82c [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x55e325562c6e - core::panicking::assert_failed_inner::hd4df8a78ff8925f8 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panicking.rs:412:17 [INFO] [stdout] 19: 0x55e324e5b112 - core::panicking::assert_failed::h4718b0c241be767a [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x55e3245f3ae7 - d_blog::tests::test_hello_world::{{closure}}::hbdf09328bd93b9a0 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:129:9 [INFO] [stdout] 21: 0x55e3245104f2 - as core::future::future::Future>::poll::h1bea21f4192805f1 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/future/future.rs:123:9 [INFO] [stdout] 22: 0x55e32451082d - as core::future::future::Future>::poll::haa3c1cc9ef24a13f [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/future/future.rs:123:9 [INFO] [stdout] 23: 0x55e3245bef5f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h6ed6e26423ed3596 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:57 [INFO] [stdout] 24: 0x55e3245bee95 - tokio::runtime::coop::with_budget::h675befc3536a93d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x55e3245bee95 - tokio::runtime::coop::budget::h31a8075706291da5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x55e3245bee95 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h54818da6b2a8007c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:25 [INFO] [stdout] 27: 0x55e3245bd950 - tokio::runtime::scheduler::current_thread::Context::enter::h460bc9bee41fe521 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 28: 0x55e3245be6fe - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h781df2b878aceedd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:658:36 [INFO] [stdout] 29: 0x55e3245be474 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h5799cc0d68d8e843 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 30: 0x55e32464c6ab - tokio::runtime::context::scoped::Scoped::set::hf98a5bb9e195768b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x55e3245d51f9 - tokio::runtime::context::set_scheduler::{{closure}}::h3f5a642cff8d8560 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:26 [INFO] [stdout] 32: 0x55e3246cb6ea - std::thread::local::LocalKey::try_with::hace1f32b816d8275 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/thread/local.rs:283:12 [INFO] [stdout] 33: 0x55e3246cae7a - std::thread::local::LocalKey::with::h4014e85b755e83b6 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/thread/local.rs:260:9 [INFO] [stdout] 34: 0x55e3245d51ad - tokio::runtime::context::set_scheduler::h77244ebc6b1b93a5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:9 [INFO] [stdout] 35: 0x55e3245be220 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hcc163afbceafd12e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 36: 0x55e3245be493 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h4938ab49a8245570 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:19 [INFO] [stdout] 37: 0x55e3245bd48d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd67c8bfea12a0f10 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 38: 0x55e32450fcb6 - tokio::runtime::context::runtime::enter_runtime::hb531c2193443d432 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x55e3245bd3a1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h2dff6bd6676085a1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 40: 0x55e3246de28d - tokio::runtime::runtime::Runtime::block_on::h24e2c74207aaf229 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/runtime.rs:349:47 [INFO] [stdout] 41: 0x55e3245f322f - d_blog::tests::test_hello_world::h205b46a756fa2dfa [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:129:9 [INFO] [stdout] 42: 0x55e3245f30b7 - d_blog::tests::test_hello_world::{{closure}}::h5a60906d1a3b802a [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:117:32 [INFO] [stdout] 43: 0x55e3244ccc16 - core::ops::function::FnOnce::call_once::h6ead80d73cc8c0b5 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x55e32475b23b - core::ops::function::FnOnce::call_once::hca6bde12b6a630f1 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x55e32475b23b - test::__rust_begin_short_backtrace::h12810d14a702ebbc [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:620:18 [INFO] [stdout] 46: 0x55e32475ab05 - test::run_test_in_process::{{closure}}::h59541574124f7772 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:643:60 [INFO] [stdout] 47: 0x55e32475ab05 - as core::ops::function::FnOnce<()>>::call_once::h21b81f6278222813 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 48: 0x55e32475ab05 - std::panicking::try::do_call::h95caa0508e76e60a [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:554:40 [INFO] [stdout] 49: 0x55e32475ab05 - std::panicking::try::ha936e1facd3a2c2c [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:518:19 [INFO] [stdout] 50: 0x55e32475ab05 - std::panic::catch_unwind::h5528768c35d92b58 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panic.rs:345:14 [INFO] [stdout] 51: 0x55e32475ab05 - test::run_test_in_process::h90d0fae4cc0656ab [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:643:27 [INFO] [stdout] 52: 0x55e32475ab05 - test::run_test::{{closure}}::hd832ed1086168438 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:564:43 [INFO] [stdout] 53: 0x55e3247203d4 - test::run_test::{{closure}}::h9fadb9f2ff3418ff [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:594:41 [INFO] [stdout] 54: 0x55e3247203d4 - std::sys::backtrace::__rust_begin_short_backtrace::h83762f6f2409a243 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 55: 0x55e324723ba2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h30150ce916fdd544 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/thread/mod.rs:524:17 [INFO] [stdout] 56: 0x55e324723ba2 - as core::ops::function::FnOnce<()>>::call_once::hc325bc97006a5368 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 57: 0x55e324723ba2 - std::panicking::try::do_call::h3c463856408c67a4 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:554:40 [INFO] [stdout] 58: 0x55e324723ba2 - std::panicking::try::h692f72559df6d3bf [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:518:19 [INFO] [stdout] 59: 0x55e324723ba2 - std::panic::catch_unwind::h1dcc0ad4c36d774e [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panic.rs:345:14 [INFO] [stdout] 60: 0x55e324723ba2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc95846b45d8ce7ce [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/thread/mod.rs:523:30 [INFO] [stdout] 61: 0x55e324723ba2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h802463e6db21440a [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 62: 0x55e32553e75b - as core::ops::function::FnOnce>::call_once::h186f3f12fe64acb3 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/alloc/src/boxed.rs:2148:9 [INFO] [stdout] 63: 0x55e32553e75b - as core::ops::function::FnOnce>::call_once::h58b0e3febdb462cc [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/alloc/src/boxed.rs:2148:9 [INFO] [stdout] 64: 0x55e32553e75b - std::sys::pal::unix::thread::Thread::new::thread_start::h146ca4d6d16f256f [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 65: 0x7f32a6d5aac3 - [INFO] [stdout] 66: 0x7f32a6deba04 - clone [INFO] [stdout] 67: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- services::product_sku_value::tests::test_hello_world stdout ---- [INFO] [stdout] thread 'services::product_sku_value::tests::test_hello_world' panicked at src/services/product_sku_value.rs:308:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "\n\n\n \n \n 404: Not Found\n \n\n\n

404: Not Found

The requested resource could not be found.

There is no more detailed explanation.

\n\n" [INFO] [stdout] right: "Hello World" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e325537435 - std::backtrace_rs::backtrace::libunwind::trace::hdfc9607bf31dbc86 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x55e325537435 - std::backtrace_rs::backtrace::trace_unsynchronized::h835e0ca3083fcb54 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e325537435 - std::sys::backtrace::_print_fmt::hf81d1bed8dde1f05 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55e325537435 - ::fmt::h0e21387e4dc195e8 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55e32556595b - core::fmt::rt::Argument::fmt::hf0a2360aea19729b [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x55e32556595b - core::fmt::write::h76a391ed15942408 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x55e3255340af - std::io::Write::write_fmt::h3a6701c05eae4e21 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x55e325538c51 - std::sys::backtrace::BacktraceLock::print::hfbac027926ddf935 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x55e325538c51 - std::panicking::default_hook::{{closure}}::h901010a60b64ccc3 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x55e3255387f8 - std::panicking::default_hook::had7425277af071c7 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x55e32475676a - as core::ops::function::Fn>::call::h0e74b18ddebb72fa [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/alloc/src/boxed.rs:2162:9 [INFO] [stdout] 11: 0x55e32475676a - test::test_main::{{closure}}::he27b357a2172d646 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x55e32553955f - as core::ops::function::Fn>::call::ha2e26086c015e62d [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/alloc/src/boxed.rs:2162:9 [INFO] [stdout] 13: 0x55e32553955f - std::panicking::rust_panic_with_hook::hac0e92610e1e4d1b [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x55e325539187 - std::panicking::begin_panic_handler::{{closure}}::h1fb6563ca25c0091 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x55e3255378f9 - std::sys::backtrace::__rust_end_short_backtrace::he90d714ee124ec57 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x55e325538e14 - rust_begin_unwind [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x55e325562803 - core::panicking::panic_fmt::h2c076b2ed9eeb82c [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x55e325562c6e - core::panicking::assert_failed_inner::hd4df8a78ff8925f8 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panicking.rs:412:17 [INFO] [stdout] 19: 0x55e324e5b112 - core::panicking::assert_failed::h4718b0c241be767a [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x55e3245f222a - d_blog::services::product_sku_value::tests::test_hello_world::{{closure}}::h36cb392131f75a72 [INFO] [stdout] at /opt/rustwide/workdir/src/services/product_sku_value.rs:308:9 [INFO] [stdout] 21: 0x55e3245104f2 - as core::future::future::Future>::poll::h1bea21f4192805f1 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/future/future.rs:123:9 [INFO] [stdout] 22: 0x55e32451082d - as core::future::future::Future>::poll::haa3c1cc9ef24a13f [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/future/future.rs:123:9 [INFO] [stdout] 23: 0x55e3245bef5f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h6ed6e26423ed3596 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:57 [INFO] [stdout] 24: 0x55e3245bee95 - tokio::runtime::coop::with_budget::h675befc3536a93d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x55e3245bee95 - tokio::runtime::coop::budget::h31a8075706291da5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x55e3245bee95 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h54818da6b2a8007c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:25 [INFO] [stdout] 27: 0x55e3245bd950 - tokio::runtime::scheduler::current_thread::Context::enter::h460bc9bee41fe521 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 28: 0x55e3245be6fe - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h781df2b878aceedd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:658:36 [INFO] [stdout] 29: 0x55e3245be474 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h5799cc0d68d8e843 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 30: 0x55e32464c6ab - tokio::runtime::context::scoped::Scoped::set::hf98a5bb9e195768b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x55e3245d51f9 - tokio::runtime::context::set_scheduler::{{closure}}::h3f5a642cff8d8560 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:26 [INFO] [stdout] 32: 0x55e3246cb6ea - std::thread::local::LocalKey::try_with::hace1f32b816d8275 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/thread/local.rs:283:12 [INFO] [stdout] 33: 0x55e3246cae7a - std::thread::local::LocalKey::with::h4014e85b755e83b6 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/thread/local.rs:260:9 [INFO] [stdout] 34: 0x55e3245d51ad - tokio::runtime::context::set_scheduler::h77244ebc6b1b93a5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:9 [INFO] [stdout] 35: 0x55e3245be220 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hcc163afbceafd12e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 36: 0x55e3245be493 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h4938ab49a8245570 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:19 [INFO] [stdout] 37: 0x55e3245bd48d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd67c8bfea12a0f10 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 38: 0x55e32450fcb6 - tokio::runtime::context::runtime::enter_runtime::hb531c2193443d432 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x55e3245bd3a1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h2dff6bd6676085a1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 40: 0x55e3246de28d - tokio::runtime::runtime::Runtime::block_on::h24e2c74207aaf229 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/runtime.rs:349:47 [INFO] [stdout] 41: 0x55e3245f1b1f - d_blog::services::product_sku_value::tests::test_hello_world::h2404e577d411cc0d [INFO] [stdout] at /opt/rustwide/workdir/src/services/product_sku_value.rs:308:9 [INFO] [stdout] 42: 0x55e3245f19a7 - d_blog::services::product_sku_value::tests::test_hello_world::{{closure}}::h9416bd27ca8b9fb2 [INFO] [stdout] at /opt/rustwide/workdir/src/services/product_sku_value.rs:299:32 [INFO] [stdout] 43: 0x55e3244ccde6 - core::ops::function::FnOnce::call_once::h851692b0b9b8660d [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x55e32475b23b - core::ops::function::FnOnce::call_once::hca6bde12b6a630f1 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x55e32475b23b - test::__rust_begin_short_backtrace::h12810d14a702ebbc [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:620:18 [INFO] [stdout] 46: 0x55e32475ab05 - test::run_test_in_process::{{closure}}::h59541574124f7772 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:643:60 [INFO] [stdout] 47: 0x55e32475ab05 - as core::ops::function::FnOnce<()>>::call_once::h21b81f6278222813 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 48: 0x55e32475ab05 - std::panicking::try::do_call::h95caa0508e76e60a [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:554:40 [INFO] [stdout] 49: 0x55e32475ab05 - std::panicking::try::ha936e1facd3a2c2c [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:518:19 [INFO] [stdout] 50: 0x55e32475ab05 - std::panic::catch_unwind::h5528768c35d92b58 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panic.rs:345:14 [INFO] [stdout] 51: 0x55e32475ab05 - test::run_test_in_process::h90d0fae4cc0656ab [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:643:27 [INFO] [stdout] 52: 0x55e32475ab05 - test::run_test::{{closure}}::hd832ed1086168438 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:564:43 [INFO] [stdout] 53: 0x55e3247203d4 - test::run_test::{{closure}}::h9fadb9f2ff3418ff [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/test/src/lib.rs:594:41 [INFO] [stdout] 54: 0x55e3247203d4 - std::sys::backtrace::__rust_begin_short_backtrace::h83762f6f2409a243 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 55: 0x55e324723ba2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h30150ce916fdd544 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/thread/mod.rs:524:17 [INFO] [stdout] 56: 0x55e324723ba2 - as core::ops::function::FnOnce<()>>::call_once::hc325bc97006a5368 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 57: 0x55e324723ba2 - std::panicking::try::do_call::h3c463856408c67a4 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:554:40 [INFO] [stdout] 58: 0x55e324723ba2 - std::panicking::try::h692f72559df6d3bf [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panicking.rs:518:19 [INFO] [stdout] 59: 0x55e324723ba2 - std::panic::catch_unwind::h1dcc0ad4c36d774e [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/panic.rs:345:14 [INFO] [stdout] 60: 0x55e324723ba2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc95846b45d8ce7ce [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/thread/mod.rs:523:30 [INFO] [stdout] 61: 0x55e324723ba2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h802463e6db21440a [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 62: 0x55e32553e75b - as core::ops::function::FnOnce>::call_once::h186f3f12fe64acb3 [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/alloc/src/boxed.rs:2148:9 [INFO] [stdout] 63: 0x55e32553e75b - as core::ops::function::FnOnce>::call_once::h58b0e3febdb462cc [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/alloc/src/boxed.rs:2148:9 [INFO] [stdout] 64: 0x55e32553e75b - std::sys::pal::unix::thread::Thread::new::thread_start::h146ca4d6d16f256f [INFO] [stdout] at /rustc/1ddedbaa5919b7b3e70d984660e21e844c615c97/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 65: 0x7f32a6d5aac3 - [INFO] [stdout] 66: 0x7f32a6deba04 - clone [INFO] [stdout] 67: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] services::product_sku_value::tests::test_hello_world [INFO] [stdout] tests::test_hello_world [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin d_blog` [INFO] running `Command { std: "docker" "inspect" "ebfbc0792374861064a1496397313a5e5f50c4e733264fa2566ce76bdc5dbf85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebfbc0792374861064a1496397313a5e5f50c4e733264fa2566ce76bdc5dbf85", kill_on_drop: false }` [INFO] [stdout] ebfbc0792374861064a1496397313a5e5f50c4e733264fa2566ce76bdc5dbf85