[INFO] cloning repository https://github.com/porkio/lsp-blog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/porkio/lsp-blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporkio%2Flsp-blog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporkio%2Flsp-blog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd149084d5cba7b288b6895a744e143cb957fc03 [INFO] checking porkio/lsp-blog against try#846ec3a7f9ef4a204b2166da3cfc71f4885a5be5 for pr-98000 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporkio%2Flsp-blog" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/porkio/lsp-blog on toolchain 846ec3a7f9ef4a204b2166da3cfc71f4885a5be5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+846ec3a7f9ef4a204b2166da3cfc71f4885a5be5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/porkio/lsp-blog [INFO] finished tweaking git repo https://github.com/porkio/lsp-blog [INFO] tweaked toml for git repo https://github.com/porkio/lsp-blog written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/porkio/lsp-blog already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+846ec3a7f9ef4a204b2166da3cfc71f4885a5be5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+846ec3a7f9ef4a204b2166da3cfc71f4885a5be5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45f7fef7992687e3e8e4ced9539222d6e6ac89c6dfc5e6b0f3fccc2a65865df5 [INFO] running `Command { std: "docker" "start" "-a" "45f7fef7992687e3e8e4ced9539222d6e6ac89c6dfc5e6b0f3fccc2a65865df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45f7fef7992687e3e8e4ced9539222d6e6ac89c6dfc5e6b0f3fccc2a65865df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f7fef7992687e3e8e4ced9539222d6e6ac89c6dfc5e6b0f3fccc2a65865df5", kill_on_drop: false }` [INFO] [stdout] 45f7fef7992687e3e8e4ced9539222d6e6ac89c6dfc5e6b0f3fccc2a65865df5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+846ec3a7f9ef4a204b2166da3cfc71f4885a5be5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a78155a9e7b1e30cc42a9830c4474d4eb6d1749f002621ce4ac46727c3d4ebcc [INFO] running `Command { std: "docker" "start" "-a" "a78155a9e7b1e30cc42a9830c4474d4eb6d1749f002621ce4ac46727c3d4ebcc", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking base64ct v1.1.1 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking async-task v4.2.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rust_decimal v1.22.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking hmac-sha1-compact v1.1.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Checking pem-rfc7468 v0.2.4 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.5.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking coarsetime v0.1.21 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ed25519-compact v1.0.11 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking hmac-sha512 v1.0.0 [INFO] [stderr] Checking hmac-sha256 v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Checking async-global-executor v2.0.3 [INFO] [stderr] Checking async-process v1.3.0 [INFO] [stderr] Checking async-std v1.10.0 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking pkcs1 v0.2.4 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking rsa v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Checking p256 v0.9.0 [INFO] [stderr] Checking async-rustls v0.2.0 [INFO] [stderr] Checking sqlx-rt v0.5.11 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bigdecimal v0.2.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ipnetwork v0.17.0 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking rexpr v1.0.7 [INFO] [stderr] Checking rbson v2.0.3 [INFO] [stderr] Checking jwt-simple v0.10.8 [INFO] [stderr] Checking fast_log v1.5.0 [INFO] [stderr] Checking py_sql v1.0.1 [INFO] [stderr] Compiling html_parser v0.6.2 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking sqlx-core v0.5.11 [INFO] [stderr] Compiling rbatis_sql_macro v3.0.7 [INFO] [stderr] Compiling rbatis-macro-driver v3.0.5 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking rbatis-core v3.0.21 [INFO] [stderr] Checking rbatis_sql v3.0.13 [INFO] [stderr] Checking rbatis v3.0.32 [INFO] [stderr] Checking lsp-blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rbatis::db::DBExecResult` [INFO] [stdout] --> src/model/article.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rbatis::db::DBExecResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rbatis::db::DBExecResult` [INFO] [stdout] --> src/model/article.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rbatis::db::DBExecResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rbatis::executor::Executor` [INFO] [stdout] --> src/model/article.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rbatis::executor::Executor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rbatis::executor::Executor` [INFO] [stdout] --> src/model/article.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rbatis::executor::Executor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pageSize` should have a snake case name [INFO] [stdout] --> src/controller/article_controller.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pageSize: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `page_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | tx1.rollback().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | / tx.exec( [INFO] [stdout] 152 | | "INSERT INTO article_to_tag (article_id, tag_id) VALUES (?,?);", [INFO] [stdout] 153 | | vec![bson!(new_art_id), bson!(*i)], [INFO] [stdout] 154 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | tx.rollback().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | tx.commit().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | ... tx1.rollback().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | / tx.exec( [INFO] [stdout] 183 | | "DELETE FROM article_to_tag WHERE article_id = ?;", [INFO] [stdout] 184 | | vec![bson!(a2.id)], [INFO] [stdout] 185 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | / tx.exec( [INFO] [stdout] 189 | | "DELETE FROM article WHERE id = ?;", [INFO] [stdout] 190 | | vec![bson!(a2.id)] [INFO] [stdout] 191 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | tx.commit().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | ... tx1.rollback().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | / tx.exec( [INFO] [stdout] 222 | | "DELETE FROM article_to_tag WHERE article_id = ?;", [INFO] [stdout] 223 | | vec![bson!(a.id)], [INFO] [stdout] 224 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | / tx.exec( [INFO] [stdout] 229 | | "INSERT INTO article_to_tag VALUES (?,?);", [INFO] [stdout] 230 | | vec![bson!(a.id), bson!(i)], [INFO] [stdout] 231 | | ).await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | / tx.exec( [INFO] [stdout] 236 | | "UPDATE article SET title = ?, description = ?, content = ?, cate_id = ?, updated_at = ?, WHERE id = ?;", [INFO] [stdout] 237 | | vec![ [INFO] [stdout] 238 | | bson!(put_art.title), [INFO] [stdout] ... | [INFO] [stdout] 244 | | ] [INFO] [stdout] 245 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | tx.commit().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pageSize` should have a snake case name [INFO] [stdout] --> src/controller/article_controller.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pageSize: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `page_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | tx1.rollback().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | / tx.exec( [INFO] [stdout] 152 | | "INSERT INTO article_to_tag (article_id, tag_id) VALUES (?,?);", [INFO] [stdout] 153 | | vec![bson!(new_art_id), bson!(*i)], [INFO] [stdout] 154 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | tx.rollback().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | tx.commit().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | ... tx1.rollback().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | / tx.exec( [INFO] [stdout] 183 | | "DELETE FROM article_to_tag WHERE article_id = ?;", [INFO] [stdout] 184 | | vec![bson!(a2.id)], [INFO] [stdout] 185 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | / tx.exec( [INFO] [stdout] 189 | | "DELETE FROM article WHERE id = ?;", [INFO] [stdout] 190 | | vec![bson!(a2.id)] [INFO] [stdout] 191 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | tx.commit().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | ... tx1.rollback().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | / tx.exec( [INFO] [stdout] 222 | | "DELETE FROM article_to_tag WHERE article_id = ?;", [INFO] [stdout] 223 | | vec![bson!(a.id)], [INFO] [stdout] 224 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | / tx.exec( [INFO] [stdout] 229 | | "INSERT INTO article_to_tag VALUES (?,?);", [INFO] [stdout] 230 | | vec![bson!(a.id), bson!(i)], [INFO] [stdout] 231 | | ).await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | / tx.exec( [INFO] [stdout] 236 | | "UPDATE article SET title = ?, description = ?, content = ?, cate_id = ?, updated_at = ?, WHERE id = ?;", [INFO] [stdout] 237 | | vec![ [INFO] [stdout] 238 | | bson!(put_art.title), [INFO] [stdout] ... | [INFO] [stdout] 244 | | ] [INFO] [stdout] 245 | | ).await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/article.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | tx.commit().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "a78155a9e7b1e30cc42a9830c4474d4eb6d1749f002621ce4ac46727c3d4ebcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78155a9e7b1e30cc42a9830c4474d4eb6d1749f002621ce4ac46727c3d4ebcc", kill_on_drop: false }` [INFO] [stdout] a78155a9e7b1e30cc42a9830c4474d4eb6d1749f002621ce4ac46727c3d4ebcc