[INFO] cloning repository https://github.com/adrocodes/adrodb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrocodes/adrodb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrocodes%2Fadrodb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrocodes%2Fadrodb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69123ba22a999d58b883781d538c530219af10fb
[INFO] testing adrocodes/adrodb against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrocodes%2Fadrodb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/adrocodes/adrodb on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/adrocodes/adrodb
[INFO] finished tweaking git repo https://github.com/adrocodes/adrodb
[INFO] tweaked toml for git repo https://github.com/adrocodes/adrodb written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/adrocodes/adrodb 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e474485a502e344b1ace60dd6725b970a2f5cd3679a4ce873b06bd39ae3c55f2
[INFO] running `Command { std: "docker" "start" "-a" "e474485a502e344b1ace60dd6725b970a2f5cd3679a4ce873b06bd39ae3c55f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e474485a502e344b1ace60dd6725b970a2f5cd3679a4ce873b06bd39ae3c55f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e474485a502e344b1ace60dd6725b970a2f5cd3679a4ce873b06bd39ae3c55f2", kill_on_drop: false }`
[INFO] [stdout] e474485a502e344b1ace60dd6725b970a2f5cd3679a4ce873b06bd39ae3c55f2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6db3bd453c2a58b2ab6333749ec639c8bb1c36d82e8142ca31970080cc6f3415
[INFO] running `Command { std: "docker" "start" "-a" "6db3bd453c2a58b2ab6333749ec639c8bb1c36d82e8142ca31970080cc6f3415", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling libsqlite3-sys v0.25.2
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling rusqlite v0.28.0
[INFO] [stderr]    Compiling adrodb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.63s
[INFO] running `Command { std: "docker" "inspect" "6db3bd453c2a58b2ab6333749ec639c8bb1c36d82e8142ca31970080cc6f3415", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6db3bd453c2a58b2ab6333749ec639c8bb1c36d82e8142ca31970080cc6f3415", kill_on_drop: false }`
[INFO] [stdout] 6db3bd453c2a58b2ab6333749ec639c8bb1c36d82e8142ca31970080cc6f3415
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f9fee807aa82d900aff8b34dc6b5cd58eaa183ec3466f2d62345869093e32f7d
[INFO] running `Command { std: "docker" "start" "-a" "f9fee807aa82d900aff8b34dc6b5cd58eaa183ec3466f2d62345869093e32f7d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.52
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling serde v1.0.156
[INFO] [stderr]    Compiling futures-task v0.3.27
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling futures-util v0.3.27
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling tokio v1.26.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling futures-sink v0.3.27
[INFO] [stderr]    Compiling bytestring v1.3.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling local-waker v0.1.3
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling zstd-safe v6.0.4+zstd.1.5.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling time-macros v0.2.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling brotli-decompressor v2.3.4
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.11
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling serde_json v1.0.94
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zstd-sys v2.0.7+zstd.1.5.4
[INFO] [stderr]    Compiling libsqlite3-sys v0.25.2
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling local-channel v0.1.3
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling brotli v3.3.4
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling actix-router v0.5.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.7
[INFO] [stderr]    Compiling actix-rt v2.8.0
[INFO] [stderr]    Compiling actix-server v2.2.0
[INFO] [stderr]    Compiling actix-codec v0.5.0
[INFO] [stderr]    Compiling h2 v0.3.16
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling actix-web-codegen v4.2.0
[INFO] [stderr]    Compiling zstd v0.12.3+zstd.1.5.2
[INFO] [stderr]    Compiling actix-http v3.3.1
[INFO] [stderr]    Compiling rusqlite v0.28.0
[INFO] [stderr]    Compiling adrodb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling actix-web v4.3.1
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 28.19s
[INFO] running `Command { std: "docker" "inspect" "f9fee807aa82d900aff8b34dc6b5cd58eaa183ec3466f2d62345869093e32f7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9fee807aa82d900aff8b34dc6b5cd58eaa183ec3466f2d62345869093e32f7d", kill_on_drop: false }`
[INFO] [stdout] f9fee807aa82d900aff8b34dc6b5cd58eaa183ec3466f2d62345869093e32f7d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5c46775bdbe7b2adf5370521a64e084ff558a7f813f82c1f1d9c8b6bfe606e47
[INFO] running `Command { std: "docker" "start" "-a" "5c46775bdbe7b2adf5370521a64e084ff558a7f813f82c1f1d9c8b6bfe606e47", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/adrodb-6462c5eb2b6908b9)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test db::test::test_table_new ... ok
[INFO] [stdout] test db::test::test_existing_table ... ok
[INFO] [stdout] test db::test::test_getting_missing_key ... ok
[INFO] [stdout] test db::test::test_updating_existing_value ... ok
[INFO] [stdout] test db::test::test_table_create ... ok
[INFO] [stdout] test db::test::test_casting_results ... ok
[INFO] [stdout] test db::test::test_removing_by_missing_key ... ok
[INFO] [stdout] test db::test::test_table_insert ... ok
[INFO] [stdout] test db::test::test_removing_by_key ... ok
[INFO] [stdout] test db::test::test_getting_valid_key ... ok
[INFO] [stdout] test db::test::test_updating_missing_value ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests adrodb
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/db.rs - db::DatabaseTable<'a>::remove (line 182) ... FAILED
[INFO] [stdout] test src/db.rs - db::Table<'a>::create (line 53) ... FAILED
[INFO] [stdout] test src/db.rs - db::Table<'a>::existing (line 87) ... FAILED
[INFO] [stdout] test src/db.rs - db::DatabaseTable<'a>::get (line 154) ... FAILED
[INFO] [stdout] test src/db.rs - db::DatabaseTable<'a>::update (line 208) ... FAILED
[INFO] [stdout] test src/db.rs - db::DatabaseTable<'a>::set (line 123) ... FAILED
[INFO] [stdout] test src/db.rs - db::Table<'a>::new (line 27) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/db.rs - db::DatabaseTable<'a>::remove (line 182) 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/db.rs:187:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_rs_182_0() {
[INFO] [stdout]   |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let connection = Connection::open("./test.sqlite")?;
[INFO] [stdout]   |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, rusqlite::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/db.rs:188:13
[INFO] [stdout]    |
[INFO] [stdout] 9  | let table = Table::existing("users");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^--------- an argument of type `&Connection` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/db.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn existing(name: &'a str, connection: &'a Connection) -> DatabaseTable<'a> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 9  | let table = Table::existing("users", /* &Connection */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/db.rs - db::Table<'a>::create (line 53) 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/db.rs:58:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_rs_53_0() {
[INFO] [stdout]   |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let connection = Connection::open("./test.sqlite")?;
[INFO] [stdout]   |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, rusqlite::Error>>` is not implemented for `()`
[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/db.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_rs_53_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | users_table.create(&connection)?;
[INFO] [stdout]    |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, rusqlite::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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] ---- src/db.rs - db::Table<'a>::existing (line 87) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/db.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | table.insert(...)
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | table.insert(..)
[INFO] [stdout]    |              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | table.insert(..=)
[INFO] [stdout]    |              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/db.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | table.insert(...)
[INFO] [stdout]    |              ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[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/db.rs:92:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_rs_87_0() {
[INFO] [stdout]   |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let connection = Connection::open("./test.sqlite")?;
[INFO] [stdout]   |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, rusqlite::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `as_existing` found for struct `Table` in the current scope
[INFO] [stdout]   --> src/db.rs:93:20
[INFO] [stdout]    |
[INFO] [stdout] 9  | let table = Table::as_existing("users", &connection);
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    function or associated item not found in `Table<'_>`
[INFO] [stdout]    |                    help: there is an associated function with a similar name: `existing`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Table<'_>`, consider using `Table::<'a>::new` which returns `Table<'a>`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/db.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn new(name: &'a str) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0586, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/db.rs - db::DatabaseTable<'a>::get (line 154) 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/db.rs:159:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_rs_154_0() {
[INFO] [stdout]   |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let connection = Connection::open("./test.sqlite")?;
[INFO] [stdout]   |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, rusqlite::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/db.rs:160:13
[INFO] [stdout]    |
[INFO] [stdout] 9  | let table = Table::existing("users");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^--------- an argument of type `&Connection` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/db.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn existing(name: &'a str, connection: &'a Connection) -> DatabaseTable<'a> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 9  | let table = Table::existing("users", /* &Connection */);
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `DatabaseTable` in the current scope
[INFO] [stdout]   --> src/db.rs:162:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | table.insert("jimmy", "abc")?;
[INFO] [stdout]    |       ^^^^^^ help: there is a method with a similar name: `set`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/db.rs - db::DatabaseTable<'a>::update (line 208) 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/db.rs:213:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_rs_208_0() {
[INFO] [stdout]   |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let connection = Connection::open("./test.sqlite")?;
[INFO] [stdout]   |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, rusqlite::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `update` found for struct `Table` in the current scope
[INFO] [stdout]   --> src/db.rs:218:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | users_table.update("jimmy", "abc@abc.com")?;
[INFO] [stdout]    |             ^^^^^^ method not found in `Table<'_>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/db.rs - db::DatabaseTable<'a>::set (line 123) 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/db.rs:128:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_rs_123_0() {
[INFO] [stdout]   |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let connection = Connection::open("./test.sqlite")?;
[INFO] [stdout]   |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, rusqlite::Error>>` is not implemented for `()`
[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/db.rs:131:32
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_rs_123_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | users_table.create(&connection)?;
[INFO] [stdout]    |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, rusqlite::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `Table` in the current scope
[INFO] [stdout]   --> src/db.rs:133:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | users_table.insert("jimmy", "abc@abc.com")?;
[INFO] [stdout]    |             ^^^^^^ method not found in `Table<'_>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/db.rs - db::DatabaseTable<'a>::get (line 154)
[INFO] [stdout]     src/db.rs - db::DatabaseTable<'a>::remove (line 182)
[INFO] [stdout]     src/db.rs - db::DatabaseTable<'a>::set (line 123)
[INFO] [stdout]     src/db.rs - db::DatabaseTable<'a>::update (line 208)
[INFO] [stdout]     src/db.rs - db::Table<'a>::create (line 53)
[INFO] [stdout]     src/db.rs - db::Table<'a>::existing (line 87)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5c46775bdbe7b2adf5370521a64e084ff558a7f813f82c1f1d9c8b6bfe606e47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c46775bdbe7b2adf5370521a64e084ff558a7f813f82c1f1d9c8b6bfe606e47", kill_on_drop: false }`
[INFO] [stdout] 5c46775bdbe7b2adf5370521a64e084ff558a7f813f82c1f1d9c8b6bfe606e47
