[INFO] cloning repository https://github.com/bhargav55/Rust-Api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bhargav55/Rust-Api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhargav55%2FRust-Api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhargav55%2FRust-Api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 679997b1ddfb51a1e5cdaf185831d7c6c3e6d885
[INFO] checking bhargav55/Rust-Api against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhargav55%2FRust-Api" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bhargav55/Rust-Api 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/bhargav55/Rust-Api
[INFO] finished tweaking git repo https://github.com/bhargav55/Rust-Api
[INFO] tweaked toml for git repo https://github.com/bhargav55/Rust-Api written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/bhargav55/Rust-Api 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 memchr v2.3.4
[INFO] [stderr]   Downloaded error-chain v0.11.0
[INFO] [stderr]   Downloaded dotenv v0.11.0
[INFO] [stderr]   Downloaded syntex_fmt_macros v0.5.0
[INFO] [stderr]   Downloaded ucd-util v0.1.8
[INFO] [stderr]   Downloaded derive-error-chain v0.11.2
[INFO] [stderr]   Downloaded rustc-demangle v0.1.18
[INFO] [stderr]   Downloaded vcpkg v0.2.10
[INFO] [stderr]   Downloaded adler v0.2.3
[INFO] [stderr]   Downloaded backtrace v0.3.54
[INFO] [stderr]   Downloaded syn v0.14.9
[INFO] [stderr]   Downloaded libc v0.2.80
[INFO] [stderr]   Downloaded syn v1.0.48
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] [stderr]   Downloaded gimli v0.23.0
[INFO] [stderr]   Downloaded miniz_oxide v0.4.3
[INFO] [stderr]   Downloaded diesel v1.4.5
[INFO] [stderr]   Downloaded object v0.22.0
[INFO] [stderr]   Downloaded addr2line v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] fed26284bf956f345e0bb0188f9cd902f59ff2699ae7630ad724b3ef0cdd2d00
[INFO] running `Command { std: "docker" "start" "-a" "fed26284bf956f345e0bb0188f9cd902f59ff2699ae7630ad724b3ef0cdd2d00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fed26284bf956f345e0bb0188f9cd902f59ff2699ae7630ad724b3ef0cdd2d00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fed26284bf956f345e0bb0188f9cd902f59ff2699ae7630ad724b3ef0cdd2d00", kill_on_drop: false }`
[INFO] [stdout] fed26284bf956f345e0bb0188f9cd902f59ff2699ae7630ad724b3ef0cdd2d00
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1bd4be2c7132aea349fbac418b379be9a5a4c10f2d992164ddd9b36429b56d54
[INFO] running `Command { std: "docker" "start" "-a" "1bd4be2c7132aea349fbac418b379be9a5a4c10f2d992164ddd9b36429b56d54", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]     Checking object v0.22.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking ucd-util v0.1.8
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking regex-syntax v0.5.6
[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]     Checking addr2line v0.14.0
[INFO] [stderr]     Checking backtrace v0.3.54
[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.5
[INFO] [stderr]     Checking api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated functions `show`, `all`, `update_by_id`, `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] 32 |     pub fn all(conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `show`, `all`, `update_by_id`, `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] 32 |     pub fn all(conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 17.74s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "1bd4be2c7132aea349fbac418b379be9a5a4c10f2d992164ddd9b36429b56d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bd4be2c7132aea349fbac418b379be9a5a4c10f2d992164ddd9b36429b56d54", kill_on_drop: false }`
[INFO] [stdout] 1bd4be2c7132aea349fbac418b379be9a5a4c10f2d992164ddd9b36429b56d54
[INFO] checking bhargav55/Rust-Api 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%2Fbhargav55%2FRust-Api" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bhargav55/Rust-Api 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/bhargav55/Rust-Api
[INFO] finished tweaking git repo https://github.com/bhargav55/Rust-Api
[INFO] tweaked toml for git repo https://github.com/bhargav55/Rust-Api written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/bhargav55/Rust-Api 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c2b68cc21f37bffb8647ca319de409a053292e28dddfaf2b9c30388f76d299ca
[INFO] running `Command { std: "docker" "start" "-a" "c2b68cc21f37bffb8647ca319de409a053292e28dddfaf2b9c30388f76d299ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2b68cc21f37bffb8647ca319de409a053292e28dddfaf2b9c30388f76d299ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2b68cc21f37bffb8647ca319de409a053292e28dddfaf2b9c30388f76d299ca", kill_on_drop: false }`
[INFO] [stdout] c2b68cc21f37bffb8647ca319de409a053292e28dddfaf2b9c30388f76d299ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0141e1f61afda51a0cf12e9a93e66bec7c9181950b3ce7dc2bf84d4ab67e0bfb
[INFO] running `Command { std: "docker" "start" "-a" "0141e1f61afda51a0cf12e9a93e66bec7c9181950b3ce7dc2bf84d4ab67e0bfb", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]     Checking ucd-util v0.1.8
[INFO] [stderr]     Checking object v0.22.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking regex-syntax v0.5.6
[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]     Checking addr2line v0.14.0
[INFO] [stderr]     Checking backtrace v0.3.54
[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.5
[INFO] [stderr]     Checking api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated functions `show`, `all`, `update_by_id`, `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] 32 |     pub fn all(conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     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] 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] [stderr] error: could not compile `api` (bin "api") due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `show`, `all`, `update_by_id`, `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] 32 |     pub fn all(conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     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] 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; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `api` (bin "api" test) due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0141e1f61afda51a0cf12e9a93e66bec7c9181950b3ce7dc2bf84d4ab67e0bfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0141e1f61afda51a0cf12e9a93e66bec7c9181950b3ce7dc2bf84d4ab67e0bfb", kill_on_drop: false }`
[INFO] [stdout] 0141e1f61afda51a0cf12e9a93e66bec7c9181950b3ce7dc2bf84d4ab67e0bfb
