[INFO] fetching crate supermodel 0.1.0... [INFO] checking supermodel-0.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate supermodel 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate supermodel 0.1.0 [INFO] finished tweaking crates.io crate supermodel 0.1.0 [INFO] tweaked toml for crates.io crate supermodel 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate supermodel 0.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate supermodel 0.1.0 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df3455dcf915f80f5852d2199293b4b1d1d1a4b4e50fe56c7fba35f9508dcaba [INFO] running `Command { std: "docker" "start" "-a" "df3455dcf915f80f5852d2199293b4b1d1d1a4b4e50fe56c7fba35f9508dcaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df3455dcf915f80f5852d2199293b4b1d1d1a4b4e50fe56c7fba35f9508dcaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3455dcf915f80f5852d2199293b4b1d1d1a4b4e50fe56c7fba35f9508dcaba", kill_on_drop: false }` [INFO] [stdout] df3455dcf915f80f5852d2199293b4b1d1d1a4b4e50fe56c7fba35f9508dcaba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec21f7f7f706ae424e75f6fad714564248e7b4d577d20a8daafb0affa6145836 [INFO] running `Command { std: "docker" "start" "-a" "ec21f7f7f706ae424e75f6fad714564248e7b4d577d20a8daafb0affa6145836", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking supermodel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | fn eq(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | fn eq(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | fn not_eq(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | fn not_eq(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn greater(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | fn greater(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | fn greater_eq(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | fn greater_eq(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn less(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | fn less(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn less_eq(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | fn less_eq(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn eq(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | fn eq(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | fn not_eq(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 26 | fn not_eq(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn greater(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | fn greater(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn greater_eq(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn greater_eq(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn less(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn less(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn less_eq(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn less_eq(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stdout] error[E0432]: unresolved import `supermodel::model::utils::ModelUtils` [INFO] [stdout] --> examples/basic_model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use supermodel::model::utils::ModelUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ModelUtils` in `model::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `supermodel_sqlx` [INFO] [stdout] --> examples/basic_model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use supermodel_sqlx::postgres::Postgres; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `supermodel_sqlx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use supermodel_sqlx::postgres::Postgres; [INFO] [stdout] 6 + use supermodel::postgres::Postgres; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `supermodel_macros` [INFO] [stdout] --> examples/basic_model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use supermodel_macros::model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `supermodel_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `supermodel_macros`, use `cargo add supermodel_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name` in this scope [INFO] [stdout] --> examples/basic_model.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[name = "users"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `utils` is private [INFO] [stdout] --> examples/basic_model.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use supermodel::model::utils::ModelUtils; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `utils` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod utils; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `utils` is private [INFO] [stdout] --> examples/basic_model.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use supermodel::operation::utils::Utils; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `utils` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/operation/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod utils; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 4 - use supermodel::operation::utils::Utils; [INFO] [stdout] 4 + use supermodel::operation::Utils; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | fn eq(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | fn eq(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | fn not_eq(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | fn not_eq(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn greater(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | fn greater(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | fn greater_eq(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | fn greater_eq(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn less(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | fn less(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn less_eq(self, value: &V) -> Condition; [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | fn less_eq(self, value: &V) -> Condition<'_, V>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn eq(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | fn eq(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | fn not_eq(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 26 | fn not_eq(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn greater(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | fn greater(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn greater_eq(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn greater_eq(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn less(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn less(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/field/utils.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn less_eq(self, value: &V) -> Condition { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn less_eq(self, value: &V) -> Condition<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `register` found for struct `User` in the current scope [INFO] [stdout] --> examples/basic_model.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct User { [INFO] [stdout] | --------------- function or associated item `register` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | User::register().execute(&mut connection).await?; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `User` [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 `register`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `supermodel::model::Utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supermodel` (example "basic_model") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "ec21f7f7f706ae424e75f6fad714564248e7b4d577d20a8daafb0affa6145836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec21f7f7f706ae424e75f6fad714564248e7b4d577d20a8daafb0affa6145836", kill_on_drop: false }` [INFO] [stdout] ec21f7f7f706ae424e75f6fad714564248e7b4d577d20a8daafb0affa6145836