[INFO] fetching crate geekorm-derive 0.11.4... [INFO] testing geekorm-derive-0.11.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate geekorm-derive 0.11.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate geekorm-derive 0.11.4 [INFO] finished tweaking crates.io crate geekorm-derive 0.11.4 [INFO] tweaked toml for crates.io crate geekorm-derive 0.11.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate geekorm-derive 0.11.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate geekorm-derive 0.11.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6778170da33f9679c00873c9c142eb65ba9f1ead4feb7f25770164b1d4e89eb5 [INFO] running `Command { std: "docker" "start" "-a" "6778170da33f9679c00873c9c142eb65ba9f1ead4feb7f25770164b1d4e89eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6778170da33f9679c00873c9c142eb65ba9f1ead4feb7f25770164b1d4e89eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6778170da33f9679c00873c9c142eb65ba9f1ead4feb7f25770164b1d4e89eb5", kill_on_drop: false }` [INFO] [stdout] 6778170da33f9679c00873c9c142eb65ba9f1ead4feb7f25770164b1d4e89eb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3481e7fb55404c08810c76f9e1a345ceefa62a8064661000c626312d25d5040 [INFO] running `Command { std: "docker" "start" "-a" "b3481e7fb55404c08810c76f9e1a345ceefa62a8064661000c626312d25d5040", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling geekorm-derive v0.11.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling geekorm-core v0.11.4 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.64s [INFO] running `Command { std: "docker" "inspect" "b3481e7fb55404c08810c76f9e1a345ceefa62a8064661000c626312d25d5040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3481e7fb55404c08810c76f9e1a345ceefa62a8064661000c626312d25d5040", kill_on_drop: false }` [INFO] [stdout] b3481e7fb55404c08810c76f9e1a345ceefa62a8064661000c626312d25d5040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c4d8fa73736d6cade3602a57bd3ee504e492dd89ac01ab6a999e9f173749776 [INFO] running `Command { std: "docker" "start" "-a" "0c4d8fa73736d6cade3602a57bd3ee504e492dd89ac01ab6a999e9f173749776", kill_on_drop: false }` [INFO] [stderr] Compiling geekorm-derive v0.11.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "0c4d8fa73736d6cade3602a57bd3ee504e492dd89ac01ab6a999e9f173749776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4d8fa73736d6cade3602a57bd3ee504e492dd89ac01ab6a999e9f173749776", kill_on_drop: false }` [INFO] [stdout] 0c4d8fa73736d6cade3602a57bd3ee504e492dd89ac01ab6a999e9f173749776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 812686c786047129b47c760ecb7cfd8a1045975a0e6d3c769d2b60cb62be0d8e [INFO] running `Command { std: "docker" "start" "-a" "812686c786047129b47c760ecb7cfd8a1045975a0e6d3c769d2b60cb62be0d8e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/geekorm_derive-71f94076d49a18c9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests geekorm_derive [INFO] [stdout] test derive::column::tests::test_primary_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - data_derive (line 69) ... FAILED [INFO] [stdout] test src/../README.md - (line 59) ... FAILED [INFO] [stdout] test src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_table_builder (line 15) ... FAILED [INFO] [stdout] test src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_query_builder (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - table_derive (line 36) ... FAILED [INFO] [stdout] test src/parsers/values.rs - parsers::values::generate_strings (line 108) ... FAILED [INFO] [stdout] test src/attr.rs - attr (line 5) ... FAILED [INFO] [stdout] test src/../README.md - (line 143) ... ok [INFO] [stdout] test src/parsers/helpers.rs - parsers::helpers::generate_new (line 8) ... FAILED [INFO] [stdout] test src/parsers/helpers.rs - parsers::helpers::generate_helpers (line 48) ... FAILED [INFO] [stdout] test src/../README.md - (line 108) ... ok [INFO] [stdout] test src/../README.md - (line 20) ... FAILED [INFO] [stdout] test src/../README.md - (line 84) ... FAILED [INFO] [stdout] test src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_table_primary_key (line 160) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - data_derive (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Data` in this scope [INFO] [stdout] --> src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Data, Default, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 69 + use geekorm_derive::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/lib.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[geekorm(key = "UserAccounts")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Table, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 69 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/lib.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[geekorm(primary_key, auto_increment)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/lib.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 69 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/lib.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(Value::from(geekmasher.role), Value::Text("Admin".to_string())); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 69 + use geekorm_core::Value; [INFO] [stdout] | [INFO] [stdout] 69 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/lib.rs:94:42 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(Value::from(geekmasher.role), Value::Text("Admin".to_string())); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 69 + use geekorm_core::Value; [INFO] [stdout] | [INFO] [stdout] 69 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/lib.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(Role::from(Value::Text("Admin".to_string())), Role::Admin); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 69 + use geekorm_core::Value; [INFO] [stdout] | [INFO] [stdout] 69 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/lib.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(Role::from(Value::Text("UserAccounts".to_string())), Role::User); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 69 + use geekorm_core::Value; [INFO] [stdout] | [INFO] [stdout] 69 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Users` in the current scope [INFO] [stdout] --> src/lib.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 84 | struct Users { [INFO] [stdout] | ------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | let geekmasher = Users::new("geekmasher", Role::Admin); [INFO] [stdout] | ^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | let role = Role::from("UserAccounts"); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ expected `Role`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] error[E0599]: `Role` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 74 | enum Role { [INFO] [stdout] | --------- method `to_string` not found for this enum because it doesn't satisfy `Role: ToString` or `Role: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 100 | assert_eq!(role.to_string(), String::from("UserAccounts")); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Role` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Role: std::fmt::Display` [INFO] [stdout] which is required by `Role: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1007:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Role: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Table, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 88 | role: Role, [INFO] [stdout] | ---------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `Role` [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | enum Role { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Role` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 152 others [INFO] [stdout] note: required by a bound in `_doctest_main_src_lib_rs_69_0::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1865 | where [INFO] [stdout] 1866 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Role: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | role: Role, [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Role` [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | enum Role { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Role` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 166 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Role: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | role: Role, [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Role` [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | enum Role { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Role` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 166 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Role: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Table, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Role` [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | enum Role { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Role` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 166 others [INFO] [stdout] note: required by a bound in `_doctest_main_src_lib_rs_69_0::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 59) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/../README.md:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/../README.md:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Table, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 59 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/../README.md:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 59 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Users` in the current scope [INFO] [stdout] --> src/../README.md:71:19 [INFO] [stdout] | [INFO] [stdout] 63 | struct Users { [INFO] [stdout] | ------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 71 | let user = Users::new( [INFO] [stdout] | ^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_table_builder (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/parsers/tablebuilder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Table, Default, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 15 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 15 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `table` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 19 | struct Users { [INFO] [stdout] | ------------ function or associated item `table` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | let user_table = Users::table(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `table`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::TableBuilder` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `table_name` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 19 | struct Users { [INFO] [stdout] | ------------ function or associated item `table_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | let user_table_name = Users::table_name(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `table_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::TableBuilder` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_table` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 19 | struct Users { [INFO] [stdout] | ------------ method `get_table` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | let user_table2 = user.get_table(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get_table`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::TableBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_query_builder (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/parsers/tablebuilder.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Table, Default, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 63 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | pub id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 63 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_create` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `query_create` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | let create = Users::query_create().build() [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_create`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_select` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `query_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 77 | let select = Users::query_select().build() [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_select`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_insert` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `query_insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 82 | let insert = Users::query_insert(&user); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_insert`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_update` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `query_update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 85 | let update = Users::query_update(&user); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_count` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `query_count` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | let count = Users::query_count().build() [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_count`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - table_derive (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Table, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 36 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 36 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `table` found for struct `Users` in the current scope [INFO] [stdout] --> src/lib.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 40 | struct Users { [INFO] [stdout] | ------------ function or associated item `table` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | let table = Users::table(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `table`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::TableBuilder` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `table_name` found for struct `Users` in the current scope [INFO] [stdout] --> src/lib.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 40 | struct Users { [INFO] [stdout] | ------------ function or associated item `table_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | assert_eq!(Users::table_name(), "Users"); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `table_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::TableBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parsers/values.rs - parsers::values::generate_strings (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/parsers/values.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Data` in this scope [INFO] [stdout] --> src/parsers/values.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Data, Default, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 108 + use geekorm_derive::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/parsers/values.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[geekorm(key = "Administrator")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/parsers/values.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | #[geekorm(key = "AdminModerator")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/parsers/values.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let mod_value = geekorm::Value::Text(moderator.to_string()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 108 + use geekorm_core::Value; [INFO] [stdout] | [INFO] [stdout] 108 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] help: if you import `Value`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 130 - let mod_value = geekorm::Value::Text(moderator.to_string()); [INFO] [stdout] 130 + let mod_value = Value::Text(moderator.to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsers/values.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | let user_type = UserRole::from("Administrator"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^ expected `UserRole`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] error[E0599]: `UserRole` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parsers/values.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 113 | enum UserRole { [INFO] [stdout] | ------------- method `to_string` not found for this enum because it doesn't satisfy `UserRole: ToString` or `UserRole: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(user_type.to_string(), "Administrator".to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `UserRole` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UserRole: std::fmt::Display` [INFO] [stdout] which is required by `UserRole: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1007:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] error[E0599]: `UserRole` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parsers/values.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 113 | enum UserRole { [INFO] [stdout] | ------------- method `to_string` not found for this enum because it doesn't satisfy `UserRole: ToString` or `UserRole: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 129 | assert_eq!(moderator.to_string(), "AdminModerator".to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `UserRole` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UserRole: std::fmt::Display` [INFO] [stdout] which is required by `UserRole: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1007:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] error[E0599]: `UserRole` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parsers/values.rs:130:48 [INFO] [stdout] | [INFO] [stdout] 113 | enum UserRole { [INFO] [stdout] | ------------- method `to_string` not found for this enum because it doesn't satisfy `UserRole: ToString` or `UserRole: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 130 | let mod_value = geekorm::Value::Text(moderator.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `UserRole` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UserRole: std::fmt::Display` [INFO] [stdout] which is required by `UserRole: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1007:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsers/values.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | let unknown = UserRole::from("unknown"); [INFO] [stdout] | -------------- ^^^^^^^^^ expected `UserRole`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attr.rs - attr (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/attr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/attr.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Table, Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 6 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/attr.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[geekorm(primary_key, auto_increment)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/attr.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[geekorm(not_null)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/attr.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[geekorm(foreign_key = "Users.id")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/attr.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Table, Debug, Default, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 6 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/attr.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[geekorm(primary_key, auto_increment)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `geekorm` in this scope [INFO] [stdout] --> src/attr.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[geekorm(rename = "full_name")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKey` in this scope [INFO] [stdout] --> src/attr.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | id: PrimaryKey, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use geekorm_core::PrimaryKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/attr.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 6 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignKey` in this scope [INFO] [stdout] --> src/attr.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | author: ForeignKey, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use geekorm_core::ForeignKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Users` in the current scope [INFO] [stdout] --> src/attr.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 9 | struct Users { [INFO] [stdout] | ------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | let user = Users::new( [INFO] [stdout] | ^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Posts` in the current scope [INFO] [stdout] --> src/attr.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 30 | struct Posts { [INFO] [stdout] | ------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | let post = Posts::new( [INFO] [stdout] | ^^^ function or associated item not found in `Posts` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parsers/helpers.rs - parsers::helpers::generate_new (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/parsers/helpers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/parsers/helpers.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Table, Clone, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 8 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/parsers/helpers.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/helpers.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 12 | struct Users { [INFO] [stdout] | ------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | let user = Users::new( [INFO] [stdout] | ^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parsers/helpers.rs - parsers::helpers::generate_helpers (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/parsers/helpers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/parsers/helpers.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Table, Clone, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 48 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/parsers/helpers.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 48 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_select_by_id` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/helpers.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 52 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_select_by_id` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | let user_id = Users::query_select_by_id(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_select_by_name` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/helpers.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 52 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_select_by_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | let user_name = Users::query_select_by_name("geekmasher"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_select_by_age` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/helpers.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 52 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_select_by_age` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | let user_age = Users::query_select_by_age(42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/../README.md:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/../README.md:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Table, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 20 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/../README.md:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 20 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_create` found for struct `Users` in the current scope [INFO] [stdout] --> src/../README.md:32:21 [INFO] [stdout] | [INFO] [stdout] 24 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_create` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let create = Users::query_create().build() [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_create`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_select` found for struct `Users` in the current scope [INFO] [stdout] --> src/../README.md:36:21 [INFO] [stdout] | [INFO] [stdout] 24 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let select = Users::query_select() [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_select`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_insert` found for struct `Users` in the current scope [INFO] [stdout] --> src/../README.md:45:21 [INFO] [stdout] | [INFO] [stdout] 24 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | let insert = Users::query_insert(&user); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_insert`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_update` found for struct `Users` in the current scope [INFO] [stdout] --> src/../README.md:49:21 [INFO] [stdout] | [INFO] [stdout] 24 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | let update = Users::query_update(&user); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::QueryBuilderTrait` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 84) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/../README.md:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/../README.md:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Table, Default, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 84 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/../README.md:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 84 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_select_by_name` found for struct `Users` in the current scope [INFO] [stdout] --> src/../README.md:96:19 [INFO] [stdout] | [INFO] [stdout] 88 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_select_by_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 96 | let user = Users::query_select_by_name("geekmasher"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_select_by_age` found for struct `Users` in the current scope [INFO] [stdout] --> src/../README.md:98:19 [INFO] [stdout] | [INFO] [stdout] 88 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_select_by_age` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | let user = Users::query_select_by_age(42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_select_by_occupation` found for struct `Users` in the current scope [INFO] [stdout] --> src/../README.md:100:19 [INFO] [stdout] | [INFO] [stdout] 88 | struct Users { [INFO] [stdout] | ------------ function or associated item `query_select_by_occupation` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | let user = Users::query_select_by_occupation("Software Developer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_table_primary_key (line 160) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] --> src/parsers/tablebuilder.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | use geekorm::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `geekorm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geekorm`, use `cargo add geekorm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | #[derive(Table, Default, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 160 + use geekorm_derive::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrimaryKeyInteger` in this scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub id: PrimaryKeyInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 160 + use geekorm_core::builder::keys::primary::PrimaryKeyInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/parsers/tablebuilder.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(Users::primary_key_value(&user), Value::Identifier(0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 160 + use geekorm_core::Value; [INFO] [stdout] | [INFO] [stdout] 160 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 170 | let user = Users::new(String::from("John Doe"), 30); [INFO] [stdout] | ^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `primary_key` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `primary_key` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 172 | assert_eq!(Users::primary_key(), "id"); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `primary_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::TablePrimaryKey` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `primary_key_value` found for struct `Users` in the current scope [INFO] [stdout] --> src/parsers/tablebuilder.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `primary_key_value` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 173 | assert_eq!(Users::primary_key_value(&user), Value::Identifier(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `primary_key_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `geekorm_core::TablePrimaryKey` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 20) [INFO] [stdout] src/../README.md - (line 59) [INFO] [stdout] src/../README.md - (line 84) [INFO] [stdout] src/attr.rs - attr (line 5) [INFO] [stdout] src/lib.rs - data_derive (line 69) [INFO] [stdout] src/lib.rs - table_derive (line 36) [INFO] [stdout] src/parsers/helpers.rs - parsers::helpers::generate_helpers (line 48) [INFO] [stdout] src/parsers/helpers.rs - parsers::helpers::generate_new (line 8) [INFO] [stdout] src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_query_builder (line 62) [INFO] [stdout] src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_table_builder (line 15) [INFO] [stdout] src/parsers/tablebuilder.rs - parsers::tablebuilder::generate_table_primary_key (line 160) [INFO] [stdout] src/parsers/values.rs - parsers::values::generate_strings (line 108) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.48s; merged doctests compilation took 0.68s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "812686c786047129b47c760ecb7cfd8a1045975a0e6d3c769d2b60cb62be0d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "812686c786047129b47c760ecb7cfd8a1045975a0e6d3c769d2b60cb62be0d8e", kill_on_drop: false }` [INFO] [stdout] 812686c786047129b47c760ecb7cfd8a1045975a0e6d3c769d2b60cb62be0d8e