[INFO] cloning repository https://github.com/secheng722/sc_blog_salvo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/secheng722/sc_blog_salvo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecheng722%2Fsc_blog_salvo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecheng722%2Fsc_blog_salvo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f18830fef436f3572f09e863bab1bcdcf28c274 [INFO] building secheng722/sc_blog_salvo against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecheng722%2Fsc_blog_salvo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/secheng722/sc_blog_salvo on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/secheng722/sc_blog_salvo [INFO] finished tweaking git repo https://github.com/secheng722/sc_blog_salvo [INFO] tweaked toml for git repo https://github.com/secheng722/sc_blog_salvo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/secheng722/sc_blog_salvo 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salvo_extra v0.66.2 [INFO] [stderr] Downloaded salvo v0.66.2 [INFO] [stderr] Downloaded salvo-serde-util v0.66.2 [INFO] [stderr] Downloaded etag v4.0.0 [INFO] [stderr] Downloaded salvo-jwt-auth v0.66.2 [INFO] [stderr] Downloaded salvo_macros v0.66.2 [INFO] [stderr] Downloaded salvo_core v0.66.2 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e91ca8b0e8cecc3ac2995e98cea394e0d3ba30fd4aba108bcc10f4f8801f4b6 [INFO] running `Command { std: "docker" "start" "-a" "5e91ca8b0e8cecc3ac2995e98cea394e0d3ba30fd4aba108bcc10f4f8801f4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e91ca8b0e8cecc3ac2995e98cea394e0d3ba30fd4aba108bcc10f4f8801f4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e91ca8b0e8cecc3ac2995e98cea394e0d3ba30fd4aba108bcc10f4f8801f4b6", kill_on_drop: false }` [INFO] [stdout] 5e91ca8b0e8cecc3ac2995e98cea394e0d3ba30fd4aba108bcc10f4f8801f4b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5731f53fdacfdfcf3e994779b9803c9966b9b935dfad11df821c7ec383b05277 [INFO] running `Command { std: "docker" "start" "-a" "5731f53fdacfdfcf3e994779b9803c9966b9b935dfad11df821c7ec383b05277", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling salvo-serde-util v0.66.2 [INFO] [stderr] Compiling rustls-webpki v0.102.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling enumflags2 v0.7.9 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling salvo_macros v0.66.2 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling salvo_core v0.66.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling xxhash-rust v0.8.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling str-buf v3.0.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling etag v4.0.0 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling ulid v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling slug v0.1.5 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling salvo_extra v0.66.2 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling salvo-jwt-auth v0.66.2 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling uuid-macro-internal v1.8.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling unicode-id v0.3.4 [INFO] [stderr] Compiling salvo v0.66.2 [INFO] [stderr] Compiling markdown v1.0.0-alpha.17 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tera v1.19.1 [INFO] [stderr] Compiling sc_blog_salvo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `depot` [INFO] [stdout] --> src/admin/user.rs:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn login_handler(req: &mut Request, res: &mut Response, depot: &mut Depot) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_user_table` is never used [INFO] [stdout] --> src/admin/user.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn create_user_table() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/admin/user.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_user` is never used [INFO] [stdout] --> src/admin/user.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | async fn add_user() -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/admin/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `password` and `created_at` are never read [INFO] [stdout] --> src/admin/user.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.37s [INFO] running `Command { std: "docker" "inspect" "5731f53fdacfdfcf3e994779b9803c9966b9b935dfad11df821c7ec383b05277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5731f53fdacfdfcf3e994779b9803c9966b9b935dfad11df821c7ec383b05277", kill_on_drop: false }` [INFO] [stdout] 5731f53fdacfdfcf3e994779b9803c9966b9b935dfad11df821c7ec383b05277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e872cf3f5326e1a31562c39af92e41f8edeb7469ce0f7ee74de12e4135fe43a [INFO] running `Command { std: "docker" "start" "-a" "5e872cf3f5326e1a31562c39af92e41f8edeb7469ce0f7ee74de12e4135fe43a", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `depot` [INFO] [stdout] --> src/admin/user.rs:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn login_handler(req: &mut Request, res: &mut Response, depot: &mut Depot) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_user_table` is never used [INFO] [stdout] --> src/admin/user.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn create_user_table() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/admin/user.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_user` is never used [INFO] [stdout] --> src/admin/user.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | async fn add_user() -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/admin/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sc_blog_salvo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `password` and `created_at` are never read [INFO] [stdout] --> src/admin/user.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depot` [INFO] [stdout] --> src/admin/user.rs:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn login_handler(req: &mut Request, res: &mut Response, depot: &mut Depot) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_user_table` is never used [INFO] [stdout] --> src/admin/user.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn create_user_table() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/admin/user.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_user` is never used [INFO] [stdout] --> src/admin/user.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | async fn add_user() -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/admin/user.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `password` and `created_at` are never read [INFO] [stdout] --> src/admin/user.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "5e872cf3f5326e1a31562c39af92e41f8edeb7469ce0f7ee74de12e4135fe43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e872cf3f5326e1a31562c39af92e41f8edeb7469ce0f7ee74de12e4135fe43a", kill_on_drop: false }` [INFO] [stdout] 5e872cf3f5326e1a31562c39af92e41f8edeb7469ce0f7ee74de12e4135fe43a