[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 master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Fbook-lib" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DobbiKov/book-lib on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dirs v6.0.0
[INFO] [stderr]   Downloaded loggit v0.1.0
[INFO] [stderr]   Downloaded once_cell v1.21.1
[INFO] [stderr]   Downloaded redox_users v0.5.0
[INFO] [stderr]   Downloaded cc v1.2.10
[INFO] [stderr]   Downloaded rusqlite v0.32.1
[INFO] [stderr]   Downloaded libc v0.2.171
[INFO] [stderr]   Downloaded libsqlite3-sys v0.30.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0535b8e6f2b8ad972164a9770447a86fa51798c9e173c86c5b39615d45791b8
[INFO] running `Command { std: "docker" "start" "-a" "b0535b8e6f2b8ad972164a9770447a86fa51798c9e173c86c5b39615d45791b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0535b8e6f2b8ad972164a9770447a86fa51798c9e173c86c5b39615d45791b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0535b8e6f2b8ad972164a9770447a86fa51798c9e173c86c5b39615d45791b8", kill_on_drop: false }`
[INFO] [stdout] b0535b8e6f2b8ad972164a9770447a86fa51798c9e173c86c5b39615d45791b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a7f8633d23a368bd628ebff9a2593becad09233605569762f004b2fdc569f02
[INFO] running `Command { std: "docker" "start" "-a" "2a7f8633d23a368bd628ebff9a2593becad09233605569762f004b2fdc569f02", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling smallvec v1.13.2
[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 hashlink v0.9.1
[INFO] [stderr]    Compiling dirs v6.0.0
[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 19.95s
[INFO] running `Command { std: "docker" "inspect" "2a7f8633d23a368bd628ebff9a2593becad09233605569762f004b2fdc569f02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a7f8633d23a368bd628ebff9a2593becad09233605569762f004b2fdc569f02", kill_on_drop: false }`
[INFO] [stdout] 2a7f8633d23a368bd628ebff9a2593becad09233605569762f004b2fdc569f02
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb0a0dc0bceda9a7f8a8158ef56c75660507a76a9378e4081fedbf3a9ec6207d
[INFO] running `Command { std: "docker" "start" "-a" "cb0a0dc0bceda9a7f8a8158ef56c75660507a76a9378e4081fedbf3a9ec6207d", 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.50s
[INFO] running `Command { std: "docker" "inspect" "cb0a0dc0bceda9a7f8a8158ef56c75660507a76a9378e4081fedbf3a9ec6207d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb0a0dc0bceda9a7f8a8158ef56c75660507a76a9378e4081fedbf3a9ec6207d", kill_on_drop: false }`
[INFO] [stdout] cb0a0dc0bceda9a7f8a8158ef56c75660507a76a9378e4081fedbf3a9ec6207d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e278b989c7c9763c9e50f0b34b28e3f6614476c5611566892c75929594f4e7f0
[INFO] running `Command { std: "docker" "start" "-a" "e278b989c7c9763c9e50f0b34b28e3f6614476c5611566892c75929594f4e7f0", 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.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/book_lib-803401f815877d02)
[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 21) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... ok
[INFO] [stdout] test src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] test src/book.rs - book::extract_file_name_from_path (line 35) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] ---- 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] 
[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.47s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e278b989c7c9763c9e50f0b34b28e3f6614476c5611566892c75929594f4e7f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e278b989c7c9763c9e50f0b34b28e3f6614476c5611566892c75929594f4e7f0", kill_on_drop: false }`
[INFO] [stdout] e278b989c7c9763c9e50f0b34b28e3f6614476c5611566892c75929594f4e7f0
