[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] [stderr] From https://github.com/ethanwc/ourrecipes-api [INFO] [stderr] * [new branch] lambda -> lambda [INFO] [stderr] 010e169..ce1a9f1 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce1a9f1f5b17cbd021f89704b7f1c623807f40b5 [INFO] checking ethanwc/ourrecipes-api against master#8ac1525e091d3db28e67adcbbd6db1e1deaa37fb for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanwc%2Fourrecipes-api" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ethanwc/ourrecipes-api on toolchain 8ac1525e091d3db28e67adcbbd6db1e1deaa37fb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "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-11/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" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32703e851b4a8840ec96387d70bd702384de5367e0b47bbcf15e02b835926f1a [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" "32703e851b4a8840ec96387d70bd702384de5367e0b47bbcf15e02b835926f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32703e851b4a8840ec96387d70bd702384de5367e0b47bbcf15e02b835926f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32703e851b4a8840ec96387d70bd702384de5367e0b47bbcf15e02b835926f1a", kill_on_drop: false }` [INFO] [stdout] 32703e851b4a8840ec96387d70bd702384de5367e0b47bbcf15e02b835926f1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9dc97702861b658ac990713ece42051a0d90e48c77a4e2a5fb644201e1a7102 [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" "c9dc97702861b658ac990713ece42051a0d90e48c77a4e2a5fb644201e1a7102", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking 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 quote v0.6.13 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling 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] Compiling 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 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 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "c9dc97702861b658ac990713ece42051a0d90e48c77a4e2a5fb644201e1a7102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9dc97702861b658ac990713ece42051a0d90e48c77a4e2a5fb644201e1a7102", kill_on_drop: false }` [INFO] [stdout] c9dc97702861b658ac990713ece42051a0d90e48c77a4e2a5fb644201e1a7102