[INFO] updating cached repository https://github.com/ethanwc/ourrecipes-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce1a9f1f5b17cbd021f89704b7f1c623807f40b5 [INFO] checking ethanwc/ourrecipes-api against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanwc%2Fourrecipes-api" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ethanwc/ourrecipes-api on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ethanwc/ourrecipes-api [INFO] finished tweaking git repo https://github.com/ethanwc/ourrecipes-api [INFO] tweaked toml for git repo https://github.com/ethanwc/ourrecipes-api written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ethanwc/ourrecipes-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34a3444694701388e343c86ff6277f17baab3a961986353ca47c12c7f854fd18 [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" "34a3444694701388e343c86ff6277f17baab3a961986353ca47c12c7f854fd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34a3444694701388e343c86ff6277f17baab3a961986353ca47c12c7f854fd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a3444694701388e343c86ff6277f17baab3a961986353ca47c12c7f854fd18", kill_on_drop: false }` [INFO] [stdout] 34a3444694701388e343c86ff6277f17baab3a961986353ca47c12c7f854fd18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ebcaac3eaec1782fef80c74ec3910d71a39558c16f9980b1a2bbbdc1fe253b7 [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" "1ebcaac3eaec1782fef80c74ec3910d71a39558c16f9980b1a2bbbdc1fe253b7", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [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] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking ourrecipesapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/routes/ShoppingList.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::ShoppingList::ShoppingList` [INFO] [stdout] --> src/routes/ShoppingList.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::ShoppingList::ShoppingList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/routes/ShoppingList.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::ShoppingList::ShoppingList` [INFO] [stdout] --> src/routes/ShoppingList.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::ShoppingList::ShoppingList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author` [INFO] [stdout] --> src/db/ShoppingList.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_author` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> src/db/ShoppingList.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/db/ShoppingList.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NewComment` [INFO] [stdout] --> src/db/ShoppingList.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct NewComment<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create` [INFO] [stdout] --> src/db/ShoppingList.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ShoppingList` [INFO] [stdout] --> src/models/ShoppingList.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ShoppingList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ShoppingList` should have a snake case name [INFO] [stdout] --> src/db/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ShoppingList; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ShoppingList` should have a snake case name [INFO] [stdout] --> src/models/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ShoppingList; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ShoppingList` should have a snake case name [INFO] [stdout] --> src/routes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ShoppingList; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author` [INFO] [stdout] --> src/db/ShoppingList.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_author` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> src/db/ShoppingList.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/db/ShoppingList.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NewComment` [INFO] [stdout] --> src/db/ShoppingList.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct NewComment<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create` [INFO] [stdout] --> src/db/ShoppingList.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ShoppingList` [INFO] [stdout] --> src/models/ShoppingList.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ShoppingList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ShoppingList` should have a snake case name [INFO] [stdout] --> src/db/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ShoppingList; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ShoppingList` should have a snake case name [INFO] [stdout] --> src/models/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ShoppingList; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ShoppingList` should have a snake case name [INFO] [stdout] --> src/routes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ShoppingList; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "1ebcaac3eaec1782fef80c74ec3910d71a39558c16f9980b1a2bbbdc1fe253b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ebcaac3eaec1782fef80c74ec3910d71a39558c16f9980b1a2bbbdc1fe253b7", kill_on_drop: false }` [INFO] [stdout] 1ebcaac3eaec1782fef80c74ec3910d71a39558c16f9980b1a2bbbdc1fe253b7