[INFO] fetching crate reindeer 0.3.0...
[INFO] testing reindeer-0.3.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate reindeer 0.3.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate reindeer 0.3.0
[INFO] finished tweaking crates.io crate reindeer 0.3.0
[INFO] tweaked toml for crates.io crate reindeer 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate reindeer 0.3.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 56 packages to latest compatible versions
[INFO] [stderr]       Adding bincode v1.3.3 (available: v3.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.2.16
[INFO] [stderr]   Downloaded parking_lot v0.11.2
[INFO] [stderr]   Downloaded parking_lot_core v0.8.6
[INFO] [stderr]   Downloaded reindeer-macros v0.3.0
[INFO] [stderr]   Downloaded sled v0.34.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2fce0593b83cc646e33945e25fee5355f96acd492e8e20cc3debdf85c9ca2669
[INFO] running `Command { std: "docker" "start" "-a" "2fce0593b83cc646e33945e25fee5355f96acd492e8e20cc3debdf85c9ca2669", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fce0593b83cc646e33945e25fee5355f96acd492e8e20cc3debdf85c9ca2669", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fce0593b83cc646e33945e25fee5355f96acd492e8e20cc3debdf85c9ca2669", kill_on_drop: false }`
[INFO] [stdout] 2fce0593b83cc646e33945e25fee5355f96acd492e8e20cc3debdf85c9ca2669
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0dcd656ac3cc58a61d717617a7b4800187eea7b4f6dd896bb583d040d0b8f37d
[INFO] running `Command { std: "docker" "start" "-a" "0dcd656ac3cc58a61d717617a7b4800187eea7b4f6dd896bb583d040d0b8f37d", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling hashers v1.0.1
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling reindeer-macros v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling reindeer v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RelationMap`
[INFO] [stdout]  --> src/relation/mod.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use self::descriptor::{EntityRelations, RelationMap};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.88s
[INFO] running `Command { std: "docker" "inspect" "0dcd656ac3cc58a61d717617a7b4800187eea7b4f6dd896bb583d040d0b8f37d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dcd656ac3cc58a61d717617a7b4800187eea7b4f6dd896bb583d040d0b8f37d", kill_on_drop: false }`
[INFO] [stdout] 0dcd656ac3cc58a61d717617a7b4800187eea7b4f6dd896bb583d040d0b8f37d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2f25f1d5e45e8c4f7a33ea7fc97892ec3e3d2210b433bbd1affc12fc66eed08
[INFO] running `Command { std: "docker" "start" "-a" "d2f25f1d5e45e8c4f7a33ea7fc97892ec3e3d2210b433bbd1affc12fc66eed08", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stdout] warning: unused import: `RelationMap`
[INFO] [stdout]  --> src/relation/mod.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use self::descriptor::{EntityRelations, RelationMap};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling reindeer v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RelationMap`
[INFO] [stdout]  --> src/relation/mod.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use self::descriptor::{EntityRelations, RelationMap};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.16s
[INFO] running `Command { std: "docker" "inspect" "d2f25f1d5e45e8c4f7a33ea7fc97892ec3e3d2210b433bbd1affc12fc66eed08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2f25f1d5e45e8c4f7a33ea7fc97892ec3e3d2210b433bbd1affc12fc66eed08", kill_on_drop: false }`
[INFO] [stdout] d2f25f1d5e45e8c4f7a33ea7fc97892ec3e3d2210b433bbd1affc12fc66eed08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f0db905bf9a9850ccc517b05548412c416181dd8a8acea3a614eeb1ff4c3e343
[INFO] running `Command { std: "docker" "start" "-a" "f0db905bf9a9850ccc517b05548412c416181dd8a8acea3a614eeb1ff4c3e343", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `RelationMap`
[INFO] [stderr]  --> src/relation/mod.rs:9:45
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub use self::descriptor::{EntityRelations, RelationMap};
[INFO] [stderr]   |                                             ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `reindeer` (lib) generated 1 warning (run `cargo fix --lib -p reindeer` to apply 1 suggestion)
[INFO] [stderr] warning: `reindeer` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reindeer-08cd2e9652896af7)
[INFO] [stdout] running 18 tests
[INFO] [stdout] test test::test_recursive_error ... ok
[INFO] [stdout] test test::test_save_and_get_children ... ok
[INFO] [stdout] test test::create_and_register ... ok
[INFO] [stdout] test test::test_named_relations ... ok
[INFO] [stdout] test test::test_free_relation_error ... ok
[INFO] [stdout] test test::test_delete_sibling_cascade ... ok
[INFO] [stdout] test test::test_delete_sibling_error ... ok
[INFO] [stdout] test test::test_adopt_child ... ok
[INFO] [stdout] test test::test_delete_children_error ... ok
[INFO] [stdout] test test::test_add_sibling ... ok
[INFO] [stdout] test test::test_query_builder ... ok
[INFO] [stdout] test test::test_recursive_cascade ... ok
[INFO] [stdout] test test::test_free_relation ... ok
[INFO] [stdout] test test::test_free_relation_cascade ... ok
[INFO] [stdout] test test::test_cascade_children ... ok
[INFO] [stdout] test test::test_adopt_child_with_relations ... ok
[INFO] [stdout] test test::test_adopt_child_with_children ... ok
[INFO] [stdout] test test::test_save_save_next_and_get ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests reindeer
[INFO] [stdout] 
[INFO] [stdout] running 38 tests
[INFO] [stdout] test src/entity.rs - entity::Entity (line 17) ... ok
[INFO] [stdout] test src/entity.rs - entity::Entity::get (line 204) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_each (line 377) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::AutoIncrementEntity::save_next (line 894) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::filter_remove (line 565) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_all (line 221) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::adopt_child (line 839) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::filter_update (line 441) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_count (line 234) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_in_range (line 262) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_from_start (line 275) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::adopt_as_next_child (line 812) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::exists (line 584) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity (line 42) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_key (line 77) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_from_start (line 283) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_child_stores (line 140) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_related (line 656) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_from_end (line 323) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_single_related (line 678) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_children (line 872) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::register (line 160) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_related_with_name (line 667) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_from_end (line 315) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity (line 37) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_sibling_stores (line 113) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::register (line 164) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::remove (line 505) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::save_next_child (line 775) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_sibling (line 737) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::save (line 405) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::store_name (line 65) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::set_key (line 93) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_with_filter (line 358) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::save_sibling (line 724) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::update (line 418) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::get_single_related_with_name (line 689) ... FAILED
[INFO] [stdout] test src/entity.rs - entity::Entity::save_child (line 752) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get (line 204) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:205:46
[INFO] [stdout]     |
[INFO] [stdout] 205 | if let Some(my_struct_4) = MyStruct::get(&4,&db)? {
[INFO] [stdout]     |                                              ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:205:28
[INFO] [stdout]     |
[INFO] [stdout] 205 | if let Some(my_struct_4) = MyStruct::get(&4,&db)? {
[INFO] [stdout]     |                            ^^^^^^^^ use of undeclared type `MyStruct`
[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::get_each (line 377) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:378:48
[INFO] [stdout]     |
[INFO] [stdout] 378 | let entities = MyStruct::get_each(vec![4,8,9],&db)?;
[INFO] [stdout]     |                                                ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:378:16
[INFO] [stdout]     |
[INFO] [stdout] 378 | let entities = MyStruct::get_each(vec![4,8,9],&db)?;
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `MyStruct`
[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 894) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyStruct` in this scope
[INFO] [stdout]    --> src/entity.rs:895:16
[INFO] [stdout]     |
[INFO] [stdout] 895 | 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:896:21
[INFO] [stdout]     |
[INFO] [stdout] 896 | 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:897:18
[INFO] [stdout]     |
[INFO] [stdout] 897 | 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:898:23
[INFO] [stdout]     |
[INFO] [stdout] 898 | m_struct_2.save_next(&db)?;
[INFO] [stdout]     |                       ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::filter_remove (line 565) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:566:23
[INFO] [stdout]     |
[INFO] [stdout] 566 | MyStruct::remove(&3, &db);
[INFO] [stdout]     |                       ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:566:1
[INFO] [stdout]     |
[INFO] [stdout] 566 | MyStruct::remove(&3, &db);
[INFO] [stdout]     | ^^^^^^^^ use of undeclared type `MyStruct`
[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::get_all (line 221) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:222:35
[INFO] [stdout]     |
[INFO] [stdout] 222 | let entities = MyStruct::get_all(&db)?;
[INFO] [stdout]     |                                   ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:222:16
[INFO] [stdout]     |
[INFO] [stdout] 222 | let entities = MyStruct::get_all(&db)?;
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `MyStruct`
[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::adopt_child (line 839) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:840:37
[INFO] [stdout]     |
[INFO] [stdout] 840 | 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:841:41
[INFO] [stdout]     |
[INFO] [stdout] 841 | 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:842:1
[INFO] [stdout]     |
[INFO] [stdout] 842 | m_struct1.adopt_as_next_child(m_struct2,&db)?;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 842 | m_struct_1.adopt_as_next_child(m_struct2,&db)?;
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_struct2` in this scope
[INFO] [stdout]    --> src/entity.rs:842:31
[INFO] [stdout]     |
[INFO] [stdout] 842 | m_struct1.adopt_as_next_child(m_struct2,&db)?;
[INFO] [stdout]     |                               ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 842 | m_struct1.adopt_as_next_child(m_struct_2,&db)?;
[INFO] [stdout]     |                                       +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:842:42
[INFO] [stdout]     |
[INFO] [stdout] 842 | m_struct1.adopt_as_next_child(m_struct2,&db)?;
[INFO] [stdout]     |                                          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:840:18
[INFO] [stdout]     |
[INFO] [stdout] 840 | 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:841:18
[INFO] [stdout]     |
[INFO] [stdout] 841 | let m_struct_2 = MyStruct2::get(&(7,2),&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct2`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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::filter_update (line 441) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `mu_struct` in this scope
[INFO] [stdout]    --> src/entity.rs:442:37
[INFO] [stdout]     |
[INFO] [stdout] 442 | MyStruct::filter_update(|my_struct| mu_struct.prop1 > 100,|my_struct| {my_struct.prop1 = 0;},&db)?;
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 442 - MyStruct::filter_update(|my_struct| mu_struct.prop1 > 100,|my_struct| {my_struct.prop1 = 0;},&db)?;
[INFO] [stdout] 442 + MyStruct::filter_update(|my_struct| my_struct.prop1 > 100,|my_struct| {my_struct.prop1 = 0;},&db)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:442:95
[INFO] [stdout]     |
[INFO] [stdout] 442 | 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[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:442:1
[INFO] [stdout]     |
[INFO] [stdout] 442 | 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: aborting due to 3 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::get_count (line 234) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:235:13
[INFO] [stdout]     |
[INFO] [stdout] 235 | let count = MyStruct::get_count()?;
[INFO] [stdout]     |             ^^^^^^^^ use of undeclared type `MyStruct`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_in_range (line 262) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:263:46
[INFO] [stdout]     |
[INFO] [stdout] 263 | let entities = MyStruct::get_in_range(10,30,&db)?;
[INFO] [stdout]     |                                              ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:263:16
[INFO] [stdout]     |
[INFO] [stdout] 263 | let entities = MyStruct::get_in_range(10,30,&db)?;
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `MyStruct`
[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::get_from_start (line 275) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:276:53
[INFO] [stdout]     |
[INFO] [stdout] 276 | let entities = MyStruct::get_from_start(10,20,None,&db)?;
[INFO] [stdout]     |                                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:276:16
[INFO] [stdout]     |
[INFO] [stdout] 276 | let entities = MyStruct::get_from_start(10,20,None,&db)?;
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `MyStruct`
[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::adopt_as_next_child (line 812) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:813:37
[INFO] [stdout]     |
[INFO] [stdout] 813 | 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:814:41
[INFO] [stdout]     |
[INFO] [stdout] 814 | 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:815:1
[INFO] [stdout]     |
[INFO] [stdout] 815 | m_struct1.adopt_as_next_child(m_struct2,&db)?;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 815 | m_struct_1.adopt_as_next_child(m_struct2,&db)?;
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_struct2` in this scope
[INFO] [stdout]    --> src/entity.rs:815:31
[INFO] [stdout]     |
[INFO] [stdout] 815 | m_struct1.adopt_as_next_child(m_struct2,&db)?;
[INFO] [stdout]     |                               ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 815 | m_struct1.adopt_as_next_child(m_struct_2,&db)?;
[INFO] [stdout]     |                                       +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:815:42
[INFO] [stdout]     |
[INFO] [stdout] 815 | m_struct1.adopt_as_next_child(m_struct2,&db)?;
[INFO] [stdout]     |                                          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:813:18
[INFO] [stdout]     |
[INFO] [stdout] 813 | 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:814:18
[INFO] [stdout]     |
[INFO] [stdout] 814 | let m_struct_2 = MyStruct2::get(&(7,2),&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct2`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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::exists (line 584) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:585:26
[INFO] [stdout]     |
[INFO] [stdout] 585 | if MyStruct::exists(&3, &db)? {
[INFO] [stdout]     |                          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:585:4
[INFO] [stdout]     |
[INFO] [stdout] 585 | if MyStruct::exists(&3, &db)? {
[INFO] [stdout]     |    ^^^^^^^^ use of undeclared type `MyStruct`
[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 (line 42) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]   --> src/entity.rs:43:37
[INFO] [stdout]    |
[INFO] [stdout] 43 | let my_struct_0 = MyStruct::get(&2,&db)?;
[INFO] [stdout]    |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]   --> src/entity.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | let my_struct_0 = MyStruct::get(&2,&db)?;
[INFO] [stdout]    |                   ^^^^^^^^ use of undeclared type `MyStruct`
[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::get_key (line 77) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]   --> src/entity.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl Entity for MyStruct {
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 77 + use reindeer::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope
[INFO] [stdout]   --> src/entity.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 | 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, E0425.
[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_from_start (line 283) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `parent` in this scope
[INFO] [stdout]    --> src/entity.rs:284:52
[INFO] [stdout]     |
[INFO] [stdout] 284 | 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:284:82
[INFO] [stdout]     |
[INFO] [stdout] 284 | 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[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:284:16
[INFO] [stdout]     |
[INFO] [stdout] 284 | 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: aborting due to 3 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::get_child_stores (line 140) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]    --> src/entity.rs:141:6
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl Entity for MyStruct {
[INFO] [stdout]     |      ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 140 + use reindeer::Entity;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope
[INFO] [stdout]    --> src/entity.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl Entity for MyStruct {
[INFO] [stdout]     |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeletionBehaviour` in this scope
[INFO] [stdout]    --> src/entity.rs:142:49
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn get_child_stores() -> Vec<(&'static str, DeletionBehaviour)> {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 140 + use reindeer::DeletionBehaviour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeletionBehaviour`
[INFO] [stdout]    --> src/entity.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 |             ("child_struct",DeletionBehaviour::Cascade),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ use of undeclared type `DeletionBehaviour`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 140 + 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, E0425, 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_related (line 656) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:657:37
[INFO] [stdout]     |
[INFO] [stdout] 657 | 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:658:61
[INFO] [stdout]     |
[INFO] [stdout] 658 | let related_struct2s = m_struct_1.get_related::<MyStruct2>(&db)?;
[INFO] [stdout]     |                                                             ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]    --> src/entity.rs:658:49
[INFO] [stdout]     |
[INFO] [stdout] 658 | let related_struct2s = m_struct_1.get_related::<MyStruct2>(&db)?;
[INFO] [stdout]     |                                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 656 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_656_0<MyStruct2>() {
[INFO] [stdout]     |                                                                          +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:657:18
[INFO] [stdout]     |
[INFO] [stdout] 657 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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::get_from_end (line 323) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `parent` in this scope
[INFO] [stdout]    --> src/entity.rs:324:50
[INFO] [stdout]     |
[INFO] [stdout] 324 | 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:324:80
[INFO] [stdout]     |
[INFO] [stdout] 324 | 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[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:324:16
[INFO] [stdout]     |
[INFO] [stdout] 324 | 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: aborting due to 3 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::get_single_related (line 678) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:679:37
[INFO] [stdout]     |
[INFO] [stdout] 679 | 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:680:62
[INFO] [stdout]     |
[INFO] [stdout] 680 | let m_struct_2 = m_struct_1.get_single_related::<MyStruct2>(&db)?;
[INFO] [stdout]     |                                                              ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]    --> src/entity.rs:680:50
[INFO] [stdout]     |
[INFO] [stdout] 680 | let m_struct_2 = m_struct_1.get_single_related::<MyStruct2>(&db)?;
[INFO] [stdout]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 678 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_678_0<MyStruct2>() {
[INFO] [stdout]     |                                                                          +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:679:18
[INFO] [stdout]     |
[INFO] [stdout] 679 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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::get_children (line 872) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:873:37
[INFO] [stdout]     |
[INFO] [stdout] 873 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]    --> src/entity.rs:874:20
[INFO] [stdout]     |
[INFO] [stdout] 874 | let children : Vec<MyStruct2> = _struct_1.get_children(&db)?;
[INFO] [stdout]     |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 872 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_872_0<MyStruct2>() {
[INFO] [stdout]     |                                                                          +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_struct_1` in this scope
[INFO] [stdout]    --> src/entity.rs:874:33
[INFO] [stdout]     |
[INFO] [stdout] 874 | let children : Vec<MyStruct2> = _struct_1.get_children(&db)?;
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 874 | let children : Vec<MyStruct2> = m_struct_1.get_children(&db)?;
[INFO] [stdout]     |                                 +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:874:57
[INFO] [stdout]     |
[INFO] [stdout] 874 | let children : Vec<MyStruct2> = _struct_1.get_children(&db)?;
[INFO] [stdout]     |                                                         ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:873:18
[INFO] [stdout]     |
[INFO] [stdout] 873 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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::register (line 160) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]    --> src/entity.rs:161:6
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl Entity for MyStruct { /* ... */}
[INFO] [stdout]     |      ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 160 + use reindeer::Entity;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope
[INFO] [stdout]    --> src/entity.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 | 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, E0425.
[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_related_with_name (line 667) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:668:37
[INFO] [stdout]     |
[INFO] [stdout] 668 | 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:669:84
[INFO] [stdout]     |
[INFO] [stdout] 669 | let related_struct2s = m_struct_1.get_related_with_name::<MyStruct2>("collection",&db)?;
[INFO] [stdout]     |                                                                                    ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]    --> src/entity.rs:669:59
[INFO] [stdout]     |
[INFO] [stdout] 669 | let related_struct2s = m_struct_1.get_related_with_name::<MyStruct2>("collection",&db)?;
[INFO] [stdout]     |                                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 667 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_667_0<MyStruct2>() {
[INFO] [stdout]     |                                                                          +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:668:18
[INFO] [stdout]     |
[INFO] [stdout] 668 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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::get_from_end (line 315) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:316:51
[INFO] [stdout]     |
[INFO] [stdout] 316 | let entities = MyStruct::get_from_end(10,20,None,&db)?;
[INFO] [stdout]     |                                                   ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:316:16
[INFO] [stdout]     |
[INFO] [stdout] 316 | let entities = MyStruct::get_from_end(10,20,None,&db)?;
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `MyStruct`
[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 (line 37) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `open` in this scope
[INFO] [stdout]   --> src/entity.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | let db = open("./my-db")?;
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 37 + use reindeer::open;
[INFO] [stdout]    |
[INFO] [stdout] 37 + 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:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | let my_struct = MyStruct { key : 2 , prop1 : String::from("Hello, World!")};
[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: E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_sibling_stores (line 113) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]    --> src/entity.rs:114:6
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl Entity for MyStruct {
[INFO] [stdout]     |      ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 113 + use reindeer::Entity;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope
[INFO] [stdout]    --> src/entity.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl Entity for MyStruct {
[INFO] [stdout]     |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeletionBehaviour` in this scope
[INFO] [stdout]    --> src/entity.rs:115:51
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn get_sibling_stores() -> Vec<(&'static str, DeletionBehaviour)> {
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 113 + use reindeer::DeletionBehaviour;
[INFO] [stdout]     |
[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] 117 |             ("sibling_struct_1",DeletionBehaviour::Cascade),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^ use of undeclared type `DeletionBehaviour`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 113 + use reindeer::DeletionBehaviour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeletionBehaviour`
[INFO] [stdout]    --> src/entity.rs:118:33
[INFO] [stdout]     |
[INFO] [stdout] 118 |             ("sibling_struct_2",DeletionBehaviour::Error)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^ use of undeclared type `DeletionBehaviour`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 113 + 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, E0425, 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::register (line 164) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:165:21
[INFO] [stdout]     |
[INFO] [stdout] 165 | MyStruct::register(&db)?;
[INFO] [stdout]     |                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:165:1
[INFO] [stdout]     |
[INFO] [stdout] 165 | MyStruct::register(&db)?;
[INFO] [stdout]     | ^^^^^^^^ use of undeclared type `MyStruct`
[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::remove (line 505) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:506:23
[INFO] [stdout]     |
[INFO] [stdout] 506 | MyStruct::remove(&3, &db);
[INFO] [stdout]     |                       ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:506:1
[INFO] [stdout]     |
[INFO] [stdout] 506 | MyStruct::remove(&3, &db);
[INFO] [stdout]     | ^^^^^^^^ use of undeclared type `MyStruct`
[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_next_child (line 775) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:776:37
[INFO] [stdout]     |
[INFO] [stdout] 776 | 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:777:18
[INFO] [stdout]     |
[INFO] [stdout] 777 | 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:778:1
[INFO] [stdout]     |
[INFO] [stdout] 778 | m_struct1.save_next_child(m_struct2,&db)?;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 778 | m_struct_1.save_next_child(m_struct2,&db)?;
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_struct2` in this scope
[INFO] [stdout]    --> src/entity.rs:778:27
[INFO] [stdout]     |
[INFO] [stdout] 778 | m_struct1.save_next_child(m_struct2,&db)?;
[INFO] [stdout]     |                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 778 | m_struct1.save_next_child(m_struct_2,&db)?;
[INFO] [stdout]     |                                   +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:778:38
[INFO] [stdout]     |
[INFO] [stdout] 778 | m_struct1.save_next_child(m_struct2,&db)?;
[INFO] [stdout]     |                                      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:776:18
[INFO] [stdout]     |
[INFO] [stdout] 776 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_sibling (line 737) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:738:37
[INFO] [stdout]     |
[INFO] [stdout] 738 | 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:739:55
[INFO] [stdout]     |
[INFO] [stdout] 739 | let m_struct_2 = m_struct_1.get_sibling::<MyStruct2>(&db)?;
[INFO] [stdout]     |                                                       ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]    --> src/entity.rs:739:43
[INFO] [stdout]     |
[INFO] [stdout] 739 | let m_struct_2 = m_struct_1.get_sibling::<MyStruct2>(&db)?;
[INFO] [stdout]     |                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 737 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_737_0<MyStruct2>() {
[INFO] [stdout]     |                                                                          +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:738:18
[INFO] [stdout]     |
[INFO] [stdout] 738 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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 (line 405) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyStruct` in this scope
[INFO] [stdout]    --> src/entity.rs:406:17
[INFO] [stdout]     |
[INFO] [stdout] 406 | 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:407:17
[INFO] [stdout]     |
[INFO] [stdout] 407 | my_struct.save(&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: E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::store_name (line 65) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]   --> src/entity.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl Entity for MyStruct {
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 65 + use reindeer::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope
[INFO] [stdout]   --> src/entity.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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, E0425.
[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 93) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]   --> src/entity.rs:94:6
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl Entity for MyStruct {
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 93 + use reindeer::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope
[INFO] [stdout]   --> src/entity.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 | 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, E0425.
[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_with_filter (line 358) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:359:73
[INFO] [stdout]     |
[INFO] [stdout] 359 | 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[E0433]: failed to resolve: use of undeclared type `MyStruct`
[INFO] [stdout]    --> src/entity.rs:359:16
[INFO] [stdout]     |
[INFO] [stdout] 359 | 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: 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 724) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:725:37
[INFO] [stdout]     |
[INFO] [stdout] 725 | 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:726:18
[INFO] [stdout]     |
[INFO] [stdout] 726 | 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:727:37
[INFO] [stdout]     |
[INFO] [stdout] 727 | m_struct_1.save_sibling(m_struct_2,&db)?;
[INFO] [stdout]     |                                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:725:18
[INFO] [stdout]     |
[INFO] [stdout] 725 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::update (line 418) stdout ----
[INFO] [stdout] error: Rust has no postfix increment operator
[INFO] [stdout]    --> src/entity.rs:419:48
[INFO] [stdout]     |
[INFO] [stdout] 419 | MyStruct::update(&3,|my_struct| my_struct.prop1++,&db)?;
[INFO] [stdout]     |                     -----------                ^^ not a valid postfix operator
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     while parsing the body of this closure
[INFO] [stdout]     |
[INFO] [stdout] help: use `+= 1` instead
[INFO] [stdout]     |
[INFO] [stdout] 419 - MyStruct::update(&3,|my_struct| my_struct.prop1++,&db)?;
[INFO] [stdout] 419 + MyStruct::update(&3,|my_struct| { let tmp = my_struct.prop1; my_struct.prop1 += 1; tmp },&db)?;
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to open the body of the closure
[INFO] [stdout]     |
[INFO] [stdout] 419 | MyStruct::update(&3,|my_struct| { my_struct.prop1++,&db)?;
[INFO] [stdout]     |                                 +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/entity.rs - entity::Entity::get_single_related_with_name (line 689) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:690:37
[INFO] [stdout]     |
[INFO] [stdout] 690 | 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:691:84
[INFO] [stdout]     |
[INFO] [stdout] 691 | let m_struct_2 = m_struct_1.get_single_related_with_name::<MyStruct2>("main_book",&db)?;
[INFO] [stdout]     |                                                                                    ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyStruct2` in this scope
[INFO] [stdout]    --> src/entity.rs:691:60
[INFO] [stdout]     |
[INFO] [stdout] 691 | let m_struct_2 = m_struct_1.get_single_related_with_name::<MyStruct2>("main_book",&db)?;
[INFO] [stdout]     |                                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 689 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_689_0<MyStruct2>() {
[INFO] [stdout]     |                                                                          +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:690:18
[INFO] [stdout]     |
[INFO] [stdout] 690 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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_child (line 752) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:753:37
[INFO] [stdout]     |
[INFO] [stdout] 753 | 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:754:18
[INFO] [stdout]     |
[INFO] [stdout] 754 | let m_struct_2 = MyStruct2 { key : (0,44), 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:755:1
[INFO] [stdout]     |
[INFO] [stdout] 755 | m_struct1.save_child(m_struct2,&db)?;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 755 | m_struct_1.save_child(m_struct2,&db)?;
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_struct2` in this scope
[INFO] [stdout]    --> src/entity.rs:755:22
[INFO] [stdout]     |
[INFO] [stdout] 755 | m_struct1.save_child(m_struct2,&db)?;
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 755 | m_struct1.save_child(m_struct_2,&db)?;
[INFO] [stdout]     |                              +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/entity.rs:755:33
[INFO] [stdout]     |
[INFO] [stdout] 755 | m_struct1.save_child(m_struct2,&db)?;
[INFO] [stdout]     |                                 ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct1`
[INFO] [stdout]    --> src/entity.rs:753:18
[INFO] [stdout]     |
[INFO] [stdout] 753 | let m_struct_1 = MyStruct1::get(&9,&db)?;
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `MyStruct1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/entity.rs - entity::AutoIncrementEntity::save_next (line 894)
[INFO] [stdout]     src/entity.rs - entity::Entity (line 37)
[INFO] [stdout]     src/entity.rs - entity::Entity (line 42)
[INFO] [stdout]     src/entity.rs - entity::Entity::adopt_as_next_child (line 812)
[INFO] [stdout]     src/entity.rs - entity::Entity::adopt_child (line 839)
[INFO] [stdout]     src/entity.rs - entity::Entity::exists (line 584)
[INFO] [stdout]     src/entity.rs - entity::Entity::filter_remove (line 565)
[INFO] [stdout]     src/entity.rs - entity::Entity::filter_update (line 441)
[INFO] [stdout]     src/entity.rs - entity::Entity::get (line 204)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_all (line 221)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_child_stores (line 140)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_children (line 872)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_count (line 234)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_each (line 377)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_from_end (line 315)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_from_end (line 323)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_from_start (line 275)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_from_start (line 283)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_in_range (line 262)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_key (line 77)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_related (line 656)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_related_with_name (line 667)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_sibling (line 737)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_sibling_stores (line 113)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_single_related (line 678)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_single_related_with_name (line 689)
[INFO] [stdout]     src/entity.rs - entity::Entity::get_with_filter (line 358)
[INFO] [stdout]     src/entity.rs - entity::Entity::register (line 160)
[INFO] [stdout]     src/entity.rs - entity::Entity::register (line 164)
[INFO] [stdout]     src/entity.rs - entity::Entity::remove (line 505)
[INFO] [stdout]     src/entity.rs - entity::Entity::save (line 405)
[INFO] [stdout]     src/entity.rs - entity::Entity::save_child (line 752)
[INFO] [stdout]     src/entity.rs - entity::Entity::save_next_child (line 775)
[INFO] [stdout]     src/entity.rs - entity::Entity::save_sibling (line 724)
[INFO] [stdout]     src/entity.rs - entity::Entity::set_key (line 93)
[INFO] [stdout]     src/entity.rs - entity::Entity::store_name (line 65)
[INFO] [stdout]     src/entity.rs - entity::Entity::update (line 418)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 37 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.50s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f0db905bf9a9850ccc517b05548412c416181dd8a8acea3a614eeb1ff4c3e343", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0db905bf9a9850ccc517b05548412c416181dd8a8acea3a614eeb1ff4c3e343", kill_on_drop: false }`
[INFO] [stdout] f0db905bf9a9850ccc517b05548412c416181dd8a8acea3a614eeb1ff4c3e343
