[INFO] fetching crate book_lib 0.1.3...
[INFO] testing book_lib-0.1.3 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate book_lib 0.1.3 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate book_lib 0.1.3
[INFO] finished tweaking crates.io crate book_lib 0.1.3
[INFO] tweaked toml for crates.io crate book_lib 0.1.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate book_lib 0.1.3 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 170 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding rusqlite v0.32.1 (available: v0.38.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded logos v0.12.1
[INFO] [stderr]   Downloaded env-file-reader v0.3.0
[INFO] [stderr]   Downloaded beef v0.5.2
[INFO] [stderr]   Downloaded ctor-proc-macro v0.0.6
[INFO] [stderr]   Downloaded ctor v0.4.3
[INFO] [stderr]   Downloaded logos-derive v0.12.1
[INFO] [stderr]   Downloaded dtor-proc-macro v0.0.5
[INFO] [stderr]   Downloaded dtor v0.0.6
[INFO] [stderr]   Downloaded zip v3.0.0
[INFO] [stderr]   Downloaded ena v0.14.3
[INFO] [stderr]   Downloaded libz-rs-sys v0.5.5
[INFO] [stderr]   Downloaded loggit v0.1.9
[INFO] [stderr]   Downloaded rusqlite v0.32.1
[INFO] [stderr]   Downloaded zlib-rs v0.5.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b9b835fa6183733634c14de9cff9e1a4deaa3f3e7d3f7bc71ad21770cc85db6
[INFO] running `Command { std: "docker" "start" "-a" "0b9b835fa6183733634c14de9cff9e1a4deaa3f3e7d3f7bc71ad21770cc85db6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b9b835fa6183733634c14de9cff9e1a4deaa3f3e7d3f7bc71ad21770cc85db6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b9b835fa6183733634c14de9cff9e1a4deaa3f3e7d3f7bc71ad21770cc85db6", kill_on_drop: false }`
[INFO] [stdout] 0b9b835fa6183733634c14de9cff9e1a4deaa3f3e7d3f7bc71ad21770cc85db6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a704795ac3cb5504d6ff131506e8de43f26f913ed003609389230020f02093e
[INFO] running `Command { std: "docker" "start" "-a" "4a704795ac3cb5504d6ff131506e8de43f26f913ed003609389230020f02093e", kill_on_drop: false }`
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling zlib-rs v0.5.5
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling dtor-proc-macro v0.0.5
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling bzip2 v0.5.2
[INFO] [stderr]    Compiling zopfli v0.8.3
[INFO] [stderr]    Compiling dtor v0.0.6
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling lzma-rs v0.3.0
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling xz2 v0.1.7
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling deflate64 v0.1.10
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling ctor-proc-macro v0.0.6
[INFO] [stderr]    Compiling ctor v0.4.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling rust-ini v0.21.3
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling libz-rs-sys v0.5.5
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling zip v3.0.0
[INFO] [stderr]    Compiling env-file-reader v0.3.0
[INFO] [stderr]    Compiling loggit v0.1.9
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling book_lib v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/db.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         Err(e) => panic!("Couldn't run app because the db doesn't exist"),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "4a704795ac3cb5504d6ff131506e8de43f26f913ed003609389230020f02093e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a704795ac3cb5504d6ff131506e8de43f26f913ed003609389230020f02093e", kill_on_drop: false }`
[INFO] [stdout] 4a704795ac3cb5504d6ff131506e8de43f26f913ed003609389230020f02093e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a8f89a08b4dda014d946001099e76218b2635b9a07c4e5d2faea571a0bfe490e
[INFO] running `Command { std: "docker" "start" "-a" "a8f89a08b4dda014d946001099e76218b2635b9a07c4e5d2faea571a0bfe490e", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/db.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         Err(e) => panic!("Couldn't run app because the db doesn't exist"),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling book_lib v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/db.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         Err(e) => panic!("Couldn't run app because the db doesn't exist"),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s
[INFO] running `Command { std: "docker" "inspect" "a8f89a08b4dda014d946001099e76218b2635b9a07c4e5d2faea571a0bfe490e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8f89a08b4dda014d946001099e76218b2635b9a07c4e5d2faea571a0bfe490e", kill_on_drop: false }`
[INFO] [stdout] a8f89a08b4dda014d946001099e76218b2635b9a07c4e5d2faea571a0bfe490e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] eef3de86b6b7c059915f7ab95971e43ff70babdc677b736814d2e1976d9b6281
[INFO] running `Command { std: "docker" "start" "-a" "eef3de86b6b7c059915f7ab95971e43ff70babdc677b736814d2e1976d9b6281", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/db.rs:102:13
[INFO] [stderr]     |
[INFO] [stderr] 102 |         Err(e) => panic!("Couldn't run app because the db doesn't exist"),
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `book_lib` (lib) generated 1 warning (run `cargo fix --lib -p book_lib` to apply 1 suggestion)
[INFO] [stderr] warning: `book_lib` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/book_lib-232cfe76f8843ec9)
[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] [stderr]    Doc-tests book_lib
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/book.rs - book::extract_file_name_from_path (line 35) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 21) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/book.rs - book::extract_file_name_from_path (line 35) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `extract_file_name_from_path` in this scope
[INFO] [stdout]   --> src/book.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 | let file_name = extract_file_name_from_path(path);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 21) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book`
[INFO] [stdout]   --> src/lib.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | let new_book = book::Book::init("book_name".to_string(), "path_to/your/file.pdf".to_string(), None, false);
[INFO] [stdout]    |                ^^^^ use of unresolved module or unlinked crate `book`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/book.rs, use `mod book` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 20 + mod book;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + use book_lib::book::Book;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Book`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 23 - let new_book = book::Book::init("book_name".to_string(), "path_to/your/file.pdf".to_string(), None, false);
[INFO] [stdout] 23 + let new_book = Book::init("book_name".to_string(), "path_to/your/file.pdf".to_string(), None, false);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `connection` in this scope
[INFO] [stdout]   --> src/lib.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 | book_lib::create_book(&connection, &new_book);
[INFO] [stdout]    |                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `connection` in this scope
[INFO] [stdout]   --> src/lib.rs:29:29
[INFO] [stdout]    |
[INFO] [stdout] 29 | book_lib::update_favourite(&connection, &("book_name".to_string()), true);
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 32) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `connection` in this scope
[INFO] [stdout]   --> src/lib.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 | book_lib::remove_book(&connection, &("book_name".to_string()));
[INFO] [stdout]    |                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/book.rs - book::extract_file_name_from_path (line 35)
[INFO] [stdout]     src/lib.rs - (line 21)
[INFO] [stdout]     src/lib.rs - (line 27)
[INFO] [stdout]     src/lib.rs - (line 32)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "eef3de86b6b7c059915f7ab95971e43ff70babdc677b736814d2e1976d9b6281", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eef3de86b6b7c059915f7ab95971e43ff70babdc677b736814d2e1976d9b6281", kill_on_drop: false }`
[INFO] [stdout] eef3de86b6b7c059915f7ab95971e43ff70babdc677b736814d2e1976d9b6281
