[INFO] cloning repository https://github.com/Ryu2u/rust_blog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryu2u/rust_blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyu2u%2Frust_blog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyu2u%2Frust_blog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6de9ca9cfdd8fd8f9fb449be62fc2707387e270 [INFO] checking Ryu2u/rust_blog against try#d1d7143153307f561233bd4d93e2a3b24157b081 for pr-151539-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyu2u%2Frust_blog" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ryu2u/rust_blog [INFO] finished tweaking git repo https://github.com/Ryu2u/rust_blog [INFO] tweaked toml for git repo https://github.com/Ryu2u/rust_blog written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ryu2u/rust_blog on toolchain d1d7143153307f561233bd4d93e2a3b24157b081 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ryu2u/rust_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" "+d1d7143153307f561233bd4d93e2a3b24157b081" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 37fdd0a2f416a7ba6ee2608c482673f7045766fd8fe153261fbeb741a4963c0b [INFO] running `Command { std: "docker" "start" "37fdd0a2f416a7ba6ee2608c482673f7045766fd8fe153261fbeb741a4963c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37fdd0a2f416a7ba6ee2608c482673f7045766fd8fe153261fbeb741a4963c0b" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37fdd0a2f416a7ba6ee2608c482673f7045766fd8fe153261fbeb741a4963c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37fdd0a2f416a7ba6ee2608c482673f7045766fd8fe153261fbeb741a4963c0b" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking rustix v0.38.34 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling parse-size v1.0.0 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking pulldown-cmark-escape v0.10.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking tempfile v3.11.0 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling actix-easy-multipart-derive v3.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking fastdate v0.3.32 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Compiling rbs v4.5.18 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking dark-std v0.2.16 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking html_parser v0.6.3 [INFO] [stderr] Checking rsa v0.9.10 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking rbatis-codegen v4.5.20 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling rbatis-macro-driver v4.5.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking fast_pool v0.2.0 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking rbdc v4.5.34 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking rbdc-pool-fast v4.5.9 [INFO] [stderr] Checking rbdc-mysql v4.5.18 [INFO] [stderr] Checking rbatis v4.5.29 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking actix-multipart v0.4.0 [INFO] [stderr] Checking actix-cors v0.6.5 [INFO] [stderr] Checking actix-easy-multipart v3.0.0 [INFO] [stderr] Checking rust_blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/post/apis.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/post/structs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileForm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | /// 文件标题 [INFO] [stdout] 13 | pub title: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostTag` is never constructed [INFO] [stdout] --> src/post/structs.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct PostTag { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostCategory` is never constructed [INFO] [stdout] --> src/post/structs.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct PostCategory { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_admin` and `count_all` are never used [INFO] [stdout] --> src/user/structs.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_admin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn count_all(db: &RBatis) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageInfo` is never constructed [INFO] [stdout] --> src/comment/apis.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PageInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/post/structs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileForm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | /// 文件标题 [INFO] [stdout] 13 | pub title: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostTag` is never constructed [INFO] [stdout] --> src/post/structs.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct PostTag { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostCategory` is never constructed [INFO] [stdout] --> src/post/structs.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct PostCategory { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_admin` and `count_all` are never used [INFO] [stdout] --> src/user/structs.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_admin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn count_all(db: &RBatis) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageInfo` is never constructed [INFO] [stdout] --> src/comment/apis.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PageInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "37fdd0a2f416a7ba6ee2608c482673f7045766fd8fe153261fbeb741a4963c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fdd0a2f416a7ba6ee2608c482673f7045766fd8fe153261fbeb741a4963c0b", kill_on_drop: false }` [INFO] [stdout] 37fdd0a2f416a7ba6ee2608c482673f7045766fd8fe153261fbeb741a4963c0b