[INFO] cloning repository https://github.com/quant-shiva/rust_libr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quant-shiva/rust_libr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquant-shiva%2Frust_libr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquant-shiva%2Frust_libr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e841d0bbdc351b4596eb3476287fbcc28ff9480 [INFO] testing quant-shiva/rust_libr against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquant-shiva%2Frust_libr" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quant-shiva/rust_libr on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quant-shiva/rust_libr [INFO] finished tweaking git repo https://github.com/quant-shiva/rust_libr [INFO] tweaked toml for git repo https://github.com/quant-shiva/rust_libr written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/quant-shiva/rust_libr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded sha2 v0.7.1 [INFO] [stderr] Downloaded fallible-iterator v0.1.6 [INFO] [stderr] Downloaded md5 v0.3.8 [INFO] [stderr] Downloaded postgres-protocol v0.3.2 [INFO] [stderr] Downloaded hmac v0.5.0 [INFO] [stderr] Downloaded crypto-mac v0.5.2 [INFO] [stderr] Downloaded postgres-shared v0.4.2 [INFO] [stderr] Downloaded postgres v0.15.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32a1006da90148ed31a0977eb43014473736f43a4fabe36c36c895ae14abcb85 [INFO] running `Command { std: "docker" "start" "-a" "32a1006da90148ed31a0977eb43014473736f43a4fabe36c36c895ae14abcb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32a1006da90148ed31a0977eb43014473736f43a4fabe36c36c895ae14abcb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a1006da90148ed31a0977eb43014473736f43a4fabe36c36c895ae14abcb85", kill_on_drop: false }` [INFO] [stdout] 32a1006da90148ed31a0977eb43014473736f43a4fabe36c36c895ae14abcb85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03106f8b4c6d95203cf514b9e65c0514968887866f3a3e3e6bf9d4d223ffc6e5 [INFO] running `Command { std: "docker" "start" "-a" "03106f8b4c6d95203cf514b9e65c0514968887866f3a3e3e6bf9d4d223ffc6e5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling rust_libr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/book.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_book_by_id(conn: &Connection, id: &i32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/book.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(isbn: &str, title: &str, subject: &str, publiser: &str, language: &str, author: &str) -> Book { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `book_insert` [INFO] [stdout] --> src/book.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn book_insert(conn: &Connection) -> Book { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `barcode` [INFO] [stdout] --> src/book_item.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | barcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/book_item.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/book_item.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | status: BookStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/book_item.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `book` [INFO] [stdout] --> src/book_item.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | book: Book [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/book_item.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/book_item.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(barcode: &str, book: &Book) -> BookItem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_book_item` [INFO] [stdout] --> src/book_item.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn insert_book_item(conn: &Connection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "03106f8b4c6d95203cf514b9e65c0514968887866f3a3e3e6bf9d4d223ffc6e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03106f8b4c6d95203cf514b9e65c0514968887866f3a3e3e6bf9d4d223ffc6e5", kill_on_drop: false }` [INFO] [stdout] 03106f8b4c6d95203cf514b9e65c0514968887866f3a3e3e6bf9d4d223ffc6e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a06a0d3f2dfec37f767248826774ed88ab43b282a84f156bbddbb7a03220d76b [INFO] running `Command { std: "docker" "start" "-a" "a06a0d3f2dfec37f767248826774ed88ab43b282a84f156bbddbb7a03220d76b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust_libr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/book.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_book_by_id(conn: &Connection, id: &i32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/book.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(isbn: &str, title: &str, subject: &str, publiser: &str, language: &str, author: &str) -> Book { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `book_insert` [INFO] [stdout] --> src/book.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn book_insert(conn: &Connection) -> Book { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `barcode` [INFO] [stdout] --> src/book_item.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | barcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/book_item.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/book_item.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | status: BookStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/book_item.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `book` [INFO] [stdout] --> src/book_item.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | book: Book [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/book_item.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/book_item.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(barcode: &str, book: &Book) -> BookItem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_book_item` [INFO] [stdout] --> src/book_item.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn insert_book_item(conn: &Connection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "a06a0d3f2dfec37f767248826774ed88ab43b282a84f156bbddbb7a03220d76b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06a0d3f2dfec37f767248826774ed88ab43b282a84f156bbddbb7a03220d76b", kill_on_drop: false }` [INFO] [stdout] a06a0d3f2dfec37f767248826774ed88ab43b282a84f156bbddbb7a03220d76b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85ad7bfa01593a13dd675309fc4035582d0f523fabe5256813ddfad1d069bdd0 [INFO] running `Command { std: "docker" "start" "-a" "85ad7bfa01593a13dd675309fc4035582d0f523fabe5256813ddfad1d069bdd0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/book.rs:85:46 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn get_book_by_id(conn: &Connection, id: &i32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/book.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(isbn: &str, title: &str, subject: &str, publiser: &str, language: &str, author: &str) -> Book { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `book_insert` [INFO] [stderr] --> src/book.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn book_insert(conn: &Connection) -> Book { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `barcode` [INFO] [stderr] --> src/book_item.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | barcode: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/book_item.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `status` [INFO] [stderr] --> src/book_item.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | status: BookStatus, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/book_item.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `book` [INFO] [stderr] --> src/book_item.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | book: Book [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BookItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/book_item.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/book_item.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(barcode: &str, book: &Book) -> BookItem { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_book_item` [INFO] [stderr] --> src/book_item.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn insert_book_item(conn: &Connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_libr` (bin "rust_libr" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.37s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_libr-a0d55a99fa1427d5) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "85ad7bfa01593a13dd675309fc4035582d0f523fabe5256813ddfad1d069bdd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85ad7bfa01593a13dd675309fc4035582d0f523fabe5256813ddfad1d069bdd0", kill_on_drop: false }` [INFO] [stdout] 85ad7bfa01593a13dd675309fc4035582d0f523fabe5256813ddfad1d069bdd0