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