[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.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquant-shiva%2Frust_libr" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quant-shiva/rust_libr on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.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-5/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.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.15.2 [INFO] [stderr] Downloaded memchr v1.0.2 [INFO] [stderr] Downloaded hmac v0.5.0 [INFO] [stderr] Downloaded base64 v0.6.0 [INFO] [stderr] Downloaded crypto-mac v0.5.2 [INFO] [stderr] Downloaded postgres-protocol v0.3.2 [INFO] [stderr] Downloaded postgres-shared v0.4.2 [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded fallible-iterator v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e90f7006cf54c5818355c209dfcab62379e509fdbe6c91634929d60c624e1f9d [INFO] running `Command { std: "docker" "start" "-a" "e90f7006cf54c5818355c209dfcab62379e509fdbe6c91634929d60c624e1f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e90f7006cf54c5818355c209dfcab62379e509fdbe6c91634929d60c624e1f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90f7006cf54c5818355c209dfcab62379e509fdbe6c91634929d60c624e1f9d", kill_on_drop: false }` [INFO] [stdout] e90f7006cf54c5818355c209dfcab62379e509fdbe6c91634929d60c624e1f9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e75410f8b529dd41675bab39cde1ac9c9f140ad9ef3b947ed13c0c61eebf97 [INFO] running `Command { std: "docker" "start" "-a" "14e75410f8b529dd41675bab39cde1ac9c9f140ad9ef3b947ed13c0c61eebf97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [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 unicode-normalization v0.1.13 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.2 [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 `new` is never used [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 `book_insert` is never used [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: fields `barcode`, `status` and `book` are never read [INFO] [stdout] --> src/book_item.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BookItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | barcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | status: BookStatus, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [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 `insert_book_item` is never used [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.26s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14e75410f8b529dd41675bab39cde1ac9c9f140ad9ef3b947ed13c0c61eebf97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e75410f8b529dd41675bab39cde1ac9c9f140ad9ef3b947ed13c0c61eebf97", kill_on_drop: false }` [INFO] [stdout] 14e75410f8b529dd41675bab39cde1ac9c9f140ad9ef3b947ed13c0c61eebf97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 751625b24992c54310216a9162aa50ba6998640f692363c6cacd136bd7ef9c9a [INFO] running `Command { std: "docker" "start" "-a" "751625b24992c54310216a9162aa50ba6998640f692363c6cacd136bd7ef9c9a", 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 `new` is never used [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 `book_insert` is never used [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: fields `barcode`, `status` and `book` are never read [INFO] [stdout] --> src/book_item.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BookItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | barcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | status: BookStatus, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [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 `insert_book_item` is never used [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "751625b24992c54310216a9162aa50ba6998640f692363c6cacd136bd7ef9c9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751625b24992c54310216a9162aa50ba6998640f692363c6cacd136bd7ef9c9a", kill_on_drop: false }` [INFO] [stdout] 751625b24992c54310216a9162aa50ba6998640f692363c6cacd136bd7ef9c9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4d672b4f0d6b0852758a8e2aae85094d4a62ea524c2259b0d804d7ea762f3c4 [INFO] running `Command { std: "docker" "start" "-a" "e4d672b4f0d6b0852758a8e2aae85094d4a62ea524c2259b0d804d7ea762f3c4", kill_on_drop: false }` [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 `new` is never used [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 `book_insert` is never used [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: fields `barcode`, `status` and `book` are never read [INFO] [stderr] --> src/book_item.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct BookItem { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 15 | barcode: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | status: BookStatus, [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] [INFO] [stderr] warning: associated function `new` is never used [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 `insert_book_item` is never used [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 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_libr-02de6da3593a678e) [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" "e4d672b4f0d6b0852758a8e2aae85094d4a62ea524c2259b0d804d7ea762f3c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d672b4f0d6b0852758a8e2aae85094d4a62ea524c2259b0d804d7ea762f3c4", kill_on_drop: false }` [INFO] [stdout] e4d672b4f0d6b0852758a8e2aae85094d4a62ea524c2259b0d804d7ea762f3c4