[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporkio%2Flsp-blog" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/porkio/lsp-blog on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-13/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ea1c78a91c71ece43007c9aad0ecfd92c06fb1a8bcafe2e1e71d31545240b80 [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" "0ea1c78a91c71ece43007c9aad0ecfd92c06fb1a8bcafe2e1e71d31545240b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ea1c78a91c71ece43007c9aad0ecfd92c06fb1a8bcafe2e1e71d31545240b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea1c78a91c71ece43007c9aad0ecfd92c06fb1a8bcafe2e1e71d31545240b80", kill_on_drop: false }` [INFO] [stdout] 0ea1c78a91c71ece43007c9aad0ecfd92c06fb1a8bcafe2e1e71d31545240b80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] e986db29913ea9a31c83f14fae1da370b1c1ed06d38105a533cedead70632cc4 [INFO] running `Command { std: "docker" "start" "-a" "e986db29913ea9a31c83f14fae1da370b1c1ed06d38105a533cedead70632cc4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rust_decimal v1.22.0 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling ct-codecs v1.1.1 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling hmac-sha1-compact v1.1.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling standback v0.2.17 [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 figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [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 autocfg v0.1.8 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [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 parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling coarsetime v0.1.21 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ed25519-compact v1.0.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling hmac v0.11.0 [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 rust-crypto v0.2.36 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 serde_derive v1.0.136 [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 ref-cast-impl v1.0.6 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.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 want v0.3.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.3 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling async-rustls v0.2.0 [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 tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling either v1.6.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 ipnetwork v0.17.0 [INFO] [stderr] Compiling toml v0.5.8 [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 rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rbatis_sql_macro v3.0.7 [INFO] [stderr] Compiling rbatis-macro-driver v3.0.5 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling rbson v2.0.3 [INFO] [stderr] Compiling rexpr v1.0.7 [INFO] [stderr] Compiling jwt-simple v0.10.8 [INFO] [stderr] Compiling fast_log v1.5.0 [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 7m 23s [INFO] running `Command { std: "docker" "inspect" "e986db29913ea9a31c83f14fae1da370b1c1ed06d38105a533cedead70632cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e986db29913ea9a31c83f14fae1da370b1c1ed06d38105a533cedead70632cc4", kill_on_drop: false }` [INFO] [stdout] e986db29913ea9a31c83f14fae1da370b1c1ed06d38105a533cedead70632cc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] be0f1734f1b2725c3d9dcf1e115f9dfd3cacfac6ea1990c0f73c33a258e7ac04 [INFO] running `Command { std: "docker" "start" "-a" "be0f1734f1b2725c3d9dcf1e115f9dfd3cacfac6ea1990c0f73c33a258e7ac04", kill_on_drop: false }` [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 12.04s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/lsp_blog-5031288c12e5022e) [INFO] running `Command { std: "docker" "inspect" "be0f1734f1b2725c3d9dcf1e115f9dfd3cacfac6ea1990c0f73c33a258e7ac04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0f1734f1b2725c3d9dcf1e115f9dfd3cacfac6ea1990c0f73c33a258e7ac04", kill_on_drop: false }` [INFO] [stdout] be0f1734f1b2725c3d9dcf1e115f9dfd3cacfac6ea1990c0f73c33a258e7ac04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 7d3b80d302547111d3046395e55370a6b6f1d99dd4e4f72ed600c86b9b4483dc [INFO] running `Command { std: "docker" "start" "-a" "7d3b80d302547111d3046395e55370a6b6f1d99dd4e4f72ed600c86b9b4483dc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stdout] [INFO] [stderr] [INFO] [stdout] running 0 tests [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stdout] [INFO] [stderr] --> src/model/article.rs:228:25 [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [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 1.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lsp_blog-5031288c12e5022e) [INFO] running `Command { std: "docker" "inspect" "7d3b80d302547111d3046395e55370a6b6f1d99dd4e4f72ed600c86b9b4483dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3b80d302547111d3046395e55370a6b6f1d99dd4e4f72ed600c86b9b4483dc", kill_on_drop: false }` [INFO] [stdout] 7d3b80d302547111d3046395e55370a6b6f1d99dd4e4f72ed600c86b9b4483dc