[INFO] cloning repository https://github.com/diegoareval/rust-api-sample
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diegoareval/rust-api-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegoareval%2Frust-api-sample", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegoareval%2Frust-api-sample'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3dc115b16ee72610cf5dc1ca790e286d5ba1aed6
[INFO] checking diegoareval/rust-api-sample against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegoareval%2Frust-api-sample" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/diegoareval/rust-api-sample on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/diegoareval/rust-api-sample
[INFO] finished tweaking git repo https://github.com/diegoareval/rust-api-sample
[INFO] tweaked toml for git repo https://github.com/diegoareval/rust-api-sample written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/diegoareval/rust-api-sample 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syntex_fmt_macros v0.5.0
[INFO] [stderr]   Downloaded dotenv v0.11.0
[INFO] [stderr]   Downloaded cc v1.0.72
[INFO] [stderr]   Downloaded derive-error-chain v0.11.2
[INFO] [stderr]   Downloaded ucd-util v0.1.8
[INFO] [stderr]   Downloaded proc-macro2 v1.0.34
[INFO] [stderr]   Downloaded utf8-ranges v1.0.4
[INFO] [stderr]   Downloaded backtrace v0.3.63
[INFO] [stderr]   Downloaded syn v0.14.9
[INFO] [stderr]   Downloaded libc v0.2.112
[INFO] [stderr]   Downloaded syn v1.0.84
[INFO] [stderr]   Downloaded object v0.27.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2361cb066265fb72d530e097394a1ea7911353767eb1798bd809a30dda4e3ad8
[INFO] running `Command { std: "docker" "start" "-a" "2361cb066265fb72d530e097394a1ea7911353767eb1798bd809a30dda4e3ad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2361cb066265fb72d530e097394a1ea7911353767eb1798bd809a30dda4e3ad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2361cb066265fb72d530e097394a1ea7911353767eb1798bd809a30dda4e3ad8", kill_on_drop: false }`
[INFO] [stdout] 2361cb066265fb72d530e097394a1ea7911353767eb1798bd809a30dda4e3ad8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 73498c7ffc8ad6bd3eb88f1b47b9dcd5ccb03a1a15958466b3626a5b5f88e6c9
[INFO] running `Command { std: "docker" "start" "-a" "73498c7ffc8ad6bd3eb88f1b47b9dcd5ccb03a1a15958466b3626a5b5f88e6c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]     Checking object v0.27.1
[INFO] [stderr]     Checking ucd-util v0.1.8
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]    Compiling syntex_fmt_macros v0.5.0
[INFO] [stderr]     Checking utf8-ranges v1.0.4
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling backtrace v0.3.63
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]    Compiling derive-error-chain v0.11.2
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking dotenv v0.11.0
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dotenv::dotenv;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dotenv::dotenv;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `show`, `all`, `update_by_id`, `insert`, `delete_by_id`, and `all_by_author` are never used
[INFO] [stdout]   --> src/models.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Book {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout] 25 |     pub fn show(id: i32, conn: &PgConnection) -> Vec<Book>{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn all(conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn insert(book: NewBook, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn all_by_author(author: String, conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `show`, `all`, `update_by_id`, `insert`, `delete_by_id`, and `all_by_author` are never used
[INFO] [stdout]   --> src/models.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Book {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout] 25 |     pub fn show(id: i32, conn: &PgConnection) -> Vec<Book>{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn all(conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn insert(book: NewBook, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn all_by_author(author: String, conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.75s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "73498c7ffc8ad6bd3eb88f1b47b9dcd5ccb03a1a15958466b3626a5b5f88e6c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73498c7ffc8ad6bd3eb88f1b47b9dcd5ccb03a1a15958466b3626a5b5f88e6c9", kill_on_drop: false }`
[INFO] [stdout] 73498c7ffc8ad6bd3eb88f1b47b9dcd5ccb03a1a15958466b3626a5b5f88e6c9
[INFO] checking diegoareval/rust-api-sample against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegoareval%2Frust-api-sample" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/diegoareval/rust-api-sample on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/diegoareval/rust-api-sample
[INFO] finished tweaking git repo https://github.com/diegoareval/rust-api-sample
[INFO] tweaked toml for git repo https://github.com/diegoareval/rust-api-sample written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/diegoareval/rust-api-sample 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29a246cecca5e186bddcd597e1b7eb31139d7c4ed5842e8d0ad7bab5a00db6a7
[INFO] running `Command { std: "docker" "start" "-a" "29a246cecca5e186bddcd597e1b7eb31139d7c4ed5842e8d0ad7bab5a00db6a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29a246cecca5e186bddcd597e1b7eb31139d7c4ed5842e8d0ad7bab5a00db6a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29a246cecca5e186bddcd597e1b7eb31139d7c4ed5842e8d0ad7bab5a00db6a7", kill_on_drop: false }`
[INFO] [stdout] 29a246cecca5e186bddcd597e1b7eb31139d7c4ed5842e8d0ad7bab5a00db6a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2cf9cf89f85d9666ff52619c0aa6fa6431e633d9d020547714706b155b43c36b
[INFO] running `Command { std: "docker" "start" "-a" "2cf9cf89f85d9666ff52619c0aa6fa6431e633d9d020547714706b155b43c36b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]     Checking object v0.27.1
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking ucd-util v0.1.8
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]    Compiling syntex_fmt_macros v0.5.0
[INFO] [stderr]     Checking utf8-ranges v1.0.4
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling backtrace v0.3.63
[INFO] [stderr]    Compiling derive-error-chain v0.11.2
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking dotenv v0.11.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dotenv::dotenv;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dotenv::dotenv;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `show`, `all`, `update_by_id`, `insert`, `delete_by_id`, and `all_by_author` are never used
[INFO] [stdout]   --> src/models.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Book {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout] 25 |     pub fn show(id: i32, conn: &PgConnection) -> Vec<Book>{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn all(conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn insert(book: NewBook, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn all_by_author(author: String, conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_table`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_id`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_title`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_author`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `show`, `all`, `update_by_id`, `insert`, `delete_by_id`, and `all_by_author` are never used
[INFO] [stdout]   --> src/models.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Book {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout] 25 |     pub fn show(id: i32, conn: &PgConnection) -> Vec<Book>{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn all(conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn insert(book: NewBook, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn all_by_author(author: String, conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_published`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_table`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/models.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Queryable)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_queryable_for_book`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/models.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Insertable)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `_impl_insertable_for_newbook`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_id`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_title`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_author`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     books (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         title -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_query_id_for_published`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/models.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Queryable)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current function `_impl_queryable_for_book`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/models.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Insertable)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `_impl_insertable_for_newbook`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `api` (bin "api") due to 8 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `api` (bin "api" test) due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2cf9cf89f85d9666ff52619c0aa6fa6431e633d9d020547714706b155b43c36b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cf9cf89f85d9666ff52619c0aa6fa6431e633d9d020547714706b155b43c36b", kill_on_drop: false }`
[INFO] [stdout] 2cf9cf89f85d9666ff52619c0aa6fa6431e633d9d020547714706b155b43c36b
