[INFO] fetching crate reindeer 0.1.4...
[INFO] testing reindeer-0.1.4 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate reindeer 0.1.4 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate reindeer 0.1.4 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate reindeer 0.1.4
[INFO] finished tweaking crates.io crate reindeer 0.1.4
[INFO] tweaked toml for crates.io crate reindeer 0.1.4 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cd174513ec98ef3ba2799e59878564af82212a2f5e64cef84f4ac089e934dbc0
[INFO] running `Command { std: "docker" "start" "-a" "cd174513ec98ef3ba2799e59878564af82212a2f5e64cef84f4ac089e934dbc0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd174513ec98ef3ba2799e59878564af82212a2f5e64cef84f4ac089e934dbc0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd174513ec98ef3ba2799e59878564af82212a2f5e64cef84f4ac089e934dbc0", kill_on_drop: false }`
[INFO] [stdout] cd174513ec98ef3ba2799e59878564af82212a2f5e64cef84f4ac089e934dbc0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f30f808f9e55bd5aed4ad0b8a70ed2db8759ba31ad83267f3a031a08b01328e8
[INFO] running `Command { std: "docker" "start" "-a" "f30f808f9e55bd5aed4ad0b8a70ed2db8759ba31ad83267f3a031a08b01328e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.10
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.9
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling hashers v1.0.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling reindeer v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `remove_by_keys_and_tree_names` is never used
[INFO] [stdout]   --> src/relation/mod.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn remove_by_keys_and_tree_names(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `relations_with_key` is never used
[INFO] [stdout]   --> src/relation/mod.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn relations_with_key<E1: Entity>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.09s
[INFO] running `Command { std: "docker" "inspect" "f30f808f9e55bd5aed4ad0b8a70ed2db8759ba31ad83267f3a031a08b01328e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f30f808f9e55bd5aed4ad0b8a70ed2db8759ba31ad83267f3a031a08b01328e8", kill_on_drop: false }`
[INFO] [stdout] f30f808f9e55bd5aed4ad0b8a70ed2db8759ba31ad83267f3a031a08b01328e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63e6c3cf211b2bb06b410f7af316b55e830aae482a2c0e27f899b1b8574c90bd
[INFO] running `Command { std: "docker" "start" "-a" "63e6c3cf211b2bb06b410f7af316b55e830aae482a2c0e27f899b1b8574c90bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stdout] warning: associated function `remove_by_keys_and_tree_names` is never used
[INFO] [stdout]   --> src/relation/mod.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn remove_by_keys_and_tree_names(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `relations_with_key` is never used
[INFO] [stdout]   --> src/relation/mod.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn relations_with_key<E1: Entity>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling uuid v1.1.2
[INFO] [stderr]    Compiling reindeer v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `remove_by_keys_and_tree_names` is never used
[INFO] [stdout]   --> src/relation/mod.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn remove_by_keys_and_tree_names(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `relations_with_key` is never used
[INFO] [stdout]   --> src/relation/mod.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn relations_with_key<E1: Entity>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 6.79s
[INFO] running `Command { std: "docker" "inspect" "63e6c3cf211b2bb06b410f7af316b55e830aae482a2c0e27f899b1b8574c90bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63e6c3cf211b2bb06b410f7af316b55e830aae482a2c0e27f899b1b8574c90bd", kill_on_drop: false }`
[INFO] [stdout] 63e6c3cf211b2bb06b410f7af316b55e830aae482a2c0e27f899b1b8574c90bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 74077ccbe469bfa6b3c492c9ec61b9089bc1af79aeadcc9e5832b9bca1e54955
[INFO] running `Command { std: "docker" "start" "-a" "74077ccbe469bfa6b3c492c9ec61b9089bc1af79aeadcc9e5832b9bca1e54955", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `remove_by_keys_and_tree_names` is never used
[INFO] [stderr]   --> src/relation/mod.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 61 |     pub fn remove_by_keys_and_tree_names(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `relations_with_key` is never used
[INFO] [stderr]   --> src/relation/mod.rs:77:12
[INFO] [stderr]    |
[INFO] [stderr] 77 |     pub fn relations_with_key<E1: Entity>(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `reindeer` (lib) generated 2 warnings
[INFO] [stderr] warning: `reindeer` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.44s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reindeer-46607b5cb04978ca)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test test::test_free_relation_cascade ... ok
[INFO] [stdout] test test::test_delete_sibling_error ... ok
[INFO] [stdout] test test::test_recursive_cascade ... ok
[INFO] [stdout] test test::test_save_and_get_children ... ok
[INFO] [stdout] test test::test_cascade_children ... ok
[INFO] [stdout] test test::test_free_relation_error ... ok
[INFO] [stdout] test test::test_free_relation ... ok
[INFO] [stdout] test test::test_save_save_next_and_get ... ok
[INFO] [stdout] test test::create_and_register ... ok
[INFO] [stdout] test test::test_add_sibling ... ok
[INFO] [stdout] test test::test_delete_sibling_cascade ... ok
[INFO] [stdout] test test::test_recursive_error ... ok
[INFO] [stdout] test test::test_delete_children_error ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests reindeer
[INFO] [stdout] 
[INFO] [stdout] running 34 tests
[INFO] [stdout] test src/entity.rs - entity::Entity::get_each (line 372) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::filter_update (line 436) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::exists (line 543) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get (line 203) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_all (line 220) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity (line 41) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_from_end (line 313) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity (line 36) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::adopt_child (line 695) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_count (line 233) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::filter_remove (line 524) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::AutoIncrementEntity::save_next (line 733) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_children (line 711) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_from_end (line 321) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_child_trees (line 139) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_sibling (line 648) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::register (line 163) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_key (line 76) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::save_child (line 663) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::save (line 400) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_from_start (line 281) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_related (line 605) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_with_filter (line 356) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::register (line 159) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_single_related (line 616) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::remove (line 483) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::save_sibling (line 631) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_in_range (line 260) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_sibling_trees (line 112) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::update (line 416) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_from_start (line 273) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::store_name (line 64) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::set_key (line 92) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity (line 16) ... ok
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_each (line 372) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:373:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_each(vec![4,8,9],&db)?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:373:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_each(vec![4,8,9],&db)?;
[INFO] [stdout]   |                                                ^^ not found in this scope
[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/entity.rs:373:51
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_372_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let entities = MyStruct::get_each(vec![4,8,9],&db)?;
[INFO] [stdout]   | |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_372_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::filter_update (line 436) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:437:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::filter_update(|my_struct| mu_struct.prop1 > 100,|my_struct| {my_struct.prop1 = 0;},&db)?;
[INFO] [stdout]   | ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mu_struct` in this scope
[INFO] [stdout]  --> src/entity.rs:437:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::filter_update(|my_struct| mu_struct.prop1 > 100,|my_struct| {my_struct.prop1 = 0;},&db)?;
[INFO] [stdout]   |                                     ^^^^^^^^^ help: a local variable with a similar name exists: `my_struct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:437:95
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::filter_update(|my_struct| mu_struct.prop1 > 100,|my_struct| {my_struct.prop1 = 0;},&db)?;
[INFO] [stdout]   |                                                                                               ^^ not found in this scope
[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/entity.rs:437:98
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_436_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | MyStruct::filter_update(|my_struct| mu_struct.prop1 > 100,|my_struct| {my_struct.prop1 = 0;},&db)?;
[INFO] [stdout]   | |                                                                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_436_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::exists (line 543) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:544:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | if MyStruct::exists(&3, &db)? {
[INFO] [stdout]   |    ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:544:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | if MyStruct::exists(&3, &db)? {
[INFO] [stdout]   |                          ^^ not found in this scope
[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/entity.rs:544:29
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_543_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | if MyStruct::exists(&3, &db)? {
[INFO] [stdout]   | |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | |     /* */
[INFO] [stdout] 5 | | }
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_543_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get (line 203) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:204:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | if let Some(my_struct_4) = MyStruct::get(&4,&db)? {
[INFO] [stdout]   |                            ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:204:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | if let Some(my_struct_4) = MyStruct::get(&4,&db)? {
[INFO] [stdout]   |                                              ^^ not found in this scope
[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/entity.rs:204:49
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_203_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | if let Some(my_struct_4) = MyStruct::get(&4,&db)? {
[INFO] [stdout]   | |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | |     /* ... */
[INFO] [stdout] 5 | | }
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_203_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_all (line 220) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:221:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_all(&db)?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:221:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_all(&db)?;
[INFO] [stdout]   |                                   ^^ not found in this scope
[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/entity.rs:221:38
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_220_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let entities = MyStruct::get_all(&db)?;
[INFO] [stdout]   | |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_220_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity (line 41) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:42:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_struct_0 = MyStruct::get(&2,&db)?;
[INFO] [stdout]   |                   ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:42:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_struct_0 = MyStruct::get(&2,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[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/entity.rs:42:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_41_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let my_struct_0 = MyStruct::get(&2,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_41_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_from_end (line 313) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:314:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_end(10,20,None,&db)?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:314:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_end(10,20,None,&db)?;
[INFO] [stdout]   |                                                   ^^ not found in this scope
[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/entity.rs:314:54
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_313_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let entities = MyStruct::get_from_end(10,20,None,&db)?;
[INFO] [stdout]   | |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_313_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity (line 36) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `open` in this scope
[INFO] [stdout]  --> src/entity.rs:37:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | let db = open("./my-db")?;
[INFO] [stdout]   |          ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::open;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sled::open;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:38:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | let my_struct = MyStruct { key : 2 , prop1 : String::from("Hello, World!")};
[INFO] [stdout]   |                 ^^^^^^^^ not found in this scope
[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/entity.rs:37:25
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_36_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let db = open("./my-db")?;
[INFO] [stdout]   | |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | let my_struct = MyStruct { key : 2 , prop1 : String::from("Hello, World!")};
[INFO] [stdout] 5 | | my_struct.save(&db)?;
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_36_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:39:20
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_36_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let db = open("./my-db")?;
[INFO] [stdout] 4 | | let my_struct = MyStruct { key : 2 , prop1 : String::from("Hello, World!")};
[INFO] [stdout] 5 | | my_struct.save(&db)?;
[INFO] [stdout]   | |                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_36_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::adopt_child (line 695) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]  --> src/entity.rs:696:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct2`
[INFO] [stdout]  --> src/entity.rs:697:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let m_struct_2 = MyStruct2::get(&(7,2),&db)?;
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `MyStruct2`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:696:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:697:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | let m_struct_2 = MyStruct2::get(&(7,2),&db)?;
[INFO] [stdout]   |                                         ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_struct1` in this scope
[INFO] [stdout]  --> src/entity.rs:698:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | m_struct1.adopt_child(m_struct2,&db)?;
[INFO] [stdout]   | ^^^^^^^^^ help: a local variable with a similar name exists: `m_struct_1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_struct2` in this scope
[INFO] [stdout]  --> src/entity.rs:698:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | m_struct1.adopt_child(m_struct2,&db)?;
[INFO] [stdout]   |                       ^^^^^^^^^ help: a local variable with a similar name exists: `m_struct_2`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:698:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | m_struct1.adopt_child(m_struct2,&db)?;
[INFO] [stdout]   |                                  ^^ not found in this scope
[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/entity.rs:696:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_695_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | let m_struct_2 = MyStruct2::get(&(7,2),&db)?;
[INFO] [stdout] 5 | | m_struct1.adopt_child(m_struct2,&db)?;
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_695_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:697:44
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_695_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | | let m_struct_2 = MyStruct2::get(&(7,2),&db)?;
[INFO] [stdout]   | |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | m_struct1.adopt_child(m_struct2,&db)?;
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_695_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:698:37
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_695_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | | let m_struct_2 = MyStruct2::get(&(7,2),&db)?;
[INFO] [stdout] 5 | | m_struct1.adopt_child(m_struct2,&db)?;
[INFO] [stdout]   | |                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_695_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_count (line 233) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:234:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let count = MyStruct::get_count()?;
[INFO] [stdout]   |             ^^^^^^^^ use of undeclared type `MyStruct`
[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/entity.rs:234:34
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_233_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let count = MyStruct::get_count()?;
[INFO] [stdout]   | |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_233_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::filter_remove (line 524) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:525:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::remove(&3, &db);
[INFO] [stdout]   | ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:525:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::remove(&3, &db);
[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/entity.rs - entity::AutoIncrementEntity::save_next (line 733) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:734:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct = MyStruct { key : 0, prop9 : 44};
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:735:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | m_struct.save_next(&db)?; // will have key 0
[INFO] [stdout]   |                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:736:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let m_struct_2 = MyStruct { key : 0, prop9 :59};
[INFO] [stdout]   |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:737:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | m_struct_2.save_next(&db)?; // creates a new entry with key 1, and so on
[INFO] [stdout]   |                       ^^ not found in this scope
[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/entity.rs:735:24
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_733_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct = MyStruct { key : 0, prop9 : 44};
[INFO] [stdout] 4 | | m_struct.save_next(&db)?; // will have key 0
[INFO] [stdout]   | |                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | let m_struct_2 = MyStruct { key : 0, prop9 :59};
[INFO] [stdout] 6 | | m_struct_2.save_next(&db)?; // creates a new entry with key 1, and so on
[INFO] [stdout] 7 | | // m_struct2.key is now 1
[INFO] [stdout] 8 | | } _doctest_main_src_entity_rs_733_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:737:26
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_733_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct = MyStruct { key : 0, prop9 : 44};
[INFO] [stdout] 4 | | m_struct.save_next(&db)?; // will have key 0
[INFO] [stdout] 5 | | let m_struct_2 = MyStruct { key : 0, prop9 :59};
[INFO] [stdout] 6 | | m_struct_2.save_next(&db)?; // creates a new entry with key 1, and so on
[INFO] [stdout]   | |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | // m_struct2.key is now 1
[INFO] [stdout] 8 | | } _doctest_main_src_entity_rs_733_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_children (line 711) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]  --> src/entity.rs:712:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:712:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:713:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | let children = m_struct_1.get_children::<MyStruct2>(&db)?;
[INFO] [stdout]   |                                                      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]  --> src/entity.rs:713:42
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_711_0() {
[INFO] [stdout]   |                                                                          - help: you might be missing a type parameter: `<MyStruct2>`
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | let children = m_struct_1.get_children::<MyStruct2>(&db)?;
[INFO] [stdout]   |                                          ^^^^^^^^^ not found in this scope
[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/entity.rs:712:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_711_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | let children = m_struct_1.get_children::<MyStruct2>(&db)?;
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_711_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:713:57
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_711_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | | let children = m_struct_1.get_children::<MyStruct2>(&db)?;
[INFO] [stdout]   | |                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_711_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_from_end (line 321) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:322:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_end(10,20,Some(parent.get_key().to_owned()),&db)?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `parent` in this scope
[INFO] [stdout]  --> src/entity.rs:322:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_end(10,20,Some(parent.get_key().to_owned()),&db)?;
[INFO] [stdout]   |                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:322:80
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_end(10,20,Some(parent.get_key().to_owned()),&db)?;
[INFO] [stdout]   |                                                                                ^^ not found in this scope
[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/entity.rs:322:83
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_321_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let entities = MyStruct::get_from_end(10,20,Some(parent.get_key().to_owned()),&db)?;
[INFO] [stdout]   | |                                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_321_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_child_trees (line 139) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeletionBehaviour`
[INFO] [stdout]  --> src/entity.rs:143:29
[INFO] [stdout]   |
[INFO] [stdout] 6 |             ("child_struct",DeletionBehaviour::Cascade),
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^ use of undeclared type `DeletionBehaviour`
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]  --> src/entity.rs:140:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[INFO] [stdout]   |      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::Entity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:140:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[INFO] [stdout]   |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DeletionBehaviour` in this scope
[INFO] [stdout]  --> src/entity.rs:141:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn get_child_trees() -> Vec<(&'static str, DeletionBehaviour)> {
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::DeletionBehaviour;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_sibling (line 648) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]  --> src/entity.rs:649:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:649:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:650:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_sibling::<MyStruct2>(&db)?;
[INFO] [stdout]   |                                                       ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]  --> src/entity.rs:650:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_648_0() {
[INFO] [stdout]   |                                                                          - help: you might be missing a type parameter: `<MyStruct2>`
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_sibling::<MyStruct2>(&db)?;
[INFO] [stdout]   |                                           ^^^^^^^^^ not found in this scope
[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/entity.rs:649:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_648_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | let m_struct_2 = m_struct_1.get_sibling::<MyStruct2>(&db)?;
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_648_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:650:58
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_648_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | | let m_struct_2 = m_struct_1.get_sibling::<MyStruct2>(&db)?;
[INFO] [stdout]   | |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_648_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::register (line 163) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:164:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::register(&db)?;
[INFO] [stdout]   | ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:164:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::register(&db)?;
[INFO] [stdout]   |                     ^^ not found in this scope
[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/entity.rs:164:24
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_163_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | MyStruct::register(&db)?;
[INFO] [stdout]   | |                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_163_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_key (line 76) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]  --> src/entity.rs:77:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[INFO] [stdout]   |      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::Entity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:77:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[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: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::save_child (line 663) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]  --> src/entity.rs:664:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:664:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyStruct2` in this scope
[INFO] [stdout]  --> src/entity.rs:665:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let m_struct_2 = MyStruct2 { key : (0,0), prop9 : 44};
[INFO] [stdout]   |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_struct1` in this scope
[INFO] [stdout]  --> src/entity.rs:666:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | m_struct1.save_child(m_struct2,&db)?;
[INFO] [stdout]   | ^^^^^^^^^ help: a local variable with a similar name exists: `m_struct_1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_struct2` in this scope
[INFO] [stdout]  --> src/entity.rs:666:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | m_struct1.save_child(m_struct2,&db)?;
[INFO] [stdout]   |                      ^^^^^^^^^ help: a local variable with a similar name exists: `m_struct_2`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:666:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | m_struct1.save_child(m_struct2,&db)?;
[INFO] [stdout]   |                                 ^^ not found in this scope
[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/entity.rs:664:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_663_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | let m_struct_2 = MyStruct2 { key : (0,0), prop9 : 44};
[INFO] [stdout] 5 | | m_struct1.save_child(m_struct2,&db)?;
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_663_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:666:36
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_663_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | | let m_struct_2 = MyStruct2 { key : (0,0), prop9 : 44};
[INFO] [stdout] 5 | | m_struct1.save_child(m_struct2,&db)?;
[INFO] [stdout]   | |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_663_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::save (line 400) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:401:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_struct = MyStruct { key : 0, prop1 : String::from("Hello"), prop2 : 554};
[INFO] [stdout]   |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:402:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | my_struct.save(&db)?;
[INFO] [stdout]   |                 ^^ not found in this scope
[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/entity.rs:402:20
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_400_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let my_struct = MyStruct { key : 0, prop1 : String::from("Hello"), prop2 : 554};
[INFO] [stdout] 4 | | my_struct.save(&db)?;
[INFO] [stdout]   | |                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_400_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_from_start (line 281) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:282:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_start(10,20,Some(parent.get_key().to_owned()),&db)?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `parent` in this scope
[INFO] [stdout]  --> src/entity.rs:282:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_start(10,20,Some(parent.get_key().to_owned()),&db)?;
[INFO] [stdout]   |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:282:82
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_start(10,20,Some(parent.get_key().to_owned()),&db)?;
[INFO] [stdout]   |                                                                                  ^^ not found in this scope
[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/entity.rs:282:85
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_281_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let entities = MyStruct::get_from_start(10,20,Some(parent.get_key().to_owned()),&db)?;
[INFO] [stdout]   | |                                                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_281_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_related (line 605) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]  --> src/entity.rs:606:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:606:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:607:61
[INFO] [stdout]   |
[INFO] [stdout] 4 | let related_struct2s = m_struct_1.get_related::<MyStruct2>(&db)?;
[INFO] [stdout]   |                                                             ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]  --> src/entity.rs:607:49
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_605_0() {
[INFO] [stdout]   |                                                                          - help: you might be missing a type parameter: `<MyStruct2>`
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | let related_struct2s = m_struct_1.get_related::<MyStruct2>(&db)?;
[INFO] [stdout]   |                                                 ^^^^^^^^^ not found in this scope
[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/entity.rs:606:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_605_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | let related_struct2s = m_struct_1.get_related::<MyStruct2>(&db)?;
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_605_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:607:64
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_605_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | | let related_struct2s = m_struct_1.get_related::<MyStruct2>(&db)?;
[INFO] [stdout]   | |                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_605_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_with_filter (line 356) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:357:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_with_filter(|m_struct| m_struct.prop > 20,&db)?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:357:73
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_with_filter(|m_struct| m_struct.prop > 20,&db)?;
[INFO] [stdout]   |                                                                         ^^ not found in this scope
[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/entity.rs:357:76
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_356_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let entities = MyStruct::get_with_filter(|m_struct| m_struct.prop > 20,&db)?;
[INFO] [stdout]   | |                                                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_356_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::register (line 159) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]  --> src/entity.rs:160:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct { /* ... */}
[INFO] [stdout]   |      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::Entity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:160:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct { /* ... */}
[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: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_single_related (line 616) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]  --> src/entity.rs:617:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:617:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:618:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_single_related::<MyStruct2>(&db)?;
[INFO] [stdout]   |                                                              ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]  --> src/entity.rs:618:50
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_616_0() {
[INFO] [stdout]   |                                                                          - help: you might be missing a type parameter: `<MyStruct2>`
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_single_related::<MyStruct2>(&db)?;
[INFO] [stdout]   |                                                  ^^^^^^^^^ not found in this scope
[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/entity.rs:617:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_616_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | let m_struct_2 = m_struct_1.get_single_related::<MyStruct2>(&db)?;
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_616_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:618:65
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_616_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | | let m_struct_2 = m_struct_1.get_single_related::<MyStruct2>(&db)?;
[INFO] [stdout]   | |                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_entity_rs_616_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::remove (line 483) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:484:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::remove(&3, &db);
[INFO] [stdout]   | ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:484:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::remove(&3, &db);
[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/entity.rs - entity::Entity::save_sibling (line 631) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]  --> src/entity.rs:632:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:632:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyStruct2` in this scope
[INFO] [stdout]  --> src/entity.rs:633:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let m_struct_2 = MyStruct2 { key : 0, prop9 : 32};
[INFO] [stdout]   |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:634:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | m_struct_1.save_sibling(m_struct_2,&db)?;
[INFO] [stdout]   |                                     ^^ not found in this scope
[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/entity.rs:632:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_631_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | let m_struct_2 = MyStruct2 { key : 0, prop9 : 32};
[INFO] [stdout] 5 | | m_struct_1.save_sibling(m_struct_2,&db)?;
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_631_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs:634:40
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_631_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout] 4 | | let m_struct_2 = MyStruct2 { key : 0, prop9 : 32};
[INFO] [stdout] 5 | | m_struct_1.save_sibling(m_struct_2,&db)?;
[INFO] [stdout]   | |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | } _doctest_main_src_entity_rs_631_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_in_range (line 260) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:261:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_in_range(10,30,&db)?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:261:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_in_range(10,30,&db)?;
[INFO] [stdout]   |                                              ^^ not found in this scope
[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/entity.rs:261:49
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_260_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let entities = MyStruct::get_in_range(10,30,&db)?;
[INFO] [stdout]   | |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_260_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_sibling_trees (line 112) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeletionBehaviour`
[INFO] [stdout]  --> src/entity.rs:116:33
[INFO] [stdout]   |
[INFO] [stdout] 6 |             ("sibling_struct_1",DeletionBehaviour::Cascade),
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^ use of undeclared type `DeletionBehaviour`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeletionBehaviour`
[INFO] [stdout]  --> src/entity.rs:117:33
[INFO] [stdout]   |
[INFO] [stdout] 7 |             ("sibling_struct_2",DeletionBehaviour::Error)
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^ use of undeclared type `DeletionBehaviour`
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]  --> src/entity.rs:113:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[INFO] [stdout]   |      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::Entity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:113:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[INFO] [stdout]   |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DeletionBehaviour` in this scope
[INFO] [stdout]  --> src/entity.rs:114:50
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn get_sibling_trees() -> Vec<(&'static str, DeletionBehaviour)> {
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::DeletionBehaviour;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::update (line 416) stdout ----
[INFO] [stdout] error: Rust has no postfix increment operator
[INFO] [stdout]  --> src/entity.rs:417:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::update(&3,|my_struct| my_struct.prop1++,&db)?;
[INFO] [stdout]   |                                                ^^ not a valid postfix operator
[INFO] [stdout]   |
[INFO] [stdout] help: use `+= 1` instead
[INFO] [stdout]   |
[INFO] [stdout] 3 | MyStruct::update(&3,|my_struct| { let tmp = my_struct.prop1; my_struct.prop1 += 1; tmp },&db)?;
[INFO] [stdout]   |                                 +++++++++++                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 3 - MyStruct::update(&3,|my_struct| my_struct.prop1++,&db)?;
[INFO] [stdout] 3 + MyStruct::update(&3,|my_struct| my_struct.prop1 += 1,&db)?;
[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/entity.rs:417:55
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_416_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | MyStruct::update(&3,|my_struct| my_struct.prop1++,&db)?;
[INFO] [stdout]   | |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_416_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` 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/entity.rs - entity::Entity::get_from_start (line 273) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]  --> src/entity.rs:274:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_start(10,20,None,&db)?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]  --> src/entity.rs:274:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | let entities = MyStruct::get_from_start(10,20,None,&db)?;
[INFO] [stdout]   |                                                     ^^ not found in this scope
[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/entity.rs:274:56
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_273_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let entities = MyStruct::get_from_start(10,20,None,&db)?;
[INFO] [stdout]   | |                                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 4 | | } _doctest_main_src_entity_rs_273_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::store_name (line 64) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]  --> src/entity.rs:65:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[INFO] [stdout]   |      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::Entity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:65:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[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: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::set_key (line 92) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]  --> src/entity.rs:93:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[INFO] [stdout]   |      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reindeer::Entity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyStruct` in this scope
[INFO] [stdout]  --> src/entity.rs:93:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Entity for MyStruct {
[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: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/entity.rs - entity::AutoIncrementEntity::save_next (line 733)
[INFO] [stdout]     src/entity.rs - entity::Entity (line 36)
[INFO] [stdout]     src/entity.rs - entity::Entity (line 41)
[INFO] [stdout]     src/entity.rs - entity::Entity::adopt_child (line 695)
[INFO] [stdout]     src/entity.rs - entity::Entity::exists (line 543)
[INFO] [stdout]     src/entity.rs - entity::Entity::filter_remove (line 524)
[INFO] [stdout]     src/entity.rs - entity::Entity::filter_update (line 436)
[INFO] [stdout]     src/entity.rs - entity::Entity::get (line 203)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_all (line 220)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_child_trees (line 139)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_children (line 711)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_count (line 233)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_each (line 372)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_from_end (line 313)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_from_end (line 321)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_from_start (line 273)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_from_start (line 281)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_in_range (line 260)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_key (line 76)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_related (line 605)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_sibling (line 648)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_sibling_trees (line 112)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_single_related (line 616)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_with_filter (line 356)
[INFO] [stdout]     src/entity.rs - entity::Entity::register (line 159)
[INFO] [stdout]     src/entity.rs - entity::Entity::register (line 163)
[INFO] [stdout]     src/entity.rs - entity::Entity::remove (line 483)
[INFO] [stdout]     src/entity.rs - entity::Entity::save (line 400)
[INFO] [stdout]     src/entity.rs - entity::Entity::save_child (line 663)
[INFO] [stdout]     src/entity.rs - entity::Entity::save_sibling (line 631)
[INFO] [stdout]     src/entity.rs - entity::Entity::set_key (line 92)
[INFO] [stdout]     src/entity.rs - entity::Entity::store_name (line 64)
[INFO] [stdout]     src/entity.rs - entity::Entity::update (line 416)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 33 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "74077ccbe469bfa6b3c492c9ec61b9089bc1af79aeadcc9e5832b9bca1e54955", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74077ccbe469bfa6b3c492c9ec61b9089bc1af79aeadcc9e5832b9bca1e54955", kill_on_drop: false }`
[INFO] [stdout] 74077ccbe469bfa6b3c492c9ec61b9089bc1af79aeadcc9e5832b9bca1e54955
