[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] testing ethanwc/ourrecipes-api against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanwc%2Fourrecipes-api" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ethanwc/ourrecipes-api on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 267fee84fc5917f014a0df3c797b7f15d560b413f1af67f9312775b20a7b18b0 [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" "267fee84fc5917f014a0df3c797b7f15d560b413f1af67f9312775b20a7b18b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "267fee84fc5917f014a0df3c797b7f15d560b413f1af67f9312775b20a7b18b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267fee84fc5917f014a0df3c797b7f15d560b413f1af67f9312775b20a7b18b0", kill_on_drop: false }` [INFO] [stdout] 267fee84fc5917f014a0df3c797b7f15d560b413f1af67f9312775b20a7b18b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b0aace6d635698c48687ae86fe8c14efec930c122bf50d7a5ea2525ce2c86f8 [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" "7b0aace6d635698c48687ae86fe8c14efec930c122bf50d7a5ea2525ce2c86f8", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling hmac v0.7.1 [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 polyval v0.3.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling cookie v0.11.3 [INFO] [stderr] Compiling 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] Compiling 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "7b0aace6d635698c48687ae86fe8c14efec930c122bf50d7a5ea2525ce2c86f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0aace6d635698c48687ae86fe8c14efec930c122bf50d7a5ea2525ce2c86f8", kill_on_drop: false }` [INFO] [stdout] 7b0aace6d635698c48687ae86fe8c14efec930c122bf50d7a5ea2525ce2c86f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59a355b369b46e8d553126d748c646e205406a6fcd73be891e937ee021744bc8 [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" "59a355b369b46e8d553126d748c646e205406a6fcd73be891e937ee021744bc8", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.29s [INFO] running `Command { std: "docker" "inspect" "59a355b369b46e8d553126d748c646e205406a6fcd73be891e937ee021744bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a355b369b46e8d553126d748c646e205406a6fcd73be891e937ee021744bc8", kill_on_drop: false }` [INFO] [stdout] 59a355b369b46e8d553126d748c646e205406a6fcd73be891e937ee021744bc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 44f501a4e5f16fd2e66cec73b4f7ad0038a4d265c394ee642ea15aa5385c96bf [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" "44f501a4e5f16fd2e66cec73b4f7ad0038a4d265c394ee642ea15aa5385c96bf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::db` [INFO] [stderr] --> src/routes/ShoppingList.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::db; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::ShoppingList::ShoppingList` [INFO] [stderr] --> src/routes/ShoppingList.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::models::ShoppingList::ShoppingList; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `author` [INFO] [stderr] --> src/db/ShoppingList.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_author` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> src/db/ShoppingList.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/db/ShoppingList.rs:7:40 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `NewComment` [INFO] [stderr] --> src/db/ShoppingList.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct NewComment<'a> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create` [INFO] [stderr] --> src/db/ShoppingList.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn create(author: i32, slug: &str, body: &str) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ShoppingList` [INFO] [stderr] --> src/models/ShoppingList.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct ShoppingList { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `ShoppingList` should have a snake case name [INFO] [stderr] --> src/db/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod ShoppingList; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: module `ShoppingList` should have a snake case name [INFO] [stderr] --> src/models/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod ShoppingList; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stderr] [INFO] [stderr] warning: module `ShoppingList` should have a snake case name [INFO] [stderr] --> src/routes/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod ShoppingList; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `shopping_list` [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ourrecipesapi-19c2bdcb7dea29c4 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ourrecipesapi-d5ff37e291847316 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests ourrecipesapi [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "44f501a4e5f16fd2e66cec73b4f7ad0038a4d265c394ee642ea15aa5385c96bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f501a4e5f16fd2e66cec73b4f7ad0038a4d265c394ee642ea15aa5385c96bf", kill_on_drop: false }` [INFO] [stdout] 44f501a4e5f16fd2e66cec73b4f7ad0038a4d265c394ee642ea15aa5385c96bf