[INFO] cloning repository https://github.com/Akashjayan1999/todo-app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Akashjayan1999/todo-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkashjayan1999%2Ftodo-app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkashjayan1999%2Ftodo-app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d5bb1233279e1a98b747dbe594fd19e4630d96c3
[INFO] checking Akashjayan1999/todo-app against master#c8a31b780d5415358566a20b94912620a3f27067 for pr-139493-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkashjayan1999%2Ftodo-app" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Akashjayan1999/todo-app
[INFO] finished tweaking git repo https://github.com/Akashjayan1999/todo-app
[INFO] tweaked toml for git repo https://github.com/Akashjayan1999/todo-app written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Akashjayan1999/todo-app on toolchain c8a31b780d5415358566a20b94912620a3f27067
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Akashjayan1999/todo-app 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" "+c8a31b780d5415358566a20b94912620a3f27067" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded actix-http v3.11.1
[INFO] [stderr]   Downloaded inherent v1.0.12
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.6
[INFO] [stderr]   Downloaded ouroboros_macro v0.18.5
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.6
[INFO] [stderr]   Downloaded rust_decimal v1.37.2
[INFO] [stderr]   Downloaded ordered-float v4.6.0
[INFO] [stderr]   Downloaded sqlx-macros v0.8.6
[INFO] [stderr]   Downloaded sqlx-core v0.8.6
[INFO] [stderr]   Downloaded time v0.3.43
[INFO] [stderr]   Downloaded libsqlite3-sys v0.30.1
[INFO] [stderr]   Downloaded aliasable v0.1.3
[INFO] [stderr]   Downloaded sea-orm-macros v1.1.15
[INFO] [stderr]   Downloaded hashlink v0.10.0
[INFO] [stderr]   Downloaded deranged v0.5.3
[INFO] [stderr]   Downloaded sqlx v0.8.6
[INFO] [stderr]   Downloaded regex-lite v0.1.7
[INFO] [stderr]   Downloaded sea-query v0.32.7
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.6
[INFO] [stderr]   Downloaded libredox v0.1.9
[INFO] [stderr]   Downloaded tempfile v3.21.0
[INFO] [stderr]   Downloaded ouroboros v0.18.5
[INFO] [stderr]   Downloaded event-listener v5.4.1
[INFO] [stderr]   Downloaded sea-bae v0.2.1
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.6
[INFO] [stderr]   Downloaded sea-query-binder v0.7.0
[INFO] [stderr]   Downloaded pgvector v0.4.1
[INFO] [stderr]   Downloaded bytestring v1.4.0
[INFO] [stderr]   Downloaded sea-orm v1.1.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f41b189dc95e07978e1f275ce34268e184a2d22a9c8ff9870241f5bb2cf46b7
[INFO] running `Command { std: "docker" "start" "-a" "3f41b189dc95e07978e1f275ce34268e184a2d22a9c8ff9870241f5bb2cf46b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f41b189dc95e07978e1f275ce34268e184a2d22a9c8ff9870241f5bb2cf46b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f41b189dc95e07978e1f275ce34268e184a2d22a9c8ff9870241f5bb2cf46b7", kill_on_drop: false }`
[INFO] [stdout] 3f41b189dc95e07978e1f275ce34268e184a2d22a9c8ff9870241f5bb2cf46b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2d2c464b9142d355ae70ff565d317080476b99e71094661b9389ac8814117e2e
[INFO] running `Command { std: "docker" "start" "-a" "2d2c464b9142d355ae70ff565d317080476b99e71094661b9389ac8814117e2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling bigdecimal v0.4.8
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling rust_decimal v1.37.2
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking tinyvec v1.10.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking parking v2.2.1
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]     Checking crc v3.3.0
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking regex-syntax v0.8.6
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking home v0.5.11
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking whoami v1.6.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling regex-lite v0.1.7
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking regex-automata v0.4.10
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]    Compiling inherent v1.0.12
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking regex v1.11.2
[INFO] [stderr]    Compiling sea-bae v0.2.1
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling ouroboros_macro v0.18.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling sea-orm-macros v1.1.15
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking ouroboros v0.18.5
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking deranged v0.5.3
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking time v0.3.43
[INFO] [stderr]     Checking sea-query v0.32.7
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]     Checking actix-http v3.11.1
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking sea-query-binder v0.7.0
[INFO] [stderr]     Checking sea-orm v1.1.15
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking todo-list-postgres v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `todo::ActiveModal`
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use todo::{ActiveModal as TodoModel, Entity as Todo};
[INFO] [stdout]   |            -----------^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            no `ActiveModal` in `todo`
[INFO] [stdout]   |            help: a similar name exists in the module: `ActiveModel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Database`
[INFO] [stdout]    --> src/main.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |    let conn  = Database::connect("postgres://myuser:mysecretpassword@localhost:5432/todo_list").await.unwrap(); 
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `Database`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sea_orm::Database;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `todo::ActiveModal`
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use todo::{ActiveModal as TodoModel, Entity as Todo};
[INFO] [stdout]   |            -----------^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            no `ActiveModal` in `todo`
[INFO] [stdout]   |            help: a similar name exists in the module: `ActiveModel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Database`
[INFO] [stdout]    --> src/main.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |    let conn  = Database::connect("postgres://myuser:mysecretpassword@localhost:5432/todo_list").await.unwrap(); 
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `Database`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sea_orm::Database;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Entity` is not an iterator
[INFO] [stdout]   --> src/main.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let todos = Todo::find().all(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                       ^^^^ `Entity` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/todo.rs:3:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Default , Serialize)]
[INFO] [stdout]    |                                       ----------------- function or associated item `find` not found for this struct because it doesn't satisfy `Entity: Iterator`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Entity: Iterator`
[INFO] [stdout]            which is required by `&mut Entity: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]   --> /rustc/c8a31b780d5415358566a20b94912620a3f27067/library/core/src/iter/traits/iterator.rs:40:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EntityTrait` which provides `find` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sea_orm::EntityTrait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let todos = Todo::find().all(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 |    todo.insert(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `Entity` in the current scope
[INFO] [stdout]   --> src/main.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^ function or associated item not found in `Entity`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/todo.rs:3:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Default , Serialize)]
[INFO] [stdout]    |                                       ----------------- function or associated item `find_by_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EntityTrait` which provides `find_by_id` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sea_orm::EntityTrait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `Entity` in the current scope
[INFO] [stdout]   --> src/main.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^ function or associated item not found in `Entity`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/todo.rs:3:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Default , Serialize)]
[INFO] [stdout]    |                                       ----------------- function or associated item `find_by_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EntityTrait` which provides `find_by_id` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sea_orm::EntityTrait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             todo.delete(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |             ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             todo.delete(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `Entity` in the current scope
[INFO] [stdout]   --> src/main.rs:79:25
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^ function or associated item not found in `Entity`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/todo.rs:3:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Default , Serialize)]
[INFO] [stdout]    |                                       ----------------- function or associated item `find_by_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EntityTrait` which provides `find_by_id` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sea_orm::EntityTrait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |            let mut todo = todo.into_active_model();
[INFO] [stdout]    |                           ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 |            todo.update(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |    let conn  = Database::connect("postgres://myuser:mysecretpassword@localhost:5432/todo_list").await.unwrap(); 
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `conn`, a captured variable in an `Fn` closure
[INFO] [stdout]   --> src/main.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let conn = db().await;
[INFO] [stdout]    |         ----   ---------- move occurs because `conn` has type `DatabaseConnection`, which does not implement the `Copy` trait
[INFO] [stdout]    |         |
[INFO] [stdout]    |         captured outer variable
[INFO] [stdout] 10 |     HttpServer::new(move || {
[INFO] [stdout]    |                     ------- captured by this `Fn` closure
[INFO] [stdout] 11 |         App::new()
[INFO] [stdout] 12 |             .app_data(web::Data::new(conn))
[INFO] [stdout]    |                                      ^^^^ `conn` is moved here
[INFO] [stdout]    |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/server.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 |     F: Fn() -> I + Send + Clone + 'static,
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0507, E0599.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-list-postgres` (bin "todo-list-postgres" test) due to 17 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: `Entity` is not an iterator
[INFO] [stdout]   --> src/main.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let todos = Todo::find().all(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                       ^^^^ `Entity` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/todo.rs:3:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Default , Serialize)]
[INFO] [stdout]    |                                       ----------------- function or associated item `find` not found for this struct because it doesn't satisfy `Entity: Iterator`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Entity: Iterator`
[INFO] [stdout]            which is required by `&mut Entity: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]   --> /rustc/c8a31b780d5415358566a20b94912620a3f27067/library/core/src/iter/traits/iterator.rs:40:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EntityTrait` which provides `find` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sea_orm::EntityTrait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let todos = Todo::find().all(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 |    todo.insert(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `Entity` in the current scope
[INFO] [stdout]   --> src/main.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^ function or associated item not found in `Entity`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/todo.rs:3:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Default , Serialize)]
[INFO] [stdout]    |                                       ----------------- function or associated item `find_by_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EntityTrait` which provides `find_by_id` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sea_orm::EntityTrait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `Entity` in the current scope
[INFO] [stdout]   --> src/main.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^ function or associated item not found in `Entity`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/todo.rs:3:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Default , Serialize)]
[INFO] [stdout]    |                                       ----------------- function or associated item `find_by_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EntityTrait` which provides `find_by_id` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sea_orm::EntityTrait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             todo.delete(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |             ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             todo.delete(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `Entity` in the current scope
[INFO] [stdout]   --> src/main.rs:79:25
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^ function or associated item not found in `Entity`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/todo.rs:3:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Default , Serialize)]
[INFO] [stdout]    |                                       ----------------- function or associated item `find_by_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EntityTrait` which provides `find_by_id` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sea_orm::EntityTrait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let todo_op = Todo::find_by_id(id).one(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |            let mut todo = todo.into_active_model();
[INFO] [stdout]    |                           ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 |            todo.update(conn.get_ref()).await.unwrap();
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |    let conn  = Database::connect("postgres://myuser:mysecretpassword@localhost:5432/todo_list").await.unwrap(); 
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `conn`, a captured variable in an `Fn` closure
[INFO] [stdout]   --> src/main.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let conn = db().await;
[INFO] [stdout]    |         ----   ---------- move occurs because `conn` has type `DatabaseConnection`, which does not implement the `Copy` trait
[INFO] [stdout]    |         |
[INFO] [stdout]    |         captured outer variable
[INFO] [stdout] 10 |     HttpServer::new(move || {
[INFO] [stdout]    |                     ------- captured by this `Fn` closure
[INFO] [stdout] 11 |         App::new()
[INFO] [stdout] 12 |             .app_data(web::Data::new(conn))
[INFO] [stdout]    |                                      ^^^^ `conn` is moved here
[INFO] [stdout]    |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/server.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 |     F: Fn() -> I + Send + Clone + 'static,
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0507, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-list-postgres` (bin "todo-list-postgres") due to 17 previous errors
[INFO] running `Command { std: "docker" "inspect" "2d2c464b9142d355ae70ff565d317080476b99e71094661b9389ac8814117e2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d2c464b9142d355ae70ff565d317080476b99e71094661b9389ac8814117e2e", kill_on_drop: false }`
[INFO] [stdout] 2d2c464b9142d355ae70ff565d317080476b99e71094661b9389ac8814117e2e
