[INFO] cloning repository https://github.com/imkundan18/Rocket-Framework-CURD [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imkundan18/Rocket-Framework-CURD" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimkundan18%2FRocket-Framework-CURD", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimkundan18%2FRocket-Framework-CURD'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74db6a94a93b6c8ab146832f11ea47c611823bc4 [INFO] checking imkundan18/Rocket-Framework-CURD against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimkundan18%2FRocket-Framework-CURD" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imkundan18/Rocket-Framework-CURD [INFO] finished tweaking git repo https://github.com/imkundan18/Rocket-Framework-CURD [INFO] tweaked toml for git repo https://github.com/imkundan18/Rocket-Framework-CURD written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imkundan18/Rocket-Framework-CURD on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/imkundan18/Rocket-Framework-CURD already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded bson v2.10.0 [INFO] [stderr] Downloaded winnow v0.6.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8c52cdc2ed5b3726f0cb78637a742db0271bfac199f6331ef18678d6d90bce1 [INFO] running `Command { std: "docker" "start" "-a" "b8c52cdc2ed5b3726f0cb78637a742db0271bfac199f6331ef18678d6d90bce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8c52cdc2ed5b3726f0cb78637a742db0271bfac199f6331ef18678d6d90bce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c52cdc2ed5b3726f0cb78637a742db0271bfac199f6331ef18678d6d90bce1", kill_on_drop: false }` [INFO] [stdout] b8c52cdc2ed5b3726f0cb78637a742db0271bfac199f6331ef18678d6d90bce1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 180e2ab1d8e5e5be5e4f2cd5b38a74dfae2bbd7c4d5f5af602de2acad4b4e28f [INFO] running `Command { std: "docker" "start" "-a" "180e2ab1d8e5e5be5e4f2cd5b38a74dfae2bbd7c4d5f5af602de2acad4b4e28f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking bson v2.10.0 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Checking your_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `get`, `http::Status`, and `serde::json::Json` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{get, http::Status, serde::json::Json}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::sync` [INFO] [stdout] --> src/controllers/todo_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::sync; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteResult` and `UpdateResult` [INFO] [stdout] --> src/controllers/todo_controller.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | use mongodb::{results::{InsertOneResult, UpdateResult, DeleteResult}}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get`, `http::Status`, and `serde::json::Json` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{get, http::Status, serde::json::Json}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::sync` [INFO] [stdout] --> src/controllers/todo_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::sync; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteResult` and `UpdateResult` [INFO] [stdout] --> src/controllers/todo_controller.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | use mongodb::{results::{InsertOneResult, UpdateResult, DeleteResult}}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all` is never used [INFO] [stdout] --> src/controllers/todo_controller.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_all(db:&State)-> Result>,Status>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_routes` is never used [INFO] [stdout] --> src/routes/todo_routes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all` is never used [INFO] [stdout] --> src/controllers/todo_controller.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_all(db:&State)-> Result>,Status>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_routes` is never used [INFO] [stdout] --> src/routes/todo_routes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "180e2ab1d8e5e5be5e4f2cd5b38a74dfae2bbd7c4d5f5af602de2acad4b4e28f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180e2ab1d8e5e5be5e4f2cd5b38a74dfae2bbd7c4d5f5af602de2acad4b4e28f", kill_on_drop: false }` [INFO] [stdout] 180e2ab1d8e5e5be5e4f2cd5b38a74dfae2bbd7c4d5f5af602de2acad4b4e28f