[INFO] cloning repository https://github.com/quickdudley/logtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quickdudley/logtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquickdudley%2Flogtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquickdudley%2Flogtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 663bc247fbff6fb284ef09691b512d4ce80e435c [INFO] checking quickdudley/logtime against try#a75eafceea413a1b40c0e0769db85e08ec17160b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquickdudley%2Flogtime" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quickdudley/logtime on toolchain a75eafceea413a1b40c0e0769db85e08ec17160b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quickdudley/logtime [INFO] finished tweaking git repo https://github.com/quickdudley/logtime [INFO] tweaked toml for git repo https://github.com/quickdudley/logtime written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/quickdudley/logtime 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" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel v2.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b53bb85af55e0abfb4fe192f1007d1c93d1f58fc9f73ea1a83f7e6ef4bcb6f91 [INFO] running `Command { std: "docker" "start" "-a" "b53bb85af55e0abfb4fe192f1007d1c93d1f58fc9f73ea1a83f7e6ef4bcb6f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b53bb85af55e0abfb4fe192f1007d1c93d1f58fc9f73ea1a83f7e6ef4bcb6f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53bb85af55e0abfb4fe192f1007d1c93d1f58fc9f73ea1a83f7e6ef4bcb6f91", kill_on_drop: false }` [INFO] [stdout] b53bb85af55e0abfb4fe192f1007d1c93d1f58fc9f73ea1a83f7e6ef4bcb6f91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5851e9d0841acb551a0824747d225c0b9e73429b9e77c72d106ceeec13f555b6 [INFO] running `Command { std: "docker" "start" "-a" "5851e9d0841acb551a0824747d225c0b9e73429b9e77c72d106ceeec13f555b6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking diesel v2.2.3 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking logtime v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = projects)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = projects)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = tasks)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = tasks)]` instead [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/logtimedb.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | embed_migrations!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_migrations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/logtimedb.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | embed_migrations!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_migrations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = subtasks)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = stretches)]` instead [INFO] [stderr] [INFO] [stderr] = help: use `#[diesel(table_name = subtasks)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = stretches)]` instead [INFO] [stderr] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:415:91 [INFO] [stdout] | [INFO] [stdout] 415 | ...hods::FilterDsl>>(scope: S) -> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:415:224 [INFO] [stdout] | [INFO] [stdout] 415 | ..._dsl::FilterDsl>>::Output { [INFO] [stdout] | ^^^^^^^^^ ------ struct `IsNull` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `operators` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:85 [INFO] [stdout] | [INFO] [stdout] 420 | ...:methods::FilterDsl /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `grouped` is private [INFO] [stdout] --> src/models.rs:420:119 [INFO] [stdout] | [INFO] [stdout] 420 | ...::operators::Eq /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) mod grouped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:156 [INFO] [stdout] | [INFO] [stdout] 420 | ...n::grouped::Grouped /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:190 [INFO] [stdout] | [INFO] [stdout] 420 | ...sion::operators::Or /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:415:91 [INFO] [stdout] | [INFO] [stdout] 415 | ...hods::FilterDsl>>(scope: S) -> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:259 [INFO] [stdout] | [INFO] [stdout] 420 | ...s::columns::start, diesel::expression::bound::Bound>, diesel::expression::operators::Lt /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:326 [INFO] [stdout] | [INFO] [stdout] 420 | ...pes::BigInt, i64>>, diesel::expression::operators::Lt /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:415:224 [INFO] [stdout] | [INFO] [stdout] 415 | ..._dsl::FilterDsl>>::Output { [INFO] [stdout] | ^^^^^^^^^ ------ struct `IsNull` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `operators` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:85 [INFO] [stdout] | [INFO] [stdout] 420 | ...:methods::FilterDsl /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `grouped` is private [INFO] [stdout] --> src/models.rs:420:119 [INFO] [stdout] | [INFO] [stdout] 420 | ...::operators::Eq /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) mod grouped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:393 [INFO] [stdout] | [INFO] [stdout] 420 | ...hes::columns::end, diesel::expression::bound::Bound, i64>>>>, diesel::expressio... [INFO] [stdout] | ^^^^^ ----- struct `Bound` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bound` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:156 [INFO] [stdout] | [INFO] [stdout] 420 | ...n::grouped::Grouped /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:190 [INFO] [stdout] | [INFO] [stdout] 420 | ...sion::operators::Or /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:491 [INFO] [stdout] | [INFO] [stdout] 420 | ...:BigInt>, i64>>>>, diesel::expression::bound::Bound>>>(scope: S, from: chrono::naive::NaiveDate, until:... [INFO] [stdout] | ^^^^^ ----- struct `Bound` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bound` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:683 [INFO] [stdout] | [INFO] [stdout] 420 | ...lter_dsl::FilterDsl /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:259 [INFO] [stdout] | [INFO] [stdout] 420 | ...s::columns::start, diesel::expression::bound::Bound>, diesel::expression::operators::Lt /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:326 [INFO] [stdout] | [INFO] [stdout] 420 | ...pes::BigInt, i64>>, diesel::expression::operators::Lt /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `grouped` is private [INFO] [stdout] --> src/models.rs:420:717 [INFO] [stdout] | [INFO] [stdout] 420 | ...::operators::Eq /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) mod grouped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:393 [INFO] [stdout] | [INFO] [stdout] 420 | ...hes::columns::end, diesel::expression::bound::Bound, i64>>>>, diesel::expressio... [INFO] [stdout] | ^^^^^ ----- struct `Bound` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bound` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:754 [INFO] [stdout] | [INFO] [stdout] 420 | ...n::grouped::Grouped /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:491 [INFO] [stdout] | [INFO] [stdout] 420 | ...:BigInt>, i64>>>>, diesel::expression::bound::Bound>>>(scope: S, from: chrono::naive::NaiveDate, until:... [INFO] [stdout] | ^^^^^ ----- struct `Bound` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bound` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:683 [INFO] [stdout] | [INFO] [stdout] 420 | ...lter_dsl::FilterDsl /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `grouped` is private [INFO] [stdout] --> src/models.rs:420:717 [INFO] [stdout] | [INFO] [stdout] 420 | ...::operators::Eq /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) mod grouped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:788 [INFO] [stdout] | [INFO] [stdout] 420 | ...sion::operators::Or /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:754 [INFO] [stdout] | [INFO] [stdout] 420 | ...n::grouped::Grouped /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:788 [INFO] [stdout] | [INFO] [stdout] 420 | ...sion::operators::Or /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:857 [INFO] [stdout] | [INFO] [stdout] 420 | ...s::columns::start, diesel::expression::bound::Bound>, diesel::expression::operators::Lt /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:857 [INFO] [stdout] | [INFO] [stdout] 420 | ...s::columns::start, diesel::expression::bound::Bound>, diesel::expression::operators::Lt /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:924 [INFO] [stdout] | [INFO] [stdout] 420 | ...pes::BigInt, i64>>, diesel::expression::operators::Lt /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:991 [INFO] [stdout] | [INFO] [stdout] 420 | ...hes::columns::end, diesel::expression::bound::Bound, i64>>>>, diesel::expressio... [INFO] [stdout] | ^^^^^ ----- struct `Bound` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bound` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `operators` is private [INFO] [stdout] --> src/models.rs:420:924 [INFO] [stdout] | [INFO] [stdout] 420 | ...pes::BigInt, i64>>, diesel::expression::operators::Lt /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) mod operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:1089 [INFO] [stdout] | [INFO] [stdout] 420 | ...:BigInt>, i64>>>>, diesel::expression::bound::Bound>>>::Output [INFO] [stdout] | ^^^^^ ----- struct `Bound` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bound` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:991 [INFO] [stdout] | [INFO] [stdout] 420 | ...hes::columns::end, diesel::expression::bound::Bound, i64>>>>, diesel::expressio... [INFO] [stdout] | ^^^^^ ----- struct `Bound` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bound` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate diesel_migrations; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bound` is private [INFO] [stdout] --> src/models.rs:420:1089 [INFO] [stdout] | [INFO] [stdout] 420 | ...:BigInt>, i64>>>>, diesel::expression::bound::Bound>>>::Output [INFO] [stdout] | ^^^^^ ----- struct `Bound` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bound` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/expression/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) mod bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate diesel_migrations; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `build` has an incompatible type for trait [INFO] [stdout] --> src/models.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | fn build(row: Self::Row) -> Self { [INFO] [stdout] | ^^^^ expected `Result>`, found `Stretch` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn((_, _, _, Option<_>)) -> Result>` [INFO] [stdout] found signature `fn((_, _, _, Option<_>)) -> Stretch` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 36 | fn build(row: Self::Row) -> Result> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `build` has an incompatible type for trait [INFO] [stdout] --> src/models.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | fn build(row: Self::Row) -> Self { [INFO] [stdout] | ^^^^ expected `Result>`, found `Stretch` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn((_, _, _, Option<_>)) -> Result>` [INFO] [stdout] found signature `fn((_, _, _, Option<_>)) -> Stretch` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 36 | fn build(row: Self::Row) -> Result> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models.rs:354:40 [INFO] [stdout] | [INFO] [stdout] 354 | Some(e) => I::R(self.start.date().naive_local(), e.date().naive_local()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models.rs:354:64 [INFO] [stdout] | [INFO] [stdout] 354 | Some(e) => I::R(self.start.date().naive_local(), e.date().naive_local()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::succ`: use `succ_opt()` instead [INFO] [stdout] --> src/models.rs:361:63 [INFO] [stdout] | [INFO] [stdout] 361 | let until = current_timezone().from_local_datetime(&d.succ().and_hms(0,0,0)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/models.rs:361:70 [INFO] [stdout] | [INFO] [stdout] 361 | let until = current_timezone().from_local_datetime(&d.succ().and_hms(0,0,0)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/models.rs:364:62 [INFO] [stdout] | [INFO] [stdout] 364 | let from = current_timezone().from_local_datetime(&d.and_hms(0,0,0)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models.rs:354:40 [INFO] [stdout] | [INFO] [stdout] 354 | Some(e) => I::R(self.start.date().naive_local(), e.date().naive_local()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models.rs:354:64 [INFO] [stdout] | [INFO] [stdout] 354 | Some(e) => I::R(self.start.date().naive_local(), e.date().naive_local()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::succ`: use `succ_opt()` instead [INFO] [stdout] --> src/models.rs:361:63 [INFO] [stdout] | [INFO] [stdout] 361 | let until = current_timezone().from_local_datetime(&d.succ().and_hms(0,0,0)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/models.rs:361:70 [INFO] [stdout] | [INFO] [stdout] 361 | let until = current_timezone().from_local_datetime(&d.succ().and_hms(0,0,0)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/models.rs:364:62 [INFO] [stdout] | [INFO] [stdout] 364 | let from = current_timezone().from_local_datetime(&d.and_hms(0,0,0)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/models.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | start: current_timezone().timestamp(row.2, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/models.rs:41:52 [INFO] [stdout] | [INFO] [stdout] 41 | end: row.3.map(|ts| current_timezone().timestamp(ts, 0)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 82 | | loop { [INFO] [stdout] 83 | | let project = dsl::projects.filter(dsl::code.eq(code)) [INFO] [stdout] 84 | | .limit(1) [INFO] [stdout] ... | [INFO] [stdout] 94 | | }) [INFO] [stdout] | |______^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 81 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | .get_result::(conn); [INFO] [stdout] | --------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/models.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | start: current_timezone().timestamp(row.2, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/models.rs:41:52 [INFO] [stdout] | [INFO] [stdout] 41 | end: row.3.map(|ts| current_timezone().timestamp(ts, 0)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 82 | | loop { [INFO] [stdout] 83 | | let project = dsl::projects.filter(dsl::code.eq(code)) [INFO] [stdout] 84 | | .limit(1) [INFO] [stdout] ... | [INFO] [stdout] 94 | | }) [INFO] [stdout] | |______^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 81 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | .execute(conn)?; [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | .get_result::(conn); [INFO] [stdout] | --------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | .execute(conn)?; [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | .load::(conn) [INFO] [stdout] | ------------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1540:8 [INFO] [stdout] | [INFO] [stdout] 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | SqliteConnection::transaction(conn, || loop { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 114 | | let task = dsl::tasks [INFO] [stdout] 115 | | .filter(dsl::project_id.eq(self.id)) [INFO] [stdout] 116 | | .filter(dsl::number.eq(number)) [INFO] [stdout] ... | [INFO] [stdout] 126 | | }).execute(conn)?; [INFO] [stdout] 127 | | }) [INFO] [stdout] | |__________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 113 | SqliteConnection::transaction(conn, |_| loop { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | .load::(conn) [INFO] [stdout] | ------------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1540:8 [INFO] [stdout] | [INFO] [stdout] 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | SqliteConnection::transaction(conn, || loop { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 114 | | let task = dsl::tasks [INFO] [stdout] 115 | | .filter(dsl::project_id.eq(self.id)) [INFO] [stdout] 116 | | .filter(dsl::number.eq(number)) [INFO] [stdout] ... | [INFO] [stdout] 126 | | }).execute(conn)?; [INFO] [stdout] 127 | | }) [INFO] [stdout] | |__________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 113 | SqliteConnection::transaction(conn, |_| loop { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | .get_result::(conn); [INFO] [stdout] | ------------------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | .get_result::(conn); [INFO] [stdout] | ------------------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | }).execute(conn)?; [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | SqliteConnection::transaction(conn, || loop { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | }).execute(conn)?; [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | SqliteConnection::transaction(conn, || loop { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | .get_result::(conn) [INFO] [stdout] | ------------------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | .get_result::(conn) [INFO] [stdout] | -------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | .load::(conn) [INFO] [stdout] | --------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1540:8 [INFO] [stdout] | [INFO] [stdout] 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | .get_result::(conn) { [INFO] [stdout] | --------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 182 | | let my_subtasks = dsl::subtasks [INFO] [stdout] 183 | | .filter(dsl::task_id.eq(self.id)); [INFO] [stdout] 184 | | let latest_number = my_subtasks [INFO] [stdout] ... | [INFO] [stdout] 192 | | self.load_or_create_subtask(conn, latest_number) [INFO] [stdout] 193 | | }) [INFO] [stdout] | |__________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 181 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:186:44 [INFO] [stdout] | [INFO] [stdout] 186 | .get_result::>(conn) [INFO] [stdout] | ------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:181:39 [INFO] [stdout] | [INFO] [stdout] 181 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 199 | | self.subtask(conn, number).or_else(|e| match e { [INFO] [stdout] 200 | | diesel::result::Error::NotFound => { [INFO] [stdout] 201 | | #[derive(Insertable)] [INFO] [stdout] ... | [INFO] [stdout] 217 | | }) [INFO] [stdout] 218 | | }) [INFO] [stdout] | |__________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 198 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | .get_result::(conn) [INFO] [stdout] | ------------------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:213:36 [INFO] [stdout] | [INFO] [stdout] 213 | }).execute(conn)?; [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:198:39 [INFO] [stdout] | [INFO] [stdout] 198 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | .get_result::(conn) [INFO] [stdout] | -------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | .get_result::(conn) [INFO] [stdout] | --------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | .load::(conn) [INFO] [stdout] | --------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1540:8 [INFO] [stdout] | [INFO] [stdout] 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | .get_result::(conn) { [INFO] [stdout] | --------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 182 | | let my_subtasks = dsl::subtasks [INFO] [stdout] 183 | | .filter(dsl::task_id.eq(self.id)); [INFO] [stdout] 184 | | let latest_number = my_subtasks [INFO] [stdout] ... | [INFO] [stdout] 192 | | self.load_or_create_subtask(conn, latest_number) [INFO] [stdout] 193 | | }) [INFO] [stdout] | |__________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 181 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | .get_result::(conn) [INFO] [stdout] | ------------------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:186:44 [INFO] [stdout] | [INFO] [stdout] 186 | .get_result::>(conn) [INFO] [stdout] | ------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 264 | | let project = get_project(conn, spec.project_code.as_ref())?; [INFO] [stdout] 265 | | let task = project.task(conn, spec.task_number)?; [INFO] [stdout] 266 | | let subtask = match spec.subtask_number { [INFO] [stdout] ... | [INFO] [stdout] 270 | | Ok((project,task,subtask)) [INFO] [stdout] 271 | | }) [INFO] [stdout] | |__________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 263 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:263:39 [INFO] [stdout] | [INFO] [stdout] 263 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:181:39 [INFO] [stdout] | [INFO] [stdout] 181 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 199 | | self.subtask(conn, number).or_else(|e| match e { [INFO] [stdout] 200 | | diesel::result::Error::NotFound => { [INFO] [stdout] 201 | | #[derive(Insertable)] [INFO] [stdout] ... | [INFO] [stdout] 217 | | }) [INFO] [stdout] 218 | | }) [INFO] [stdout] | |__________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 198 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:213:36 [INFO] [stdout] | [INFO] [stdout] 213 | }).execute(conn)?; [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:198:39 [INFO] [stdout] | [INFO] [stdout] 198 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:287:22 [INFO] [stdout] | [INFO] [stdout] 287 | .execute(conn) [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:297:36 [INFO] [stdout] | [INFO] [stdout] 297 | .get_result::(conn) [INFO] [stdout] | --------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/models.rs:309:52 [INFO] [stdout] | [INFO] [stdout] 309 | Some(timestring) => current_timezone().datetime_from_str(timestring.as_ref(), "%Y-%m%dT%H:%M:%S") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | .get_result::(conn) [INFO] [stdout] | --------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | .execute(conn) [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::succ`: use `succ_opt()` instead [INFO] [stdout] --> src/models.rs:345:39 [INFO] [stdout] | [INFO] [stdout] 345 | ... Self::R(b.succ(), *e) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | .date() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:395:51 [INFO] [stdout] | [INFO] [stdout] 395 | )).load::<(Project,Task,Subtask,Stretch)>(conn)? { [INFO] [stdout] | -------------------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1540:8 [INFO] [stdout] | [INFO] [stdout] 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | .get_result::(conn) [INFO] [stdout] | ------------------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/models.rs:399:76 [INFO] [stdout] | [INFO] [stdout] 399 | let morning = current_timezone().from_local_datetime(&date.and_hms(0,0,0)).earliest().unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::succ`: use `succ_opt()` instead [INFO] [stdout] --> src/models.rs:400:74 [INFO] [stdout] | [INFO] [stdout] 400 | let night = current_timezone().from_local_datetime(&date.succ().and_hms(0,0,0)).latest().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/models.rs:400:81 [INFO] [stdout] | [INFO] [stdout] 400 | let night = current_timezone().from_local_datetime(&date.succ().and_hms(0,0,0)).latest().unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/models.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 264 | | let project = get_project(conn, spec.project_code.as_ref())?; [INFO] [stdout] 265 | | let task = project.task(conn, spec.task_number)?; [INFO] [stdout] 266 | | let subtask = match spec.subtask_number { [INFO] [stdout] ... | [INFO] [stdout] 270 | | Ok((project,task,subtask)) [INFO] [stdout] 271 | | }) [INFO] [stdout] | |__________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 263 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:263:39 [INFO] [stdout] | [INFO] [stdout] 263 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | scope.filter(dsl::end.is_null()) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ expected `IsNull`, found `Grouped>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `expression::operators::IsNull<_>` [INFO] [stdout] found struct `expression::grouped::Grouped>` [INFO] [stdout] help: the return type of this call is `expression::grouped::Grouped>` due to the type of the argument passed [INFO] [stdout] --> src/models.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | scope.filter(dsl::end.is_null()) [INFO] [stdout] | ^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `filter` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/filter_dsl.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn filter(self, predicate: Predicate) -> Self::Output; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/models.rs:423:96 [INFO] [stdout] | [INFO] [stdout] 423 | let from = current_timezone().from_local_datetime(&from.and_time(chrono::naive::NaiveTime::from_hms(0,0,0))).earliest().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::succ`: use `succ_opt()` instead [INFO] [stdout] --> src/models.rs:424:63 [INFO] [stdout] | [INFO] [stdout] 424 | let until = current_timezone().from_local_datetime(&until.succ().and_time(chrono::naive::NaiveTime::from_hms(0,0,0))).latest().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/models.rs:424:105 [INFO] [stdout] | [INFO] [stdout] 424 | let until = current_timezone().from_local_datetime(&until.succ().and_time(chrono::naive::NaiveTime::from_hms(0,0,0))).latest().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:287:22 [INFO] [stdout] | [INFO] [stdout] 287 | .execute(conn) [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:425:18 [INFO] [stdout] | [INFO] [stdout] 425 | scope.filter(dsl::start.gt(until.timestamp()).or(dsl::end.lt(from.timestamp())).eq(false)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Eq>, ...>`, found `Grouped, ...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Eq>, Lt>>, ...>` [INFO] [stdout] found struct `Grouped>, ...>>, ...>>` [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/logtime-23fe9d0b462ff450.long-type-15107925368057126921.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: the return type of this call is `expression::grouped::Grouped>>, expression::grouped::Grouped, i64>>>>>, expression::bound::Bound, bool>>>` due to the type of the argument passed [INFO] [stdout] --> src/models.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | scope.filter(dsl::start.gt(until.timestamp()).or(dsl::end.lt(from.timestamp())).eq(false)) [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `filter` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/filter_dsl.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn filter(self, predicate: Predicate) -> Self::Output; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_migrations` [INFO] [stdout] --> src/logtimedb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | embedded_migrations::run(&connection).map_err(|err| format!("Failed to run migrations: {}", err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_migrations` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 | diesel_migrations::run(&connection).map_err(|err| format!("Failed to run migrations: {}", err))?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/commands/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _____________| [INFO] [stdout] | | [INFO] [stdout] 22 | | models::Stretch::stop_all(conn)?; [INFO] [stdout] 23 | | let (project,_task,subtask) = models::Subtask [INFO] [stdout] 24 | | ::for_code(conn, code.as_ref())?; [INFO] [stdout] ... | [INFO] [stdout] 32 | | Ok(()) [INFO] [stdout] 33 | | }).map(|()| ()) [INFO] [stdout] | |______________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 21 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:297:36 [INFO] [stdout] | [INFO] [stdout] 297 | .get_result::(conn) [INFO] [stdout] | --------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1720:8 [INFO] [stdout] | [INFO] [stdout] 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/models.rs:309:52 [INFO] [stdout] | [INFO] [stdout] 309 | Some(timestring) => current_timezone().datetime_from_str(timestring.as_ref(), "%Y-%m%dT%H:%M:%S") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/mod.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | .execute(conn) [INFO] [stdout] | ------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::succ`: use `succ_opt()` instead [INFO] [stdout] --> src/models.rs:345:39 [INFO] [stdout] | [INFO] [stdout] 345 | ... Self::R(b.succ(), *e) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | .date() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:395:51 [INFO] [stdout] | [INFO] [stdout] 395 | )).load::<(Project,Task,Subtask,Stretch)>(conn)? { [INFO] [stdout] | -------------------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/mod.rs:1540:8 [INFO] [stdout] | [INFO] [stdout] 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/models.rs:399:76 [INFO] [stdout] | [INFO] [stdout] 399 | let morning = current_timezone().from_local_datetime(&date.and_hms(0,0,0)).earliest().unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::succ`: use `succ_opt()` instead [INFO] [stdout] --> src/models.rs:400:74 [INFO] [stdout] | [INFO] [stdout] 400 | let night = current_timezone().from_local_datetime(&date.succ().and_hms(0,0,0)).latest().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/models.rs:400:81 [INFO] [stdout] | [INFO] [stdout] 400 | let night = current_timezone().from_local_datetime(&date.succ().and_hms(0,0,0)).latest().unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | scope.filter(dsl::end.is_null()) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ expected `IsNull`, found `Grouped>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `expression::operators::IsNull<_>` [INFO] [stdout] found struct `expression::grouped::Grouped>` [INFO] [stdout] help: the return type of this call is `expression::grouped::Grouped>` due to the type of the argument passed [INFO] [stdout] --> src/models.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | scope.filter(dsl::end.is_null()) [INFO] [stdout] | ^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `filter` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/filter_dsl.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn filter(self, predicate: Predicate) -> Self::Output; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/mod.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn current, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/commands/mod.rs:6:91 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn current, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/models.rs:423:96 [INFO] [stdout] | [INFO] [stdout] 423 | let from = current_timezone().from_local_datetime(&from.and_time(chrono::naive::NaiveTime::from_hms(0,0,0))).earliest().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::succ`: use `succ_opt()` instead [INFO] [stdout] --> src/models.rs:424:63 [INFO] [stdout] | [INFO] [stdout] 424 | let until = current_timezone().from_local_datetime(&until.succ().and_time(chrono::naive::NaiveTime::from_hms(0,0,0))).latest().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/models.rs:424:105 [INFO] [stdout] | [INFO] [stdout] 424 | let until = current_timezone().from_local_datetime(&until.succ().and_time(chrono::naive::NaiveTime::from_hms(0,0,0))).latest().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/commands/mod.rs:13:88 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn stop, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/mod.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn cd, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/commands/mod.rs:53:91 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn display, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0433, E0593, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:425:18 [INFO] [stdout] | [INFO] [stdout] 425 | scope.filter(dsl::start.gt(until.timestamp()).or(dsl::end.lt(from.timestamp())).eq(false)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Eq>, ...>`, found `Grouped, ...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Eq>, Lt>>, ...>` [INFO] [stdout] found struct `Grouped>, ...>>, ...>>` [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/logtime-bb0fa72ba3d53f48.long-type-12596271178327952703.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: the return type of this call is `expression::grouped::Grouped>>, expression::grouped::Grouped, i64>>>>>, expression::bound::Bound, bool>>>` due to the type of the argument passed [INFO] [stdout] --> src/models.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | scope.filter(dsl::start.gt(until.timestamp()).or(dsl::end.lt(from.timestamp())).eq(false)) [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `filter` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/query_dsl/filter_dsl.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn filter(self, predicate: Predicate) -> Self::Output; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_migrations` [INFO] [stdout] --> src/logtimedb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | embedded_migrations::run(&connection).map_err(|err| format!("Failed to run migrations: {}", err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_migrations` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 | diesel_migrations::run(&connection).map_err(|err| format!("Failed to run migrations: {}", err))?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `logtime` (bin "logtime" test) due to 52 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> src/commands/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ^ -- takes 0 arguments [INFO] [stdout] | _____________| [INFO] [stdout] | | [INFO] [stdout] 22 | | models::Stretch::stop_all(conn)?; [INFO] [stdout] 23 | | let (project,_task,subtask) = models::Subtask [INFO] [stdout] 24 | | ::for_code(conn, code.as_ref())?; [INFO] [stdout] ... | [INFO] [stdout] 32 | | Ok(()) [INFO] [stdout] 33 | | }).map(|()| ()) [INFO] [stdout] | |______________^ expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 21 | SqliteConnection::transaction(conn, |_| { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/mod.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | SqliteConnection::transaction(conn, || { [INFO] [stdout] | ----------------------------- ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut SqliteConnection` [INFO] [stdout] found reference `&SqliteConnection` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.3/src/connection/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/mod.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn current, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/commands/mod.rs:6:91 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn current, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/commands/mod.rs:13:88 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn stop, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/mod.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn cd, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/commands/mod.rs:53:91 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn display, S: Shell>(args: &mut A, conn: &SqliteConnection, shell: &mut S) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0433, E0593, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logtime` (bin "logtime") due to 52 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5851e9d0841acb551a0824747d225c0b9e73429b9e77c72d106ceeec13f555b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5851e9d0841acb551a0824747d225c0b9e73429b9e77c72d106ceeec13f555b6", kill_on_drop: false }` [INFO] [stdout] 5851e9d0841acb551a0824747d225c0b9e73429b9e77c72d106ceeec13f555b6