[INFO] cloning repository https://github.com/trivektor/rocket_food_recipes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trivektor/rocket_food_recipes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrivektor%2Frocket_food_recipes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrivektor%2Frocket_food_recipes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec1f999088fe9c1f2bc6d9ee8c7e2126e48ed1d9 [INFO] checking trivektor/rocket_food_recipes against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrivektor%2Frocket_food_recipes" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trivektor/rocket_food_recipes on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trivektor/rocket_food_recipes [INFO] finished tweaking git repo https://github.com/trivektor/rocket_food_recipes [INFO] tweaked toml for git repo https://github.com/trivektor/rocket_food_recipes written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/trivektor/rocket_food_recipes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.3 [INFO] [stderr] Downloaded err-derive v0.2.4 [INFO] [stderr] Downloaded futures-intrusive v0.3.1 [INFO] [stderr] Downloaded bson v1.0.0 [INFO] [stderr] Downloaded typed-builder v0.3.0 [INFO] [stderr] Downloaded mongodb v1.0.0 [INFO] [stderr] Downloaded chrono v0.4.12 [INFO] [stderr] Downloaded os_info v2.0.6 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", 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] d2d2208da7a2082aed7da845d8432f96d1f83deea055173cd9c4eaeb778079d2 [INFO] running `Command { std: "docker" "start" "-a" "d2d2208da7a2082aed7da845d8432f96d1f83deea055173cd9c4eaeb778079d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2d2208da7a2082aed7da845d8432f96d1f83deea055173cd9c4eaeb778079d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d2208da7a2082aed7da845d8432f96d1f83deea055173cd9c4eaeb778079d2", kill_on_drop: false }` [INFO] [stdout] d2d2208da7a2082aed7da845d8432f96d1f83deea055173cd9c4eaeb778079d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca1e0328c90d16d56aa32eeecbb243a0291febf01bf7a1ae62e6ccdefb696c18 [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" "ca1e0328c90d16d56aa32eeecbb243a0291febf01bf7a1ae62e6ccdefb696c18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking version_check v0.9.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking os_info v2.0.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking futures-intrusive v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.12 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_with v1.4.0 [INFO] [stderr] Checking bson v1.0.0 [INFO] [stderr] Checking mongodb v1.0.0 [INFO] [stderr] Checking rocket_food_recipes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/models/recipe.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb` [INFO] [stdout] --> src/models/recipe.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mongodb; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongo` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use lib::{mongo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/models/recipe.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb` [INFO] [stdout] --> src/models/recipe.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mongodb; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongo` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use lib::{mongo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipe` [INFO] [stdout] --> src/routes/recipes.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create(recipe: Form) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Recipe` [INFO] [stdout] --> src/models/recipe.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Recipe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/models/recipe.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `establish_connection` [INFO] [stdout] --> src/lib/mongo.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn establish_connection() -> std::result::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/routes/recipes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/routes/recipes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | description: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipe` [INFO] [stdout] --> src/routes/recipes.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create(recipe: Form) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/models/recipe.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / collection.insert_one( [INFO] [stdout] 18 | | bson::doc! {"name": &self.name, "description": &self.description}, [INFO] [stdout] 19 | | None [INFO] [stdout] 20 | | ).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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Recipe` [INFO] [stdout] --> src/models/recipe.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Recipe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/models/recipe.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `establish_connection` [INFO] [stdout] --> src/lib/mongo.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn establish_connection() -> std::result::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/routes/recipes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/routes/recipes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | description: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/models/recipe.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / collection.insert_one( [INFO] [stdout] 18 | | bson::doc! {"name": &self.name, "description": &self.description}, [INFO] [stdout] 19 | | None [INFO] [stdout] 20 | | ).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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 27s [INFO] running `Command { std: "docker" "inspect" "ca1e0328c90d16d56aa32eeecbb243a0291febf01bf7a1ae62e6ccdefb696c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca1e0328c90d16d56aa32eeecbb243a0291febf01bf7a1ae62e6ccdefb696c18", kill_on_drop: false }` [INFO] [stdout] ca1e0328c90d16d56aa32eeecbb243a0291febf01bf7a1ae62e6ccdefb696c18