[INFO] cloning repository https://github.com/kylin-x-kernel/xbox-sqlite
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kylin-x-kernel/xbox-sqlite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylin-x-kernel%2Fxbox-sqlite", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylin-x-kernel%2Fxbox-sqlite'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e29ef5eb45ad8a2a16e71739226b5a8b9903d128
[INFO] testing kylin-x-kernel/xbox-sqlite against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylin-x-kernel%2Fxbox-sqlite" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kylin-x-kernel/xbox-sqlite
[INFO] finished tweaking git repo https://github.com/kylin-x-kernel/xbox-sqlite
[INFO] tweaked toml for git repo https://github.com/kylin-x-kernel/xbox-sqlite written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kylin-x-kernel/xbox-sqlite on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kylin-x-kernel/xbox-sqlite 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b15494e205eb0e251b36ecf374253e440fe350e50873ee7ab21f680da8355a4
[INFO] running `Command { std: "docker" "start" "-a" "3b15494e205eb0e251b36ecf374253e440fe350e50873ee7ab21f680da8355a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b15494e205eb0e251b36ecf374253e440fe350e50873ee7ab21f680da8355a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b15494e205eb0e251b36ecf374253e440fe350e50873ee7ab21f680da8355a4", kill_on_drop: false }`
[INFO] [stdout] 3b15494e205eb0e251b36ecf374253e440fe350e50873ee7ab21f680da8355a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9a6cfd731aaf6497179f525cf044385c86729413cea49a7b63690e67bbda37f4
[INFO] running `Command { std: "docker" "start" "-a" "9a6cfd731aaf6497179f525cf044385c86729413cea49a7b63690e67bbda37f4", kill_on_drop: false }`
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling diesel_derives v2.3.5
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling downcast-rs v2.0.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling envy v0.4.2
[INFO] [stderr]    Compiling diesel v2.3.4
[INFO] [stderr]    Compiling blackbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "9a6cfd731aaf6497179f525cf044385c86729413cea49a7b63690e67bbda37f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a6cfd731aaf6497179f525cf044385c86729413cea49a7b63690e67bbda37f4", kill_on_drop: false }`
[INFO] [stdout] 9a6cfd731aaf6497179f525cf044385c86729413cea49a7b63690e67bbda37f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] eb557e400697c62c2fbd1a85ad1e70751e641da917fac23ca510e66571847be8
[INFO] running `Command { std: "docker" "start" "-a" "eb557e400697c62c2fbd1a85ad1e70751e641da917fac23ca510e66571847be8", kill_on_drop: false }`
[INFO] [stderr]    Compiling blackbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.32s
[INFO] running `Command { std: "docker" "inspect" "eb557e400697c62c2fbd1a85ad1e70751e641da917fac23ca510e66571847be8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb557e400697c62c2fbd1a85ad1e70751e641da917fac23ca510e66571847be8", kill_on_drop: false }`
[INFO] [stdout] eb557e400697c62c2fbd1a85ad1e70751e641da917fac23ca510e66571847be8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b6980c99097e296cc6fcf39149f21e8e82abe31480ac664ae2c6322d3aeac0ac
[INFO] running `Command { std: "docker" "start" "-a" "b6980c99097e296cc6fcf39149f21e8e82abe31480ac664ae2c6322d3aeac0ac", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/blackbox/2467ffeb2fff5908/deps/blackbox-2467ffeb2fff5908)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/blackbox/87402dcd543cc14f/deps/blackbox-87402dcd543cc14f)
[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 blackbox
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - BlackBox::smart_insert (line 101) ... FAILED
[INFO] [stdout] test src/lib.rs - BlackBox::init_database (line 74) ... FAILED
[INFO] [stdout] test src/lib.rs - BlackBox::new (line 44) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - BlackBox::smart_insert (line 101) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:107:77
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_101_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 107 | let result = blackbox.smart_insert(SmartDataType::Servers, json_data, false)?;
[INFO] [stdout]     |                                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 102 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_101_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 103 | use blackbox::{BlackBox, SmartDataType};
[INFO] [stdout] ...
[INFO] [stdout] 107 | let result = blackbox.smart_insert(SmartDataType::Servers, json_data, false)?;
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - BlackBox::init_database (line 74) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 80 | blackbox.init_database(false)?;
[INFO] [stdout]    |                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 75 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 76 | use blackbox::BlackBox;
[INFO] [stdout] ...
[INFO] [stdout] 88 | blackbox.init_database(true)?;
[INFO] [stdout] 89 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:84:30
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 84 | blackbox.init_database(false)?;
[INFO] [stdout]    |                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 75 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 76 | use blackbox::BlackBox;
[INFO] [stdout] ...
[INFO] [stdout] 88 | blackbox.init_database(true)?;
[INFO] [stdout] 89 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 88 | blackbox.init_database(true)?;
[INFO] [stdout]    |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 75 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 76 | use blackbox::BlackBox;
[INFO] [stdout] ...
[INFO] [stdout] 88 | blackbox.init_database(true)?;
[INFO] [stdout] 89 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - BlackBox::init_database (line 74)
[INFO] [stdout]     src/lib.rs - BlackBox::smart_insert (line 101)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.64s; merged doctests compilation took 0.12s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b6980c99097e296cc6fcf39149f21e8e82abe31480ac664ae2c6322d3aeac0ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6980c99097e296cc6fcf39149f21e8e82abe31480ac664ae2c6322d3aeac0ac", kill_on_drop: false }`
[INFO] [stdout] b6980c99097e296cc6fcf39149f21e8e82abe31480ac664ae2c6322d3aeac0ac
