[INFO] fetching crate reindeer 0.3.0... [INFO] testing reindeer-0.3.0 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate reindeer 0.3.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reindeer 0.3.0 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reindeer-macros v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 980248c301b388958a511bd9eaa756fd727294fafd4f5b8231b00fcf037761bc [INFO] running `Command { std: "docker" "start" "-a" "980248c301b388958a511bd9eaa756fd727294fafd4f5b8231b00fcf037761bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "980248c301b388958a511bd9eaa756fd727294fafd4f5b8231b00fcf037761bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980248c301b388958a511bd9eaa756fd727294fafd4f5b8231b00fcf037761bc", kill_on_drop: false }` [INFO] [stdout] 980248c301b388958a511bd9eaa756fd727294fafd4f5b8231b00fcf037761bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f797d22a09947636568011ac75a40aa4e14e7d0fd436a7e59da1edc9a4652be [INFO] running `Command { std: "docker" "start" "-a" "0f797d22a09947636568011ac75a40aa4e14e7d0fd436a7e59da1edc9a4652be", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [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 crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling reindeer-macros v0.3.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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.46s [INFO] running `Command { std: "docker" "inspect" "0f797d22a09947636568011ac75a40aa4e14e7d0fd436a7e59da1edc9a4652be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f797d22a09947636568011ac75a40aa4e14e7d0fd436a7e59da1edc9a4652be", kill_on_drop: false }` [INFO] [stdout] 0f797d22a09947636568011ac75a40aa4e14e7d0fd436a7e59da1edc9a4652be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba2046987d02a948c4b88d826d09f62bf8d6397b8b0f4336bf30e7e5837cd5fa [INFO] running `Command { std: "docker" "start" "-a" "ba2046987d02a948c4b88d826d09f62bf8d6397b8b0f4336bf30e7e5837cd5fa", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [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)]` 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.1 [INFO] [stderr] Compiling uuid v1.17.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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `Command { std: "docker" "inspect" "ba2046987d02a948c4b88d826d09f62bf8d6397b8b0f4336bf30e7e5837cd5fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2046987d02a948c4b88d826d09f62bf8d6397b8b0f4336bf30e7e5837cd5fa", kill_on_drop: false }` [INFO] [stdout] ba2046987d02a948c4b88d826d09f62bf8d6397b8b0f4336bf30e7e5837cd5fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b34ed05ff759503f0f0aa03ef48ab0b108e5eb6e56d416ce0bc1803eee1db36d [INFO] running `Command { std: "docker" "start" "-a" "b34ed05ff759503f0f0aa03ef48ab0b108e5eb6e56d416ce0bc1803eee1db36d", 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)]` 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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reindeer-77942a3e2b58f5a8) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test test::test_recursive_error ... ok [INFO] [stdout] test test::test_free_relation ... ok [INFO] [stdout] test test::test_adopt_child ... ok [INFO] [stdout] test test::test_adopt_child_with_relations ... ok [INFO] [stdout] test test::test_cascade_children ... ok [INFO] [stdout] test test::test_add_sibling ... ok [INFO] [stdout] test test::test_adopt_child_with_children ... ok [INFO] [stdout] test test::test_free_relation_error ... ok [INFO] [stdout] test test::test_query_builder ... ok [INFO] [stdout] test test::test_delete_children_error ... ok [INFO] [stdout] test test::test_recursive_cascade ... ok [INFO] [stdout] test test::test_delete_sibling_cascade ... ok [INFO] [stdout] test test::create_and_register ... ok [INFO] [stdout] test test::test_named_relations ... ok [INFO] [stdout] test test::test_save_and_get_children ... ok [INFO] [stdout] test test::test_save_save_next_and_get ... ok [INFO] [stdout] test test::test_free_relation_cascade ... ok [INFO] [stdout] test test::test_delete_sibling_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stderr] Doc-tests reindeer [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test src/entity.rs - entity::Entity::get_all (line 221) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_each (line 377) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::filter_remove (line 565) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get (line 204) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity (line 37) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::filter_update (line 441) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_child_stores (line 140) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::exists (line 584) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::adopt_as_next_child (line 812) ... FAILED [INFO] [stdout] test src/entity.rs - entity::AutoIncrementEntity::save_next (line 894) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_count (line 234) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity (line 42) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_from_end (line 323) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_from_end (line 315) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_children (line 872) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::adopt_child (line 839) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_sibling (line 737) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_from_start (line 275) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::register (line 164) ... 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_single_related_with_name (line 689) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_with_filter (line 358) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_in_range (line 262) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::save (line 405) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity (line 17) ... ok [INFO] [stdout] test src/entity.rs - entity::Entity::get_sibling_stores (line 113) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::remove (line 505) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_related_with_name (line 667) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::save_next_child (line 775) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::update (line 418) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_single_related (line 678) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::register (line 160) ... FAILED [INFO] [stdout] test src/entity.rs - entity::Entity::get_related (line 656) ... 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::save_sibling (line 724) ... 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_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] 3 | 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] 3 | 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::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] 3 | 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] 3 | 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::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] 3 | 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] 3 | 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 (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] 3 | 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] 3 | 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 (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] 3 | 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] 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:39: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: 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::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] 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:442: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[E0433]: failed to resolve: use of undeclared type `MyStruct` [INFO] [stdout] --> src/entity.rs:442: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: 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] 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:141: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:142:49 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 2 + 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] 6 | ("child_struct",DeletionBehaviour::Cascade), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DeletionBehaviour` [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::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] 3 | 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] 3 | 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::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] 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:814: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:815:1 [INFO] [stdout] | [INFO] [stdout] 5 | m_struct1.adopt_as_next_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:815:31 [INFO] [stdout] | [INFO] [stdout] 5 | m_struct1.adopt_as_next_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:815:42 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 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:814: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: 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::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] 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:896: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:897: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:898:23 [INFO] [stdout] | [INFO] [stdout] 6 | 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::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] 3 | 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 (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] 3 | 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] 3 | 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_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] 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:324: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[E0433]: failed to resolve: use of undeclared type `MyStruct` [INFO] [stdout] --> src/entity.rs:324: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: 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_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] 3 | 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] 3 | 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::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] 3 | let m_struct_1 = MyStruct1::get(&9,&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:874:20 [INFO] [stdout] | [INFO] [stdout] 4 | let children : Vec = _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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_872_0() { [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] 4 | let children : Vec = _struct_1.get_children(&db)?; [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `m_struct_1` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/entity.rs:874:57 [INFO] [stdout] | [INFO] [stdout] 4 | let children : Vec = _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] 3 | 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: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 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:841: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:842:1 [INFO] [stdout] | [INFO] [stdout] 5 | m_struct1.adopt_as_next_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:842:31 [INFO] [stdout] | [INFO] [stdout] 5 | m_struct1.adopt_as_next_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:842:42 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 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:841: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: 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::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] 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:739:55 [INFO] [stdout] | [INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_sibling::(&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:739:43 [INFO] [stdout] | [INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_sibling::(&db)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_737_0() { [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] 3 | 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: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 3 | 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] 3 | 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::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] 3 | 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] 3 | 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::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] 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:78: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_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] 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:284: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[E0433]: failed to resolve: use of undeclared type `MyStruct` [INFO] [stdout] --> src/entity.rs:284: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: 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_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] 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:691:84 [INFO] [stdout] | [INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_single_related_with_name::("main_book",&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:691:60 [INFO] [stdout] | [INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_single_related_with_name::("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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_689_0() { [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] 3 | 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: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 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[E0433]: failed to resolve: use of undeclared type `MyStruct` [INFO] [stdout] --> src/entity.rs:359: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: 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_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] 3 | 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] 3 | 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::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] 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:407:17 [INFO] [stdout] | [INFO] [stdout] 4 | 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::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] 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:114: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:115:51 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 2 + 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] 6 | ("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] 2 + 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] 7 | ("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] 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::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] 3 | 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] 3 | 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_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] 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:669:84 [INFO] [stdout] | [INFO] [stdout] 4 | let related_struct2s = m_struct_1.get_related_with_name::("collection",&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:669:59 [INFO] [stdout] | [INFO] [stdout] 4 | let related_struct2s = m_struct_1.get_related_with_name::("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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_667_0() { [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] 3 | 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: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 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:777: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:778:1 [INFO] [stdout] | [INFO] [stdout] 5 | m_struct1.save_next_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:778:27 [INFO] [stdout] | [INFO] [stdout] 5 | m_struct1.save_next_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:778:38 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 3 | 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::update (line 418) stdout ---- [INFO] [stdout] error: Rust has no postfix increment operator [INFO] [stdout] --> src/entity.rs:419: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] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: use `+= 1` instead [INFO] [stdout] | [INFO] [stdout] 3 - MyStruct::update(&3,|my_struct| my_struct.prop1++,&db)?; [INFO] [stdout] 3 + 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] 3 | 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 (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] 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:680:62 [INFO] [stdout] | [INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_single_related::(&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:680:50 [INFO] [stdout] | [INFO] [stdout] 4 | let m_struct_2 = m_struct_1.get_single_related::(&db)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_678_0() { [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] 3 | 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: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 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:161: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_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] 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:658:61 [INFO] [stdout] | [INFO] [stdout] 4 | let related_struct2s = m_struct_1.get_related::(&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:658:49 [INFO] [stdout] | [INFO] [stdout] 4 | let related_struct2s = m_struct_1.get_related::(&db)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_entity_rs_656_0() { [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] 3 | 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: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 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:66: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 93) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope [INFO] [stdout] --> src/entity.rs:94: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:94: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_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] 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:726: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:727: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[E0433]: failed to resolve: use of undeclared type `MyStruct1` [INFO] [stdout] --> src/entity.rs:725: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: 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::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] 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:754:18 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 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:755: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:755: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[E0433]: failed to resolve: use of undeclared type `MyStruct1` [INFO] [stdout] --> src/entity.rs:753: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: 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.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b34ed05ff759503f0f0aa03ef48ab0b108e5eb6e56d416ce0bc1803eee1db36d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34ed05ff759503f0f0aa03ef48ab0b108e5eb6e56d416ce0bc1803eee1db36d", kill_on_drop: false }` [INFO] [stdout] b34ed05ff759503f0f0aa03ef48ab0b108e5eb6e56d416ce0bc1803eee1db36d