[INFO] cloning repository https://github.com/191-iota/voting_app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/191-iota/voting_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F191-iota%2Fvoting_app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F191-iota%2Fvoting_app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 301a424256b04bc278edc2d0e15b9754688d5ef9
[INFO] checking 191-iota/voting_app against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F191-iota%2Fvoting_app" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/191-iota/voting_app
[INFO] finished tweaking git repo https://github.com/191-iota/voting_app
[INFO] tweaked toml for git repo https://github.com/191-iota/voting_app written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/191-iota/voting_app on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/191-iota/voting_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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76ebea97f4238d83da514caa1159ca7f441f892a2ace66fc91a4843bb7d28188
[INFO] running `Command { std: "docker" "start" "-a" "76ebea97f4238d83da514caa1159ca7f441f892a2ace66fc91a4843bb7d28188", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76ebea97f4238d83da514caa1159ca7f441f892a2ace66fc91a4843bb7d28188", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76ebea97f4238d83da514caa1159ca7f441f892a2ace66fc91a4843bb7d28188", kill_on_drop: false }`
[INFO] [stdout] 76ebea97f4238d83da514caa1159ca7f441f892a2ace66fc91a4843bb7d28188
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a766c7d5504e37ee2e4b43933439b291ad3691c891dc9dc505f8a0f6aeb43ff7
[INFO] running `Command { std: "docker" "start" "-a" "a766c7d5504e37ee2e4b43933439b291ad3691c891dc9dc505f8a0f6aeb43ff7", 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]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]     Checking futf v0.1.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]     Checking precomputed-hash v0.1.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]     Checking tendril v0.4.3
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling deranged v0.5.3
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]     Checking inlinable_string v0.1.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]     Checking winnow v0.7.13
[INFO] [stderr]    Compiling time v0.3.43
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.35.0
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]     Checking regex-syntax v0.8.6
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking atomic v0.5.3
[INFO] [stderr]     Checking binascii v0.1.4
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]     Checking regex-automata v0.4.10
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking rusqlite v0.37.0
[INFO] [stderr]    Compiling markup5ever v0.11.0
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]     Checking tempfile v3.21.0
[INFO] [stderr]    Compiling html5ever v0.26.0
[INFO] [stderr]     Checking regex v1.11.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling devise_core v0.4.2
[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 tokio-macros v2.5.0
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.24
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]     Checking pear v0.2.9
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling validator_derive v0.20.0
[INFO] [stderr]    Compiling rocket_http v0.5.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]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking string_cache v0.8.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking ubyte v0.10.4
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking validator v0.20.0
[INFO] [stderr]     Checking xml5ever v0.17.0
[INFO] [stderr]     Checking markup5ever_rcdom v0.2.0
[INFO] [stderr]     Checking select v0.6.1
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking voting_app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `,`, or `}`, found `(`
[INFO] [stdout]   --> src/models.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PollSession {
[INFO] [stdout]    |            ----------- while parsing this struct
[INFO] [stdout] 10 |     pub tx: broadcast::channel::<VoteUpdate>(16),
[INFO] [stdout]    |                                             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`, or `}`, found `(`
[INFO] [stdout]   --> src/models.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PollSession {
[INFO] [stdout]    |            ----------- while parsing this struct
[INFO] [stdout] 10 |     pub tx: broadcast::channel::<VoteUpdate>(16),
[INFO] [stdout]    |                                             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `update_poll` in this scope
[INFO] [stdout]    --> src/main.rs:210:64
[INFO] [stdout]     |
[INFO] [stdout]  59 | #[post("/", data = "<body>")]
[INFO] [stdout]     | ----------------------------- similarly named struct `create_poll` defined here
[INFO] [stdout] ...
[INFO] [stdout] 210 |             routes![create_poll, create_user, index, get_poll, update_poll],
[INFO] [stdout]     |                                                                ^^^^^^^^^^^ help: a struct with a similar name exists: `create_poll`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::models::VoteUpdate`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use self::models::VoteUpdate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `update_poll` in this scope
[INFO] [stdout]    --> src/main.rs:210:64
[INFO] [stdout]     |
[INFO] [stdout]  59 | #[post("/", data = "<body>")]
[INFO] [stdout]     | ----------------------------- similarly named struct `create_poll` defined here
[INFO] [stdout] ...
[INFO] [stdout] 210 |             routes![create_poll, create_user, index, get_poll, update_poll],
[INFO] [stdout]     |                                                                ^^^^^^^^^^^ help: a struct with a similar name exists: `create_poll`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::models::VoteUpdate`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use self::models::VoteUpdate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 145 | /     match repository::update_vote(session.db_id, body.voted_option_uuids, body.username) {
[INFO] [stdout] 146 | |         Ok(v) => Ok(v.to_string()),
[INFO] [stdout] 147 | |         Err(e) => {
[INFO] [stdout] 148 | |             warn!("non existent id access: db poll id, error: {e}");
[INFO] [stdout] 149 | |             Err(status::Custom(Status::BadRequest, "Failed updating vote"))
[INFO] [stdout]     | |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, Custom<&str>>`
[INFO] [stdout] 150 | |         }
[INFO] [stdout] 151 | |     }
[INFO] [stdout]     | |_____- expected this to be `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `Result<_, rocket::response::status::Custom<&str>>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]     |
[INFO] [stdout] 149 |             return Err(status::Custom(Status::BadRequest, "Failed updating vote"))
[INFO] [stdout]     |             ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:153:69
[INFO] [stdout]     |
[INFO] [stdout] 153 |       if let Ok(votes) = repository::get_option_votes(&session.db_id) {
[INFO] [stdout]     |  _____________________________________________________________________^
[INFO] [stdout] 154 | |         let _ = poll.tx.send(votes);
[INFO] [stdout] 155 | |     }
[INFO] [stdout]     | |_____^ expected `Result<String, Custom<&str>>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<std::string::String, rocket::response::status::Custom<&'static str>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:172:28
[INFO] [stdout]     |
[INFO] [stdout] 172 |                     m = rx.recv() => match m {
[INFO] [stdout]     |                            ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `PollOptionRequest: Serialize` is not satisfied
[INFO] [stdout]   --> src/models.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Deserialize, Validate)]
[INFO] [stdout]    |                       ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `PollOptionRequest`
[INFO] [stdout]   --> src/models.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct PollOptionRequest {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PollOptionRequest` 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 UncasedStr
[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]            and 185 others
[INFO] [stdout]    = note: required for `Vec<PollOptionRequest>` to implement `Serialize`
[INFO] [stdout] note: required by a bound in `ValidationError::add_param`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/validator-0.20.0/src/types.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_param<T: Serialize>(&mut self, name: Cow<'static, str>, val: &T) {
[INFO] [stdout]    |                         ^^^^^^^^^ required by this bound in `ValidationError::add_param`
[INFO] [stdout]    = note: this error originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/models.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Deserialize, Validate)]
[INFO] [stdout]    |                       ^^^^^^^^ expected `Vec<PollOptionRequest>`, found `&Vec<PollOptionRequest>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |     #[validate(length(min = 1), custom(function = "validate_min_selection"))]
[INFO] [stdout]    |                                                   ------------------------ arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<_>`
[INFO] [stdout]            found reference `&Vec<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/models.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn validate_min_selection(options: Vec<PollOptionRequest>) -> Result<(), ValidationError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^ -------------------------------
[INFO] [stdout]    = note: this error originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 145 | /     match repository::update_vote(session.db_id, body.voted_option_uuids, body.username) {
[INFO] [stdout] 146 | |         Ok(v) => Ok(v.to_string()),
[INFO] [stdout] 147 | |         Err(e) => {
[INFO] [stdout] 148 | |             warn!("non existent id access: db poll id, error: {e}");
[INFO] [stdout] 149 | |             Err(status::Custom(Status::BadRequest, "Failed updating vote"))
[INFO] [stdout]     | |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, Custom<&str>>`
[INFO] [stdout] 150 | |         }
[INFO] [stdout] 151 | |     }
[INFO] [stdout]     | |_____- expected this to be `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `Result<_, rocket::response::status::Custom<&str>>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]     |
[INFO] [stdout] 149 |             return Err(status::Custom(Status::BadRequest, "Failed updating vote"))
[INFO] [stdout]     |             ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:153:69
[INFO] [stdout]     |
[INFO] [stdout] 153 |       if let Ok(votes) = repository::get_option_votes(&session.db_id) {
[INFO] [stdout]     |  _____________________________________________________________________^
[INFO] [stdout] 154 | |         let _ = poll.tx.send(votes);
[INFO] [stdout] 155 | |     }
[INFO] [stdout]     | |_____^ expected `Result<String, Custom<&str>>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<std::string::String, rocket::response::status::Custom<&'static str>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:172:28
[INFO] [stdout]     |
[INFO] [stdout] 172 |                     m = rx.recv() => match m {
[INFO] [stdout]     |                            ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/repository.rs:139:38
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let utc_stamp = DateTime::<Utc>::from_utc(naive, Utc);
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `PollOptionRequest: Serialize` is not satisfied
[INFO] [stdout]   --> src/models.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Deserialize, Validate)]
[INFO] [stdout]    |                       ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `PollOptionRequest`
[INFO] [stdout]   --> src/models.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct PollOptionRequest {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PollOptionRequest` 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 UncasedStr
[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]            and 185 others
[INFO] [stdout]    = note: required for `Vec<PollOptionRequest>` to implement `Serialize`
[INFO] [stdout] note: required by a bound in `ValidationError::add_param`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/validator-0.20.0/src/types.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_param<T: Serialize>(&mut self, name: Cow<'static, str>, val: &T) {
[INFO] [stdout]    |                         ^^^^^^^^^ required by this bound in `ValidationError::add_param`
[INFO] [stdout]    = note: this error originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/models.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Deserialize, Validate)]
[INFO] [stdout]    |                       ^^^^^^^^ expected `Vec<PollOptionRequest>`, found `&Vec<PollOptionRequest>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |     #[validate(length(min = 1), custom(function = "validate_min_selection"))]
[INFO] [stdout]    |                                                   ------------------------ arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<_>`
[INFO] [stdout]            found reference `&Vec<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/models.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn validate_min_selection(options: Vec<PollOptionRequest>) -> Result<(), ValidationError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^ -------------------------------
[INFO] [stdout]    = note: this error originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/repository.rs:139:38
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let utc_stamp = DateTime::<Utc>::from_utc(naive, Utc);
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/models.rs:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn validate_min_selection(options: Vec<PollOptionRequest>) -> Result<(), ValidationError> {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/models.rs:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn validate_min_selection(options: Vec<PollOptionRequest>) -> Result<(), ValidationError> {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0422.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `voting_app` (bin "voting_app" test) due to 7 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0422.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `voting_app` (bin "voting_app") due to 7 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a766c7d5504e37ee2e4b43933439b291ad3691c891dc9dc505f8a0f6aeb43ff7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a766c7d5504e37ee2e4b43933439b291ad3691c891dc9dc505f8a0f6aeb43ff7", kill_on_drop: false }`
[INFO] [stdout] a766c7d5504e37ee2e4b43933439b291ad3691c891dc9dc505f8a0f6aeb43ff7
