[INFO] cloning repository https://github.com/DobbiKov/book-lib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DobbiKov/book-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Fbook-lib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Fbook-lib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 74bcc3b62aa65fd6ed86839ef45bf516c658bba9
[INFO] testing DobbiKov/book-lib against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Fbook-lib" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DobbiKov/book-lib
[INFO] finished tweaking git repo https://github.com/DobbiKov/book-lib
[INFO] tweaked toml for git repo https://github.com/DobbiKov/book-lib written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DobbiKov/book-lib on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DobbiKov/book-lib 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4fac7652436fce02fc66cc8680c98f44ee42ceb26bcce8473403121fc82702d
[INFO] running `Command { std: "docker" "start" "-a" "b4fac7652436fce02fc66cc8680c98f44ee42ceb26bcce8473403121fc82702d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4fac7652436fce02fc66cc8680c98f44ee42ceb26bcce8473403121fc82702d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4fac7652436fce02fc66cc8680c98f44ee42ceb26bcce8473403121fc82702d", kill_on_drop: false }`
[INFO] [stdout] b4fac7652436fce02fc66cc8680c98f44ee42ceb26bcce8473403121fc82702d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1a4602d01679d4a9811e9afb8f088127e55fcfe95767f9828ca7e023acf0255
[INFO] running `Command { std: "docker" "start" "-a" "c1a4602d01679d4a9811e9afb8f088127e55fcfe95767f9828ca7e023acf0255", kill_on_drop: false }`
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]    Compiling loggit v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[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 22.69s
[INFO] running `Command { std: "docker" "inspect" "c1a4602d01679d4a9811e9afb8f088127e55fcfe95767f9828ca7e023acf0255", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1a4602d01679d4a9811e9afb8f088127e55fcfe95767f9828ca7e023acf0255", kill_on_drop: false }`
[INFO] [stdout] c1a4602d01679d4a9811e9afb8f088127e55fcfe95767f9828ca7e023acf0255
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b67a3f86e447b1c1487b03b3759639f8aa3d9133bf0a34873150a7e44309b88
[INFO] running `Command { std: "docker" "start" "-a" "2b67a3f86e447b1c1487b03b3759639f8aa3d9133bf0a34873150a7e44309b88", 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.45s
[INFO] running `Command { std: "docker" "inspect" "2b67a3f86e447b1c1487b03b3759639f8aa3d9133bf0a34873150a7e44309b88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b67a3f86e447b1c1487b03b3759639f8aa3d9133bf0a34873150a7e44309b88", kill_on_drop: false }`
[INFO] [stdout] 2b67a3f86e447b1c1487b03b3759639f8aa3d9133bf0a34873150a7e44309b88
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1125a41a6903f1ee8563900def4b4586d18cc3ff533980a3fb3c5c692ba984c3
[INFO] running `Command { std: "docker" "start" "-a" "1125a41a6903f1ee8563900def4b4586d18cc3ff533980a3fb3c5c692ba984c3", 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.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/book_lib-ec0609fbd7d74de3)
[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/lib.rs - (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 21) ... FAILED
[INFO] [stdout] test src/book.rs - book::extract_file_name_from_path (line 35) ... 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/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 21) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `book` in this scope
[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/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 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.39s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1125a41a6903f1ee8563900def4b4586d18cc3ff533980a3fb3c5c692ba984c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1125a41a6903f1ee8563900def4b4586d18cc3ff533980a3fb3c5c692ba984c3", kill_on_drop: false }`
[INFO] [stdout] 1125a41a6903f1ee8563900def4b4586d18cc3ff533980a3fb3c5c692ba984c3
